POWERIO_T1_R100_8DI_FULL

POWERIO_T1_R100_8DI_FULL (FB)

FUNCTION_BLOCK POWERIO_T1_R100_8DI_FULL

InOut:

Scope
Name
Type
Initial
Comment

Input

xEn

BOOL

TRUE

Enable / disable communication ( TRUE = enabled )

Input

byUnitId

BYTE

0

Address of the device

Input

xUpdateActual

BOOL

FALSE

Update of actual values (on every rising edge )

Input

xUpdateSetp

BOOL

FALSE

Update of setpoint values (on every rising edge )

Input

xResError

BOOL

FALSE

Reinitialization of the outputs 'eErrorCodeCom' and 'xErrorCodeDev' to the error-free state (on each rising edge)

Inout

ModbusClient

ModbusClientBase

Client of the device

Output

xDI1

BOOL

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

Output

xDI2

BOOL

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

Output

xDI3

BOOL

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

Output

xDI4

BOOL

State of the digital input DI4 (function depending on the 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 the operating mode ‘eDI7_Mode’)

Output

xDI8

BOOL

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

Output

dwDI1_Counter

DWORD

Absolute counter for the number of rising edges on the digital input DI1

Output

dwDI2_Counter

DWORD

Absolute counter for the number of rising edges on the digital input DI2

Output

dwDI3_Counter

DWORD

Absolute counter for the number of rising edges on the digital input DI3

Output

dwDI4_Counter

DWORD

Absolute counter for the number of rising edges on the digital input DI4

Output

dwDI5_Counter

DWORD

Absolute counter for the number of rising edges on digital input DI5

Output

dwDI6_Counter

DWORD

Absolute counter for the number of rising edges on digital input DI6

Output

dwDI7_Counter

DWORD

Absolute counter for the number of rising edges on digital input DI7

Output

dwDI8_Counter

DWORD

Absolute counter for the number of rising edges on digital input DI8

Output

wTypeID

WORD

Identification of the device (25508 = T1.R100-8DI, 25507 = T1.R100-4DI )

Output

wFirmwareVer

WORD

Firmware version of the device

Output

xAlarm

BOOL

FALSE

General fault ( TRUE = fault )

Output

xAlarmCom

BOOL

FALSE

General 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 the output xDI4

Input Const

eDI3_Mode

POWERIO_T1_R100_8DI_DI_MODE

POWERIO_T1_R100_8DI_DI_MODE.DIGITAL_INPUT

Operating mode of the output xDI3

Input Const

eDI2_Mode

POWERIO_T1_R100_8DI_DI_MODE

POWERIO_T1_R100_8DI_DI_MODE.DIGITAL_INPUT

Operating mode of the output xDI2

Input Const

eDI1_Mode

POWERIO_T1_R100_8DI_DI_MODE

POWERIO_T1_R100_8DI_DI_MODE.DIGITAL_INPUT

Operating mode of the 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 operations influenced by the input 'xUpdateSetp'

Input Const

tTimeUpdateActual

TIME

TIME#1s0ms

Update interval for operations influenced by the input 'xUpdateActual'

Last updated