102BTechnology instructions
9.3 Basic motion control
S7-1200 Programmable controller
System Manual, 11/2011, A5E02486680-05
367
9.3.3
Operation of motion control for S7-1200
9.3.3.1
CPU outputs used for motion control
The CPU provides one pulse output and one direction output for controlling a stepper motor
drive or a servo motor drive with pulse interface. The pulse output provides the drive with the
pulses required for motor motion. The direction output controls the travel direction of the
drive.
Pulse and direction outputs are permanently assigned to one another. Onboard CPU outputs
and outputs of a signal board can be used as pulse and direction outputs. You select
between onboard CPU outputs and outputs of the signal board during device configuration
under Pulse generators (PTO/PWM) on the "Properties" tab.
Table 9- 46 Address assignments of the pulse and direction outputs
Outputs PTO1
1, 2
Outputs PTO2
1, 2
CPU type
(CPU 1211C, CPU 212C, and CPU 1214C)
Pulse
Direction
Pulse
Direction
Without signal board
Qx.0
Qx.1
Qx.2
Qx.3
Qx.0
Qx.1
Signal boards DI2/DO2
3
Qy.0
Qy.1
Qx.2
Qx.3
Qx.0
Qx.1
Qx.2
Qx.3
DC/DC/DC
Signal boards DO4
4
Qy.0
Qy.1
Qy.2
Qy.3
Without signal board
-
-
-
-
Signal boards DI2/DO2
Qy.0
Qy.1
-
-
AC/DC/RLY
Signal boards DO4
Qy.0
Qy.1
Qy.2
Qy.3
Without signal board
-
-
-
-
Signal boards DI2/DO2
Qy.0
Qy.1
-
-
DC/DC/RLY
Signal boards DO4
Qy.0
Qy.1
Qy.2
Qy.3
1
x = Initial byte address of onboard CPU outputs (default value = 0)
2
y = Initial byte address of signal board outputs (default value = 4)
3
If a DC/DC/DC CPU variant is used together with a DI2/DO2 signal board, the signals of the PTO1 output can use either
the onboard CPU outputs (Qx.0 and Qx.1) or the outputs of the signal board (Qy.0 and Qy.1).
4
If a DC/DC/DC CPU variant is used together with a DO4 signal board, the signals of the PTO outputs can use either the
onboard CPU outputs (Qx.0 and Qx.1 for PTO1 and Qx.2 and Qx.3 for PTO2) or the outputs of the signal board (Qy.0
and Qy.1 for PTO1 and Qy.2 and Qy.3 for PTO2)