ActivAxis: ARRAY[1..31] OFBOOL;UDInt : INT;UDHex: INT;UDReal : INT;IdentMcpType : BYTE ;IdentMcpLengthIn : BYTE ;IdentMcpLengthOut:BYTE ;END_VARDescription of formal parameters of SINUMERIK 840D slSignal TypeType Value range DescriptionMCPNum: I INT 0, 1, 2 Number of active MCPs0: No MCPs availableMCP1In:MCP2In:I POINTER E0.0 ... E120.0orM0.0 ... M248.0orDBn DBX0.0 ... DBXm.0Start address for input signals of relevantmachine control panelMCP1Out:MCP2Out:I POINTER A0.0 ... A120.0orM0.0 ... M248.0orDBn DBX0.0 ... DBXm.0Start address for output signals of relevantmachine control panelMCP1StatSend:MCP2StatSend:I POINTER A0.0 ... A124.0orM0.0 ... M252.0orDBn DBX0.0 ... DBXm.0Only for Ethernet MCP:Switch off flashing (see Section "Switch‐over of machine control panel, handheldunit (Page 876)")MCP1StatRec:MCP2StatRec:I POINTER A0.0 ... A124.0orM0.0 ... M252.0orDBn DBX0.0 ... DBXm.0Currently no significanceMCP1BusAdr:MCP2BusAdr:I INT 1, 2, 3 ... 126 DP slave: PROFIBUS address192, 193, 194 .. 223 Ethernet MCP: DIP settingMCP1Timeout:MCP2Timeout:I S5time Recommendation: 700 ms Cyclic sign-of-life monitoring for machinecontrol panelMCP1Cycl:MCP2Cycl:I S5time Recommendation: 200 ms Relevant only for PROFIBUSMCPMPI: I BOOL FALSE Available owing to compatibilityMCP1Stop:MCP2Stop:I BOOL 0 (FALSE), 1 (TRUE) 0: Start transfer of machine control panelsignals1: Stop transfer of machine control panelsignalsDP slave: Slave deactivatedP3: Basic PLC program for SINUMERIK 840D sl13.17 Block descriptionsBasic FunctionsFunction Manual, 01/2015, 6FC5397-0BP40-5BA2 917