Communications Functions
Example Program
IR 000
Write
SR 200
Read
1-9-9
CPM1/CPM1A NT Link Communications
CPM1 PCs
Programmable Terminal
CPM1A PCs
OMRON Programmable Terminal
4. If an out-of-range value is set, the following communications conditions will
result. In that case, reset the value so that it is within the permissible range.
Communications mode:
Communications format:
Transmission delay:
Node number:
This example shows ladder programs that copy the status of IR 000 in each
CPM1/CPM1A to SR 200 in the other CPM1/CPM1A.
Program in the Master
25313 (Always ON)
LR00
Writing area
LR07
LR08
Reading area
LR15
Using the NT link, the CPM1/CPM1A PC can connected to the Programmable
Terminal (NT Link Interface) through an RS-232C Adapter.
RS-232C Cable
RS-232C Cable
Host Link
Standard settings
(1 start bit, 7-bit data; even parity, 2 stop bits,
9,600 bps)
No
00
25313 (Always ON)
MOV(21)
000
LR00
MOV(21)
LR08
200
LR00
Reading area
LR07
LR08
Writing area
LR15
RS-232C Adapter
RS-232C
Adapter
Section 1-9
Program in the Slave
MOV(21)
MOV(21)
Read
SR 200
Write
IR 000
CPM1 CPU Unit
CPM1 CPU
CPM1A CPU Unit
000
LR08
LR00
200
105