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

Page 6

Advertising
background image

Table of Contents

v

5.7.10.2 Internal Floating Point to 16-Bit Unsigned Binary

(4 digit hex) – CALL 21

57

. . . . . . . . . . . . . . . . . . . . . . . . . . .

5.7.10.3 Internal Floating Point to 4-Digit, Signed

Octal ”XXXX–Call 22

57

. . . . . . . . . . . . . . . . . . . . . . . . . . . . .

5.7.10.4 Internal Floating Point to 6-Digit, Signed, Fixed Decimal

BCD ”XXXXXX – CALL 23

58

. . . . . . . . . . . . . . . . . . . . . . . . .

5.7.10.5 Internal Floating Point to 3.3-digit, Signed, Fixed Decimal

BCD ”XXX.XXX – CALL 26

58

. . . . . . . . . . . . . . . . . . . . . . . . .

5.7.10.6 Internal Floating Point to 4-digit BCD XXXX – CALL 27

58

.

5.8 Peripheral Port Support

59

. . . . . . . . . . . . . . . . . . . . . . . . . . . .

5.8.1 Peripheral Port Support – Parameter Set – CALL 30

59

. . . . . . .

5.8.2 Peripheral Port Support – Display Peripheral Port

Parameters –CALL 31

60

. . . . . . . . . . . . . . . . . . . . . . . . . . . . .

5.8.3 Save Program to Data Recorder – CALL 32

61

. . . . . . . . . . . . .

5.8.4 Verify Program with Data Recorder – CALL 33

61

. . . . . . . . . . .

5.8.5 Load Program from Data Recorder – CALL 34

62

. . . . . . . . . . .

5.8.6 Get Numeric Input Character from Peripheral Port – CALL 35

63

5.8.7 Get the Number of Characters in the Peripheral

Port Buffers – CALL 36

65

. . . . . . . . . . . . . . . . . . . . . . . . . . . . .

5.8.8 Clear the Peripheral Ports Input or Output Buffer – CALL 37

65

.

5.8.9 Save Labeled Program to Data Recorder

(1770-SB only) – CALL 38

65

. . . . . . . . . . . . . . . . . . . . . . . . . . .

5.8.10 Load Labeled Program from Data Recorder

(1770-SB only) – CALL 39

66

. . . . . . . . . . . . . . . . . . . . . . . . . . .

5.8.11 Print the Peripheral Port Output Buffer and

Pointer – CALL 110

66

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

5.8.12 Print the Peripheral Port Input Buffer and Pointer – CALL 111

67

5.8.13 Reset the Peripheral Port to Default Settings – CALL 119

67

. .

5.9 Wall Clock Support Calls

67

. . . . . . . . . . . . . . . . . . . . . . . . . . . .

5.9.1 Setting the Wall Clock Time (Hour, Minute, Second) – CALL 40

68

5.9.2 Setting the Wall Clock Date (Day, Month, Year) – CALL 41

68

. .

5.9.3 Set Wall Clock – Day of Week – CALL 42

68

. . . . . . . . . . . . . .

5.9.4 Date/Time Retrieve String – CALL 43

69

. . . . . . . . . . . . . . . . .

5.9.5 Date Retrieve Numeric (Day, Month, Year) – CALL 44 (2)

69

. . .

5.9.6 Time Retrieve String – CALL 45

69

. . . . . . . . . . . . . . . . . . . . .

5.9.7 Time Retrieve Number – Call 46

70

. . . . . . . . . . . . . . . . . . . . .

5.9.8 Retrieve Day of Week String – CALL 47

70

. . . . . . . . . . . . . . .

5.9.9 Retrieve Day of Week Numeric – CALL 48

70

. . . . . . . . . . . . . .

5.9.10 Date Retrieve String – CALL 52

71

. . . . . . . . . . . . . . . . . . . .

5.10 Description of String Operators

71

. . . . . . . . . . . . . . . . . . . . . .

5.10.1 The ASC Operator

72

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

5.10.2 The CHR Operator

74

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

5.10.2.1 Clearing the Screen on an Allen-Bradley

Industrial Terminal

74

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

5.10.2.2 Cursor Positioning on an Industrial Terminal

75

. . . . . . . . .

5.10.3 String Support Calls

75

. . . . . . . . . . . . . . . . . . . . . . . . . . . . .

5.10.3.1 String Repeat – CALL 60

80

. . . . . . . . . . . . . . . . . . . . . .

Advertising