For the complete documentation index, see llms.txt. This page is also available as Markdown.

H1_8DOR

H1_8DOR (FB)

FUNCTION_BLOCK H1_8DOR EXTENDS SlaveModuleDipSwitchOverwrite IMPLEMENTS ISlaveModule

InOut:

Scope
Name
Type
Initial
Comment
Inherited from

Input

itfModbusConnector

IModbusConnector

BaseSlave

Output

xInitRunning

BOOL

xInitRunning is TRUE, as long as initialization is performed during the first start.

BaseSlave

Output

xInitFinished

BOOL

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

BaseSlave

Output

xAlarmCom

BOOL

xAlarmCom is TRUE, if there is a communication error.

BaseSlave

Output

xBusy

BOOL

xBusy is TRUE, when a Modbus request is executed.

BaseSlave

Output

usiConfiguredSlaveID

USINT

Displays the currently set 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 standard 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 (Caution: Autobauding is then enabled again)

BaseSlaveModule

Output

wFirmware

WORD

Displays the module's current firmware

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 done for each 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 done for each 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 the digital output DO1. Takes into account the evaluation of the manual override. Actual value - LED active = TRUE, LED inactive = FALSE (Polling takes place at the interval of the specified time of tReadFeedback)

Output

xDO2_Fb

BOOL

Feedback of the digital output DO1. Takes into account the evaluation of the manual override. Actual value - LED active = TRUE, LED inactive = FALSE (Polling takes place at the interval of the specified time of tReadFeedback)

Output

xDO3_Fb

BOOL

Feedback of the digital output DO1. Takes into account the evaluation of the manual override. Actual value - LED active = TRUE, LED inactive = FALSE (Polling takes place at the interval of the specified time of tReadFeedback)

Output

xDO4_Fb

BOOL

Feedback of the digital output DO1. Takes into account the evaluation of the manual override. Actual value - LED active = TRUE, LED inactive = FALSE (Polling takes place at the interval of the specified time of tReadFeedback)

Output

xDO5_Fb

BOOL

Feedback of the digital output DO1. Takes into account the evaluation of the manual override. Actual value - LED active = TRUE, LED inactive = FALSE (Polling takes place at the interval of the specified time of tReadFeedback)

Output

xDO6_Fb

BOOL

Feedback of the digital output DO1. Takes into account the evaluation of the manual override. Actual value - LED active = TRUE, LED inactive = FALSE (Polling takes place at the interval of the specified time of tReadFeedback)

Output

xDO7_Fb

BOOL

Feedback of the digital output DO1. Takes into account the evaluation of the manual override. Actual value - LED active = TRUE, LED inactive = FALSE (Polling takes place at the interval of the specified time of tReadFeedback)

Output

xDO8_Fb

BOOL

Feedback of the digital output DO1. Takes into account the evaluation of the manual override. Actual value - LED active = TRUE, LED inactive = FALSE (Polling takes place at the interval of the specified time of tReadFeedback)

Output

eAOO1

eManBin

Manual - switch position (A)uto (O)ff (O)n (Polling takes place at the interval of the specified time of tReadFeedback)

Output

eAOO2

eManBin

Manual - switch position (A)uto (O)ff (O)n (Polling takes place at the interval of the specified time of tReadFeedback)

Output

eAOO3

eManBin

Manual - switch position (A)uto (O)ff (O)n (Polling takes place at the interval of the specified time of tReadFeedback)

Output

eAOO4

eManBin

Manual - switch position (A)uto (O)ff (O)n (Polling takes place at the interval of the specified time of tReadFeedback)

Output

eAOO5

eManBin

Manual - switch position (A)uto (O)ff (O)n (Polling takes place at the interval of the specified time of tReadFeedback)

Output

eAOO6

eManBin

Manual - switch position (A)uto (O)ff (O)n (Polling takes place at the interval of the specified time of tReadFeedback)

Output

eAOO7

eManBin

Manual - switch position (A)uto (O)ff (O)n (Polling takes place at the interval of the specified time of tReadFeedback)

Output

eAOO8

eManBin

Manual - switch position (A)uto (O)ff (O)n (Polling takes place 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 the event of bus failure

Input Const

xDO8_DeactivateDipSwitch

BOOL

FALSE

TRUE = Hardware manual override of the DIP switch disabled

FALSE = Hardware manual override of the DIP switch enabled

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 the event of bus failure

Input Const

xDO7_DeactivateDipSwitch

BOOL

FALSE

TRUE = Hardware manual override of the DIP switch disabled

FALSE = Hardware manual override of the DIP switch enabled

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 the event of bus failure

Input Const

xDO6_DeactivateDipSwitch

BOOL

FALSE

TRUE = Hardware manual override of the DIP switch disabled

FALSE = Hardware manual override of the DIP switch enabled

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 the event of bus failure

Input Const

xDO5_DeactivateDipSwitch

BOOL

FALSE

TRUE = Hardware manual override of the DIP switch disabled

FALSE = Hardware manual override of the DIP switch enabled

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 the event of bus failure

Input Const

xDO4_DeactivateDipSwitch

BOOL

FALSE

TRUE = Hardware manual override of the DIP switch disabled

FALSE = Hardware manual override of the DIP switch enabled

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 the event of bus failure

Input Const

xDO3_DeactivateDipSwitch

BOOL

FALSE

TRUE = Hardware manual override of the DIP switch disabled

FALSE = Hardware manual override of the DIP switch enabled

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 the event of bus failure

Input Const

xDO2_DeactivateDipSwitch

BOOL

FALSE

TRUE = Hardware manual override of the DIP switch disabled

FALSE = Hardware manual override of the DIP switch enabled

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 the event of bus failure

Input Const

xDO1_DeactivateDipSwitch

BOOL

FALSE

TRUE = Hardware manual override of the DIP switch disabled

FALSE = Hardware manual override of the DIP switch enabled

Input Const

xUseSafeStateValueBeforeInit

BOOL

TRUE

Input Const

tReadFeedback

TIME

TIME#5s0ms

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

Input Const

tSendDelayAfterInit

TIME

TIME#0ms

Delay for sending the outputs

Input Const

tBusTimeout

TIME

TIME#20s0ms

T#0s = No bus timeout = No safe state mode

Input Const

usiSlaveID

USINT

10

The slave address for the module

Last updated