H1_8AO

H1_8AO (FB)

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

rAO1

REAL

AO1 output

Input

rAO2

REAL

AO2 output

Input

rAO3

REAL

AO3 output

Input

rAO4

REAL

AO4 output

Input

rAO5

REAL

AO5 output

Input

rAO6

REAL

AO6 output

Input

rAO7

REAL

AO7 output

Input

rAO8

REAL

AO8 output

Input Const

eAO8_ManNum

eManNum

eManNum.Auto

Input Const

rAO8_ManValue

REAL

Input Const

iAO8_MinMaxOffsetTwoPoint

INT

0

Offset value for the min and max range in %

Input Const

xAO8_MinMaxLimitTwoPoint

BOOL

FALSE

Enables the min and max limit

Input Const

rAO8_Y2TwoPoint

REAL

10

Y-axis point Y2

Input Const

rAO8_Y1TwoPoint

REAL

0

Y-axis point Y1

Input Const

rAO8_X2TwoPoint

REAL

100

X-axis point X2

Input Const

rAO8_X1TwoPoint

REAL

0

X-axis point X1

Input Const

rAO8_Delta

REAL

0.25

Specification of the delta value

Input Const

eAO8_SafeState

AOSafeStateMode

AOSafeStateMode.Percentage_0

State of the output in case of bus failure

Input Const

xAO8_DeactivateDipSwitch

BOOL

FALSE

FALSE= manual override enabled/possible

TRUE= manual override disabled/not possible

Input Const

eAO7_ManNum

eManNum

eManNum.Auto

Input Const

rAO7_ManValue

REAL

Input Const

iAO7_MinMaxOffsetTwoPoint

INT

0

Offset value for the min and max range in %

Input Const

xAO7_MinMaxLimitTwoPoint

BOOL

FALSE

Enables the min and max limit

Input Const

rAO7_Y2TwoPoint

REAL

10

Y-axis point Y2

Input Const

rAO7_Y1TwoPoint

REAL

0

Y-axis point Y1

Input Const

rAO7_X2TwoPoint

REAL

100

X-axis point X2

Input Const

rAO7_X1TwoPoint

REAL

0

X-axis point X1

Input Const

rAO7_Delta

REAL

0.25

Specification of the delta value

Input Const

eAO7_SafeState

AOSafeStateMode

AOSafeStateMode.Percentage_0

State of the output in case of bus failure

Input Const

xAO7_DeactivateDipSwitch

BOOL

FALSE

FALSE= manual override enabled/possible

TRUE= manual override disabled/not possible

Input Const

eAO6_ManNum

eManNum

eManNum.Auto

Input Const

rAO6_ManValue

REAL

Input Const

iAO6_MinMaxOffsetTwoPoint

INT

0

Offset value for the min and max range in %

Input Const

xAO6_MinMaxLimitTwoPoint

BOOL

FALSE

Enables the min and max limit

Input Const

rAO6_Y2TwoPoint

REAL

10

Y-axis point Y2

Input Const

rAO6_Y1TwoPoint

REAL

0

Y-axis point Y1

Input Const

rAO6_X2TwoPoint

REAL

100

X-axis point X2

Input Const

rAO6_X1TwoPoint

REAL

0

X-axis point X1

Input Const

rAO6_Delta

REAL

0.25

Specification of the delta value

Input Const

eAO6_SafeState

AOSafeStateMode

AOSafeStateMode.Percentage_0

State of the output in case of bus failure

Input Const

xAO6_DeactivateDipSwitch

BOOL

FALSE

FALSE= manual override enabled/possible

TRUE= manual override disabled/not possible

Input Const

eAO5_ManNum

eManNum

eManNum.Auto

Input Const

rAO5_ManValue

REAL

Input Const

iAO5_MinMaxOffsetTwoPoint

INT

0

Offset value for the min and max range in %

Input Const

xAO5_MinMaxLimitTwoPoint

BOOL

FALSE

Enables the min and max limit

Input Const

rAO5_Y2TwoPoint

REAL

10

Y-axis point Y2

Input Const

rAO5_Y1TwoPoint

REAL

0

Y-axis point Y1

Input Const

rAO5_X2TwoPoint

REAL

100

X-axis point X2

Input Const

rAO5_X1TwoPoint

REAL

0

X-axis point X1

Input Const

rAO5_Delta

REAL

0.25

Specification of the delta value

Input Const

eAO5_SafeState

AOSafeStateMode

AOSafeStateMode.Percentage_0

State of the output in case of bus failure

Input Const

xAO5_DeactivateDipSwitch

BOOL

FALSE

FALSE= manual override enabled/possible

TRUE= manual override disabled/not possible

Input Const

eAO4_ManNum

eManNum

eManNum.Auto

Input Const

rAO4_ManValue

REAL

Input Const

iAO4_MinMaxOffsetTwoPoint

INT

0

Offset value for the min and max range in %

Input Const

xAO4_MinMaxLimitTwoPoint

BOOL

FALSE

Enables the min and max limit

Input Const

rAO4_Y2TwoPoint

REAL

10

Y-axis point Y2

Input Const

rAO4_Y1TwoPoint

REAL

0

Y-axis point Y1

Input Const

rAO4_X2TwoPoint

REAL

100

X-axis point X2

Input Const

rAO4_X1TwoPoint

REAL

0

X-axis point X1

Input Const

rAO4_Delta

REAL

0.25

Specification of the delta value

Input Const

eAO4_SafeState

AOSafeStateMode

AOSafeStateMode.Percentage_0

State of the output in case of bus failure

Input Const

xAO4_DeactivateDipSwitch

BOOL

FALSE

