Details of Objects Managing the AS-Interface Mode of Operation
Original instructions
At a Glance
The tables below present the language objects allowing management of the operating mode of the AS-Interface Bus Master and the parameters of the slaves present on the AS-Interface bus. These objects are not built into the IODDTs.
Operating Mode Object
This word type object is used to manage the switch to the Offline or Data Exchange Off mode of the AS-Interface Bus Master via WRITE_CMD.
NOTE: Use of this object requires a thorough knowledge of AS-Interface communication principles.
Description of Operating Mode Object
The table below presents the different states of the %MWr.m.0.74 word:
Address
Type
Access
Meaning
%MWr.m.0.74.0
BOOL
R/W
Switch to Offline mode
%MWr.m.0.74.1
BOOL
R/W
Exit from offline mode
%MWr.m.0.74.2
BOOL
R/W
Data exchange inactive.
%MWr.m.0.74.3
BOOL
R/W
Data exchange active.
NOTE: The Offline modes have priority over Data Exchange modes.
Adjustment Parameters Objects
These objects are used to manage the parameters of slave devices. They can be modified without stopping the AS-Interface bus master.
Description of Adjustment Parameters Objects
The table below provides the meaning of the different words %MWr.m.0.76 to %MWr.m.0.139:
Address
Type
Access
Meaning
%MWr.m.0.76 to
%MWr.m.0.107
INT
R/W
PI: Contain the parameter values of slaves 0A to 31A (1 word/slave, only 4 bits used)
%MWr.m.0.108 to
%MWr.m.0.139
INT
R/W
Contain the parameter values of slaves 0B to 31B (1 word/slave, only 4 bits used)
%MWr.m.0.140 to
%MWr.m.0.171
INT
R
EPI: Contain the parameter values echoed by slaves 0A to 31A (1 word/slave, only 4 bits used)
%MWr.m.0.172 to
%MWr.m.0.203
INT
R
EPI: Contain the parameter values echoed by slaves 0B to 31B (1 word/slave, only 4 bits used)
These objects are exchanged by the READ_PARAM, WRITE_PARAM, SAVE_PARAM and RESTORE_PARAM instructions.
Echo of adjustment parameters of (MWr.m.0.140 to %MWr.m.0.203) is only significant after the completion of a READ_PARAM instruction; in other circumstances, their content may not be reliable.
For slaves in Bank B, the Bit3 of EPI is always set.
Unused bits of a parameter have random values in a EPI.