POWERIO_T1_R100_8DI_EASY

POWERIO_T1_R100_8DI_EASY (FB)

FUNCTION_BLOCK POWERIO_T1_R100_8DI_EASY

InOut:

Scope
Name
Type
Initial
Comment

Input

xEn

BOOL

TRUE

Enable / disable of communication ( TRUE = enabled )

Input

byUnitId

BYTE

0

Address of the device

Input

xUpdateActual

BOOL

FALSE

Update of actual values ( on each rising edge )

Input

xUpdateSetp

BOOL

FALSE

Update of setpoints ( on each rising edge )

Input

xResError

BOOL

FALSE

Reinitialization of the outputs ‘eErrorCodeCom’ and ‘xErrorCodeDev’ to the error-free state (on every rising edge)

Inout

ModbusClient

ModbusClientBase

Client of the device

Output

xDI1

BOOL

State of digital input DI1 (function depending on operating mode ‘eDI1_Mode’)

Output

xDI2

BOOL

State of digital input DI2 (function depending on operating mode ‘eDI2_Mode’)

Output

xDI3

BOOL

State of digital input DI3 (function depending on operating mode ‘eDI3_Mode’)

Output

xDI4

BOOL

State of digital input DI4 (function depending on operating mode ‘eDI4_Mode’)

Output

xDI5

BOOL

State of digital input DI5 (function depending on operating mode ‘eDI5_Mode’)

Output

xDI6

BOOL

State of digital input DI6 (function depending on operating mode ‘eDI6_Mode’)

Output

xDI7

BOOL

State of digital input DI7 (function depending on operating mode ‘eDI7_Mode’)

Output

xDI8

BOOL

State of digital input DI8 (function depending on operating mode ‘eDI8_Mode’)

Output

xAlarm

BOOL

FALSE

Collective fault ( TRUE = fault )

Output

xAlarmCom

BOOL

FALSE

Collective fault - communication ( TRUE = fault )

Output

eErrorCodeCom

ModbusErrorCode

Error code - communication ( 0 = no error )

Output

eErrorCodeDev

POWERIO_T1_R100_8DI_ERROR_CODE

POWERIO_T1_R100_8DI_ERROR_CODE.NO_ERROR

Error code - device (0 = no error)

Output

xBusy

BOOL

Communication indicator ( TRUE = communication )

Input Const

wSysCommand

WORD

0

Value of the system command to be transmitted (FC06 - register 6 ) (0 = no command, values > 0 see documentation T1_R100_8DI)

Input Const

tTimeDI_Pulse

TIME

TIME#250ms

Common pulse duration for outputs xDI1 - xDI8

Input Const

eDI8_Mode

POWERIO_T1_R100_8DI_DI_MODE

POWERIO_T1_R100_8DI_DI_MODE.DIGITAL_INPUT

Operating mode of output xDI8

Input Const

eDI7_Mode

POWERIO_T1_R100_8DI_DI_MODE

POWERIO_T1_R100_8DI_DI_MODE.DIGITAL_INPUT

Operating mode of output xDI7

Input Const

eDI6_Mode

POWERIO_T1_R100_8DI_DI_MODE

POWERIO_T1_R100_8DI_DI_MODE.DIGITAL_INPUT

Operating mode of output xDI6

Input Const

eDI5_Mode

POWERIO_T1_R100_8DI_DI_MODE

POWERIO_T1_R100_8DI_DI_MODE.DIGITAL_INPUT

Operating mode of output xDI5

Input Const

eDI4_Mode

POWERIO_T1_R100_8DI_DI_MODE

POWERIO_T1_R100_8DI_DI_MODE.DIGITAL_INPUT

Operating mode of output xDI4

Input Const

eDI3_Mode

POWERIO_T1_R100_8DI_DI_MODE

POWERIO_T1_R100_8DI_DI_MODE.DIGITAL_INPUT

Operating mode of output xDI3

Input Const

eDI2_Mode

POWERIO_T1_R100_8DI_DI_MODE

POWERIO_T1_R100_8DI_DI_MODE.DIGITAL_INPUT

Operating mode of output xDI2

Input Const

eDI1_Mode

POWERIO_T1_R100_8DI_DI_MODE

POWERIO_T1_R100_8DI_DI_MODE.DIGITAL_INPUT

Operating mode of output xDI1

Input Const

wDIxInversion

WORD

0

Inversion of inputs DI1 - DI8 (bitwise, bit 0: DI1, bit 1: DI2, etc.) (0 = no inversion of inputs // 255 = inversion of all inputs)

Input Const

tTimeUpdateSetp

TIME

TIME#45s0ms

Update interval for the processes affected by the input ‘xUpdateSetp’

Input Const

tTimeUpdateActual

TIME

TIME#1s0ms

Update interval for the processes affected by the input ‘xUpdateActual’

Last updated