How-to
SIMODRIVE 611 analog speed control from an S7-1200
Short answer
Yes, an S7-1200 drives a SIMODRIVE 611 Universal HR in analog speed control: one SM 1232 AQ channel feeds a differential 0-10 V setpoint scaled so the PLC counts match the drive's parameterized speed-at-10-V value, and the two enables come up behind a zero setpoint and drop only after ramp-down. Drive parameters live in SimoCom U on a separate serial PC; TIA Portal never sees the drive.
On this page
Yes, an S7-1200 runs a SIMODRIVE 611 Universal HR in analog speed control with one SM 1232 AQ channel and two 24 V digital outputs. The AQ feeds the drive's speed setpoint input as a differential pair, the PLC maps the speed command linearly onto the output's count range, and the two enables, pulse enable and controller enable, come up behind a zero setpoint and drop only after the spindle has ramped down. Motor data, ramp times and the speed the drive produces at full voltage are parameterized in SimoCom U over the serial interface, entirely outside TIA Portal. The steps below give the wiring, the scaling arithmetic, the enable sequence and the checks that prove each stage before the spindle turns.
What changes when the drive has no bus interface #
In analog operation the Universal HR control module (order number 6SN1118-1NH01-0AA1) is not a fieldbus node. TIA Portal never sees it: no GSD file is imported, no drive object appears in the project, and the only PROFINET devices the project manages are the ones you configured, such as the IO-Link master and the HMI panel. A GSD matters only when the control module runs its bus option, and that option would also need a PROFIBUS master module on the S7-1200.
That is the working difference from cyclic telegram control of a PROFINET servo drive, where the setpoint, the control word and the status word travel inside the telegram and the drive is a configured node with bus diagnostics.
The parameterization split follows from this. The drive tool SimoCom U talks to the control module over its serial parameterization interface, on a PC of its own, so a TIA Portal version change cannot break it. Keep that PC at the bench: a panel PC mounted at the test bench holds the parameterization station in place between commissioning runs. Upload the complete parameter set before your first edit and archive the file with the bench documentation.
Wire the setpoint as a differential pair #
The SM 1232 AQ sources voltage against its own M terminal, which sits on the module's supply return. The drive's speed setpoint input is differential-capable with a reference terminal of its own: land the AQ output on the setpoint input and the AQ reference on that terminal, and take the designations from the Universal HR connection diagram rather than assuming them.
Use shielded twisted pair, terminate the shield at the drive end, and bond the supply returns of the PLC and drive at one point. A second shield termination at the PLC end is acceptable only where both cabinets share a low-impedance equipotential bond; otherwise it forms a ground loop that shows up as speed ripple.
Prove the pair with the enables off. Force the channel to 0 and measure at the drive terminals, not at the module: expect 0 V within the meter's resolution, and a steady offset of tens of millivolts at the drive end but not at the module points at the reference wiring. Then force full scale and expect 10 V at the same terminals.
Map the speed command to output counts #
Siemens documents the S7-1200 analog range as -10 V to +10 V corresponding to -27648 to +27648 counts, so the positive half of that range gives a 0-10 V setpoint as counts 0 through 27648.
The speed the drive produces at full voltage is a drive parameter set in SimoCom U, not a PLC constant. This example sets it to 18,000 rpm, the spindle motor's rated maximum. Use the value in your own parameter set: the PLC constant and the drive parameter must be identical, or every commanded speed comes out as a constant fraction of itself.
SpeedCmd : REAL := 0.0; // operator speed command, rpm
SpeedAt10V : REAL := 18000.0; // drive parameter: speed at 10 V, rpm
SetpointRaw : REAL := 0.0; // intermediate result, counts
SetpointOut : INT := 0; // written to the SM 1232 AQ channel, counts
SetpointRaw := SpeedCmd / SpeedAt10V * 27648.0;
IF SetpointRaw < 0.0 THEN SetpointRaw := 0.0; END_IF;
IF SetpointRaw > 27648.0 THEN SetpointRaw := 27648.0; END_IF;
SetpointOut := REAL_TO_INT(SetpointRaw);
Worked example: command 6,000 rpm. 6000 / 18000 * 27648 = 9216 counts, and 9216 / 27648 * 10 = 3.33 V at the drive terminals. Prove it in the watch table by forcing SpeedCmd to 6000.0: SetpointOut reads 9216 and the meter reads 3.33 V. Repeat at one low and one high point to confirm linearity.
| Speed command (rpm) | Setpoint voltage (V) | AQ counts |
|---|---|---|
| 1,000 | 0.56 | 1536 |
| 3,000 | 1.67 | 4608 |
| 6,000 | 3.33 | 9216 |
| 12,000 | 6.67 | 18432 |
| 18,000 | 10.00 | 27648 |
Clamp the low limit at 0 counts: the channel is bipolar, a negative count writes negative voltage, and a bipolar-parameterized speed input treats that as a reverse command. Clamp the high limit at the spindle's rated speed rather than at full scale. The same real-to-counts conversion sits at the end of the loop when scaling a PID real output to analog output counts, so an existing closed-loop block can drive this channel unchanged.
Bring up the drive through the two enables #
The 611 separates power and control: pulse enable releases the inverter's trigger pulses, controller enable releases the speed controller to follow the setpoint. On this bench Q1 lands on X411.3 and Q2 on terminal 663, switched as 24 V DC from the DC/DC/DC CPU with the enable inputs referenced to the drive's supply return. Enable terminal functions differ across 611 module variants, so read those two terminals against the terminal table of your exact control module; a swapped pair leaves the drive disabled with a perfectly correct setpoint on its input.
Run the sequence in this order:
- Connect SimoCom U, upload the parameter set, and confirm the two numbers the PLC mirrors: the speed-at-10-V value and the ramp times.
- Write 0 counts to the AQ channel and hold it there.
- Apply pulse enable: the power stage goes ready and the shaft must stay still.
- Apply controller enable: with the setpoint still at zero there must be no motion.
- Ramp the command up, confirm the direction, and watch the independent rpm tag follow the counts table.
- To stop, ramp to 0 counts and wait for standstill before dropping controller enable and then pulse enable; time that stop state beyond the parameterized ramp-down plus margin, for example a 15 s stop delay behind a 10 s ramp.
An enable applied against a nonzero setpoint accelerates the spindle immediately at the drive's own ramp rate, so prove the whole sequence with the spindle uncoupled and the bench clear.
Dropping the enables at standstill means the next run begins from a known zero, and a mid-profile abort still lands the spindle at rest before the power stage opens.
Prove it before an overnight run #
Acceptance is measured, not commanded: the independent rpm sensor on the shaft is the reference instrument, and its accuracy specification sets the tolerance band. Watch the drive's status and fault display through the first supervised hours, because a latched drive fault looks from the PLC exactly like a wiring fault.
| Symptom | Likely cause | Discriminating check |
|---|---|---|
| Shaft does not turn, setpoint voltage present at the terminals | Enable not reaching the drive, swapped enable pair, or a latched drive fault | Read the drive status display; measure 24 V at both enable terminals |
| Speed is a constant fraction of the command | PLC constant differs from the drive parameter | Compare both; actual divided by commanded equals parameter divided by PLC constant |
| Spindle creeps at a zero command | Analog offset or a reference-potential difference | Measure the input with the channel forced to 0; correct the reference wiring, then the drive's offset compensation |
| Speed ripple that tracks nothing in the PLC | Ground loop or shield termination | Scope the setpoint at the drive terminals |
The decision for each case #
Analog-only 611 Universal HR on an S7-1200: proceed with the interface above, because the analog path needs no bus hardware, no GSD and no version coupling between the programming tool and the drive tool; one scaled channel is the whole setpoint path. Unattended overnight runs: defensible once an alarm-driven stop on the vibration and temperature tags ramps to zero and drops both enables, the channel's behavior on CPU stop writes its 0-count substitute value instead of freezing the last setpoint, and the drive's internal monitoring stays active so protection never rests on the PLC alone; drive age is not the limiting factor, the stop architecture is. Torque control, coordinated motion or drive diagnostics in the project: the analog interface cannot carry those, and that requirement belongs to the bus option and a telegram-based interface instead.
Questions asked
Does TIA Portal V21 need a GSD file or a matching SimoCom U version for this setup?
No. In analog operation the 611 Universal HR is not a bus node, so TIA Portal never sees it, no GSD is imported and there is no version pairing to manage. SimoCom U connects over the control module's serial parameterization interface on a separate PC and shares nothing with TIA Portal, so the two tools cannot conflict. Upload the full parameter set before your first edit and archive it with the bench documentation.
What happens if the setpoint drops to 0 V while both enables stay on?
The speed controller stays active and holds the shaft at zero speed with the power stage still energized, so the drive is stopped but not disabled. That holding state is why the stop sequence ramps to zero, waits for standstill, then drops controller enable before pulse enable. At standstill the transition is torque-free.
How many counts is one volt on the SM 1232 AQ?
The documented mapping gives 27648 counts for 10 V, so one volt is 2764.8 counts. For a speed command, counts = rpm * 27648 / the speed-at-10-V value parameterized in the drive. With that parameter at 18,000 rpm, one rpm is 1.536 counts and 6,000 rpm is 9216 counts, which the meter confirms as 3.33 V.
Why does the 611 use two separate enable signals instead of one?
The split lets you hold the power stage ready while the speed controller stays blocked, and release the controller only once the setpoint is present and valid. Sequencing pulse enable first and controller enable second, both behind a zero setpoint, avoids an uncontrolled burst at power-up and makes every stop end with the controller blocked before the trigger pulses open.