Operation Of Motion Control For S7-1200; Cpu Outputs Used For Motion Control - Siemens S7-1200 System Manual

Hide thumbs Also See for S7-1200:
Table of Contents
Table 9- 55
Condition codes for ERRORID and ERRORINFO
ERRORID
ERRORINFO
(W#16#...)
(W#16#...)
0
0
8410
0028
8410
0029
8410
0030
8411
0032
TO parameters
The axis "MotionStatus" consists of four values. You will want to monitor changes in these
values, which can be read while the program is running:
Variable name
MotionStatus:
9.3.6

Operation of motion control for S7-1200

9.3.6.1

CPU outputs used for motion control

The CPU provides four pulse output generators. Each pulse output generator 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.
The PTO output generates a square wave output of variable frequency. Pulse generation is
controlled by configuration and execution information supplied through H/W configuration
and/or SFCs/SFBs.
Based upon the user's selection while the CPU is in RUN mode, either the values stored in
the image register or the pulse generator outputs drive the digital outputs. In STOP mode,
the PTO generator does not control the outputs.
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. Only PTO
(Pulse Train Output) applies to motion control.
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG
Description
Successful read of a parameter
Invalid parameter (incorrect length)
Invalid parameter (no TO-DB)
Invalid parameter (not readable)
Invalid parameter (wrong value)
Position
Velocity
Distance
TargetPosition
Data type
Structure
REAL
REAL
REAL
REAL
Technology instructions
9.3 Motion control
Readable through
MC_ReadParam
No
Yes
Yes
Yes
Yes
481
Table of Contents
loading

Table of Contents