260
RS-232C Units
Section 6-2
Note
When transmitting explicit messages from an OMRON Master Unit, specify 2
bytes each for the Class ID and the Instance ID.
Response
When data is written properly, the response will be stored as shown in the fol-
lowing table.
6-2
RS-232C Units
The RS-232C Unit is a Special I/O Unit that uses the DeviceNet Network to
exchange I/O between the Master Unit and an RS-232C port. Explicit mes-
sages are used to set the Unit and perform I/O. There are two RS-232C ports
which can be used separately with the RS-232C Unit.
6-2-1
Communications Cable Connections
Wire communications cables to the RS-232C Unit using the standard Square
Connectors, just like General-purpose Slaves. This section does not explain
how to connect communications cables. For details on connecting the cables,
refer to
4-2 Connecting Communications Cables to General-purpose Slaves
.
6-2-2
Node Address and Baud Rate Settings
This section describes the Slaves’ node address setting and baud rate set-
ting. These settings are made using the following pins on the DIP switch.
When IR 04000 turns ON, the CPU Unit will check that
IR 10112 (Unit number 0 Master's Message Commu-
nications Execution Enabled Flag) is ON, and mes-
sage transmission will start.
00FE: Master's node address 00, Master's unit ad-
dress FE Hex
DM 1000: Command data storage words
0019 Hex: Master's unit number 00, 19 command data
words (BCD)
If the Equals Flag is ON (writing to the Master has
been completed normally), IR 04000 will be cleared
(message transmission completed).
If the Equals Flag is OFF (error in writing to the Mas-
ter), IR 04000 will be turned ON, and the data will be
transmitted again.
04000
IOWR
#00FE
DM1000
#0019
MOV(21)
#0000
040
MOV(21)
#0001
040
25506
25506
END(01)
10112
Words
Contents (Hex)
Meaning
DM 0100
28 01
EXPLICIT MESSAGE SEND command
code is 28 01 Hex.
DM 0101
00 00
Response code is 0000 Hex (normal
completion).
DM 0102
00 02
Number of bytes received (data length
from word DM 0103 onwards) is 2 bytes.
DM 0103
07 9E
Slave node address is 07.
BYTE DATA READ response service
code is 9E Hex.
Buy: www.ValinOnline.com | Phone 844-385-3099 | Email: [email protected]
Содержание CS1W-DRM21
Страница 3: ...Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...
Страница 7: ...vi Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...
Страница 11: ...Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...
Страница 47: ...Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...
Страница 245: ...228 B7AC Interface Units Section 5 5 Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...
Страница 315: ...Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...
Страница 337: ...Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...
Страница 339: ...Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...
Страница 371: ...Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...
Страница 373: ...Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...
Страница 378: ...Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...
Страница 379: ...W347 E1 6 Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...