![background image](http://html1.mh-extra.com/html/ifm/cr711s/cr711s_original-programming-manual_3891703148.webp)
148
ifm
Programming Manual ecomatController/60-1 (CR711S) Operating System V2.5.0.n
2017-12-19
ifm function libraries
Library ifmOutHBridge
>
10.7.1
HBridge
23469
Function block type:
Function block (FB)
Library:
ifmIOutHBridge.library
Symbol in CODESYS:
>
Description
23470
The FB configures and controls a pair of output channels in the "HBridge" operating type to control a
motor.
>
Input parameters
23471
Parameter
Data type
Description
Possible values
xResetError
BOOL
Reset request for an occurring error
FALSE
When switching from FALSE
TRUE: Reset request to the
lower level system
TRUE
uiChannel
UINT
1. Output channel (channel A) of the
output channel pair
Group + channel
→ Data sheet
→
Note on wiring
(
→ p.
Examples:
703
Group 7 + channel 3
1203
Group 12 + channel 3
uiFrequency
UINT
PWM frequency of the output signal in
[Hz]
→ Data sheet
xDirection
BOOL
The direction in which the current flows
via the bridge connections. Determines
the direction of rotation of the connected
motor.
FALSE
PWM Current Sourcing (CSO)
is on channel A
TRUE
PWM Current Sourcing (CSO)
is on channel B
eBrakeMode
MODE_BRAKE Brake mode that applies when the
direction of rotation is changed or when
stopping
→
MODE_BRAKE (ENUM)
(
→ p.
eBrakeValue
UINT
Pulse/pause ration of the PWM output
signal at the corresponding current
sinking output of the bridge in [‰]
The input is only relevant in the
eBrakeModes that end with
"_DYNAMIC" (= dynamic brake).
permissible = 0...1
tBrakeTime
TIME
Indicates the braking time for the current
sinking side of the bridge
The input is only relevant in
eBrakeModes ending with "_BTIME".
permissible = 0...1 h
uiValue
UNIT
Pulse/pause ration of the PWM output
signal in [‰]
permissible = 0...1