
Table of Contentsvi
5.10.3.2
String Append (Concatenation) – CALL 61
81
. . . . . . . . . .
5.10.3.3
Number to String Conversion – CALL 62
81
. . . . . . . . . . .
5.10.3.4
String to Number Conversion – CALL 63
82
. . . . . . . . . . .
5.10.3.5
Find a String in a String – CALL 64
83
. . . . . . . . . . . . . . .
5.10.3.6
Replace a String in a String – CALL 65
84
. . . . . . . . . . . .
5.10.3.7
Insert String in a String – CALL 66
85
. . . . . . . . . . . . . . . .
5.10.3.8
Delete String from a String – CALL 67
86
. . . . . . . . . . . . .
5.10.3.9
Determine Length of a String – CALL 68
87
. . . . . . . . . . .
5.11 Memory Support Calls
87
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.11.1 ROM to RAM Program T
ransfer – CALL 70
88
. . . . . . . . . . . .
5.11.2 ROM/RAM to ROM Program T
ransfer – CALL 71
88
. . . . . . .
5.11.3 RAM/ROM Return – CALL 72
89
. . . . . . . . . . . . . . . . . . . . .
5.11.4 Battery-backed RAM Disable – CALL 73
90
. . . . . . . . . . . . .
5.11.5
Battery-backed RAM Enable – CALL 74
90
. . . . . . . . . . . . . .
5.11.6
Protected V
ariable Storage – CALL 77
90
. . . . . . . . . . . . . . .
5.12 Miscellaneous Calls
92
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.12.1
Program Port Baud Rate – CALL 78
92
. . . . . . . . . . . . . . . . .
5.12.2
Blink the Active LED by Default – CALL 79
93
. . . . . . . . . . . .
5.12.3
Check Battery Condition – CALL 80
93
. . . . . . . . . . . . . . . . .
5.12.4 User PROM Check and Description – CALL 81
93
. . . . . . . . .
5.12.5
Reset Print Head Pointer – CALL 99
94
. . . . . . . . . . . . . . . . .
5.12.6
Print the Argument Stack – CALL 109
94
. . . . . . . . . . . . . . . .
5.12.7
Print the Peripheral Port Output Buf
fer and
Pointer – CALL 1
10
94
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.12.8
Print the Peripheral Port Input Buf
fer and
Pointer – CALL 1
11
94
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.12.9
Reset the Peripheral Port to Default
Settings – CALL 1
19
95
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Programming
1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6.1 Chapter Objectives
1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6.2 Block-T
ransfer with the BASIC Module
1
. . . . . . . . . . . . . . . . .
6.2.1 Block-Transfer-W
rite and Block-T
ransfer-Read Buf
fers
1
. . . .
6.3 Block-Transfer with PLC-2 Family Processors
2
. . . . . . . . . . . .
6.3.1 PLC-2 Processor Program
2
. . . . . . . . . . . . . . . . . . . . . . . .
6.3.1.1
Rung Description
3
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6.4 PLC-3 Family Processors
5
. . . . . . . . . . . . . . . . . . . . . . . . . .
6.4.1
Rung Description for Sample PLC-3 Family Ladder
Logic – Single Data Set
7
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6.5 PLC-5 Family Processors
7
. . . . . . . . . . . . . . . . . . . . . . . . . .
6.5.1
Rung Description for Sample PLC-5 Family Ladder Logic
9
. .
6.6. Block-Transfer Programming Tips
10
. . . . . . . . . . . . . . . . . . . .
Commenti su questo manuale