Omron CPM1 - PROGRAMING MANUAL 02-2001 Programming Manual page 273

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

Advertisement

CPM2A/CPM2C Communications Functions
Application Procedure
Setting the Communications switch
Connecting the cables
Communications Switch
Setting
OFF while the data is being transmitted and will turn ON again when transmis-
sion is complete.
After the CPM2A/CPM2C has received data, the Receive Enable Flag turns ON.
When RXD(47) is executed, the data received will be written to the specified
words and the Reception Complete Flag will turn OFF.
Flag
Transmit Ready Flag
Reception Completed Flag
Note The CPM2A/CPM2C starts and completes data reception at the following
points:
Reception Start:
Start code disabled:
Start code enabled:
Reception Complete:
When either the end code, the specified no. of bytes, or 256 bytes are received.
Ladder program
The CPM2A's communications are controlled by the communications switch on
the front of the CPU Unit and the CPM2C's communications are controlled by
the DIP switch on the front of the CPU Unit.
CPM2A Communications Switch Setting
Turn OFF the Communications switch when using no-protocol communications.
No-protocol communications will not be possible if the communications switch is
ON.
Peripheral port
Peripheral port
AR 0813
AR 0814
Continually available for reception
After start code is received
Set the CPM2A CPU Unit's communications switch or
the CPM2C CPU Unit's DIP switch.
Make the RS-232C connection with the serial device.
RS-232C port
Section
4-3
RS-232C port
AR 0805
AR 0806
Communications switch
253

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents