Cpm2A/Cpm2C Communications Functions; Host Link Communications - Omron CPM1 Programming Manual

Hide thumbs Also See for CPM1:
Table of Contents

Advertisement

Example Program
IR 000
Write
SR 200
Read
4-3

CPM2A/CPM2C Communications Functions

4-3-1 Host Link Communications

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
This section describes how to use CPM2A/CPM2C communications functions.
Read this section if you are using Host Link, no-protocol, 1:1 NT Link, or 1:1 PC
Link communications.
Host Link communications are a conversational-type communications protocol,
in which the PC sends responses to commands issued from a host computer
and can be used to read or write data in the PC's data areas and control some PC
operations. There is no need for a communications program in the PC. Host Link
communications can be used through the peripheral port or the CPM2A/
CPM2C's RS-232C port.
Host computer
25313 (Always ON)
MOV(21)
000
LR00
MOV(21)
LR08
200
LR00
Reading area
LR07
LR08
Writing area
LR15
Commands
Responses
Section
Program in the Slave
MOV(21)
MOV(21)
Read
SR 200
Write
IR 000
CPM2A
4-3
000
LR08
LR00
200

Advertisement

Table of Contents
loading

This manual is also suitable for:

Srm-v2Cpm1aCpm2aSrm1Cpm2c

Table of Contents