beautypg.com

2 description of the as-i commands – Siemens CP 243-2 User Manual

Page 75

background image

Command Interface

5-7

SIMATIC NET CP 243-2 AS-i Master
C79000-G8976-C142/02

5.2

Description of the AS-i Commands

Overview

The following sections describe the AS-i command calls that can be sent by the
S7-200 system to the CP 243-2. With these command calls, the CP 243-2 provides
the complete functionality of the M1 master profile of the AS-i master specification.
In addition to this, the CP 243-2 can be configured completely using command
calls by the S7-200 system.

How to use the jobs is explained in the descriptions of the individual jobs, the PICS
appendix and the detailed explanations in /1/ and /2/.

The commands that can be executed are listed in the following table:

Table 5-3

Name

Parameter

Return

Coding

Set_Permanent_Parameter
–> described in Section 5.2.1

Slave address,
parameter

0 0

H

Get_Permanent_Parameter
–> described in Section 5.2.2

Slave address

Parameter

0 1

H

Write_Parameter
–> described in Section 5.2.3

Slave address,
parameter

Parameter echo
(optional)

0 2

H

Read_Parameter
–> described in Section 5.2.4

Slave address

Parameter value

0 3

H

Store_Actual_Parameters
–> described in Section 5.2.5

0 4

H

Set_Extended_Permanent_Configuration
–> described in Section 5.2.6

Slave address,
configuration

2 5

H

Get_Extended_Permanent_Configuration
–> described in Section 5.2.7

Slave address

specified configuration

2 6

H

Store_Actual_Configuration
–> described in Section 5.2.8

0 7

H

Get_Extended_Actual_Configuration
–> described in Section 5.2.9

AS-i slave address

Actual configuration data

2 8

H

Set_Extended_LPS
–> described in Section 5.2.10

LPS

2 9

H

Set_Offline_Mode
–> described in Section 5.2.11

Mode

0 A

H

Select_Autoprogramming
–> described in Section 5.2.12

Mode

0 B

H

Set_Operation_Mode
–> described in Section 5.2.13

Mode

0 C

H

Change_AS-i_Slave_Address
–> described in Section 5.2.14

Address 1,
Address2

0 D

H