Detailed description
2.12 Block descriptions
Basic logic functions: PLC Basic program powerline (P3 pl)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
107
MCP/HHU monitoring (for 810D, 840D)
The following status information regarding communication with the machine control panels is
output in the event of an error:
Available in: Bit No. Description
MCP1StatRec
MCP2StatRec
BHGStatRec
10 Receiver:
Time-out
SINUMERIK 840D only:
MCP1StatSend
MCP2StatSend
BHGStatSend
27 Transmitter:
Time-out
In addition, an error entry is generated in the diagnostics buffer of the PLC,
resulting in the following error messages on the operator interface:
• 400260: MCP 1 failure or
• 400261: MCP 2 failure
• 400262: HHU failure
In this case, the input signals from the MCP or from the handheld unit (MCP1In/ MCP2In or
BHGIn) are initialized with 0. If it is possible to resynchronize the PLC and MCP/HHU,
communication is resumed automatically and the error message reset by the BP.
Call example for SINUMERIK 810D
An example call for the FB 1 in OB 100 appears below. This example is part of the diskette
with the basic program for 810D.
ORGANIZATION_BLOCK OB 100
VAR_TEMP
OB100_EV_CLASS : BYTE ;
OB100_STRTUP : BYTE ;
OB100_PRIORITY : BYTE ;
OB100_OB_NUMBR : BYTE ;
OB100_RESERVED_1 : BYTE ;
OB100_RESERVED_2 : BYTE ;
OB100_STOP : WORD ;
OB100_RESERVED_3 : WORD ;
OB100_RESERVED_4 : WORD ;
OB100_DATE_TIME : DATE_AND_TIME;
END_VAR
BEGIN
CALL FB 1, DB 7 (
MCPNum := 1,
MCP1In := P#E0.0,
MCP1Out := P#A0.0,