
Chapter 5 Deployment Command interface
Manual VIPA System 300V
5-14
HB130E - CP - RE_343-2AH10 - Rev. 08/41
Set_Operation_Mode
This call changes the mode between the
configuration mode
and the
protected mode
. In the
protected mode
, only AS-i slaves are activated that
are entered in the LPS and whose expected and actual configurations
match, in other words, when the I/O configuration and ID codes of the
detected AS-i slaves are identical to the configured values.
In the
configuration mode
, all detected AS-i slaves (except for AS-i slave
"0") are activated. This also applies to AS-i slaves in which there are
differences between the expected and actual configuration. The "Operation
Mode" bit is stored permanently; in other words, it is retained following a
cold/warm restart. When you change from the
configuration mode
to the
protected mode
, there is a warm restart on the AS-i master (change to the
offline phase followed by a change to the online mode).
Attention!
If an AS-i slave with address 0 is entered in the LDS, the CP cannot
change from the
configuration mode
to the
protected mode
.
Structure of the Job Data in the Send buffer
Meaning
Byte
Bit 7 Bit 1
Bit 0
0
Command number: 0Ch
1
00h
01h
Operating mode:
0=
Protected mode
1=
Configuration mode
Change_AS-i_Slave_Address
With this call, the AS-i address of an AS-i slave may be modified.
This call is mainly used to add a new AS-i slave with the default address "0"
to the AS-Interface. In this case, the address is changed from "AS-i slave
address old"=0 to AS-i slave address new". This change may only be made
when the following conditions are fulfilled:
•
An AS-i slave with "AS-i slave address old" exists.
•
If the old AS-i slave address is not equal to 0, then an AS-i slave with
address 0 cannot be connected at the same time.
•
The "AS-i slave address new" must have a valid value.
•
An AS-i slave with "AS-i slave address new" must not exist.
When the AS-i slave address is changed, the AS-i slave is not reset, in
other words, the output data of the AS-i slave are retained until new data
are received at the new address.
Structure of the Job Data in the Send buffer
Byte
Meaning
0
Command number: 0Dh
1
Slave address old
2
Slave address new
Description
Description