EasyManua.ls Logo

Omron CS1W-CRM21 - Page 186

Omron CS1W-CRM21
223 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
164
Sending Explicit Messages Section 6-4
(2) Similarly, when the data in the response format Service Data is returned
in word (2-byte) or double word (4-byte) units, it is specified in order from
the low byte to the high byte as the command format.
Example Using
CMND(490) to Send an
Explicit Message
Operation Here, the header code (OMRON header code: 002F hex) is read from the
Slave Unit.
Use SEND EXPLICIT MESSAGE (28 02) to read the data.
The command data is written to D01000 onwards in the CPU Unit of the
PLC, and the response data is stored from D02000 onwards.
If the command results in an error, the completion code is stored in
D00006 and the command is sent again.
Command Details
[ CMND S D C ]
Response
Explicit
message
CompoNet Master Unit
Unit number 0
PLC
Input Slave Unit
Node address: 11
Using
CMND(490)
Unit address: 20 hex
S D01000 +0 : 2802 hex Command code
+1 : 100B hex Input Slave node address: 11
+2 : 000E hex Service code 0E hex
+3 : 0001 hex Class ID 0001 hex
+4 : 0001 hex Instance ID 0001 hex
+5 : 0100 hex Attribute ID 01 hex
D D02000 : First response word
C D00000 +0 : 000B hex Number of command data bytes: 11
+1 : 000C hex Number of response bytes: 12
+2 : 0000 hex Remote (destination) network address: 0
+3 : 0020 hex Remote (destination) node address: 0
Remote (destination unit address): 20 hex
+4 : 0000 hex Response: required; Communications port No.: 0;
Number of retries: 0 hex
+5 : 0064 hex Response monitoring time
D02000 +0 : 2802 hex
+1 : 0000 hex
+2 : 0004 hex
+3 : 100B hex Response source node address: 11 (0B hex)
+4 : 008E hex Normal completion: 8E hex
+5 : 2F00 hex The vendor code is stored in order from the upper
byte to the lower byte.

Table of Contents

Related product manuals