Omron NY532-1500 User Manual page 317

Ny-series ipc machine controller industrial panel pc / industrial box pc
Hide thumbs Also See for NY532-1500:
Table of Contents

Advertisement

Variable name
Mv_Feed_Ex
InitFlag
Ladder Diagram
Check if the Servo Drive for axis 0 is ready when StartPg is TRUE.
StartPg
MC_Axis000.DrvStatus.Ready
If the Servo Drive for axis 0 is ready, turn ON the Servo for axis 0.
Lock0
If a minor fault level error occurs for axis 0, the error handler for the device (FaultHandler) is executed.
Program the FaultHandler according to the device.
MC_Axis000.MFaultLvl.Active
If the Servo is ON for axis 0 and home is not defined, the MC_Home instruction is executed.
Pwr_Status MC_Axis000.Details.Homed
The input parameters for interrupt feeding are set.
InitFlag
NY-series Industrial Panel PC / Industrial Box PC Motion Control User's Manual (W559)
Data type
BOOL
BOOL
MC_Axis000
Axis
Enable
FaultHandler
EN
FaultHandler
MC_Axis000
1
// Parameters for MC_MoveFeed
2
Mv_Feed_TrigRef.Mode
3
Mv_Feed_TrigRef.LatchID
4
Mv_Feed_TrigRef.InputDrive := _eMC_TRIGGER_INPUT_DRIVE#_mcEncoderMark;
5
Mv_Feed_TrigVar
6
Mv_Feed_Pos
7
Mv_Feed_Vel
8
Mv_Feed_Acc
9
Mv_Feed_Dec
10
Mv_Feed_Dir
11
Mv_Feed_Mm
12
Mv_Feed_FeedDis
13
Mv_Feed_FeedVel
14
// The Input Parameter Initialization Completed Flag is changed to TRUE.
InitFlag := TRUE;
15
10 Sample Programming
Default
FALSE
This variable is used to execute the
MC_MoveFeed (Interrupt Feeding) instruc-
tion. It is used in ST programming.
FALSE
TRUE if the input parameters are set for the
MC_MoveFeed instruction.
PWR
MC_Power
Axis
Status
Busy
Pwr_Bsy
Error
Pwr_Err
ErrorID
Pwr_ErrID
HM
MC_Home
Axis
Axis
Execute
Done
Busy
CommandAborted
Error
ErrorID
:= _eMC_TRIGGER_MODE#_mcDrive;
:= _eMC_TRIGGER_LATCH_ID#_mcLatch1;
:= FALSE;
:= LREAL#2000.0;
:= LREAL#1000.0;
:= LREAL#10000.0;
:= LREAL#10000.0;
:= _eMC_DIRECTION#_mcCurrentDirection;
:= _eMC_MOVE_MODE#_mcVelocity;
:= LREAL#500.0;
:= LREAL#500.0;
Comment
Lock0
Pwr_Status
Hm_D
Hm_Bsy
Hm_Ca
Hm_Err
Hm_ErrID
10-41
10

Advertisement

Table of Contents
loading

Table of Contents