Rockwell Automation 1771-DB Basic Module User Manual - Series A User Manual
Page 5

Table of Contents
iv
5.4.26 Statement: POP[var]
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.4.27 Statement: REM
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.4.28 Statement: RETI
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.4.19 Statement: ST@ [expr]
. . . . . . . . . . . . . . . . . . . . . . . . . . .
5.4.30 Statement: STOP
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.4.31 Statement: STRING
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.5 Description of Arithmetic, and Logical Operators
and Expressions
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.5.1 Dual Operand (dyadic) Operators
. . . . . . . . . . . . . . . . . . . .
5.5.1.1 Comments on logical operators .AND.,.OR. and .XOR.
. .
5.5.2 Unary Operators
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.5.2.1 General Purpose Operators
. . . . . . . . . . . . . . . . . . . . .
5.5.2.2 Log Functions
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.5.2.3 Trig Functions
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.5.2.4 Comments on Trig Functions
. . . . . . . . . . . . . . . . . . . .
5.5.3 Understanding Precedence of Operators
. . . . . . . . . . . . . . .
5.5.4 How Relational Expressions Work
. . . . . . . . . . . . . . . . . . . .
5.6 Special Operators
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.6.1 Special Function Operators
. . . . . . . . . . . . . . . . . . . . . . . .
5.6.1.1 GET
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.6.1.2 TIME
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.6.2 System Control Values
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.6.2.1 MTOP
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.6.2.2 LEN
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.7 Data Transfer Support Routines
. . . . . . . . . . . . . . . . . . . . . .
5.7.1 Update Block-Transfer-Read Buffer (timed) – CALL 2
. . . . . .
5.7.2 Update Block-Transfer-Write Buffer (timed) – CALL 3
. . . . . .
5.7.3 Set Block-Transfer-Write Length – CALL 4
. . . . . . . . . . . . . .
5.7.4 Set Block-Transfer-Read Length – CALL 5
. . . . . . . . . . . . .
5.7.5 Update Block-Transfer-Write Buffer – CALL 6
. . . . . . . . . . .
5.7.6 Update Block-Transfer-Read Buffer – CALL 7
. . . . . . . . . . .
5.7.7 Disable Interrupts – CALL 8
. . . . . . . . . . . . . . . . . . . . . . . .
5.7.8 Enable Interrupts – CALL 9
. . . . . . . . . . . . . . . . . . . . . . . .
5.7.9 Input Call Conversion Routines
. . . . . . . . . . . . . . . . . . . . . .
5.7.9.1 3-Digit Signed, Fixed Decimal BCD to Internal
Floating Point ”XXX – CALL 10
. . . . . . . . . . . . . . . . . . . . . .
5.7.9.2 16-Bit Binary (4-digit hex) to Internal Floating
Point – CALL 11
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.7.9.3 4-Digit Signed Octal to Internal Floating
Point ”XXXX – CALL 12
. . . . . . . . . . . . . . . . . . . . . . . . . . .
5.7.9.4 6-Digit, Signed, Fixed Decimal BCD to Internal
Floating Point ”XXXXXX – CALL 13
. . . . . . . . . . . . . . . . . . .
5.7.9.5 4-Digit BCD to Internal Floating Point XXXX – CALL 17
. .
5.7.10 Output Call Conversion Routines
. . . . . . . . . . . . . . . . . . .
5.7.10.1 Internal Floating Point to 3-Digit, Signed, Fixed Decimal
BCD ”XXX – CALL 20
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .