Omron C200HX 사용자 설명서

다운로드
페이지 564
332
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...
MSB LSB
S
1
2
S+1
3
4
S+2
5
6
S+3
7
8
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
X
X
X
.........
X
X
X
CR
Header 
code (EX)
Data (122 ASCII characters max.)
FCS
Node 
number
Terminator
RS-232C Mode
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.
Control Word
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
Digit number:
3 2 1 0
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
Serial Communications Instructions
Section 5-27