Omron CQM1H - PROGRAM Programming Manual page 443

Programmable controllers; inner boards
Table of Contents

Advertisement

Communications Instructions
Host Link Mode
No-protocol Mode
418
TXD(48) operates differently in host link mode and no-protocol mode, so
these modes are described separately.
Note Refer to 1-6 Communications Functions for more details on using the TXD(48)
instruction, setting communications protocol in the PC Setup, etc.
N must be BCD from #0000 to #0061 (i.e., up to 122 bytes of ASCII). The
value of the control word (C) determines the port from which data will be out-
put, as shown below.
Digit number: 3 2 1 0
The specified number of bytes will be read from S through S+(N/2)–1, con-
verted to ASCII, and transmitted through the specified port. The bytes of
source data shown below will be transmitted in this order: 12345678...
The following table lists the Transmission Enabled Flags for each port. The
corresponding Transmission Enabled Flag will be ON when the CQM1H is
capable of transmitting data through that port.
Port
CPU Unit's built-in RS-232C port
Peripheral port
Serial Communications Board
The following diagram shows the format for host link command (TXD) sent
from the CQM1H. The CQM1H automatically attaches the prefixes and suf-
fixes, such as the node number, header, and FCS.
@ X X
X X
Node
Header
number
code
N must be BCD from #0000 to #00256. The value of the control word deter-
mines the port from which data will be output and the order in which data will
be written to memory.
0 0
Not used. (Set to 0.)
Not used. (Set to 0.)
Serial port specifier (when bits 12 to 15 are 0.)
0: CPU Unit's built-in RS-232C port
1: Serial Communications Board port 1
2: Serial Communications Board port 2
Port
0: Port other than the peripheral port
1: Peripheral port
MSB LSB
S
1
S+1
3
S+2
5
S+3
7
AR 0805
AR 0813
Port 1
IR 20105
Port 2
IR 20113
.........
X
X
Data (122 ASCII characters max.)
Section 5-30
2
4
6
8
Transmission Enabled Flag
*
X
X
X
FCS
Terminator
CR

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cqm1h seriesSysmac cqm1h-cpu series

Table of Contents