102BTechnology instructions
9.3 Basic motion control
S7-1200 Programmable controller
348
System Manual, 11/2011, A5E02486680-05
0&B3RZHU
$[LV
(QDEOH
6WDWXV
%XV\
(UURU
(UURU,'
(UURU,QIR
6WRS0RGH
$[LVB
(QDB
6WDWXVB
%XV\B
(UURUB
$[LV
([HFXWH
'RQH
%XV\
(UURU
(UURU,'
(UURU,QIR
$[LVB
([HB
'RQHB
%XV\B
0&B5HVHW
W
W
W
W
W
W
W
W
W
0&B3RZHU
0&B5HVHW
(QDB
([HB
6WDWXVB
%XV\B
'RQHB
%XV\B
(UURUB
'ULYH(QDEOHG
'ULYH5HDG\
'ULYH,QWHUIDFH
①
An axis is enabled and then disabled again. After the drive has signaled "Drive ready" back to the CPU, the
successful enable can be read out via "Status_1".
②
Following an axis enable, an error has occurred that caused the axis to be disabled. The error is eliminated and
acknowledged with "MC_Reset". The axis is then enabled again.
To enable an axis with configured drive interface, follow these steps:
1.
Check the requirements indicated above.
2.
Initialize input parameter "StopMode" with the desired value. Set input parameter
"Enable" to TRUE.
The enable output for "Drive enabled" changes to TRUE to enable the power to the drive.
The CPU waits for the "Drive ready" signal of the drive.
When the "Drive ready" signal is available at the configured ready input of the CPU, the
axis becomes enabled. Output parameter "Status" and technology object tag <Axis
name>.StatusBits.Enable indicates the value TRUE.
To enable an axis without configured drive interface, follow these steps:
1.
Check the requirements indicated above.
2.
Initialize input parameter "StopMode" with the desired value. Set input parameter
"Enable" to TRUE. The axis is enabled. Output parameter "Status" and technology object
tag <Axis name>.StatusBits.Enable indicate the value TRUE.
To disable an axis, follow these steps:
1.
Bring the axis to a standstill.
You can identify when the axis is at a standstill in technology object tag <Axis
name>.StatusBits.StandStill.
2.
Set input parameter "Enable" to FALSE after standstill is reached.
3.
If output parameters "Busy" and "Status" and technology object tag <Axis
name>.StatusBits.Enable indicate the value FALSE, disabling of the axis is complete.