111
10. Appendix D: DeviceNet Objects
ID Access Name Need Type Value
16#09 Get LED status Optional USINT [6] (variable)
The values of the elements of this attribute correspond to the status of the gateway’s 6 LEDs (1 byte per LED).
The first byte corresponds to LED c, the second to LED d, etc., up to LED h. Each byte takes one of the
following values to designate the state of the LED to which it corresponds: 16#00 (LED is off), 16#01 (LED is
green) or 16#02 (LED is red).
16#0A Get Module type Optional UINT 16#0101
The value of this attribute is always equal to 16#0101 with the LUFP9 gateway, as this is an “AnyBus-S” module.
16#0B Get DeviceNet module status Optional USINT (8-bit register)
Reading this attribute’s bits shows certain information about the state of the gateway’s AnyBus-S DeviceNet
card. The four data bits of these registers are described below:
Bit 0: Gateway off-line (0) / on-line (1) on the DeviceNet network.
Bit 1: All outputs are zeroed (0) or held (1) in the output memory area if the gateway is off-line on the DeviceNet
network.
Bit 8: All inputs are zeroed (0) or held (1) in the input memory area if the gateway’s application is stopped.
Bit 9: The “changed data field” register is inhibited (0) / activated (1).
16#0C Get Changed data field Optional LWORD
Each bit of this 64-bit register indicates whether the content of 8 consecutive bytes of the output memory area
has been changed. Bit 0 relates to bytes 16#0200 to 16#0207, bit 1 relates to bytes 16#0208 to 16#0215, etc., up
to bit 63, which relates to bytes 16#03F8 to 16#03FF.
16#0D Get Interrupt cause Optional BYTE (8-bit register)
This register allows you to determine the cause of the last interrupt. Each bit is activated when the associated
event occurs, then it is reset by the gateway’s interrupt handler. So this register is not intended to be used by the
DeviceNet master.
Bit 0: The gateway goes on-line on the DeviceNet network.
Bit 1: The gateway goes off-line on the DeviceNet network.
Bit 2: Data changed.
16#0E Get Interrupt notification Optional BYTE (8-bit register)
This register allows you to determine what types of interrupts are allowed (see description of attribute 16#0D). Its
value is set when the gateway is initialized, using a specific mailbox (not described in this guide).
Bit 0: Issuing an interrupt when the gateway goes on-line on the DeviceNet network.
Bit 1: Issuing an interrupt when the gateway goes off-line on the DeviceNet network.
Bit 2: Issuing an interrupt when the data are modified. To do this the “change data field” register should be
activated (see description of bit 9 of attribute 16#0B).
16#0F Get IN cyclic I/O length Optional UINT 16#0020
This attribute indicates the total size of the cyclic input data (I/O IN data), expressed as a number of bytes. This
size covers all the gateway’s memory space occupied by Modbus input data, free locations also being counted.
With the LUFP9 gateway’s default configuration, the value of this attribute corresponds to the size of the input
area of the gateway, that is to say 32 bytes.
16#10 Get IN DPRAM length Optional UINT 16#0020
This attribute indicates the total size of the input data and parameters in the gateway’s memory (valid IN bytes in
DPRAM), expressed as a number of bytes. This size covers all of the gateway’s memory space occupied by
Modbus input data and parameters, free locations also being counted. Since no input parameters are defined,
the values of attributes 16#0F and 16#10 are both identical. With the LUFP9 gateway’s default configuration, the
value of this attribute is equal to 32 bytes.