297
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. Set 1 byte as the Attribute ID
for the RECEIVE DATA READ command.
Responses
The following responses will be stored if the data is read properly.
Port 1 Response
Port 2 Response
Reading Data Received at Port 2
00FE: Master's node address 00, Master's unit
address FE Hex
DM 0250: Command data storage words
0009 Hex: Master's unit number 00, 9 command
data words (BCD)
If the Equals Flag is OFF (error in writing to the
Master), IR 03300 will be turned ON, and the data
will be transmitted again.
If the Equals Flag is ON (writing to the Master has
been completed normally), IR 03300 will be
cleared (message transmission completed).
When IR 03300 turns ON, the Unit will check
that IR 10112 (unit no. 0 Master's Message
Communications Enabled Flag) is ON, and
message transmission starts.
If SR 35810 (Port 2 RS-232C Receiving Flag) is OFF
and SR 35811 (Port 2 RS-232C Received Flag) is ON,
the sequential processing control bit IR 03300 will be
turned ON.
IOWR
#00FE
DM0250
#0009
MOV(21)
#0001
033
MOV(21)
#0000
033
25506
25506
MOV(21)
#0000
033
03300
10112
END(01)
Words
Contents (Hex)
Meaning
DM 0300
28 01
EXPLICIT MESSAGE SEND command
code is 28 01 Hex.
DM 0301
00 00
Response code is 0000 Hex (normal
completion).
DM 0302
xx xx
Number of bytes received (data length
from word DM 0203 onwards).
DM 0303
08 8E
Slave node address is 08.
RECEIVE DATA READ response service
code is 8E Hex.
DM 0304 on
xx xx...
Data received from port 1 of the RS-
232C Unit and read is stored in order
from the leftmost byte to the rightmost
byte.
Words
Contents (Hex)
Meaning
DM 0350
28 01
EXPLICIT MESSAGE SEND command
code is 28 01 Hex.
DM 0351
00 00
Response code is 0000 Hex (normal
completion).
DM 0352
xx xx
Number of bytes received (data length
from word DM 0353 onwards).
DM 0353
08 8E
Slave node address is 08.
RECEIVE DATA READ response service
code is 8E Hex.
DM 0354 on
xx xx...
Data received from port 2 of the RS-232C
Unit and read is stored in order from the
leftmost byte to the rightmost byte.
Buy: www.ValinOnline.com | Phone 844-385-3099 | Email: [email protected]
Summary of Contents for CS1W-DRM21
Page 3: ...Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...
Page 7: ...vi Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...
Page 11: ...Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...
Page 47: ...Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...
Page 315: ...Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...
Page 337: ...Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...
Page 339: ...Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...
Page 371: ...Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...
Page 373: ...Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...
Page 378: ...Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...
Page 379: ...W347 E1 6 Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...