BECKHOFF IPxxxx-B520 User Manual
Page 30

Analog Input Channel Object
27
IPxxxx-B520
Semantics
Status
The Status of an Analog Input Channel indicates the following conditions:
Value
Description
0
OK, no failure
1
internal IO Error
Over range
Under range
Diagnostics (depends on IPxxxx, see manual)
Idle Mode
Register 0 – 63
Within the response of a Get_Attribute_Single Service to the „Register
Data“ Attribute the status of the internal reading and the registers data is
returned by the IPxxxx. The meaning of the registers data is described in
the IPxxxx manual.
Within the response of a Set_Attribute_Single Service to the „Register
Data“ Attribute the status of the internal reading is returned by the coupler.
Get_Attribute Response
Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
0
Status (Low Byte)
1
Status (High Byte) : 0 = OK, >0 = Error
2
Register data (Low Byte)
3
Register data (High Byte)
Set_Attribute Request
Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
0
Register data (Low Byte)
1
Register data (High Byte)
2
Not used
3
Not used
Set_Attribute Responset
Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
0
Status (Low Byte)
1
Status (High Byte) : 0 = OK, >0 = Error
Common Services
Service Code
Service Name
Description
14
(0Ehex)
Get_Attribute_Single
Returns the contents of the specified
attribute
16
(10hex)
Set_Attribute_Single
Modifies an attribute Value