Control Details - Mitsubishi Electric MELSEC iQ-R Series User Manual

Motion module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

■Public variables
Name
Variable name
Current value per cycle
InputPerCycle
Reference value
Reference
Output value
OutputData
Instance ID
InstanceID

Control details

MC_CamIn instruction sets MasterOffset, SlaveOffset, MasterScaling, SlaveScaling, MasterStartDistance,
MasterSyncPosition, StartMode, MasterValueSource, CamTableID, BufferMode and executes the cam operation.
To stop the operation, execute MC_Stop.
Starting cam operation
The following operation is executed by setting of StartMode.
■When setting "1: mcAbsolute", "2: mcRelative" to StartMode
MasterSyncPosition is set to the start position in the cam table. Slave control is started at the position per cycle in the cam
table which is corresponding to the position specified in MasterStartDistance.
After MC_CamIn is started, Slave starts cam operation when Master passes MasterStartDistance in the cam table, and
InSync turns TRUE.
When MasterStartDistance is not necessary, InSync turns TRUE when Master passes MasterSyncPosition.
The operations of MasterStartDistance are as shown below depending on StartMode settings.
• When StartMode is set to "1: mcAbsolute"
When Master passes the position specified at MasterStartDistance, Slave starts cam operation and InSync turns TRUE.
Master position
MasterStartDistance
MasterSyncPosition
Slave position
Execute
Active
InSync
Data type
Default
value
LREAL
Page 67
Positioning
Range
Page 67
LREAL
Positioning
Range
LREAL
Page 67
Positioning
Range
WORD(UINT)
0
Time
Time
Description
Stores the current value per cycle.
Stores the reference value.
Stores the output value.
Instance ID that is automatically set when an
instance is created.
Used in FB input, etc.
14 SYNCHRONOUS CONTROL
14.7 Cam Operation
14
433

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rd78g32Rd78g64Rd78ghvRd78g4Rd78ghwRd78g8 ... Show all

Table of Contents