Example Of Using An Explicit Message - Omron WD30-ME Operation Manual

Devicenet wireless units
Hide thumbs Also See for WD30-ME:
Table of Contents

Advertisement

Example of Using an Explicit Message

Responses
3-2

Example of Using an Explicit Message

Wireless master station
NNODE = 02
Wireless slave station
NNODE = 03
3300CH
If reading is performed without error, the following responses are stored.
Word
Contents (Hex)
DM00011
28 01
DM00012
00 00
DM00013
00 04
DM00014
00 8E
DM00015
XX XX
An example of a program that transmits an Explicit message via the
DeviceNet wireless unit is given below.
In this example, an Explicit message is sent to the DRT1-232C to read data
received by the DRT1-232C in the system configuration shown below.
Maser unit
CS1W-DRM21
Node address = 63, device address = 01
Wireless network
Lower DeviceNet network
The IN area allocation for the DRT1-232C at the CS1 is shown below.
15 14 13 12 11 10
9
Explicit message command code = 28 01 Hex
End code (0000 Hex: normal end)
Number of bytes received
(data length after DM00014) = 4 bytes
Transmission source node address 00,
ServiceCode = 8E Hex
Status of read DeviceNet master
The DeviceNet node address is used for both
the node address and the NNODE.
Upper DeviceNet network
DRT1-232C
Node address = 04
8
7
6
5
4
3
2
RS-232C Reception Completed Flag
Parity Error Flag
Overrun Error Flag
Framing Error Flag
Reception Buffer Overflow Flag
Section 3-2
Definition
Bar code reader
RS-232C
1
0
Bit
Transmission Ready Flag
System Setting Error Flag
RS-232C Receiving Flag
49

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Wd30-seWd30-se01Wd30-me01Wd30-at001

Table of Contents