Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual page 1024

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Serial Communications Instructions
Description
Area
EM Area with bank
Indirect DM/EM
addresses in binary
Indirect DM/EM
addresses in BCD
Constants
Data Registers
Index Registers
Indirect addressing
using Index Registers
TXD(236) reads N bytes of data from words S to S+(N 2)–1 and outputs the
raw data in no-protocol mode from the CPU Unit's built-in RS-232C port or
one of the Serial Communications Board's serial ports. (The output port is
specified with bits 8 to 11 of C.)
The start and end codes specified for no-protocol mode are added to the data
before the data is output. The start and end codes are specified in the PLC
Setup (for the CPU Unit's RS-232C port) or the allocated DM Setup Area (for
the Serial Communications Board's ports).
Data can be sent only when the port's Send Ready Flag is ON. The Send
Ready Flag is A39205 for the CPU Unit's RS-232C port, A35605 for Serial
Communications Board port 1, or A35613 for Serial Communications Board
port 2.
Up to 259 bytes can be sent, including the send data (N = 256 bytes max.),
the start code, and the end code.
S
En_00000 to En_32767
(n = 0 to C)
@ D00000 to @ D32767
@ E00000 to @ E32767
@ En_00000 to @ En_32767
(n = 0 to C)
*D00000 to *D32767
*E00000 to *E32767
*En_00000 to *En_32767
(n = 0 to C)
---
Specified values
only
---
DR0 to DR15
---
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
Section 3-24
C
N
#0000 to #0100
(binary) or &0 to
&256 (decimal)
985

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents