192 Rockwell Automation Publication MOTION-RM002H-EN-P-February 2018
Function Block
This instruction is not available in function block.
Structured Text
MATC(Axis, MotionControl, Direction, CamProfile, DistanceScaling,
TimeScaling, ExecutionMode, ExecutionSchedule, LockPosition, LockDirection,
InstructionMode);
Operands
Ladder Diagram
Operand Type
CompactLogix 5380,
CompactLogix 5480,
ControlLogix 5580,
Compact GuardLogix
5380, and GuardLogix
5580 controllers
Type
CompactLogix 5370, ControlLogix
5570, Compact GuardLogix 5370, and
GuardLogix 5570 controllers
Format Description
Axis AXIS_CIP_DRIVE
AXIS_GENERIC_DRIVE
AXIS_CIP_DRIVE
AXIS_GENERIC_DRIVE
AXIS_VIRTUAL
AXIS_GENERIC
AXIS_SERVO
AXIS_SERVO_DRIVE
Tag The name of the axis to which the cam
profile is applied. Ellipsis launches Axis
Properties dialog.
Motion Control MOTION_INSTRUCTION MOTION_INSTRUCTION Tag Structure used to access block status
parameters.
Direction UINT32 UINT32 Immediate or
Tag
Relative direction of the slave axis to the
master axis:
0 = Same – the axis position values in
the cam profile are added to the
command position of the axis.
1 = Opposite – the axis position values in
the cam profile are subtracted from the
command position of the axis creating
axis motion in the other direction from
that implied in the original cam table.
Or relative to the current or previous
camming direction:
2 = Reverse – the current or previous
direction of the position cam is changed
either from Same to Opposite or vice
versa. When executed for the first time
with Reverse selected, the control
defaults the direction to Opposite.
3 = Unchanged – this allows other cam
parameters to be changed without
altering the current or previous camming
direction. When executed for the first
time with Unchanged selected, the
control defaults the direction to Same.