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

Table of Contents
v
5.7.10.2 Internal Floating Point to 16-Bit Unsigned Binary
(4 digit hex) – CALL 21
. . . . . . . . . . . . . . . . . . . . . . . . . . .
5.7.10.3 Internal Floating Point to 4-Digit, Signed
Octal ”XXXX–Call 22
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.7.10.4 Internal Floating Point to 6-Digit, Signed, Fixed Decimal
BCD ”XXXXXX – CALL 23
. . . . . . . . . . . . . . . . . . . . . . . . .
5.7.10.5 Internal Floating Point to 3.3-digit, Signed, Fixed Decimal
BCD ”XXX.XXX – CALL 26
. . . . . . . . . . . . . . . . . . . . . . . . .
5.7.10.6 Internal Floating Point to 4-digit BCD XXXX – CALL 27
.
5.8 Peripheral Port Support
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.8.1 Peripheral Port Support – Parameter Set – CALL 30
. . . . . . .
5.8.2 Peripheral Port Support – Display Peripheral Port
Parameters –CALL 31
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.8.3 Save Program to Data Recorder – CALL 32
. . . . . . . . . . . . .
5.8.4 Verify Program with Data Recorder – CALL 33
. . . . . . . . . . .
5.8.5 Load Program from Data Recorder – CALL 34
. . . . . . . . . . .
5.8.6 Get Numeric Input Character from Peripheral Port – CALL 35
5.8.7 Get the Number of Characters in the Peripheral
Port Buffers – CALL 36
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.8.8 Clear the Peripheral Ports Input or Output Buffer – CALL 37
.
5.8.9 Save Labeled Program to Data Recorder
(1770-SB only) – CALL 38
. . . . . . . . . . . . . . . . . . . . . . . . . . .
5.8.10 Load Labeled Program from Data Recorder
(1770-SB only) – CALL 39
. . . . . . . . . . . . . . . . . . . . . . . . . . .
5.8.11 Print the Peripheral Port Output Buffer and
Pointer – CALL 110
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.8.12 Print the Peripheral Port Input Buffer and Pointer – CALL 111
5.8.13 Reset the Peripheral Port to Default Settings – CALL 119
. .
5.9 Wall Clock Support Calls
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.9.1 Setting the Wall Clock Time (Hour, Minute, Second) – CALL 40
5.9.2 Setting the Wall Clock Date (Day, Month, Year) – CALL 41
. .
5.9.3 Set Wall Clock – Day of Week – CALL 42
. . . . . . . . . . . . . .
5.9.4 Date/Time Retrieve String – CALL 43
. . . . . . . . . . . . . . . . .
5.9.5 Date Retrieve Numeric (Day, Month, Year) – CALL 44 (2)
. . .
5.9.6 Time Retrieve String – CALL 45
. . . . . . . . . . . . . . . . . . . . .
5.9.7 Time Retrieve Number – Call 46
. . . . . . . . . . . . . . . . . . . . .
5.9.8 Retrieve Day of Week String – CALL 47
. . . . . . . . . . . . . . .
5.9.9 Retrieve Day of Week Numeric – CALL 48
. . . . . . . . . . . . . .
5.9.10 Date Retrieve String – CALL 52
. . . . . . . . . . . . . . . . . . . .
5.10 Description of String Operators
. . . . . . . . . . . . . . . . . . . . . .
5.10.1 The ASC Operator
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.10.2 The CHR Operator
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.10.2.1 Clearing the Screen on an Allen-Bradley
Industrial Terminal
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.10.2.2 Cursor Positioning on an Industrial Terminal
. . . . . . . . .
5.10.3 String Support Calls
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.10.3.1 String Repeat – CALL 60
. . . . . . . . . . . . . . . . . . . . . .