Skip to main content
Siemens · Level 01 practical guide

SINAMICS G120 Fixed Speed Setpoints: Macro 1 and Macro 3

See how macro 1 and macro 3 map the inputs, try the additive fixed-speed selector live, and commission it safely.

2,500+ engineers trained 4.9/5 Google rating 21+ years, Chinchwad, Pune Next batch: contact for dates
Quick answer

On a CU240E-2, macro 1 (p0015 = 1) gives two fixed speeds (p1003, p1004) with separate run right/left inputs. Macro 3 (p0015 = 3) gives four (p1001–p1004), and DI0 both starts the drive and selects fixed speed 1. Active selections add together; check the result in r1024.

  • In macro 3, DI0 and DI1 change purpose.
  • Two active presets add (10 + 15 = 25).
  • Selecting a speed does not start the drive on its own.
  • PLC transitions must be break-before-make.

Choose Fixed Speeds for Repeatable Machine Stages

Fixed speeds suit machines with a few known stages, such as slow inspection, transfer and production. For each stage, record the direction, speed, selector contacts and stop requirement before you touch the drive.

Machine stages mapped to G120 fixed speed setpoints animationA conveyor cycles through stopped, slow inspection, transfer and production stages, each mapped to a fixed speed setpoint selected by digital inputs.Machine stages → fixed speeds (macro 3, values in Hz)Stoppedr1024 = 0DI0 offspeed requestInspection (slow)r1024 = 5DI0 (ON + FS1)speed requestTransferr1024 = 5 + 8 = 13DI0 + DI1speed requestProductionr1024 = 5 + 15 = 20DI0 + DI5speed request
Macro 3: DI0 starts the drive and selects FS1, so every running stage includes p1001. Values are illustrative.

Macro 1 vs Macro 3: Input Mapping

SINAMICS G120 macro 1 versus macro 3 input mapping animationMacro 1 uses DI0 and DI1 as run right and run left with DI4 and DI5 selecting fixed speeds 3 and 4; macro 3 uses DI0 as ON plus fixed speed 1, DI1 for fixed speed 2, DI4 and DI5 for fixed speeds 3 and 4; DI2 acknowledges faults in both.Same terminals, different jobsDI 0DI 1DI 2DI 4DI 5p0015 = 1 · two fixed speeds + two directionsON/OFF1 rightON/OFF1 leftAcknowledgeFixed speed 3 · p1003Fixed speed 4 · p1004p0015 = 3 · four fixed speeds (DI0 also starts)ON/OFF1 + fixed speed 1 · p1001Fixed speed 2 · p1002AcknowledgeFixed speed 3 · p1003Fixed speed 4 · p1004← changes← changes
Macro 3 is not macro 1 plus two inputs: DI0 and DI1 change purpose. Label the panel for the macro actually in use (CU240E-2).
SelectionMacro 1Macro 3
Preset parametersp1003, p1004p1001 – p1004
Start / directionDI0 ON/OFF1 right · DI1 ON/OFF1 leftDI0 ON/OFF1 + fixed speed 1
Speed inputsDI4 → speed 3 · DI5 → speed 4DI1 → 2 · DI4 → 3 · DI5 → 4
Fault acknowledgeDI2DI2
Several activeValues addValues add

Practise macros on a real G120

Hands-on SINAMICS G120 training on live hardware, covering macros, fixed speeds, analogue scaling and PLC control — Pune or online.

Book a Free Demo Class

EPLAN Wiring: 2 Fixed Speeds (Macro 1) and 4 Fixed Speeds (Macro 3)

Each macro gets its own sheet, because the same terminals are wired to different devices. Sheet 1 uses a three-position direction selector for macro 1; sheet 2 uses a maintained run switch on DI0 for macro 3, since DI0 also adds fixed speed 1.

