10. Appendix D: DeviceNet Objects
Attributes of instance 16#02 of class 16#05: Polled Command/Response Connection
ID | Access | Name | Need | Type | Value |
16#01 | Get | State | Required | USINT | 0 to 4 |
This attribute represents the status of the “Polled Command/Response Connection” object. The LUFP9 gateway supports the following values: 0
16#02
Get | Instance type | Required | USINT | 1 |
This attribute defines the instance’s connection type: Messaging connection (0) or I/O connection (1).
16#03
Get / Set | Transport class trigger | Required | BYTE | 16#82 |
This attribute defines the behaviour of the connection. In the case of the LUFP9 gateway’s “Polled Command/Response Connection” object, this attribute takes the value 16#82, broken down as follows:
Bits | = 2#0010 | Transport Class = Class 2. |
Bits | = 2#xxx | Value ignored in the case of a data server. |
Bit 7 | = 2#1 | The gateway behaves as a data server responding to queries from a DeviceNet client. |
16#04
Get / Set | Produced connection ID | Required | UINT | 2#0•• ••xx xxxx |
The value of this attribute is placed in the CAN protocol’s Identifier Field when the connection goes into transmission mode (group 1 messages). The term “xx xxxx” represents the 6 bits of the address of the gateway’s DeviceNet node. The term “•• ••” represents the message ID.
E.g. 16#03CA = 2#011 1100 1010 (group 1 messages; ID of the messages = 12; Gateway located at address 10).
16#05
Get / Set | Consumed connection ID | Required | UINT | 2#10x xxxx x••• |
The value of this attribute corresponds to the content of the CAN protocol’s Identifier Field for the messages the connection should receive (group 2 messages). The term “x xxxx x” represents the 6 bits of the address of the DeviceNet node. The term “• ••” represents the message ID.
E.g. 16#0455 = 2#100 0101 0101 (group 2 messages; ID of the messages = 5; Producer located at address 10).
16#06
Get / Set | Initial comm. characteristics | Required | BYTE | 16#01 |
This attribute defines the Group or Groups of Messages by which the productions and consumptions associated with the “Polled Command/Response Connection” object are carried out. Please see chapters
16#07
Get / Set | Produced connection size | Required | UINT | (size of the input area) |
Maximum number of bytes which can be transmitted via this instance’s connection. The value of this attribute should be set to the size of the input area choosed using attribute 16#0E. With the LUFP9 gateway’s default configuration, the value of this attribute is set to 32, that is to say to the size of “Input1” area.
16#08
Get / Set | Consumed connection size | Required | UINT | (size of the output area) |
Maximum number of bytes which can be received via this instance’s connection. The value of this attribute should be set to the size of the output area choosed using attribute 16#10. With the LUFP9 gateway’s default configuration, the value of this attribute is set to 32, that is to say to the size of “Output1” area.
16#09
Get / Set | Expected packet rate | Required | UINT | 80 (unit = 1 ms, |
|
|
|
| per 10 ms step) |
This attribute defines the periodicity of the exchanges made via the connections of this instance.
16#0C
Get / Set | Watchdog timeout action | Required | USINT | 0 |
This attribute defines the action taken when the watchdog timer is triggered or when the connection is inactive. The various possible values are as follows: 0 (Transition to timed out), 1 (Auto Delete), 2 (Auto Reset) et 3 (Deferred Delete).
16#0D
Get / Set | Produced connection path length | Required | UINT | 6 |
Size of the USINT array of attribute 16#0E (produced connection path).
102