![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
Содержание SYSMAC CS Series
Страница 2: ......
Страница 4: ...iv ...
Страница 30: ...xxx ...
Страница 186: ...146 List of Instructions by Function Code Section 2 4 ...
Страница 194: ...154 3 35 4 MOVE BIT MOVBC 568 1273 3 35 5 BIT COUNTER BCNTC 621 1275 3 35 6 GET VARIABLE ID GETID 286 1277 ...
Страница 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Страница 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Страница 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Страница 1392: ...1352 ASCII Code Table Appendix A ...
Страница 1404: ...1364 Revision History ...