Parameter
A.1
MMDiag block parameter
Input parameters
Table A- 1
Input parameter MMDiag
Parameter
Data format
En_Diag
BOOL
RdData
BOOL
Mode
DWORD
DAddr
INT
DPA_Link
BOOL
Subn_Typ
BOOL
Sl_Typ
BOOL
Subn1_ID
BYTE
Subn2_ID
BYTE
Rack_No
INT
Slot_No
INT
SubSlot_No
INT
SubAddr
INT
LAddr
WORD
RackF
BOOL
Subn1Err
BOOL
Subn2Err
BOOL
Cst
STRUCT
Value: BOOL
•
ST: BYTE
•
RunUpCyc
INT
MsgEvId1
DWORD
Acc_Id
BOOL
ExtMsg1
STRUCT
Value: BOOL
•
ST: BYTE
•
234
Default setting
Meaning
TRUE
1 = Enable read diagnostic data
0
1 = Read dataset DS92
16#00
Mode Information from MOD_SWT OMODE
0
Diagnostic address of SIMOCODE module
FALSE
Device connection:
0 = DP-MASTER
1 = DP-LINK
FALSE
1 = External DP-Interface
FALSE
0 = PROFIBUS, 1= PROFINET
16#FF
ID of Primary Subnet
16#FF
ID of Redundant Subnet
0
Rack number
0
Slot number
0
Signal Module Channel Address
0
Sub Address
16#0000
Logical address of the SIMOCODE module
FALSE
1 = Rack failure information from OB_DIAG1/DIAG1_PN block
FALSE
1 = Slave 1 Failure
FALSE
1 = Slave 2 Failure
–
1 = Test (CST)
0
•
16#80
•
3
Number of cycles for which all messages are suppressed
16#FF
Message Event ID
TRUE
1 = Accept new Mode settings
–
External Message 1
0
•
16#80
•
Programming and Operating Manual, 06/2017, A5E40899442002A/RS-AA/001
A
SIMOCODE pro PCS 7 Library V9.0