5.4.3
Modifying machine control panel in OB100
Introduction
The PLC base program transfers the signals from the machine control panel. To ensure that the
signals are transferred correctly to and from the machine control panel, enter the following
parameters in the OB100 on the FB1. Under "Blocks", double-click OB100 to open the editor
to configure the machine control panel .
Example: MCP1 is connected via Industrial Ethernet (IE).
Configuring the machine control panel
OB100
CALL
program
CNC Commissioning: NC, PLC, Drive
Commissioning Manual, 12/2019, A5E48312804B AA
"RUN_UP" , "gp_par"
MCPNum
:=1
MCP1In
:=P#E 0.0
MCP1Out
:=P#A 0.0
MCP1StatSend
:=P#A 8.0
MCP1StatRec
:=
MCP1BusAdr
:=192
MCP1Timeout
:=
MCP1Cycl
:=
MCP2In
:=
MCP2Out
:=
MCP2StatSend
:=
MCP2StatRec
:=
MCP2BusAdr
:=
MCP2Timeout
:=
MCP2Cycl
:=
MCPMPI
:=FALSE
MCP1Stop
:=FALSE
MCP2Stop
:=
MCP1NotSend
:=FALSE
MCP2NotSend
:=
MCPSDB210
:=
MCPCopyDB77
:=
MCPBusType
:=B#16#05
FB1 / DB7 -- Startup Baseprogram/ Parameters for Base-
// An MCP is present
// IP address: 192.168.214.192 - this ad-
dress must also be set on the DIPFIX switch
of the MCP.
// Parameter [5] := ETHERNET
PLC commissioning
5.4 Creating a PLC program
89