EasyManua.ls Logo

Campbell CR850 - Single Execution at Compile; Program Control Instructions; Common Program Controls

Campbell CR850
566 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Appendix A. CRBasic Programming Instructions
457
A.3 Single Execution at Compile
Reside between BeginProg and Scan Instructions.
ESSInitialize
PlacedaftertheBeginProginstructionbutpriortotheScaninstructionto
initializeESSvariablesatcompiletime.
Syntax
ESSInitialize
MovePrecise
UsedinconjunctionwithAddPrecise,movesahighprecisionvariableinto
anotherinputlocation.
Syntax
MovePrecise(PrecisionVariable, X)
PulseCountReset
Anobsoleteinstruction.Resetsthepulsecountersandtherunningaverages
usedinthepulsecountinstruction.
Syntax
PulseCountReset
A.4 Program Control Instructions
A.4.1 Common Program Controls
BeginProg/EndProg
Marksthebeginningandendofaprogram.
Syntax
BeginProg
[program code]
EndProg
Call
Transfersprogramcontrolfromthemainprogramtoasubroutine.
Syntax
Call subname (list of variables)
CallTable
Callsadatatable,typicallyforoutputprocessing.
Syntax
CallTable [TableName]
Delay
Delaystheprogram.
Syntax
Delay(Option, Delay, Units)
Do/Loop
Repeatsablockofstatementswhileaconditionistrueoruntilacondition
becomestrue.

Table of Contents

Related product manuals