At a Glance

The addressing of the main bit and word objects of the analog input/output modules depends upon:

  • the rack address

  • the physical position of the module in the rack

  • the module channel number

NOTE: You can access the modules either via topological or State RAM addresses.

Description

Addressing is defined in the following way.

%

I, Q, M, K

X, W, D, F

r

.

m

.

c

.

i

.

j

Symbol

Object type

Format

Rack

 

Module position

 

Channel no.

 

Rank

 

Word bit

The table below describes the different elements that make up addressing.

Family

Element

Meaning

Symbol

%

-

Object type

I

Q

Image of the physical input of the module.

Image of the physical output of the module.

This information is exchanged automatically for each cycle of the task to which they are attached.

M

Internal variable.

This read or write information is exchanged at the request of the application.

K

Internal constant.

This configuration information is available as read only.

Format (size)

X

Boolean.

For Boolean objects the X can be omitted.

W

Single length.

D

Double length.

F

Floating point.

Rack address

r

Rack address.

Module position

m

Module position number in the rack.

Channel no.

c

Channel no.

0 to 127 or MOD (MOD: channel reserved for managing the module and parameters common to all the channels).

Rank

i

Word rank.

0 to 127 or ERR (ERR: indicates an error in the word).

Word bit

j

Position of the bit in the word.

Examples

The table below shows some examples of analog object addressing.

Object

Description

%I1.3.MOD.ERR

Error information for the analog input module located in position 3 on rack 1.

%I1.4.1.ERR

Channel 1 error information for the analog input module located in position 4 on rack 1.

%IW1.2.2

Image word for the analog input 2 of the module located in position 2 on rack 1.

%QW2.4.1

Image word for the analog output 1 of the module located in position 4 on rack 2.