Supported platforms: CODESYS 3.5 SP19 SAFETY
This section describes how to use S_HBridgeControllerDO POU to control for example electric linear actuator.
|
This example uses the following libraries: SafeHBridgeControl library
|
|
Depending on hardware, output group control needs to be activated before controlling outputs. See How to use S series and E series HW diagnostics for more information.
|
|
External voltage detection in output pins is provided by safety control unit's safety switch startup test. The startup test execution depends on used product:
After startup test the external voltage is monitored by application library diagnostics. |
SL8X1 Safety Control Unit is used in the example.
In MultiTool Creator define two DIs which are used to request linear actuator control.
And define two DOs, which has possibility to control both pin high side and low side, for example SL8X1 pins 2.40 and 2.41.
Safe PRG:
|
|
Init method: |
IF NOT inited THEN |
See also
-
Source file HowToUseHBRidge.htm
Last updated 4-Sep-2025