H1_4DI2DOR_3P

H1_4DI2DOR_3P (FB)

FUNCTION_BLOCK H1_4DI2DOR_3P EXTENDS SlaveModuleDipSwitchOverwrite IMPLEMENTS ISlaveModule

InOut:

Scope
Name
Type
Initial
Comment
Inherited from

Input

itfModbusConnector

IModbusConnector

BaseSlave

Output

xInitRunning

BOOL

xInitRunning is TRUE, while the initialization is performed on the first start.

BaseSlave

Output

xInitFinished

BOOL

xInitFinished is TRUE, as soon as on the first start all parameters have been sent to the module.

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 set slave ID

BaseSlave

Output

eError

ERROR

No error = ERROR.No_Error

BaseSlave

Output

stDebugOutput

DebugOutput

BaseSlave

Input

xEnable

BOOL

TRUE

Disables 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 (Warning: Afterwards autobauding is re-enabled)

BaseSlaveModule

Output

wFirmware

WORD

Shows the current firmware of the module

BaseSlaveModule

Output

xAuto

BOOL

FALSE = At least one input and/or one output are in state eManBin <> eManBin.Auto. TRUE = All inputs and outputs have the state eManBin = eManBin.Auto (Note: If overriding by dip switch (hardware) is disabled and the output is in state eManBin <> eManBin.Auto, xAuto remains TRUE. Evaluation is performed per output.)

BaseSlaveModule

Output

xAutoSoftware

BOOL

FALSE = At least one input and/or output are by parameter (software) in state eManBin <><br/>eManBin.Auto. TRUE = All inputs and outputs are by parameter (software) in state eManBin =<br/>eManBin.Auto.

SlaveModuleSoftOverwrite

Output

xAutoHardware

BOOL

FALSE = At least one input and/or output are by dip switch (hardware) in state eManBin <><br/>eManBin.Auto. TRUE = All inputs and outputs are by dip switch (hardware) in state eManBin =<br/>eManBin.Auto. (Note: If overriding by dip switch (hardware) is disabled and the output is in 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 = Enables a delay for 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 = Enables a delay for 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 = Enables a delay for 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 = Enables a delay for 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 CLOSED -> OPEN for Channel 2

Input Const

tCh2_OpenRuntimeDurationOversteering

TIME

TIME#0ms

Override of runtime DO4 (towards OPEN) for Channel 2

Input Const

tCh2_CloseRuntimeDurationUndersteering

TIME

TIME#0ms

Understeering of runtime DO3 (towards CLOSED) 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 (CLOSED) 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 (CLOSED) 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 CLOSED -> OPEN for Channel 1

Input Const

tCh1_OpenRuntimeDurationOversteering

TIME

TIME#0ms

Override of runtime DO4 (towards OPEN) for Channel 1

Input Const

tCh1_CloseRuntimeDurationUndersteering

TIME

TIME#0ms

Understeering of runtime DO3 (towards CLOSED) 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 (CLOSED) 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 (CLOSED) of Channel 1 deactivated

Input Const

tACModeInputVoltageDelay

TIME

TIME#100ms

A change of the signal present on a DI is only recognized after this time has elapsed. (Only used when xDI1_ACVoltageMode TRUE is, xDI2_ACVoltageMode TRUE is, xDI3_ACVoltageMode TRUE is or xDI4_ACVoltageMode TRUE )

Input Const

tReadFeedback

TIME

TIME#3s0ms

Query time for feedback of the digital inputs and the manual override. (Note: The query time must not be greater than the time of tBusTimeout .)

Input Const

tSendDelayAfterInit

TIME

TIME#10s0ms

Delay for sending the outputs

Input Const

tReadInputs

TIME

TIME#1s0ms

Query time for digital inputs (Note: The query time must not be greater than the time of tBusTimeout .)

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 run to 0% for Channel 1

Input

xCh1_TriggerInitializeOpen

BOOL

Request initial run to 100% for Channel 1

Input

xCh2_TriggerInitializeClose

BOOL

Request initial run to 0% for Channel 2

Input

xCh2_TriggerInitializeOpen

BOOL

Request initial run 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 (CLOSED) for Channel 1. Considers the evaluation of manual override. Actual value - LED active = TRUE, LED Inactive = FALSE (Query is performed at the interval of the specified time of tReadFeedback)

Output

xCh1_DO2_Fb

BOOL

Feedback of digital output DO2 (OPEN) for Channel 1. Considers the evaluation of manual override. Actual value - LED active = TRUE, LED Inactive = FALSE (Query is performed at the interval of the specified time of tReadFeedback)

Output

xCh2_DO3_Fb

BOOL

Feedback of digital output DO3 (CLOSED) for Channel 2. Considers the evaluation of manual override. Actual value - LED active = TRUE, LED Inactive = FALSE (Query is performed at the interval of the specified time of tReadFeedback)

Output

xCh2_DO4_Fb

BOOL

Feedback of digital output DO4 (OPEN) for Channel 2. Considers the evaluation of manual override. Actual value - LED active = TRUE, LED Inactive = FALSE (Query is performed at the interval of the specified time of tReadFeedback)

Output

rCh1_CurrentPosition

REAL

Current position in % for Channel 1 (Query is performed at the interval of the specified time of tReadFeedback)

Output

rCh2_CurrentPosition

REAL

Current position in % for Channel 2 (Query is performed at the interval of the specified time of tReadFeedback)

Output

eCh1_State

ChannelState

Status for Channel 1 (Query is performed at the interval of the specified time of tReadFeedback)

Output

eCh2_State

ChannelState

Status for Channel 2 (Query is performed 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. Query is performed 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. Query is performed at the interval of the specified time of tReadFeedback)

Output

eCh1ManualPosition

eManPosition

Dip switch position Channel 1 (Query is performed at the interval of the specified time of tReadFeedback)

Output

eCh2ManualPosition

eManPosition

Dip switch position Channel 2 (Query is performed at the interval of the specified time of tReadFeedback)

Output

xDI1

BOOL

Digital input (query is performed at the interval of the specified time of tReadInputs)

Output

xDI2

BOOL

Digital input (query is performed at the interval of the specified time of tReadInputs)

Output

xDI3

BOOL

Digital input (query is performed at the interval of the specified time of tReadInputs)

Output

xDI4

BOOL

Digital input (query is performed at the interval of the specified time of tReadInputs)

Last updated