SFC Debugging Commands
The following toolbar buttons and keyboard shortcuts are provided when the SFC editor is in debug mode:
Toolbar button | Keyboard shortcut | Description |
---|---|---|
![]() | <Ctrl>+<ALT>+<E> | The operating mode as preset at the SFC function block input PRESET_OPERATING_MODE is activated. |
![]() | <Ctrl>+<ALT>+<R> | Corresponds to setting the operating mode at the SFC function block input PRESET_OPERATING_MODE to SFC_AUTO. |
![]() | <Ctrl>+<ALT>+<H> | Corresponds to setting the operating mode at the SFC function block input PRESET_OPERATING_MODE to SFC_HALT. |
![]() | <Ctrl>+<ALT>+<S> | Corresponds to setting the operating mode at the SFC function block input PRESET_OPERATING_MODE to SFC_STEP. |
![]() | <Ctrl>+<ALT>+<Shift>+<S> | Corresponds to setting the operating mode at the SFC function block input PRESET_OPERATING_MODE to SFC_FORCED_STEP. |
![]() | <Ctrl>+<ALT>+<N> | Executes the succeeding step in the SFC program. Corresponds to applying a rising edge to the SFC function block input STEP. Only active in operating modes SFC_STEP or SFC_FORCED_STEP. Resulting SFC behavior:
|
![]() | <Ctrl>+<ALT>+<A> | Activates the selected step. Only possible in SFC_HALT mode. |
![]() | <Ctrl>+<ALT>+<D> | Deactivates the selected step. Only possible in SFC_HALT mode. |
![]() | - | Acknowledges and thus resets an error that occurred while executing the SFC step chain (e.g., maximum step time exceeded or step time lower than minimum step time).Only possible in SFC_HALT mode.Clicking the icon exits the SFC_HALT mode and continues execution with the previously active operating mode.Corresponds to setting the SFC function block input ACKNOWLEDGE_ERROR to TRUE. |
An enumeration data type SFC_OPERATION _MODE is available with the operating modes as members: