26
.9.20
1
3
74
AS-i 3.0 EtherNet/IP+Modbus TCP Gateway
The Modbus Address Table
11.2.3
Function invocation
AS-i circuit 1
function invocation
4x reference
access
data
4865
-/w
function: opcode
1:
Set_Operation_Mode
2:
Change_Slave_Address
3:
Store_Actual_Parameters
4:
Store_Actual_Configuration
5:
Execute_Command
6:
Send_Parameter
4865
r/-
function: result
0: success
32769: failure
32770: slave with 1st addr not detected
32771: slave with zero addr detected
32772: slave with 2nd addr detected
32773: delete error
32774: set error
32775: address stored temporarily
32776: extended ID1 stored temporarily
32777: error reading extended ID1
32778: parameter out of range
32779: invalid opcode
4866
r/w
function: parameter 1 (old slave address)
4867
r/w
function: parameter 2 (new slave address)
Tab. 11-52.
Set_Operation_Mode: A zero in the 4x reference 4865 activates the pro-
tected mode. All other values switch on the configura-
tion mode.
Change_Slave_Address: This function will be executed, if the value 2 is written
to the 4x reference 4865. The value written in the 4x
reference 4867 will be the new address of the slave.
The old address has to be written to the 4x reference
4866 before.
Store_Actual_Parameters: If the value 3 is written to the 4x reference 4865, the
actual parameters (PI) will be stored as parameters
projected (PP).
Store_Actual_Configuration: If the value 4 is written to the 4x reference 4865, the
actual AS-i configuration will be stored as projected
parameters (PCD, LPS).
Execute_command: If the value 5 is written to the 4x reference 4865, this
function will be executed. The value written in the 4x
reference 4867 will be sent as the information-part to a
slave, which the 4x reference has been written before
to the 4x reference 4866.