FALSE= manual override enabled/possible

TRUE= manual override disabled/not possible

Input Const

eAO3_ManNum

eManNum

eManNum.Auto

Input Const

rAO3_ManValue

REAL

Input Const

iAO3_MinMaxOffsetTwoPoint

INT

0

Offset value for the min and max range in %

Input Const

xAO3_MinMaxLimitTwoPoint

BOOL

FALSE

Enables the min and max limit

Input Const

rAO3_Y2TwoPoint

REAL

10

Y-axis point Y2

Input Const

rAO3_Y1TwoPoint

REAL

0

Y-axis point Y1

Input Const

rAO3_X2TwoPoint

REAL

100

X-axis point X2

Input Const

rAO3_X1TwoPoint

REAL

0

X-axis point X1

Input Const

rAO3_Delta

REAL

0.25

Specification of the delta value

Input Const

eAO3_SafeState

AOSafeStateMode

AOSafeStateMode.Percentage_0

State of the output in case of bus failure

Input Const

xAO3_DeactivateDipSwitch

BOOL

FALSE

FALSE= manual override enabled/possible

TRUE= manual override disabled/not possible

Input Const

eAO2_ManNum

eManNum

eManNum.Auto

Input Const

rAO2_ManValue

REAL

Input Const

iAO2_MinMaxOffsetTwoPoint

INT

0

Offset value for the min and max range in %

Input Const

xAO2_MinMaxLimitTwoPoint

BOOL

FALSE

Enables the min and max limit

Input Const

rAO2_Y2TwoPoint

REAL

10

Y-axis point Y2

Input Const

rAO2_Y1TwoPoint

REAL

0

Y-axis point Y1

Input Const

rAO2_X2TwoPoint

REAL

100

X-axis point X2

Input Const

rAO2_X1TwoPoint

REAL

0

X-axis point X1

Input Const

rAO2_Delta

REAL

0.25

Specification of the delta value

Input Const

eAO2_SafeState

AOSafeStateMode

AOSafeStateMode.Percentage_0

State of the output in case of bus failure

Input Const

xAO2_DeactivateDipSwitch

BOOL

FALSE

FALSE= manual override enabled/possible

TRUE= manual override disabled/not possible

Input Const

eAO1_ManNum

eManNum

eManNum.Auto

Input Const

rAO1_ManValue

REAL

Input Const

iAO1_MinMaxOffsetTwoPoint

INT

0

Offset value for the min and max range in %

Input Const

xAO1_MinMaxLimitTwoPoint

BOOL

FALSE

Enables the min and max limit

Input Const

rAO1_Y2TwoPoint

REAL

10

Y-axis point Y2

Input Const

rAO1_Y1TwoPoint

REAL

0

Y-axis point Y1

Input Const

rAO1_X2TwoPoint

REAL

100

X-axis point X2

Input Const

rAO1_X1TwoPoint

REAL

0

X-axis point X1

Input Const

rAO1_Delta

REAL

0.25

Specification of the delta value

Input Const

eAO1_SafeState

AOSafeStateMode

AOSafeStateMode.Percentage_0

State of the output in case of bus failure

Input Const

xAO1_DeactivateDipSwitch

BOOL

FALSE

FALSE= manual override enabled/possible

TRUE= manual override disabled/not possible

Input Const

xUseSafeStateValueBeforeInit

BOOL

TRUE

Input Const

tReadFeedback

TIME

TIME#5s0ms

Query time for feedback of the analog outputs 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

tBusTimeout

TIME

TIME#20s0ms

0 = No bus timeout = No SafeState mode

Input Const

usiSlaveID

USINT

10

The slave address for the module

Output

rAO1_Fb

REAL

Actual voltage at the analog output (0-10 volts)

Output

rAO2_Fb

REAL

Actual voltage at the analog output (0-10 volts)

Output

rAO3_Fb

REAL

Actual voltage at the analog output (0-10 volts)

Output

rAO4_Fb

REAL

Actual voltage at the analog output (0-10 volts)

Output

rAO5_Fb

REAL

Actual voltage at the analog output (0-10 volts)

Output

rAO6_Fb

REAL

Actual voltage at the analog output (0-10 volts)

Output

rAO7_Fb

REAL

Actual voltage at the analog output (0-10 volts)

Output

rAO8_Fb

REAL

Actual voltage at the analog output (0-10 volts)

Output

eAO1

eManNum

Hand - switch position (A)uto (O)n

Output

rPotiAO1

REAL

Current potentiometer value (When AUTO = 0)

Output

eAO2

eManNum

Hand - switch position (A)uto (O)n

Output

rPotiAO2

REAL

Current potentiometer value (When AUTO = 0)

Output

eAO3

eManNum

Hand - switch position (A)uto (O)n

Output

rPotiAO3

REAL

Current potentiometer value (When AUTO = 0)

Output

eAO4

eManNum

Hand - switch position (A)uto (O)n

Output

rPotiAO4

REAL

Current potentiometer value (When AUTO = 0)

Output

eAO5

eManNum

Hand - switch position (A)uto (O)n

Output

rPotiAO5

REAL

Current potentiometer value (When AUTO = 0)

Output

eAO6

eManNum

Hand - switch position (A)uto (O)n

Output

rPotiAO6

REAL

Current potentiometer value (When AUTO = 0)

Output

eAO7

eManNum

Hand - switch position (A)uto (O)n

Output

rPotiAO7

REAL

Current potentiometer value (When AUTO = 0)

Output

eAO8

eManNum

Hand - switch position (A)uto (O)n

Output

rPotiAO8

REAL

Current potentiometer value (When AUTO = 0)

Last updated