Omron NY532-1500 User Manual page 363

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

Advertisement

If changing the setting of the Positive Software Limit is completed, the setting of the Negative Software Limit is changed.
Write2_D
ST Programming
// The axis parameters are set. When setting the parameters is completed, InitFlag is changed to TRUE.
IF InitFlag=FALSE THEN
// In-position Check Time
// Positive Software Limit
// Negative Software Limit
// The Input Parameter Initialization Completed Flag is changed to TRUE.
InitFlag := TRUE;
END_IF;
// If StartPg is TRUE, the setting of the In-position Check Time is changed.
IF StartPg =TRUE THEN
Write1_Ex := TRUE;
END_IF;
// If changing the setting of the In-Position Check Time is completed, the setting of the Positive Software Limit is
changed.
IF Write1_D = TRUE THEN
Write2_Ex := TRUE;
END_IF;
// If changing the setting of the Positive Software Limit is completed, the setting of the Negative Software Limit is
changed.
IF Write2_D = TRUE THEN
Write3_Ex := TRUE;
END_IF;
// MC_Write
WRITE1(
Target
SettingValue
Execute
ParameterNumber
Done
Busy
CommandAborted
Error
ErrorID
);
NY-series Industrial Panel PC / Industrial Box PC Motion Control User's Manual (W559)
MC_Axis000
Target
Write3_Sv
SettingValue
Execute
Write3_Pn
ParameterNumber
Write1_Sv := UINT#10;
Write1_Pn := _eMC_PARAMETER_NUMBER#_mcInPosTime;
Write2_Sv := LREAL#10000.0;
Write2_Pn := _eMC_PARAMETER_NUMBER#_mcPosiSwLmt;
Write3_Sv := LREAL#-10000.0;
Write3_Pn := _eMC_PARAMETER_NUMBER#_mcNegaSwLmt;
:= MC_Axis000,
:= Write1_Sv,
:= Write1_Ex,
:= Write1_Pn,
=> Write1_D,
=> Write1_Bsy,
=> Write1_Ca,
=> Write1_Err,
=> Write1_ErrID
10 Sample Programming
WRITE3
MC_Write
Target
SettingValue
Done
Write3_Bsy
Busy
Write3_Ca
CommandAborted
Write3_Err
Error
Write3_ErrID
ErrorID
Write3_D
10
10-87

Advertisement

Table of Contents
loading

Table of Contents