P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
Basic Functions
1034 Function Manual, 09/2011, 6FC5397-0BP40-2BA0
FRate
The feed rate in FC 18 can also be specified as:
• Cutting rate with unit m/min or feet/min
• Constant grinding wheel surface speed in m/s or feet/s
These alternative velocity settings can be used only if this function is activated by the NC program. Checkback
signals for successful activation can be found in byte 84 on the axis interface.
Error identifiers
If a function could not be executed, this is indicated by the "Error" status parameter being set to 'logic 1'. The
error cause is coded at block output "State":
AxisNo I INT 1 - 31 No. of axis/spindle to be traversed
Pos I REAL ∓ 0,1469368 I -38
to
∓ 0,1701412 I +39
Rotary axis: Degrees
Indexing axis: Indexing position
Linear axis: mm or inches
FRate I REAL ∓ 0,1469368 I -38
to
∓ 0,1701412 I +39
Rotary axis and spindle: rev/min
See under table containing info about FRate
InPos Q BOOL 1 = Position reached,
or function executed
Error A BOOL 1 = error
State Q BYTE 0 to 255 Error code
State Significance
Errors caused by PLC handling:
1 B#16#1 Several axis/spindle functions have been activated
simultaneously
20 B#16#14 A function has been started without the position being reached
30 B#16#1e The axis/spindle has been transferred to the NC while still in
motion
40 B#16#28 The axis is programmed by the NC program, NCK internal error
50 B#16#32 permanently assigned PLC axis traverses (JOG) or refers
60 B#16#3C permanently assigned PLC axis Channel status does not permit a
start
Errors that occur due to handling of the NCK.
The alarm numbers are described in the Diagnostics Manual SINUMERIK 840D sl/ 840Di
sl:
100 B#16#64 False position programmed for axis/spindle
(corresponds to alarm number 16830)
101 B#16#65 Programmed speed is too high
102 B#16#66 False value range constant cutting speed
(corresponds to \MMC-Alarm 14840)
104 B#16#68 Following spindle: illegal programming
(corresponds to alarm number 22030)
Signal
Typ
e
Type Range of values Remark