H1_4DI2DOR_3P
H1_4DI2DOR_3P (FB)
H1_4DI2DOR_3P (FB)FUNCTION_BLOCK H1_4DI2DOR_3P EXTENDS SlaveModuleDipSwitchOverwrite IMPLEMENTS ISlaveModule
InOut:
Input
itfModbusConnector
IModbusConnector
BaseSlave
Output
xInitRunning
BOOL
xInitRunning is TRUE, while initialization
is being performed during first start.
BaseSlave
Output
xInitFinished
BOOL
xInitFinished is TRUE, once all parameters have been sent to the module
during first start.
BaseSlave
Output
xAlarmCom
BOOL
xAlarmCom is TRUE, when there is a
communication error.
BaseSlave
Output
xBusy
BOOL
xBusy is TRUE, when a Modbus request is being executed.
BaseSlave
Output
usiConfiguredSlaveID
USINT
Shows the currently configured slave ID
BaseSlave
Output
eError
ERROR
No error = ERROR.No_Error
BaseSlave
Output
stDebugOutput
DebugOutput
BaseSlave
Input
xEnable
BOOL
TRUE
Deactivates the module and resets all outputs to the default initialization value
BaseSlaveModule
Input
xReinitModule
BOOL
Reinitializes the module and sends all parameters to the module
BaseSlaveModule
Input
xResetModule
BOOL
Resets the module, clears the EEPROM memory, performs a lamp test and restarts the module (Attention: After that, autobauding is enabled again)
BaseSlaveModule
Output
wFirmware
WORD
Shows the current firmware of the module
BaseSlaveModule
Output
xAuto
BOOL
FALSE = At least one input and/or one output is in the state eManBin <> eManBin.Auto. TRUE = All
inputs and outputs have the state eManBin =
eManBin.Auto (Note: If overriding via dip-
switch (hardware) is disabled and the output is in the
state eManBin <> eManBin.Auto, xAuto remains
TRUE. Evaluation is performed per output. )
BaseSlaveModule
Output
xAutoSoftware
BOOL
FALSE = At least one input and/or output is in the state
via parameter (software) eManBin <><br/>eManBin.Auto. TRUE = All inputs and outputs are in the state
via parameter (software) eManBin =<br/>eManBin.Auto.
SlaveModuleSoftOverwrite
Output
xAutoHardware
BOOL
FALSE = At least one input and/or output is in the state
via dip-switch (hardware) eManBin <><br/>eManBin.Auto. TRUE = All inputs and outputs are in the state
via dip-switch (hardware) eManBin =<br/>eManBin.Auto. (Note: If overriding via dip-
switch (hardware) is disabled and the output is in the
state eManBin <> eManBin.Auto, xAuto remains
TRUE. Evaluation is performed per output. )
SlaveModuleDipSwitchOverwrite
Input Const
eDI4_ManBin
eManBin
eManBin.Auto
Manual override of the digital input
Input Const
xDI4Negation
BOOL
FALSE
Negation
Input Const
xDI4_ACVoltageMode
BOOL
TRUE = Activates a delay of the input with the
defined value of tACModeInputVoltageDelay. FALSE
= No delay
Input Const
eDI3_ManBin
eManBin
eManBin.Auto
Manual override of the digital input
Input Const
xDI3Negation
BOOL
FALSE
Negation
Input Const
xDI3_ACVoltageMode
BOOL
TRUE = Activates a delay of the input with the
defined value of tACModeInputVoltageDelay. FALSE
= No delay
Input Const
eDI2_ManBin
eManBin
eManBin.Auto
Manual override of the digital input
Input Const
xDI2Negation
BOOL
FALSE
Negation
Input Const
xDI2_ACVoltageMode
BOOL
TRUE = Activates a delay of the input with the
defined value of tACModeInputVoltageDelay. FALSE
= No delay
Input Const
eDI1_ManBin
eManBin
eManBin.Auto
Manual override of the digital input
Input Const
xDI1Negation
BOOL
FALSE
Negation
Input Const
xDI1_ACVoltageMode
BOOL
TRUE = Activates a delay of the input with the
defined value of tACModeInputVoltageDelay. FALSE
= No delay
Input Const
eCh2_ManNum
eManNum
eManNum.Auto
Input Const
rCh2_ManualTargetPosition
REAL
Input Const
tCh2_DelayTimeFromForwardToBack
TIME
TIME#2s0ms
Delay time FORWARD –> BACK for Channel 2
Input Const
tCh2_DelayTimeFromCloseToOpen
TIME
TIME#2s0ms
Delay time CLOSE –> OPEN for Channel 2
Input Const
tCh2_OpenRuntimeDurationOversteering
TIME
TIME#0ms
Overriding the runtime DO4 (in direction OPEN) for Channel 2
Input Const
tCh2_CloseRuntimeDurationUndersteering
TIME
TIME#0ms
Understeering the runtime DO3 (in direction CLOSE) for Channel 2
Input Const
tCh2_OpenRuntimeDuration
TIME
TIME#1m0s0ms
Preset runtime DO4 (OPEN) for Channel 2
Input Const
tCh2_CloseRuntimeDuration
TIME
TIME#1m0s0ms
Preset runtime DO3 (CLOSE) for Channel 2
Input Const
xCh2_EnableControl
BOOL
TRUE
Channel 2 (DO3 and DO4) can be enabled via manual override and bus control
Input Const
xCh2_DO4_DeactivateDipSwitch
BOOL
TRUE = Hardware manual override of the digital output
DO4 (OPEN) of Channel 2 deactivated
Input Const
xCh2_DO3_DeactivateDipSwitch
BOOL
TRUE = Hardware manual override of the digital output
DO3 (CLOSE) of Channel 2 deactivated
Input Const
eCh1_ManNum
eManNum
eManNum.Auto
Input Const
rCh1_ManualTargetPosition
REAL
Input Const
tCh1_DelayTimeFromForwardToBack
TIME
TIME#2s0ms
Delay time FORWARD –> BACK for Channel 1
Input Const
tCh1_DelayTimeFromCloseToOpen
TIME
TIME#2s0ms
Delay time CLOSE –> OPEN for Channel 1
Input Const
tCh1_OpenRuntimeDurationOversteering
TIME
TIME#0ms
Overriding the runtime DO4 (in direction OPEN) for Channel 1
Input Const
tCh1_CloseRuntimeDurationUndersteering
TIME
TIME#0ms
Understeering the runtime DO3 (in direction CLOSE) for Channel 1
Input Const
tCh1_OpenRuntimeDuration
TIME
TIME#1m0s0ms
Preset runtime DO2 (OPEN) for Channel 1
Input Const
tCh1_CloseRuntimeDuration
TIME
TIME#1m0s0ms
Preset runtime DO1 (CLOSE) for Channel 1
Input Const
xCh1_EnableControl
BOOL
TRUE
Channel 1 (DO1 and DO2) can be enabled via manual override and bus control
Input Const
xCh1_DO2_DeactivateDipSwitch
BOOL
TRUE = Hardware manual override of the digital output
DO2 (OPEN) of Channel 1 deactivated
Input Const
xCh1_DO1_DeactivateDipSwitch
BOOL
TRUE = Hardware manual override of the digital output
DO1 (CLOSE) of Channel 1 deactivated
Input Const
tACModeInputVoltageDelay
TIME
TIME#100ms
A change in the signal present at a DI is only detected
after this time has elapsed. (Used only when xDI1_ACVoltageMode TRUE is,
xDI2_ACVoltageMode TRUE is, xDI3_ACVoltageMode
TRUE is or xDI4_ACVoltageMode TRUE )
Input Const
tReadFeedback
TIME
TIME#3s0ms
Polling time for feedback from the digital inputs and the
manual override. (Note: The polling time must not
be greater than the time of tBusTimeout is.)
Input Const
tSendDelayAfterInit
TIME
TIME#10s0ms
Delay for sending the outputs
Input Const
tReadInputs
TIME
TIME#1s0ms
Polling time for digital inputs (Note: The polling time
must not be greater than the time of tBusTimeout is.)
Input Const
tBusTimeout
TIME
TIME#20s0ms
T#0s = No bus timeout = No SafeState mode
Input Const
usiSlaveID
USINT
10
The slave address for the module
Input
xCh1_TriggerInitializeClose
BOOL
Request initial travel to 0% for Channel 1
Input
xCh1_TriggerInitializeOpen
BOOL
Request initial travel to 100% for Channel 1
Input
xCh2_TriggerInitializeClose
BOOL
Request initial travel to 0% for Channel 2
Input
xCh2_TriggerInitializeOpen
BOOL
Request initial travel to 100% for Channel 2
Input
rCh1_TargetPosition
REAL
Target position for Channel 1 in %
Input
rCh2_TargetPosition
REAL
Target position for Channel 2 in %
Output
xCh1_DO1_Fb
BOOL
Feedback of digital output DO1 (CLOSE) for Channel 1.
Note the evaluation of the manual override. Actual
value - LED active = TRUE, LED inactive = FALSE
(Polling occurs at the interval of the specified time of
tReadFeedback)
Output
xCh1_DO2_Fb
BOOL
Feedback of digital output DO2 (OPEN) for Channel 1.
Note the evaluation of the manual override. Actual
value - LED active = TRUE, LED inactive = FALSE
(Polling occurs at the interval of the specified time of
tReadFeedback)
Output
xCh2_DO3_Fb
BOOL
Feedback of digital output DO3 (CLOSE) for Channel 2.
Note the evaluation of the manual override. Actual
value - LED active = TRUE, LED inactive = FALSE
(Polling occurs at the interval of the specified time of
tReadFeedback)
Output
xCh2_DO4_Fb
BOOL
Feedback of digital output DO4 (OPEN) for Channel 2.
Note the evaluation of the manual override. Actual
value - LED active = TRUE, LED inactive = FALSE
(Polling occurs at the interval of the specified time of
tReadFeedback)
Output
rCh1_CurrentPosition
REAL
Current position in % for Channel 1 (Polling occurs at the
interval of the specified time of tReadFeedback)
Output
rCh2_CurrentPosition
REAL
Current position in % for Channel 2 (Polling occurs at the
interval of the specified time of tReadFeedback)
Output
eCh1_State
ChannelState
Status for Channel 1 (Polling occurs at the interval of the
specified time of tReadFeedback)
Output
eCh2_State
ChannelState
Status for Channel 2 (Polling occurs at the interval of the
specified time of tReadFeedback)
Output
tCh1_TimeRunSinceLastControl
TIME
Runtime since last control of Channel 1 (Info: During
manual override, the time continues to run. Polling occurs at the
interval of the specified time of tReadFeedback)
Output
tCh2_TimeRunSinceLastControl
TIME
Runtime since last control of Channel 2 (Info: During
manual override, the time continues to run. Polling occurs at the
interval of the specified time of tReadFeedback)
Output
eCh1ManualPosition
eManPosition
Dip switch position Channel 1 (Polling occurs at the interval
of the specified time of tReadFeedback)
Output
eCh2ManualPosition
eManPosition
Dip switch position Channel 2 (Polling occurs at the interval
of the specified time of tReadFeedback)
Output
xDI1
BOOL
Digital input (Polling occurs at the interval of the specified
time of tReadInputs)
Output
xDI2
BOOL
Digital input (Polling occurs at the interval of the specified
time of tReadInputs)
Output
xDI3
BOOL
Digital input (Polling occurs at the interval of the specified
time of tReadInputs)
Output
xDI4
BOOL
Digital input (Polling occurs at the interval of the specified
time of tReadInputs)
Last updated