Step 1 / 8
G120 macro 1 EPLAN-style wiring: two fixed speeds with direction selectorCU240E-2 macro 1: three-position selector -S1 on DI0 run right and DI1 run left, -S3 acknowledge on DI2, -S4 and -S5 on DI4 and DI5 selecting fixed speeds 3 and 4 (p1003, p1004), DI COM1 and DI COM2 to M, fault lamp on relay DO0.0123456789ABCDEFSoftwell AutomationIndustrial Automation Training · PuneEPLAN-style training drawing=DRV+CP1 · SINAMICS G120 drive panelMacro 1 · 2 fixed speeds + directionDrive: PM240-2 + CU240E-2Macro p0015 = 1Wiring: source (PNP) · PELV 24 VIEC 81346 · IEC 60204-1Rev: B (best practice)Reviewed: B. K. SinghSheet1 / 2L+PELV 24 V, fusedMCU supplyDI COM1 → MDI COM2 → M (DI4/DI5)GND → M-U1 SINAMICS CU240E-2 · macro 1p1003 = fixed speed 3 · p1004 = fixed speed 4 · p1016 = 1 (direct, additive)3124 V IN5DI06DI17DI216DI417DI520DO0 COM320 V IN69DI COM134DI COM219DO0 NO28GNDX1:1-S1RIGHTX1:2-S1LEFT-S1 selector L–0–Rone contact at a timeX1:3-S3ackX1:4-S4FS3p1003X1:5-S5FS4p1004-S4 + -S5 both on→ p1003 + p1004 (adds)-H1fault⚠ DI4 / DI5 = F-DI0 on CU240E-2Used here as standard inputs for speeds 3/4.If STO via F-DI0 is needed: other macroor a separate safety circuit.Wire colours · IEC 60204-1AC power L1–L3 / U–W (black)Neutral N (light blue)DC control L+ (dark blue)DC 0 V M (blue-white)PE (green-yellow)G120 macro 3 EPLAN-style wiring: four fixed speedsCU240E-2 macro 3: -S1 on DI0 gives ON plus fixed speed 1, -S2 on DI1 fixed speed 2, -S4 on DI4 fixed speed 3, -S5 on DI5 fixed speed 4, -S3 acknowledge on DI2, DI COM1 and DI COM2 to M, fault lamp on relay DO0.0123456789ABCDEFSoftwell AutomationIndustrial Automation Training · PuneEPLAN-style training drawing=DRV+CP1 · SINAMICS G120 drive panelMacro 3 · 4 fixed speedsDrive: PM240-2 + CU240E-2Macro p0015 = 3Wiring: source (PNP) · PELV 24 VIEC 81346 · IEC 60204-1Rev: B (best practice)Reviewed: B. K. SinghSheet2 / 2L+PELV 24 V, fusedMCU supplyDI COM1 → MDI COM2 → M (DI4/DI5)GND → M-U1 SINAMICS CU240E-2 · macro 3p1001 … p1004 = fixed speeds 1–4 · p1016 = 1 (direct, additive) · DI0 = ON + FS13124 V IN5DI06DI17DI216DI417DI520DO0 COM320 V IN69DI COM134DI COM219DO0 NO28GNDX1:1-S1ON + FS1p1001run switch (maintained)X1:2-S2FS2p1002X1:4-S4FS3p1003X1:5-S5FS4p1004Request = p1001 (always, DI0)+ p1002 if DI1 + p1003 if DI4+ p1004 if DI5X1:3-S3ack-H1fault⚠ DI4 / DI5 = F-DI0 on CU240E-2Used here as standard inputs for speeds 3/4.If STO via F-DI0 is needed: other macroor a separate safety circuit.Wire colours · IEC 60204-1AC power L1–L3 / U–W (black)Neutral N (light blue)DC control L+ (dark blue)DC 0 V M (blue-white)PE (green-yellow)
  1. Supply and commonsFused PELV L+ goes to CU terminal 31, and 32 goes to M. Both DI commons go to M for source wiring: DI COM1 (69) for DI0–DI3 and DI COM2 (34) for DI4/DI5. If 34 is forgotten, the speed inputs never switch.
  2. Direction: one selector, two contactsIn macro 1, DI0 is ON/OFF1 right and DI1 is ON/OFF1 left. A three-position selector -S1 (L–0–R) makes the two run commands mechanically exclusive, which is better than two separate switches.
  3. Two fixed speeds + acknowledge-S4 → DI4 selects fixed speed 3 (p1003) and -S5 → DI5 selects fixed speed 4 (p1004). Both on gives p1003 + p1004. If only one may be active, use a selector. -S3 is the fault acknowledge pushbutton on DI2.
  4. Fault relay and the DI4/DI5 cautionRelay DO0 (20 → 19) lights -H1 on a fault. On the CU240E-2, DI4/DI5 are also the F-DI0 safety pair, so plan STO separately if it is required.
  5. Supply and commonsSame as macro 1: 31/32 for CU supply, DI COM1 (69) and DI COM2 (34) to M, GND (28) to M.
  6. DI0 = run AND fixed speed 1In macro 3, the maintained switch -S1 on DI0 gives ON/OFF1 and also selects fixed speed 1 (p1001). FS1 is part of every running request, so set p1001 with that in mind.
  7. Speed selectors FS2–FS4-S2 → DI1 (p1002), -S4 → DI4 (p1003), -S5 → DI5 (p1004). Every active input adds to p1001. Check each contact with r0722 and the result with r1024.
  8. Acknowledge and fault relay-S3 → DI2 acknowledges faults. Relay DO0 → -H1. The same DI4/DI5 safety caution applies.
EPLAN-style drawings with IEC 81346 tags. Sheet 1 = macro 1 (2 fixed speeds), sheet 2 = macro 3 (4 fixed speeds). Orange marks the circuit being explained.
DeviceTerminalMacro 1 (2 fixed speeds)Macro 3 (4 fixed speeds)Check
-S15 (DI0)ON/OFF1 right (selector R)ON/OFF1 + fixed speed 1 (p1001)r0722.0
-S1 / -S26 (DI1)ON/OFF1 left (selector L)Fixed speed 2 (p1002)r0722.1
-S37 (DI2)AcknowledgeAcknowledger0722.2
-S416 (DI4)Fixed speed 3 (p1003)Fixed speed 3 (p1003)r0722.4
-S517 (DI5)Fixed speed 4 (p1004)Fixed speed 4 (p1004)r0722.5
M69, 34, 28, 32DI COM1, DI COM2, GND, 0 Vsame—
L+31 · 20 → 19CU supply · fault relay → -H1same—

Training drawings for a CU240E-2. Check terminals and macros against the manual for your CU and firmware. Power circuit, EMC and STO wiring: G120 wiring and terminal parameters.

Additive Selection: Try the Selector Live

A preset number is an identifier, not its speed. With direct selection (p1016 = 1), every active input adds its value. Switch inputs below and watch r0722, r1024 and the motor respond.

r0722 bits (DI 0 … 5)
000000
r1024 fixed-speed request
r1024 = 0
0 Hz
Stopped

Illustrative values: p1001 = 5, p1002 = 8, p1003 = 10, p1004 = 15 (Hz), max 50 Hz. Click the inputs, or let the demo run.

ParameterMeaning
p1001 – p1004Fixed speed setpoint 1 – 4 (in the displayed unit, Hz or rpm)
p1016Fixed-speed mode: 1 = direct (additive), 2 = binary
p1020 – p1023Selection inputs, connected by the macro (e.g. p1022 = r0722.4)
r1024Resulting fixed-speed request, before limits and ramps
r0722Digital input status bits

PLC Selector Transitions

When a PLC changes stage, both preset outputs can be on for one scan and the request spikes. Make the rule “one preset at a time” explicit in the PLC, and test the transition as well as each steady state.

PLC fixed speed transition timing animationIf a PLC turns on the new fixed speed output before turning off the old one, both presets add for one scan and the request briefly jumps to 25; an interlock that drops the old output first avoids the spike.PLC → FS3 (DI4)PLC → FS4 (DI5)r1024 requesttime →1010 + 15 = 25 for one scan ⚠15Overlap (make-before-break): speed spike between stages1015Break-before-make interlock in the PLC: one preset at a time ✓
Test the transition, not just each steady state. Ramps smooth the spike, but the logic should still be correct.

Commission in a Controlled Sequence

Fixed speed commissioning sequence animationEight steps light in order: back up the project, isolate and check wiring, basic commissioning, apply macro 1 or 3, enter preset values with limits and ramps, test contacts with r0722, run at low speed, and save and back up.1Back upproject2Isolate &check wiring3Basiccommissioning4Applymacro 1 / 35p1001–p1004,limits, ramps6r0722contact test7Low-speedrun test8Save &back up
Applying a macro can overwrite earlier assignments, so back up first and compare afterwards.

At step 6, keep motion prevented and record which r0722 bit changes for each contact; don’t rely on wire labels. Run step 7 at a low approved speed in a controlled area, watching the requested and actual speed and the stop response.

Troubleshoot Unexpected Speeds

