![background image](http://html1.mh-extra.com/html/omron/componett-e3nw-crt/componett-e3nw-crt_user-manual_742285062.webp)
60
Sect
ion 3
CompoN
et
Communic
a
tions
Spec
if
ic
at
ions
E3NW-CRT
User’s Manual
Section 3
Explicit Message Communications
Explicit Message Functions Application Example
An example of sending explicit messages using the CS1W-CRM21 is given below.
●
Operation
• Threshold Value 1 for the Sensor Amplifier Unit is written to Unit 1 connected to the Sensor
Communications Unit.
• The Send Explicit Message command (28 02) is used to read data.
• Command data is written starting from D01000. The response data is stored starting
from D02000.
• If the command ends in an error, the completion code is stored in D00006 and the
same command is resent.
●
Command Details
Refer to the CS/CJ-series Instructions Reference Manual (Cat. No. W340) for detailed
information on instructions.
CMND S D C
S: 0: 2802 hex, Command code
+ 1: 1000 hex, Sensor Communications Unit address 1000 (I/O Mode 1,
address 00)
+ 2: 0010 hex, Service code 10 hex
+ 3: 009C hex, Class ID 9C hex
+4: 0001 hex, Instance ID 01 hex
+5: 7264 hex, Attribute ID 72 hex + Write data (4th byte (least
significant)) 64 hex
+ 6: 0000 hex, Write data (3rd byte) 00 hex + Write data (2nd byte) 00 hex
+ 7: 0000 hex, Write data upper byte 00 hex
D: D02000
: First response word
C: 0: 000F hex, Number of command data bytes
+ 1: 000A hex, Number of response data bytes
+ 2: 0000 hex, Destination network address 00 hex
+ 3: 0020 hex, Destination node address 00 hex + Destination master unit
address 20 hex
+ 4: 0000 hex, Response required, communications port number 0,
number of retries: 0 hex
CompoNet Unit, Unit 0
CMND instruction
is used.
CS1 CPU
Unit
Unit address: 20 hex
Communications Unit: I/O Mode 1,
node address 00
Explicit message
Содержание CompoNetT E3NW-CRT
Страница 1: ...CompoNet TM Digital Sensor Communications Unit E3NW CRT Cat No E430 E1 04 User s Manual ...
Страница 14: ...12 Introduction E3NW CRT User s Manual Introduction Reading This Manual ...
Страница 18: ...16 E3NW CRT User s Manual Introduction Contents Introduction MEMO ...
Страница 101: ......