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

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

Advertisement

CPM2A/CPM2C Communications Functions
Transmission Data Configuration
No Start or End Code:
Only a Start Code:
Only an End Code:
Both a Start and End Code:
End Code of CR, LF:
Start Code 00-FF/End Code CR,LF:
Transmission Flags
252
CPM2C Connections
RS-232C devices
Bar code reader
Serial printer
Other
Note A CPM1-CIF01 RS-232C Adapter can also be used for no-protocol communica-
tions through the peripheral port, or for a CPM2C, a CPM2C-CIF01-V1 Periph-
eral/RS-232C Adapter Unit can be used to connect to external devices. Refer to
the CPM2C Operation Manual for details.
When no-protocol communications are used, TXD(48) is used to send data and
RXD(47) to receive data. The maximum amount of data that can be either sent or
received is 259 bytes, including the start and end codes.
Note
1. The start and end codes are set in DM 6648 to DM 6649 (RS-232C) or
DM 6653 to DM 6654 (peripheral port) in the PC Setup.
2. When there are several start or end codes in the transmission, the first of
each will be effective.
3. When the end code is accidentally duplicated in the transmission data and
the transmission is stopped part way through, use CR and LF as the end
code.
4. The start and end codes themselves are not transmitted and received.
When sending data from the CPM2A/CPM2C, check that the Transmission En-
able Flag is ON for executing TXD(48). The Transmission Enable Flag will turn
Data (Specified No. of bytes)
ST
Data (Specified No. of bytes)
Data (256 bytes max.)
ST
Data (256 bytes max.)
Data (256 bytes max.)
Data (256 bytes max.)
ST
Section
4-3
CPM2C CPU Unit
ED
ED
CR
LF
CR
LF

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