4-3
Section
CPM2A/CPM2C Communications Functions
252
CPM2C Connections
RS-232C devices
Bar code reader
Serial printer
Other
CPM2C CPU Unit
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.
Transmission Data Configuration
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.
No Start or End Code:
Data (Specified No. of bytes)
Only a Start Code:
ST
Data (Specified No. of bytes)
Only an End Code:
ED
Data (256 bytes max.)
Both a Start and End Code:
ST
Data (256 bytes max.)
ED
End Code of CR, LF:
LF
Data (256 bytes max.)
CR
Start Code 00-FF/End Code CR,LF:
LF
Data (256 bytes max.)
CR
ST
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.
Transmission Flags
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
Содержание SRM1 - PROGRAMING 02-2001
Страница 1: ...Programmable Controllers Cat No W353 E1 06 SYSMAC CPM1 CPM1A CPM2A CPM2C SRM1 V2 PROGRAMMING MANUAL ...
Страница 2: ...CPM1 CPM1A CPM2A CPM2C SRM1 V2 Programmable Controllers Programming Manual Revised February 2008 ...
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 9: ...x ...
Страница 15: ...xvi ...