MC_SEW_ReadDigitalInputs

This function block outputs the digital inputs of the device. The number of available inputs depends on the device type. For example, up to five digital inputs can be read from a MOVI-C® axis, which is represented by the "LogicalDevice MOVI-C axis".

VAR_IN_OUT

Variable name

Data type

Description

Axis

AXIS_REF

Reference to a logical device
(name of the logical device)

See also AXIS_REF.

VAR_INPUT

Variable name

Data type

Description

Enable

BOOL

Activate function block.

VAR_OUTPUT

Variable name

Data type

Description

Valid

BOOL

Outputs are valid

Error

BOOL

An error has occurred in the function block

ErrorID

WORD

Error number

Value

DWORD

Value of the digital outputs (bit-coded)