H1_8DO

H1_8DO (FB)

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

xDO5

BOOL

Digital output DO5

Input

xDO6

BOOL

Digital output DO6

Input

xDO7

BOOL

Digital output DO7

Input

xDO8

BOOL

Digital output DO8

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

xDO3_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

xDO4_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

xDO5_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

xDO6_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

xDO7_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

xDO8_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

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)

Output

eAOO5

eManBin

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

Output

eAOO6

eManBin

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

Output

eAOO7

eManBin

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

Output

eAOO8

eManBin

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

Input Const

eDO8_ManBin

eManBin

eManBin.Auto

Manual override of the digital output

Input Const

eDO8_SafeState

DOSafeStateMode

DOSafeStateMode.OFF

State of the output in case of bus failure

Input Const

xDO8_DeactivateDipSwitch

BOOL

FALSE

TRUE = Hardware manual override of the dip switch deactivated

FALSE = Hardware manual override of the dip switch activated

Input Const

eDO7_ManBin

eManBin

eManBin.Auto

Manual override of the digital output

Input Const

eDO7_SafeState

DOSafeStateMode

DOSafeStateMode.OFF

State of the output in case of bus failure

Input Const

xDO7_DeactivateDipSwitch

BOOL

FALSE

TRUE = Hardware manual override of the dip switch deactivated

FALSE = Hardware manual override of the dip switch activated

Input Const

eDO6_ManBin

eManBin

eManBin.Auto

Manual override of the digital output

Input Const

eDO6_SafeState

DOSafeStateMode

DOSafeStateMode.OFF

State of the output in case of bus failure

Input Const

xDO6_DeactivateDipSwitch

BOOL

FALSE

TRUE = Hardware manual override of the dip switch deactivated

FALSE = Hardware manual override of the dip switch activated

Input Const

eDO5_ManBin

eManBin

eManBin.Auto

Manual override of the digital output

Input Const

eDO5_SafeState

DOSafeStateMode

DOSafeStateMode.OFF

State of the output in case of bus failure

Input Const

xDO5_DeactivateDipSwitch

BOOL

FALSE

TRUE = Hardware manual override of the dip switch deactivated

FALSE = Hardware manual override of the dip switch activated

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

xUseSafeStateValueBeforeInit

BOOL

TRUE

Input Const

tReadFeedback

TIME

TIME#5s0ms

Polling time for feedback of digital outputs and manual override. (Note: The polling time must not be greater than the time of tBusTimeout .)

Input Const

tSendDelayAfterInit

TIME

TIME#0ms

Delay for sending the outputs

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

Last updated