Omron CS1G/H-CPUxxH Instructions Manual page 875

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Serial Communications Instructions
Description
1
2
3
4
5
6
854
Area
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 in
no-protocol mode the data without conversion from the RS-232C port built
into the CPU Unit. When the data is output, the start and end codes specified
for no-protocol mode in the PLC Setup are added.
Sending data is possible only when the Send Ready Flag (A39205) is ON.
The following diagram shows the order in which data is sent and the contents
of the send frame for various settings.
N bytes of data is sent in the following order when
sending the most significant bytes first is specified:
1, 2, 3, 4, 5, 6
No Start or End Code
Only Start Code
Only End Code
Start and End Code
CR+LF End Code
Data
Start and CR+LF End Code
RS-232C port on CPU Unit
S
*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
Data
Data
Data
Data
CR LF
Data
Data sent.
Section 3-24
C
N
#0000 to #0100
(binary)
N send bytes: 256 max.
Send bytes after ST:
256 max.
Send bytes before ED:
256 max.
Send bytes between
ST and ED: 256 max.
Send bytes before
CR+LF: 256 max.
Send bytes between ST
and CR+LF: 256 max.

Advertisement

Table of Contents
loading

Table of Contents