Addressing Language Objects Associated with Slave Devices
Original instructions
At a Glance
Acquisition of inputs and updates of slave device outputs connected to the AS-Interface bus are carried out automatically. This occurs at the start and end of each cycle of the task in when the BMX EIA 0100 module is configured.
The user program has access to these inputs and outputs via language objects.
Syntax
Language object addresses are defined in the following way:
                                        % (I, Q, IW or QW) \ b.e \ r.m.c
The table below describes the different elements that make up language object address:.
Family
Item
Values
Indicates
Symbol
%
-
-
Object type
I
Q
IW
QW
-
Digital input channel bit
Digital output channel bit
Analog input channel
Analog output channel
This information is exchanged automatically each cycle of the task to which they are attached.
Bus and slave number
b
1 to 999
Bus number
e
1 to 31
101 to 131
Slave number for bank A
Slave number for bank B (offset of 100 in relation to the slave number of bank A)
Rack number
r
0
Virtual rack number
Module position
m
0
Virtual module position
Channel
c
0 to 3
Input or Output channel number
Example
%I\2.1\0.0.3 indicates: Discrete Input bit, bus number 2, bank A, slave 1, implicitly rack 0 and module 0, Input 3 of the BMX EIA 0100 module.
%Q\2.131\0.0.0 indicates: Discrete Output bit, bus number 2, bank B, slave 31, implicitly rack 0 and module 0, Output 0 of the BMX EIA 0100 module.
Illustration:
Bank Addressing
The physical address of an AS-Interface slave is programmed by a console.
An Analog slave can be configured in a slot on only bank A.
In Control Expert an extended Discrete bank B slave has an address between 101 and 131.
The number of a standard Discrete bank A slaves, or an Analog slaves (which is always standard) is between 1 and 31.
When a standard slave is set in bank A, an extended slave at bank B cannot have the same address. Only two extended slaves can have the same address in banks A and B.