Modifying Profibus Machine Control Panel In Ob100 - Siemens SINUMERIK 840D sl Commissioning Manual

Cnc commissioning: nc, plc, drive
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

PLC commissioning
5.2 Creating a SIMATIC S7 project (PROFIBUS)
5.2.5

Modifying PROFIBUS machine control panel in OB100

Configuring the machine control panel
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 PROFIBUS DP.
OB100
CALL
program
64
"RUN_UP" , "gp_par"
MCPNum
:=1
MCP1In
:=P#E 0.0
MCP1Out
:=P#A 0.0
MCP1StatSend
:=P#A 8.0
MCP1StatRec
:=
MCP1BusAdr
:=6
MCP1Timeout
:=
MCP1Cycl
:=
MCP2In
:=
MCP2Out
:=
MCP2StatSend
:=
MCP2StatRec
:=
MCP2BusAdr
:=
MCP2Timeout
:=
MCP2Cycl
:=
MCPMPI
:=FALSE
MCP1Stop
:=FALSE
MCP2Stop
:=
MCP1NotSend
:=FALSE
MCP2NotSend
:=
MCPSDB210
:=
MCPCopyDB77
:=
MCPBusType
:=B#16#03
FB1 / DB7 -- Startup Baseprogram/ Parameters for Base-
// An MCP is present
// PROFIBUS DP address: 6
// Parameter [3] := PROFIBUS DP
Commissioning Manual, 12/2019, A5E48312804B AA
CNC Commissioning: NC, PLC, Drive

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents