Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual page 1052

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Serial Communications Instructions
A20203
000000
Communications Port
Enabled Flag
C+0: D00200
C+1: D00201
1012
155905
TXDU
D00100
S
TXDU Instruction
Executing Flag
D00200
C
N
15
12
11
8
7
0
0
0
Always 00
15
12
11
8
7
3
1
1
Serial port number
1: Port 1
Port number specifier
3: Logical port 3
Note:
The serial port's unit address can be specified directly by setting the serial port number to 0 and
setting the Serial Communications Unit's unit address to the serial port's unit address.
(Set the unit address to 80 hex + 4 x unit number for port 1 or 81 hex + 4 x unit number for port 2.)
15
12
11
8
7
4 3
0
C+1:
3
0
8
8
Serial Communications Unit's unit address
88 hex = 80 hex + 4 x unit number
Serial port number
0: Specify port directly.
Port number specifier
3: Logical port 3
Most signifi-
Least signif-
cant bytes
icant bytes
15
8
7
S: D00100
3
4
1
D00101
C
D
A
D00102
E
Example allocated DM Setup Area settings:
Start code and end code values
15
12
11
8
7
D30204
0
2
0
Start code
(02 hex)
Start code and end code specifiers
15
12
11
8
7
D30205:
1
1
End code specifier
(1: Use end code.)
Start code specifier
(1: Use start code.)
&5
4 3
0
1
Byte order
1: Least significant bytes first
RS and ER signal control
0: No RS and ER signal control
4 3
0
2
Serial Communications Unit's unit address (Unit
address as CPU Bus Unit)
12 hex = Unit number + 10 hex
0
2
B
F
Transfer order
1 2 3 4 A B C D E F
In this example, a start and end code have been
specified in the allocated DM Setup Area.
4 3
0
3
ST
12
34
End code
ST: Start code (e.g., 02 hex)
(03 hex)
ED: End code (e.g., 03 hex)
4 3
0
Section 3-24
5 bytes
AB CD EF ED
Data sent.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents