MC_CamIn

The MC_CamIn FB enables travel along cams that are created in the form of a table.

Block diagram

MC_CamIn 1:

Parameters of the FB

VAR_IN_OUT

 

Master

AXIS_REF

Axis reference to the master axis.

 

Slave

AXIS_REF

Axis reference to the slave axis.

VAR_INPUT

 

Execute

BOOL

Start at rising edge.

 

MasterOffset

LREAL

Offset of master table.

Range [-2147483648.0, 2147483647.0]
Default unit [0,1µm or 10-4 °]

 

SlaveOffset

LREAL

Slave axis: Offset of the table.

Range [-2147483648.0, 2147483647.0]
Default unit [0,1µm or 10-4 °]

 

MasterScaling

LREAL

Factor for the master axis profile. From the slave point of view the master overall profile is multiplied by this factor.

Range [-2147483648.0, 2147483647.0]

Currently only integer values may be used!

 

SlaveScaling

LREAL

Factor for the slave axis profile. The overall slave profile is multiplied by this factor.

Range [-2147483648.0, 2147483647.0]

 

StartMode

DWORD

Bits 2-0: Start mode

001: Ramp in (16#1)

010: Absolute (16#2)

100: Relative (16#4)

 

CamTableID

UINT

Identifier of cam table to be used, linked to output of MC_CamTableSelect.

 

TableFctType

UDINT

Table function types:

0: STEP_DIRECT

1: LINEAR

2: POLYNOM_3

3: POLYNOM_3_KOEFF

4: LINE_POLY5

5: POLY5_LINE

6: TABLE_DEFINED

VAR_OUTPUT

 

InSync

BOOL

Cam is engaged for the first time.

 

CommandAborted

BOOL

Command is aborted by another command.

 

Error

BOOL

Indicates if an error has occurred.

 

ErrorID

WORD

Error identification.

 

EndOfProfile

BOOL

‘Pulsed’ output signals the cyclic end of the cam profile.

Behavior of the FB