P3: Basic PLC Program for SINUMERIK 840D sl
13.8 Structure and functions of the basic program
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
895
840Dsl: Ethernet connection
Without further configuration settings being made, communication takes place directly from the PLC GP via the
CP 840D sl. The FB 1 parameters listed below are used for parameterization.
The numeric part of the logical name of the component must be entered in "MCP1 BusAdr", "MCP2 BusAdr" or
"BHGRecGDNo" (corresponds to the bus address of node). The logical name is defined via switches on the MCP
or terminal box.
Figure 13-16 840Dsl: Ethernet connection
Relevant parameters (FB 1)
MCP HHU
MCPNum=1 or 2 (number of MCPs) HHU = 5 (via CP 840D sl)
MCP1In MCP2In BHGIn
MCP1Out MCP2Out BHGOut
MCP1StatSend MCP2StatSend BHGStatSend
MCP1StatRec (n.r.) MCP2StatRec (n.r.) BHGStatRec
MCP1BusAdr MCP2BusAdr BHGInLen (n.r.)
MCP1Timeout (n.r.) MCP2Timeout (n.r.) BHGOutLen (n.r.)
MCP1Cycl (n.r.) MCP2Cycl (n.r.) BHGTimeout (n.r.)
MCPMPI = FALSE BHGCycl (n.r.)
MCP1Stop MCP2Stop BHGRecGDNo
MCP1 NotSend MCP2 NotSend BHGRecGBZNo (n.r.)
BHGRecObjNo (n.r.)
MCPBusType = b#16#55 (via CP 840Dsl) BHGSendGDNo (n.r.)
BHGSendGBZNo (n.r.)
MCPSDB210= FALSE BHGSendObjNo (n.r.)
MCPCopyDB77 = FALSE BHGMPI = FALSE
BHGStop
BHG NotSend
03,'3
'3
++8
1&
(WKHUQHW
0&3
0&3
'
3
5
&3
'VO
LQW
3/&