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