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

■Output variables
Name
In synchronization
Executing
Controlling
Abortion of execution
Error
Error code

Control details

In MC_CombineAxes, CombineMode, GearRatioNumeratorM1, GearRatioDenominatorM1, GearRatioNumeratorM2,
GearRatioDenominatorM2, MasterValueSourceM1, MasterValueSourceM2 and BufferMode are set and the addition/
subtraction positioning is executed.
To stop the operation, execute MC_Stop.
The movement amount of Master1 and Master2 are combined. Also, gear ratio can be set to each master axis.
Combining the movement amount calculates adding/subtracting regardless of the unit of Master1 and Master2.
When "0: mcAddAxes" is set to CombineMode
Movement amount of Slave = Master1 + Movement amount of Master2
Speed of Master1
Speed of Master2
Speed of Slave
Execute
AxisName.Md.
AxisStatus
*1
*1 This is axis state of Slave axis.
14 SYNCHRONOUS CONTROL
450
14.9 Addition/Subtraction Positioning
Variable name
Data type
InSync
BOOL
Busy
BOOL
Active
BOOL
CommandAborted
BOOL
Error
BOOL
ErrorID
WORD(UINT)
Time
Time
Time
7: SynchronizedMotion
Default
Description
value
Page 452 InSync (In synchronization)
FALSE
FALSE
Indicates that the FB is in execution.
FALSE
Indicates that the FB is controlling the axis.
FALSE
Indicates that another FB has aborted the
execution of the FB.
When this FB is stopped by an error or when this
FB is started up while an error occurs, it turns
TRUE.
Turns FALSE when Execute turns FALSE.
FALSE
When TRUE, it indicates that an error has
occurred in the FB.
0
The error code generated in the FB is returned.
For details, refer to the following.
Page 534 List of Error Codes

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rd78g32Rd78g64Rd78ghvRd78g4Rd78ghwRd78g8 ... Show all

Table of Contents