Entry type: FAQ, Entry ID: 787264, Entry date: 03/25/1999
(0)
Rate

Differences between the AS I master profiles

  • Entry
  • Associated product(s)

QUESTION:
What are the differences between M0, M1 and M2 master profiles in the case of AS interface master modules?

ANSWER:
The three different master classes (M0, M1, M2) designate the function scope of the individual AS I master. These are not internal Siemens designations. It is exactly defined in the AS Interface specifications which functions a master of a specific class has to fulfill.

Simplified Profile Description
The table below gives a simplified overview of the scope of functions of the individual master classes.

Master profile M0:

The master can exchange I/O data with the individual slaves. The master is configured by taking the slave configuration found on the line as the "nominal configuration".

Master profile M1:

This profile covers the complete functionality according to the AS I master specification (incl. M0 and M2).

Master profile M2:

This profile is the same as the master profile M0 with the additional functionality of parameterizing slaves by the master.
The function scope of this profile is less than that of M1.

Exact Profile Description
The exact scope of functions of the AS I specification are given in the following table. The individual functions are not explained in the table, but the scope of each master profile is clearly demonstrated. The CP3422 manual includes detailed explanations of the individual functions.

No

Function

M0

M1

M2

1

Image, Status =  Read_IDI ()

M

M

M

2

Status =  Write_OD (Image)

M

M

M

3

Status = Set_Permanent_Parameter (S_Addr, S_Param)

O

M

O

4

S_Param, Status =  Get_Permanent_Parameter (S_Addr)

O

M

O

5

Status, RS_Param =  Write_Parameter (S_Addr, S_Param)

O

M

M

6

Status, S_Param =  Read_Parameter (S_Addr)

O

M

O

7

Status =  Store_Actual_Parameters ()

O

M

M

8

Status =  Set_Permanent_Configuration (S_Addr,S_ Config)

O

M

O

9

Status, S_Config =  Get_Permanent_Configuration (S_Addr)

O

M

O

10

Status =  Store_Actual_Configuration ()

M

M

M

11

Status, S_Config =  Read_Actual_Configuration (S_Addr)

O

M

O

12

Status =  Set_LPS (S_List)

O

M

O

13

Status, S_List   =  Get_LPS ()

O

M

O

14

Status, S_List   =  Get_LAS ()

O

M

O

15

Status, S_List   =  Get_LDS ()

O

M

O

16.0

Status, Flags =  Get_Flags () 

O

M

O

16.1

Status, Flag =  Get_Flag_Config_OK ()

M

M

M

16.2

 Status, Flag =  Get_Flag_LDS.0 ()

O

M

O

16.3

 Status, Flag =  Get_Flag_Auto_Address_Assign ()

O

M

O

16.4

 Status, Flag =  Get_Flag_Auto_Prog_Available ()

O

M

O

16.5

 Status, Flag =  Get_Flag_Configuration_Active ()

O

M

O

16.6

 Status, Flag =  Get_Flag_Normal_Operation_Active ()

O

M

O

16.7

 Status, Flag =  Get_Flag_APF ()

O

M

O

16.8

 Status, Flag =  Get_Flag_Offline_Ready ()

O

M

O

16.9

 Status, Flag =  Get_Flag_Periphery_OK ()

O

O

O

17

 Status =  Set_Operation_Mode (Mode)

M

M

M

18

 Status =  Set_Offline_Mode (Mode)

O

M

O

19

 Status =  Activate_Data_Exchange (Mode)

O

O

O

20

 Status =  Change_Slave_Address (S_Addr1, S_Addr2)

O

M

O

M=Mandatory, O=Optional