Omron CJ - REFERENCE MANUAL 07-2009 Reference Manual page 254

Communications commands
Hide thumbs Also See for CJ - REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

FINS Commands
Precautions
232
CompoWay/F Command Code
This is the CompoWay/F command code. For details, refer to the command
manual for the CompoWay/F Slave.
CompoWay/F Response Code
The CompoWay/F response code indicates the results of the service
requested by the command code. For details, refer to the command manual
for the CompoWay/F Slave.
CompoWay/F Text
This is the data that follows the response code.
• FINS Header (Destination Address)
The following settings are required.
• Destination Network Address (DNA):
• When a routing table is created to treat the serial communications path
as a network, this is the network address associated with the Serial
Communications Unit or Board's serial port by the routing table
• When a routing table is not created to treat the serial communications
path as a network, this is the actual network address used to specify
the destination PLC.
• Destination Node Address (DA1):
• When a routing table is created to treat the serial communications path
as a network, set 00 hex for communications within the local PLC or
the "Host Link unit number + 1" for serial → serial → serial conversion.
• When a routing table is not created to treat the serial communications
path as a network, this is the actual node address used to specify the
destination PLC (the "Host Link unit number + 1" for serial → serial →
serial conversion).
• Destination Unit Address (DA2):
This is the serial port's unit address.
Settings for a Serial Communications Board or Unit:
• Unit addresses for serial port 1:
Unit number
0
1
2
Hexadecimal
80
84
88
Decimal
128 132 136 140 144 148 152 156 160 164 168 172 176 180 184 188 228
• Unit addresses for serial port 2:
Unit number
0
1
2
Hexadecimal
81
85
89
Decimal
129 133 137 141 145 149 153 157 161 165 169 173 177 181 185 189 229
• Sending CompoWay/F Commands with the CMND Instruction
• Set FINS command code 2803 hex (CONVERT TO COMPOWAY/F) in
S.
• Set the following parameters starting at S+1 in ASCII with the leftmost
byte first: CompoWay/F node number (2-byte ASCII), subaddress (2-
byte ASCII), SID (2-byte ASCII), CompoWay/F command MRC (2-byte
ASCII), CompoWay/F command SRC (2-byte ASCII), and text (ASCII,
2 × n bytes)
3
4
5
6
7
8
8C
90
94
98
9C
A0
3
4
5
6
7
8
8D
91
95
99
9D
A1
Section 5-3
9
A
B
C
D
E
A4
A8
AC
B0
B4
B8
9
A
B
C
D
E
A5
A9
AD
B1
B5
B9
F
Board
BC
E4
F
Board
BD
E5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents