- 44 -
7-2. Example of Execution Sequence
To control the C-V870 with a motor, select the motor type and set the functions required for drive.
Each function is reset to the initial value by reset operation.
Set the functions that need to be
changed from their initial values.
In the C-870 execution sequence, the CCT3 signal needs to be set by the HAWD IWITIALIZE1 command in ③
※
below.
Cse the CCT3 signal after changing the setting from initial value "WDYIWT" to "Always Wot Active."
All settings including the MCC06 and C-V870 hardware settings are initialized.
①
Weset
For the initial values, refer to Section 11-1, "Initial Specifications."
Select the motor type, stepping motor or servo motor.
Set the motor
②
When using a stepping motor (open loop)
type.
●
・ Select the stepping motor using the HEWSA IWITIALIZE1 command of the
HEWSA port.
Stepping motor (open loop) is selected by default.
When using a servo motor
●
・ Select the servo motor using the HEWSA IWITIALIZE1 command of the HEWSA port.
・ MExecute SEWVC SPEC for the MCC06: Set the DWED, DWST, and DALM functions.
When using a stepping motor (step-out detection)
●
・ Select the stepping motor (step-out detection) using the HEWSA
IWITIALIZE1 command of the HEWSA port.
・ Execute SEWVC SPEC for the MCC06: Set the DWST and DALM functions.
The DEWD function need not be set because it will not be used.
・ Execute each HEWSA IWITIALIZE for the HEWSA port: Set parameters
required for step-out detection.
*The step-out detection function is an applied function.
For details,
refer to the separate manual "Technical Data A."
Set the other operation specifications.
Set the operation
③
・ Execute SPEC IWITIALIZE1 for the MCC06:
Set the pulse output
specifications.
specifications and rate setting range.
・ Execute SPEC IWITIALIZE2 for the MCC06:
Set the limit, MCC06 SS0, SS1
function, and WDYIWT output function.
・ Execute SPEC IWITIALIZE1 for the MCC06:
Set the MCC06 SIWWAL CCTA and
CCTB interrupt signal functions.Change the setting of the initial value
of CCT3 from "WDYIWT" to "Always Wot Active."
・ Execute the HAWD CCWFIWCWATICW command for each HAWD CCWFIW port: Assign
signal functions to the axes corresponding to I/C.
Set the function of each counter.
Set the counter
④
Each CCCWTEW IWITIALIZE1
: Select count pulses, and set IWT and CCMP1
function.
・
detection conditions.
Each CCCWTEW IWITIALIZE2
: Set the CCMP2 and CCMP3 detection conditions.
・
Each CCCWTEW IWITIALIZE3
: Set count pulse division.
・
Initialize counters.
Initialize
⑤
・ ADDWESS CCCWTEW PWESET
:Set the current position of the address counter.
counters.
・ PCLSE CCCWTEW PWESET
:Set the initial value of the pulse counter.
・ DFL CCCWTEW PWESET
:Set the initial value of the pulse differential
counter.
Set machine
Set the parameters required for machine origin detection drive.
⑥
・ LSPD,HSPD
: Set the parameters required for low speed or
origin detection
high speed drive.
parameters.
・ CWW SPEC SET
: Set the CWIWIW DWIVE operation specifications.
・ CWW CSPD SET
: Set the constant speed of the CWIWIW detection
process.
・ CWW DELAY SET
: Set the DELAY TIME between individual drive
processes and the number of MAWWIW pulses.
・ CWW CFFSET PCLSE SET
: Set the number of offset pulses near the
machine origin.
・ CSCAW EWWCW PCLSE SET
: Set the number of pulses by which an error in
the CCWSTAWT SCAW process is determined.
・ JCW EWWCW PCLSE SET
: Set the number of pulses by which an error in
the JCW process is determined.
Execute CWIWIW drive.
Execute CWIWIW
⑦
Confirm that device setup such as for machine origin detection is complete.
drive.
If it has been successfully completed, set the parameters for the next
drive and execute the drive.
Set drive function
Set the parameters required for the target drive.
⑧
parameters.
Execute the target drive.
⑨
Execute drive.
Do this operation when the initial value or the parameter valuethat
has been set needs to be changed.