
B8976111/02
AS-i Master Module CP 142-2
4-7
4.2 Interface for AS-i commands
The following sections describe the AS-i command calls that can be sent by the BM 147 to the
CP 142-2. With these command calls, the CP 142-2 provides the complete functionality of the M1
master profile of the AS-i master specification. In addition to this, the CP 142-2 can be configured
completely by the BM147 using command calls.
4.2.1 The Commands Supported by the CP 142-2
How to use the jobs is explained in the descriptions of the individual jobs, the “AS-Interface
Introduction and Basic Information” manual, the PICS appendix and the detailed explanations in /1/
and /2/.
The commands that can be executed are listed in the following table:
Name / Section
Parameter
Return
Coding:
Set_Permanent_Parameter / 4.2.1.1
Slave address,
parameter
0 0
H
Get_Permanent_Parameter / 4.2.1.2
Slave address
Parameter
0 1
H
Write_parameter / 4.2.1.3
Slave address,
parameter
Parameter echo
(optional)
0 2
H
Read_Parameter / 4.2.1.4
Slave address
Parameter value
0 3
H
Store_Actual_Parameters / 4.2.1.5
none
0 4
H
Set_Permanent_Configuration / 4.2.1.6
Slave address
configuration
0 5
H
Get_Permanent_Configuration / 4.2.1.7
Slave address
Expected configuration
data
0 6
H
Store_Actual_Configuration / 4.2.1.8
none
0 7
H
Read_Actual_Configuration / 4.2.1.9
Slave address
Actual configuration data
0 8
H
Set_LPS / 4.2.1.10
LPS
0 9
H
Set_Offline_Mode / 4.2.1.11
Mode
0 A
H
Set_Auto_Address / 4.2.1.12
Mode
0 B
H
Set_Operation_Mode / 4.2.1.13
Mode
0 C
H
Change_Slave_Address / 4.2.1.14
Address1, address2
0 D
H
Read Slave Status / 4.2.1.15
Slave address
Error record of the slave
0 F
H
Read Lists and Flags / 4.2.1.16
none
LDS,LAS,LPS,flags
1 0
H
Read Total Configuration / 4.2.1.17
Actual configuration data,
actual parameters
LAS, flags
1 9
H
Configure Total System / 4.2.1.18
Total
configuration
1 A
H
Write Parameter List / 4.2.1.19
List of
parameters
1 C
H
Read Parameter Echo List / 4.2.1.20
none
Parameter echo list
1 3
H
Read Version Number / 4.2.1.21
none
Version string
1 4
H
Read and Reset Slave Status / 4.2.1.22
Slave address
Error record of the slave
1 6
H
Read Slave ID / 4.2.1.23
Slave address
ID code
1 7
H
Read Slave I/O / 4.2.1.24
Slave address
I/O configuration
1 8
H
Table 4-2 Overview of the Command Jobs
Содержание SIMATIC NET CP 142-2
Страница 3: ...SIMATIC NET CP 142 2 Manual C79000 B8976 C111 02 ...
Страница 70: ...B8976111 02 AS i Master Module CP 142 2 7 2 ...
Страница 76: ...AS i Master Module CP 142 2 B8976111 02 A 6 ...
Страница 78: ...AS i Master Module CP 142 2 B8976111 02 B 2 ...
Страница 80: ...AS i Master Module CP 142 2 B8976111 02 C 2 ...
Страница 82: ......