# Reset

PLC reset, axis
Description | The PLC can be requested to perform a reset via this axis-specific interface. Here the PLC must indicated that it wants to be notified about reset requests by the NC kernel by setting the element enable_w. See also State graph of operation modes
Data type | LC_CONTROL_BOOL_UNIT, see description Control Unit
Peculiarities | Consumption data item
Access | CNC sets command_r to TRUE to command a reset for the PLC. The CNC sets command_r to FALSE after the PLC acknowledges the execution of the reset via the state_w element.
ST Path | gpAx[axis_idx]^.ipo_lc_control.plc_reset
Commanded value
ST Element | .command_r
Signal flow | CNC → PLC
Data type | BOOL
Value range | [TRUE = Reset request from CNC to PLC, FALSE]
Return value
ST Element | .state_w
Signal flow | PLC → CNC
Data type | BOOL
Value range | [TRUE = PLC executed reset, FALSE]
Request
ST element | .enable_w
Signal flow | PLC → CNC
Data type | BOOL
Value range | [TRUE = PLC wants to be notified about requests by CNC, FALSE]

PLC reset, channel
Description | The PLC can be requested to execute a reset via this channel-specific interface. Here the PLC must indicated that it wants to be notified about reset requests by the NC kernel by setting the element enable_w. See also State graph of operation modes
Data type | LC_CONTROL_BOOL_UNIT, see description Control Unit
Peculiarities | Consumption data item
Access | CNC sets command_r to TRUE to command a reset for the PLC. The CNC sets command_r to FALSE after the PLC acknowledges the execution of the reset via the state_w element.
ST Path | gpCh[channel_idx]^.bahn_lc_control.plc_reset
Commanded value
ST Element | .command_r
Signal flow | CNC → PLC
Data type | BOOL
Value range | [TRUE = Reset request from CNC to PLC, FALSE]
Return value
ST Element | .state_w
Signal flow | PLC → CNC
Data type | BOOL
Value range | [TRUE = PLC executed reset, FALSE]
Request
ST element | .enable_w
Signal flow | PLC → CNC
Data type | BOOL
Value range | [TRUE = PLC wants to be notified about requests by CNC, FALSE]

## Notice

Before a new command and after detecting reset acknowledgement, the state_w state is cleared by the CNC.