H1_16DI
H1_16DI (FB)
H1_16DI (FB)FUNCTION_BLOCK H1_16DI EXTENDS SlaveModuleSoftOverwrite IMPLEMENTS ISlaveModule
InOut:
Input
itfModbusConnector
IModbusConnector
BaseSlave
Output
xInitRunning
BOOL
xInitRunning is TRUE, while 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 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 (Warning: Afterwards 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 are
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 per output.)
BaseSlaveModule
Output
xAutoSoftware
BOOL
FALSE = At least one input and/or output are
set to the state by parameter (software) eManBin <><br/>eManBin.Auto. TRUE = All inputs and outputs are
set to the state by parameter (software) eManBin =<br/>eManBin.Auto.
SlaveModuleSoftOverwrite
Input Const
eDI16_ManBin
eManBin
eManBin.Auto
Manual override of the digital input
Input Const
xDI16Negation
BOOL
FALSE
Negation
Input Const
xDI16_ACVoltageMode
BOOL
TRUE = Activates a delay of the input with the
defined value of tACModeInputVoltageDelay. FALSE
= No delay
Input Const
eDI15_ManBin
eManBin
eManBin.Auto
Manual override of the digital input
Input Const
xDI15Negation
BOOL
FALSE
Negation
Input Const
xDI15_ACVoltageMode
BOOL
TRUE = Activates a delay of the input with the
defined value of tACModeInputVoltageDelay. FALSE
= No delay
Input Const
eDI14_ManBin
eManBin
eManBin.Auto
Manual override of the digital input
Input Const
xDI14Negation
BOOL
FALSE
Negation
Input Const
xDI14_ACVoltageMode
BOOL
TRUE = Activates a delay of the input with the
defined value of tACModeInputVoltageDelay. FALSE
= No delay
Input Const
eDI13_ManBin
eManBin
eManBin.Auto
Manual override of the digital input
Input Const
xDI13Negation
BOOL
FALSE
Negation
Input Const
xDI13_ACVoltageMode
BOOL
TRUE = Activates a delay of the input with the
defined value of tACModeInputVoltageDelay. FALSE
= No delay
Input Const
eDI12_ManBin
eManBin
eManBin.Auto
Manual override of the digital input
Input Const
xDI12Negation
BOOL
FALSE
Negation
Input Const
xDI12_ACVoltageMode
BOOL
TRUE = Activates a delay of the input with the
defined value of tACModeInputVoltageDelay. FALSE
= No delay
Input Const
eDI11_ManBin
eManBin
eManBin.Auto
Manual override of the digital input
Input Const
xDI11Negation
BOOL
FALSE
Negation
Input Const
xDI11_ACVoltageMode
BOOL
TRUE = Activates a delay of the input with the
defined value of tACModeInputVoltageDelay. FALSE
= No delay
Input Const
eDI10_ManBin
eManBin
eManBin.Auto
Manual override of the digital input
Input Const
xDI10Negation
BOOL
FALSE
Negation
Input Const
xDI10_ACVoltageMode
BOOL
TRUE = Activates a delay of the input with the
defined value of tACModeInputVoltageDelay. FALSE
= No delay
Input Const
eDI9_ManBin
eManBin
eManBin.Auto
Manual override of the digital input
Input Const
xDI9Negation
BOOL
FALSE
Negation
Input Const
xDI9_ACVoltageMode
BOOL
TRUE = Activates a delay of the input with the
defined value of tACModeInputVoltageDelay. FALSE
= No delay
Input Const
eDI8_ManBin
eManBin
eManBin.Auto
Manual override of the digital input
Input Const
xDI8Negation
BOOL
FALSE
Negation
Input Const
xDI8_ACVoltageMode
BOOL
TRUE = Activates a delay of the input with the
defined value of tACModeInputVoltageDelay. FALSE
= No delay
Input Const
eDI7_ManBin
eManBin
eManBin.Auto
Manual override of the digital input
Input Const
xDI7Negation
BOOL
FALSE
Negation
Input Const
xDI7_ACVoltageMode
BOOL
TRUE = Activates a delay of the input with the
defined value of tACModeInputVoltageDelay. FALSE
= No delay
Input Const
eDI6_ManBin
eManBin
eManBin.Auto
Manual override of the digital input
Input Const
xDI6Negation
BOOL
FALSE
Negation
Input Const
xDI6_ACVoltageMode
BOOL
TRUE = Activates a delay of the input with the
defined value of tACModeInputVoltageDelay. FALSE
= No delay
Input Const
eDI5_ManBin
eManBin
eManBin.Auto
Manual override of the digital input
Input Const
xDI5Negation
BOOL
FALSE
Negation
Input Const
xDI5_ACVoltageMode
BOOL
TRUE = Activates a delay of the input with the
defined value of tACModeInputVoltageDelay. FALSE
= No delay
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
tACModeInputVoltageDelay
TIME
TIME#100ms
A change of the signal present on a DI is only
recognized after this time has elapsed. (Used only
when xDI<n>_ACVoltageMode TRUE is)
Input Const
tReadInputs
TIME
TIME#1s0ms
Polling time for digital inputs (Note: The polling time
must not be greater than the time of tBusTimeout be.)
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 1
Output
xDI2
BOOL
digital input 2
Output
xDI3
BOOL
digital input 3
Output
xDI4
BOOL
digital input 4
Output
xDI5
BOOL
digital input 5
Output
xDI6
BOOL
digital input 6
Output
xDI7
BOOL
digital input 7
Output
xDI8
BOOL
digital input 8
Output
xDI9
BOOL
digital input 9
Output
xDI10
BOOL
digital input 10
Output
xDI11
BOOL
digital input 11
Output
xDI12
BOOL
digital input 12
Output
xDI13
BOOL
digital input 13
Output
xDI14
BOOL
digital input 14
Output
xDI15
BOOL
digital input 15
Output
xDI16
BOOL
digital input 16
Last updated

