Input Pin Description

Input Pin Description

Input

Data Type

Description

i_xEn

BOOL

TRUE: Enables the function block.

FALSE: Disables the function block.

Refer to detailed description of i_xEn.

i_xDevAlrm

BOOL

Device signal disable alarm.

TRUE: Device alarm

FALSE: No device alarm

i_diDevIput

DINT

Sensor input signal

Range: -2147483648…2147483647 count

Factory setting: 0

i_xSenSel

BOOL

Selector input to switch between pulse or analog sensor signal

TRUE: Pulse input

FALSE: Analog input

i_wDevMaxThsh

WORD

Maximum threshold of sensor output signal

Range: 0…65535

Factory setting: 0

i_wDevMinThsh

WORD

Minimum threshold of sensor output signal

Range: 0…65535

Factory setting: 0

i_wMaxThshOput

WORD

Maximum threshold of scaled output signal

Range: 0…65535

Factory setting: 0

i_wMinThshOput

WORD

Minimum threshold of scaled output signal

Range: 0…65535

Factory setting: 0

i_wMaxThshIput

WORD

Maximum threshold of desired scaling range of input signal

Range: 0…65535

Factory setting: 0

i_wMinThshIput

WORD

Minimum threshold of desired scaling range of input signal

Range: 0…65535

Factory setting: 0

i_xEn

By setting the i_xEn input to FALSE the output states will be overwritten by a defined fallback state which is specific for each function block.

As soon as the function block gets enabled again the output states will be updated corresponding to the function block behavior as described above. There is no additional action required from you to re-establish the enabled state.

The fallback states of ScaleInput are given in the table below.

Output

Data Type

Fallback State

q_xEn

BOOL

FALSE

q_wScalOput

WORD

i_diDevIput

q_xAlrm

BOOL

FALSE

q_wAlrmId

WORD

0

Outputs that are not listed will retain their current values.