Omron C200HX Operation Manual page 354

Hide thumbs Also See for C200HX:
Table of Contents

Advertisement

Serial Communications Instructions
RS-232C Mode
Control Word
Digit number: 3 2 1 0
336
Note Data is not output when the CTS and DSR signals are monitored.
The specified number of bytes will be read from S through S+(N/2)–1, converted
to ASCII, and transmitted through the specified port. The bytes of source data
shown below will be transmitted in this order: 12345678...
The following diagram shows the format for host link command (TXD) sent from
the PC. Depending on their settings, the C200 HX/HG/HE and C200HS auto-
matically attach the prefixes and suffixes, such as the node number, header, and
FCS.
@ X
X
X
Node
Header
number
code (EX)
N must be BCD from #0000 to #0256. The value of the control word determines
the port from which data will be output and the order in which data will be written
to memory.
The value of the control word determines the port from which data will be read
and the order in which data will be written to memory.
Byte order
0: Most significant bytes first
1: Least significant bytes first
CTS and DSR signal monitoring (see note)
0: Don't monitor CTS and DSR signals.
1: Monitor the CTS signal. (Output to bit 15 of D.)
2: Monitor the DSR signal. (Output to bit 15 of D.)
3: Monitor the CTS and DSR signals. (Output to bits 15 and 14 of D.)
Auxiliary reception port
0: Internal RS-232C port
1: Communications port A
2: Communications port B
Port
0: RS-232C port
1: Peripheral port
Note Data is not output when the CTS and DSR signals are monitored.
The specified number of bytes will be read from S through S+(NP2)–1 and trans-
mitted through the specified port.
MSB LSB
S
1
2
S+1
3
4
S+2
5
6
S+3
7
8
X
X
X
.........
Data (122 ASCII characters max.)
MSB LSB
S
1
2
S+1
3
4
S+2
5
6
S+3
7
8
Section 5-27
X
X
X
CR
FCS
Terminator

Advertisement

Table of Contents
loading

This manual is also suitable for:

C200hgC200he

Table of Contents