Detailed description
2.12 Block descriptions
Basic logic functions: PLC basic program solution line (P3 sl)
224 Function Manual, 11/2006, 6FC5397-0BP10-2BA0
Channel signals
Destination:
MCP - LED
Source:
Interface DB (parameter ChanNo)
NC start DB21, ... DBX35.0
NC stop DB21, ... DBX35.2 or DB21, ... DBX35.3
Single BLock DB21, ... DBX0.4
Note
Direction key LEDs are controlled by operating the direction keys.
Axis selection and WCS/MCS LEDs are controlled by operating the relevant pushbutton
switch.
Call example
CALL FC 19 (
//Machine control panel M variants Signals to interface
BAGNo := B#16#1, //Mode group no. 1
ChanNo := B#16#1, //Channel no. 1
SpindleIFNo := B#16#4, //Spindle interface number = 4
FeedHold := m22.0, //Feed stop signal modal
SpindleHold := db2.dbx151.0); //Spindle stop modal in
//message DB
With these parameter settings, the signals are sent to the 1st mode group, the 1st channel
and all axes. In addition, the spindle override is transferred to the 4th axis/spindle interface.
The feed hold signal is passed to bit memory 22.0 and the spindle stop signal to data block
DB2, data bit 151.0.
Reconnecting the axis selections
To ensure a flexible assignment of the axis selection keys to the appropriate axis or spindle,
FC 19 needs not be modified or reprogrammed. Only the axis number in the axis table
DB10, ... DBB8 and following as desired must be entered. Only the axis number in the axis
table DB10, ... DBB8 and following as desired must be entered.