Mmc_Syncencoder Class; Mc_Functionblock Class - Mitsubishi MR-EM340GF User Manual

Simple motion board
Table of Contents

Advertisement

MMC_SyncEncoder class

Refer to the following for details of MMC_SyncEncoder class.
• Advanced synchronous control function (Page 139 MMC_SyncEncoder Class)
Public method
Category
Name
Error method
ResetSyncEncoderError
Change method
ChangeSyncEncoderPosition
Enable/disable
DisableSyncEncode
method
EnableSyncEncoder
Public data member
Variable name
LastErrorNumber
LastDetailErrorNumber
AxisNumber

MC_FunctionBlock class

Refer to the following for details of MC_FunctionBlock class.
• Function block (Page 144 MC_FunctionBlock Class)
Public method
Category
Name
Update method
Update
Public data member
Variable name
Tag
2 CLASS/FUNCTION LIST
24
2.2 Public method/Data Method List
Description
Performs error reset of the synchronous encoder
axis.
Changes current value of the synchronous encoder
axis.
Disables input from the synchronous encoder axis.
Enables input from the synchronous encoder axis.
Data type
Initial value
unsigned long
MMERR_NONE
unsigned long
MMERR_NONE
unsigned long
Description
Updates the I/O data of the function block.
Data type
Initial value
long long
0
Description
Latest error code
Latest detail error code
Synchronous encoder axis No. (1 to 16)
Description
A variable that the user may use freely.
An integer value or pointer can be cast to long long type and stored.
Reference
Page 140
MMC_SyncEncoder::ResetSyncEncoderError
Page 141
MMC_SyncEncoder::ChangeSyncEncoderPo
sition
Page 142
MMC_SyncEncoder::DisableSyncEncoder
Page 143
MMC_SyncEncoder::EnableSyncEncoder
Reference
Page 152 MC_FunctionBlock::Update

Advertisement

Table of Contents
loading

Table of Contents