![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030132.webp)
92
Instruction Functions
Section 2-2
2-2-22 Serial Communications Instructions
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
Page
PROTOCOL
MACRO
PMCR
@PMCR
260
Output
Required
974
TRANSMIT
TXD
@TXD
236
Outputs the specified number of bytes of data from the RS-232C port
built into the CPU Unit or the serial port of a Serial Communications
Board (version 1.2 or later).
Output
Required
983
RECEIVE
RXD
@RXD
235
Reads the specified number of bytes of data from the RS-232C port
built into the CPU Unit or the serial port of a Serial Communications
Board (version 1.2 or later).
Output
Required
993
TRANSMIT VIA
SERIAL COMMU-
NICATIONS UNIT
TXDU
@TXDU
256
Outputs the specified number of bytes of data from the serial port of a
Serial Communications Unit (version 1.2 or later). The data is output in
no-protocol mode with the start code and end code (if any) specified in
the allocated DM Setup Area.
Output
Required
1005
PMCR(260)
C1
C2
S
R
C1
: Control word 1
C2
: Control word 2
S
: 1st send word
R
: 1st receive word
R
S
to
to
CPU Unit
Calls and executes a communications sequence registered in a Serial
Communications Board (CS Series only) or Serial Communications
Unit.
Serial Communications Unit
Port
External
device
TXD(236)
S
C
N
S
: 1st source
word
C
: Control word
N
: Number of
bytes
0000 to 0100 hex
(0 to 256 decimal)
RXD(235)
D
C
N
D
: 1st destination
word
C
: Control word
N
: Number of
bytes to store
0000 to 0100 hex
(0 to 256 decimal)
TXDU(256)
S
C
N
S: 1st source word
C: 1st control
word
N: Number of
bytes
0000 to 0256 BCD
Summary of Contents for SYSMAC CS Series
Page 2: ......
Page 4: ...iv ...
Page 30: ...xxx ...
Page 186: ...146 List of Instructions by Function Code Section 2 4 ...
Page 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Page 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Page 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Page 1392: ...1352 ASCII Code Table Appendix A ...
Page 1404: ...1364 Revision History ...