Download 6. Configuring the Gateway
Transcript
Appendix D: DeviceNet Objects ID Access Name Need Type Value 0x07 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 0x0E. With the LUFP9 gateway’s default configuration, the value of this attribute is set to 0, as no input area is assigned to the “Bit Strobed Command/Response Connection” object. Maximum size = 8 bytes. 0x08 Get / Set Consumed connection size Required UINT (size of the output area) The value of this attribute is not significant in the case of the “Bit Strobed Command/Response Connection” object. This value is set to 8. 0x09 Get / Set Expected packet rate 80 (unit = 1 ms, per 10 ms step) This attribute defines the periodicity of the exchanges made via the connections of this instance. 0x0C 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) and 3 (Deferred Delete). 0x0D Get / Set Produced connection path length Required Size of the USINT array of attribute 0x0E (produced connection path). 0x0E Get / Set Produced connection path Required USINT […] (area path) This attribute defines the local path (without MAC ID) of the gateway’s DeviceNet object used to produce the connection’s data. In the case of the current instance, the production path for the “Bit Strobed Command/Response Connection” corresponds to the input area assigned to the “Polled Command/Response Connection” using the “Strobed production” EDS parameter. 0x0F Get / Set Consumed connection path length Required Size of the USINT array of attribute 0x10 (consumed connection path). 0x10 Get / Set Consumed connection path Required USINT […] (area path) This attribute defines the local path (without MAC ID) of the gateway’s DeviceNet object used to receive the data consumed by the connection. In the case of the current instance, the consumption path for the “Bit Strobed Command/Response Connection” corresponds to the output area assigned to this connection using the “Strobed consumption” EDS parameter. Required UINT UINT UINT 0 0 Attributes of instance 0x04 of class 0x05: Change-of-State / Cyclic Producing Connection ID 0x01 Access Name Get State Need Type Value Required USINT 0 to 4 This attribute represents the status of the “Change-of-State / Cyclic Producing Connection” object. The LUFP9 gateway supports the following values: 0 (non-existent), 1 (in the process of being configured), 3 (connection established) and 4 (timed out). Please see figures 5.16 and 7.4 in volume I of the DeviceNet specifications for further information on this subject. 0x02 Instance type Get Required USINT 1 This attribute defines the instance’s connection type: Messaging connection (0) or I/O connection (1). 0x03 Get / Set Transport class trigger Required BYTE 0x12 or 0x02 This attribute defines the behaviour of the connection. In the case of the LUFP9 gateway’s “Change-of-State / Cyclic Producing Connection” object, this attribute takes the value 0x12 or 0x02, broken down as follows: Bits 0-3 = 2#0010 ..................... Transport Class = Class 2. Bits 4-6 = 2#001 or 2#000 ........ “Change-of-State” mode (2#001) or “Cyclic” mode (2#000). Bits 7 = 2#0 129