User`s manual
DeviceNet (Master) Function
8-33
8
(4) Example
Shown below is an example of reading the vendor ID of the identified object in a slave station (node
address 1.)
[Data table allocation method: Fixed allocation]
Request table
1 Enter the values above in the request table (39402 to 39415).
2 Reverse the write flag (39401) . (00 - 01:*)
3 When the write flag (39401) and read flag (39400) are not the same, the JW-32CUM1
(DeviceNet section) starts reading the details of the transaction.
4 When the read process is complete, the JW-32CUM1 (DeviceNet section) automatically
reverses the read flag (39400) (00 - 01:*), so that the read flag will be same value as the
write flag (39401).
- The JW-32CUM1 (DeviceNet section) sends a request message to a slave station.
Response table
5 When the JW-32CUM1 (DeviceNet section) receives a response corresponding to the
request above from a slave station, or if a time out occurs, the JW-32CUM1 (DeviceNet
section) writes data to the transaction block in the response table.
- The JW-32CUM1 (DeviceNet section) stores the response data from a slave station in the
transaction block, starting at address 39602. In practice, the slave station vender ID104
(DCM)
for MAC ID01 is stored with the service data.
6 The values of the write flag (39601) in the response is reversed.
7 Until the write flag (39600) (00 - 01:*) is reversed, the details of the transaction block are
not allowed to change. To issue messages consecutively, the [read/write/reverse] flag should
be reversed.
* Reverse
The initial status of each flag is 00. When receiving a response after sending a request, the flag
changes to 01. Then the flag changes back to 00 again, and so on.
Explicit message data table
(requests)
Explicit message data table
(responses)
Address Parameter name Value
(HEX)
Address Parameter name Value
(HEX)
39400
DeviceNet section
reading flag
00(01) 39600
Control section
reading flag
00(01)
39401
Control section
writing flag
00(01) 39601
DeviceNet section
writing flag
00(01)
39402 Status 00 39602 Status 01
39403 TXID 00 39603 TXID 00
39404 Size 06 39604 Size 02
39405 Reserved area 00 39605 Reserved area 00
39406 MAC ID 00 39606 MAC ID 01
39407 Service code 00 39607 Service code 8E
39410
Class ID
01 39610
Response data
68
39411 00 39611 00
39412
Instant ID
01
39413 00
39414
Service data
01
39415 00
1
When Sharp's vendor ID is returned:
104 (decimal) = 68 (hex.)
7
6
5
34
2