Analog Input Channel Object

The Analog Input Channel Class allows the access to the IO-Data and the Register Data of each analog channel of the ILxxxx-B520 and the connected extension boxes. At Boot Up the ILxxxx-B520 determines the number of analog input channels and creates one instance of the object class for each channel.

The Analog Input Channel Object Class is Vendor specific and within in the range of the Vendor specific Class Codes.

Class Code: 103 (67hex)

Class Attributes

Attribute ID

Access

Rule

Name

Data

Type

Description

Semantics of Value

1

get

Revision

UINT

Revision of implementation

1

2

get

Max. Instance

UINT

Max. number of instances

 

Instance Attributes

Attribute ID

Access rule

Name

Data type

Description

Semantics of Value

1

(01hex)

get

Value

Array of BYTE

Value of analog input channel

Number of Bytes differs between analog and special signal extension boxes

2

(02hex)

get

Value Length

USINT

Value length in Bytes

 

100

(64hex)

get/set1

Register 0

DWORD

Value of Register 0 of the analog input channel

see semantics

:

:

:

:

:

:

106

(6Ahex)

get

Register 6

DWORD

Diagnosis Register

see semantics

:

:

:

:

:

:

163

(A3hex)

get/set1

Register 63

DWORD

Value of Register 63 of the analog input channel

see semantics

1: before writing the registers the write protection of the registers has to be disabled.