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

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

Advertisement

Serial Communications Instructions
Related Flags and Words
988
Board in the interrupt task if a TXD(236)/RXD(235) instruction is being exe-
cuted for the Serial Communications Board in the cyclic task. An error will
occur and the ER Flag will be turned ON if a TXD(236)/RXD(235) instruction
is executed for the Serial Communications Board in the interrupt task when
another TXD(236)/RXD(235) instruction was being executed for the Serial
Communications Board in the cyclic task. (These instructions cannot be pro-
grammed in both the cyclic and interrupt tasks even if they are executed for
different ports in the Serial Communications Board.)
The following PLC Setup settings and Auxiliary Area flag can be used as
required when executing TXD(236).
PLC Setup Settings for CPU Unit's RS-232C Port
Programming
Console address
Word
Bit
162
0 to 15
No-protocol Mode Send
Delay
164
8 to 15
No-protocol Mode Start Code 00 to FF hex
0 to 7
No-protocol Mode End Code
165
12
No-protocol Mode Start Code
Specifier
8 and 9
No-protocol Mode End Code
Specifier
0 to 7
No-protocol Mode Number of
bytes of Data
DM Setup Area Settings for Serial Communication Board's Ports
Setup Area word
Bit
Port 1
Port 2
D32002 D32012 15
0 to 14
D32004 D32014 8 to 15
0 to 7
D32005 D32015 12 to 15 No-protocol Mode Start
8 to 11
Auxiliary Area
Send Ready Flags
Port
CPU Bus Unit's built-in RS-232C Port A39205
Serial Communications Board port 1
Serial Communications Board port 2
Name
0000 to 210F hex,
0 to 99,990 ms decimal (in 10-
ms units)
00 to FF hex
0: None
1: Use start code.
0: None
1: Use end code.
2: Use CR+LF.
00: 256 bytes
01 to FF: 1 to 255 bytes
Name
No-protocol Mode Send
Delay Specifier
No-protocol Mode Send
Delay Time
No-protocol Mode Start
Code
No-protocol Mode End
Code
Code Specifier
No-protocol Mode End
Code Specifier
Address
ON when data can be sent in
the no-protocol mode.
A35605
A35613
Section 3-24
Settings
Settings
0: Default (0 ms)
1: Use delay in bits 1 to 14.
0000 to 7530 hex
0 to 300,000 ms decimal
(in 10-ms units)
00 to FF hex
00 to FF hex
0: None
1: Use start code.
0: None
1: Use end code.
2: Use CR+LF.
Contents

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents