H1_4DIOR

H1_4DIOR (FB)

FUNCTION_BLOCK H1_4DIOR 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

xDO1

BOOL

Digital output DO1

Input

xDO2

BOOL

Digital output DO2

Input

xDO3

BOOL

Digital output DO3

Input

xDO4

BOOL

Digital output DO4

Input Const

eDO4_ManBin

eManBin

eManBin.Auto

Manual override of the digital output

Input Const

eDO4_SafeState

DOSafeStateMode

DOSafeStateMode.OFF

State of the output in case of bus failure

Input Const

xDO4_DeactivateDipSwitch

BOOL

FALSE

TRUE = Hardware manual override of the dip switch deactivated

FALSE = Hardware manual override of the dip switch activated

Input Const

eDO3_ManBin

eManBin

eManBin.Auto

Manual override of the digital output

Input Const

eDO3_SafeState

DOSafeStateMode

DOSafeStateMode.OFF

State of the output in case of bus failure

Input Const

xDO3_DeactivateDipSwitch

BOOL

FALSE

TRUE = Hardware manual override of the dip switch deactivated

FALSE = Hardware manual override of the dip switch activated

Input Const

eDO2_ManBin

eManBin

eManBin.Auto

Manual override of the digital output

Input Const

eDO2_SafeState

DOSafeStateMode

DOSafeStateMode.OFF

State of the output in case of bus failure

Input Const

xDO2_DeactivateDipSwitch

BOOL

FALSE

TRUE = Hardware manual override of the dip switch deactivated

FALSE = Hardware manual override of the dip switch activated

Input Const

eDO1_ManBin

eManBin

eManBin.Auto

Manual override of the digital output

Input Const

eDO1_SafeState

DOSafeStateMode

DOSafeStateMode.OFF

State of the output in case of bus failure

Input Const

xDO1_DeactivateDipSwitch

BOOL

FALSE

TRUE = Hardware manual override of the dip switch deactivated

FALSE = Hardware manual override of the dip switch activated

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

xUseSafeStateValueBeforeInit

BOOL

TRUE

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#5s0ms

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#0ms

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

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)

Output

xDO1_Fb

BOOL

Feedback of digital output DO1. Takes into account the evaluation of the manual override. Actual value - LED Active = TRUE, LED Inactive = FALSE (Query is performed at the interval of the specified time of tReadFeedback)

Output

xDO2_Fb

BOOL

Feedback of digital output DO2. Takes into account the evaluation of the manual override. Actual value - LED Active = TRUE, LED Inactive = FALSE (Query is performed at the interval of the specified time of tReadFeedback)

Output

xDO3_Fb

BOOL

Feedback of digital output DO3. Takes into account the evaluation of the manual override. Actual value - LED Active = TRUE, LED Inactive = FALSE (Query is performed at the interval of the specified time of tReadFeedback)

Output

xDO4_Fb

BOOL

Feedback of digital output DO4. Takes into account the evaluation of the manual override. Actual value - LED Active = TRUE, LED Inactive = FALSE (Query is performed at the interval of the specified time of tReadFeedback)

Output

eAOO1

eManBin

Manual - switch position (A)uto (O)ff (O)n (Query is performed at the interval of the specified time of tReadFeedback)

Output

eAOO2

eManBin

Manual - switch position (A)uto (O)ff (O)n (Query is performed at the interval of the specified time of tReadFeedback)

Output

eAOO3

eManBin

Manual - switch position (A)uto (O)ff (O)n (Query is performed at the interval of the specified time of tReadFeedback)

Output

eAOO4

eManBin

Manual - switch position (A)uto (O)ff (O)n (Query is performed at the interval of the specified time of tReadFeedback)

Last updated