SymptomCheck firstEvidence
Speed higher than expectedTwo presets active (or DI0 adding FS1 in macro 3)r0722 bits, r1024
Selector changes, request does notActive command data set / setpoint routingOnline connections, parameter compare
Correct request, no movementRun permissives, drive state, faultsStatus word, fault history
Correct until power is removedNon-volatile save (p0971)Backup version, post-startup compare

Change one thing at a time. When the process needs a continuously variable speed, continue with macro 12 analogue speed scaling.

Practical Lab: Prove the Selector Logic

Hands-on
Before you start
  • A G120 with a CU240E-2 on a training rig, motor uncoupled or on a light load.
  • Selector switches on DI0, DI1, DI2, DI4 and DI5, and the manual for your firmware. Estimated time: 40 minutes.
1

Prepare the test sheet

Use five columns: switch state, r0722 bits, selected presets, expected r1024, measured result.

Each test row is planned before you operate a contact.
2

Macro 1 tests

With a run command on DI0, test no preset, DI4 only, DI5 only, then DI4 + DI5.

The results match 0, p1003, p1004 and p1003 + p1004.
3

Macro 3 tests

Include DI0 in every running test: DI0, DI0 + DI1, DI0 + DI4, DI0 + DI5.

Every result includes p1001, because DI0 also selects fixed speed 1.
4

No-run check

Select DI1, DI4 or DI5 without DI0 (macro 3), or without DI0/DI1 (macro 1).

The motor stays stopped, so a zero request is not mistaken for a stop.
5

Stop test in every state

Use the documented stop in each permitted state.

The motor stops correctly from every stage.
6

Record and back up

Save (p0971 = 1), power-cycle, compare parameters, and attach the record.

The commissioning record matches the drive after a restart.
Checkpoint — how to know you did it right

The input record, calculated request and observed state agree in every row, and the stop works from every permitted state.

Frequently asked questions

How do I wire SINAMICS G120 fixed speeds for macro 1 and macro 3?

Supply the CU240E-2 on 31/32 and take DI COM1 (69) and DI COM2 (34) to M for source wiring. For macro 1, wire a three-position selector to DI0 (right) and DI1 (left), and switches to DI4 and DI5 for fixed speeds 3 and 4. For macro 3, wire a maintained run switch to DI0 (ON plus fixed speed 1) and switches to DI1, DI4 and DI5 for fixed speeds 2–4. DI2 acknowledges faults in both. Check each input with r0722 and the result with r1024.

Do macros 1 and 3 use binary speed selection?

No. The documented configurations use direct selection (p1016 = 1), where each active input adds its preset. Several active inputs are not a binary preset number unless you deliberately configure binary mode.

Why is my G120 running faster than the fixed speed I set?

Two or more preset inputs are active together and their values add. In macro 3, DI0 also selects fixed speed 1, so p1001 is always part of the running request. Check r0722 and r1024.

Does selecting a speed always start the drive?

No. Macro 1 has separate run commands on DI0 (right) and DI1 (left). In macro 3, DI0 combines ON/OFF1 with fixed speed 1, so selecting DI1, DI4 or DI5 without DI0 does not start the motor.

Which parameters hold the fixed speed values?

p1001 to p1004 hold fixed speeds 1 to 4. The macro connects the selection inputs p1020 to p1023 to the digital inputs, and r1024 shows the resulting fixed-speed request.

How should a PLC switch between fixed speeds?

Drop the old preset output before setting the new one (break-before-make), or interlock so only one preset is active. Otherwise both presets add for a scan and the request spikes.

Can I copy these values to any G120?

No. Use the manual for your exact control unit and firmware, and confirm the available macros, input assignments, units and machine limits before applying a configuration.

Technical references

Use the edition that matches your hardware and firmware. The manuals establish the device facts; the worked values and animations here are training examples.

Reviewed by Bhawesh Kumar Singh Industrial Automation Trainer and Industry 4.0 Consultant · Softwell Automation · 21+ years industry experience

Get the full syllabus + free demo class

Share your details — a Softwell training advisor will call you within 24 hours with batch dates, fees and hardware access options.

No spam. Used only to share course details for this enquiry.

Learn with practical industrial examples

Join live online, Pune classroom or corporate in-plant automation training.

Request Course Details
Verified learning pathway

Turn This Concept into a Practical Skill

Apply this topic through PLC, SCADA, networking or Industry 4.0 laboratory exercises.

Content reviewed: 29 October 2026

☎ Call WhatsApp ✉ Email Enquire Now