InputDigitalCam

InputDigitalCam 1:

This class is used for the digital feedback of an FB_AxisHydraulicBase.

Syntax:

FUNCTION_BLOCK FB_InputDigitalCam EXTENDS FB_IoBase

InputDigitalCam 2: Properties

Name

Type

Access

Description

BreakM

I_InputDigital

Get, Set

Digital input element for a brake sensor in the negative direction on the axis track.

BreakP

I_InputDigital

Get, Set

Digital input element for a brake sensor in the positive direction on the axis track.

TargetM

I_InputDigital

Get, Set

Digital input element for the end position in the negative direction on the axis track.

TargetP

I_InputDigital

Get, Set

Digital input element for the end position in the positive direction on the axis track.

InputDigitalCam 3: Methods

Name

Description

Cyclic()

Cycle method

GetProcessValue()

Reads the terminal-specific input/output value.

SetProcessValue()

Writes the terminal-specific input/output value.

InputDigitalCam 4:

Coding of the stValue for FB_InputDigitalCam.Get|SetProcessValue()

The value for the ST_FlexValue of the InputDigitalCam input element is coded bit by bit as BYTE:

Bit 0: TargetP
Bit 1: BreakP
Bit 2: BreakM
Bit 3: TargetP
Bit 4: TargetP Connected
Bit 5: BreakP Connected
Bit 6: BreakM Connected
Bit 7 TargetM Connected

InputDigitalCam 5: Interfaces

Type

Description

I_IoBase

Standard interface on FB_IoBase.

I_InputDigitalCam

Standard interface on FB_InputDigitalCam.

Requirements

Development Environment

Target platform

PLC libraries to include

TwinCAT v3.1.4024.66

PC or CX (x64, x86)

Tc3_PlasticFunctions (>= v12.10.0.0)