Cpm2A/Cpm2C Communications Functions; Host Link Communications - Omron CPM1 - PROGRAMING MANUAL 02-2001 Programming Manual

Hide thumbs Also See for CPM1 - PROGRAMING MANUAL 02-2001:
Table of Contents

Advertisement

CPM2A/CPM2C Communications Functions

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 (including the CPM2C-S)
communications functions. Read this section if you are using Host Link, no-pro-
tocol, 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
Reading area
Writing area
Commands
Responses
Section
Program in the Slave
MOV(21)
MOV(21)
LR00
Read
SR 200
LR07
LR08
Write
IR 000
LR15
CPM2A
4-3
000
LR08
LR00
200
231

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CPM1 - PROGRAMING MANUAL 02-2001 and is the answer not in the manual?

Table of Contents