8-6
<Toc> <Ind>
<8. Message Communications >
IM 34M6H28-01E
1st Edition : Feb.01,1999-00
8.3
Sample Programs
Remote setting of operation (output cut-off/maintain) during abnormal communications of a
discrete output device is given as a sample program of message communications.
The target device supports the following services and attributes.
•
Service
SetAttribute_Single (DeviceNet common service, $10)
•
Attribute
Class ID = 9, Instance ID = 1, Attribute ID = 5
(Prescribed attribute value for operation during a communication error)
•
Setup value
8-bit integer (0 = Cut off, 1 = Maintain)
Message request format
T0803-1.EPS
Data position no.
Data
Contents
1501
0
Reserved
1502
1
Transmission destination node address
1503
0
Reserved
1504
0
Reserved
1505
2
Service data size (byte)
1506
$10
Service code "Set_Attribute_Single"
1507
9
Class ID
1508
1
Instance ID
1509 High-order 8 bits
$05
Service data Attribute ID, 5
1509 Low-order 8 bits
$01
Service data Setup value, 1
Message response format (during normal exit)
T0803-2.EPS
Data position no.
Data
Contents
1551
0
Reserved
1552
1
Transmission destination node address, 1
1553
0
Error code, 0
1554
0
Reserved
1555
0
Size of service data, 0 byte
1556
$90
Service code ($80 + service code)
Содержание FA-M3 Vitesse
Страница 2: ...Blank Page...
Страница 28: ...Blank Page...
Страница 40: ...Blank Page...
Страница 94: ...Blank Page...
Страница 116: ...Blank Page...
Страница 118: ...Blank Page...