Configuring Speed Reference Scaling for SINAMICS G120 with Drive ES APL Block FB1721 in PCS 7
In SIMATIC PCS 7 v8.1 SP1, speed setpoint discrepancies when controlling a SINAMICS G120 drive via Drive ES PCS 7 APL block APL_GS (FB1721) occur due to a scaling mismatch between the controller block parameters and the drive's reference frequency parameter p2000. In the PROFIdrive profile, 100% nominal speed is transmitted as hexadecimal 16#4000 (16384 decimal). To ensure accurate speed reference control, parameter RefSpeed on FB1721 must match p2000 in the inverter, the CFC scale structure SP_OpScale must reflect physical RPM units, and the drive must be in valid Automatic (SP_Ext) or Manual mode.
Table of Contents
- PROFIdrive Speed Reference Architecture and Telegram Scaling
- Drive ES PCS 7 APL Block FB1721 (APL_GS) Parameter Structure
- Aligning Reference Speed (p2000) with Block Scaling in CFC
- Troubleshooting Mode Selection and Setpoint Clamping
- Verification
- Limitations and Operational Precautions
- Engineer FAQ
- Technical References
- Related Articles
- Related Tags
PROFIdrive Speed Reference Architecture and Telegram Scaling
In SIMATIC PCS 7 systems, integrating variable speed drives such as the SINAMICS G120 (6SL3210-1PE21-8UL0) over PROFIBUS DP or PROFINET IO utilizes the standardized PROFIdrive profile (e.g., Standard Telegram 1, 20, or Siemens Telegram 352).
Cyclic communication exchanges two primary process words:
* STW1 / ZSW1: Control Word 1 and Status Word 1.
* NSOLL_A / NIST_A: 16-bit signed integer representing Speed Setpoint and Speed Actual Value.
In PROFIdrive standardization:
* The integer value 16#4000 (hexadecimal), or 16384 (decimal), represents 100.0% of the drive's reference speed.
* In the SINAMICS G120 inverter parameters, reference speed is defined by parameter p2000 (typically set to motor rated speed, e.g., 1500.0 RPM or 50.0 Hz).
* If the PLC driver block and inverter assume different reference speeds, the physical motor speed will diverge significantly from operator setpoints.
Drive ES PCS 7 APL Block FB1721 (APL_GS) Parameter Structure
The Drive ES PCS 7 APL library provides function block APL_GS (FB1721), combining APL look-and-feel with native PROFIdrive communication:
SP_ExtREAL (STRUCT)SP_IntREALRefSpeedREALp2000 in the G120 drive.SP_OpScaleSTRUCTSP_HiLim / LoLimREALOut / ActSpeedREAL (STRUCT)NIST_A back into physical engineering units.Table 1: Key parameters of Drive ES PCS 7 APL block FB1721.
Aligning Reference Speed (p2000) with Block Scaling in CFC
To ensure that a 1000 RPM setpoint command produces exactly 1000 RPM at the motor shaft:
- Verify Inverter Reference Parameters:
* Open the drive parameterization tool (STARTER or Startdrive).
* Check parameterp2000(Reference Speed, e.g.,1500.0 RPM).
* Check parameterp1082(Maximum Speed, e.g.,1500.0 RPM). - Configure FB1721 in CFC:
* In SIMATIC Manager, open the CFC chart containing theAPL_GSblock.
* Set parameterRefSpeed = 1500.0.
* ExpandSP_OpScale: setHigh = 1500.0andLow = 0.0.
* SetSP_HiLim = 1500.0andSP_LoLim = 0.0. - Mathematical Normalization in Block Execution:
* When an operator inputsSP = 750.0 RPM, the block calculates:
$$\text{Telegram Value} = \frac{750.0}{1500.0} \times 16384 = 8192 \quad (16#2000)$$
* The inverter receives16#2000(50%) and runs at $0.5 imes 1500 = 750 ext{ RPM}$. Mismatches disappear completely.
Troubleshooting Mode Selection and Setpoint Clamping
If setpoint adjustments produce zero motor speed response despite correct scaling:
* Operating Mode Interlocks: Verify whether the block is in Auto or Manual mode. If ModLiOp = 1 (linking interface priority), the block enforces automatic mode and ignores manual setpoints.
* Setpoint Limits (SP_HiLim / SP_LoLim): If SP_HiLim defaults to 0.0, the block clamps all positive setpoints to zero.
* Enable Signals (EnFwd / EnRev): Verify that forward rotation is enabled (EnFwd = TRUE). If directional enables are missing, setpoint generation is suppressed.
Verification
To confirm proper speed reference operation:
- In CFC test mode, verify that
RefSpeedmatchesp2000. - In WinCC Runtime, open the G120 faceplate.
- Switch the drive to Manual mode and enter setpoint
SP = 750.0 RPM. - Start the drive: confirm that motor actual speed feedback (
ActSpeed) accelerates steadily and stabilizes at750.0 RPM. - Check STARTER online monitor: verify that parameter
r2050[1](received speed setpoint) reads50.0%(16#2000) and output frequency reflects 25.0 Hz.
Limitations and Operational Precautions
- Never modify parameter
p2000in the G120 inverter without simultaneously updatingRefSpeedon the CFC block; altering reference speed in the drive without PLC alignment will distort all process control loops. - Drive ES PCS 7 APL requires appropriate engineering and runtime licenses (
6SW1700-5JD00-1AA0). Always validate licensing packages with an authorized Siemens distributor. - Ensure maximum acceleration/deceleration ramp times in the drive (
p1120,p1121) coordinate with upstream ramp limiters on FB1721 to prevent mechanical drive train jerking.
Engineer FAQ
What is the difference between standard FbDrive and Drive ES APL_GS?
FbDrive (FB179) is a basic driver block from the standard library that only handles raw telegrams. APL_GS (FB1721) from Drive ES APL includes full APL operating modes, interlocks, feature bits, and high-resolution faceplates.
Can FB1721 control non-Siemens drives running PROFIdrive?
Yes. Any third-party variable frequency drive supporting PROFIdrive Standard Telegram 1 or 20 can be controlled using APL_GS, provided telegram structures align.
Why does the faceplate show an exclamation mark on the speed reading?
An exclamation mark indicates invalid signal status (ST < 16#80), typically caused by a fieldbus communication loss or inverter fault.
Technical References
- Drive ES PCS 7 APL Function Block Manual (A5E35003980)
- SINAMICS G120 with CU240B/E-2 Operating Instructions (A5E02999880)
- PROFIdrive Profile Drive Technology Standard (IEC 61800-7)
- Siemens Industry Online Support: Integrating SINAMICS G120 into PCS 7 (Entry ID 109780813)
Related Articles
- Simulating SINAMICS Drives and Motion Control: Comparing TIA Portal, SIMIT, and MATLAB/Simulink
- Understanding Process Value Normalization and Effective Gain in PCS 7 CTRL_PID and APL PIDConL
- Configuring PROFIBUS DP Slave I/O Addressing and Data Exchange in SIMATIC S7
- Integrating SIMOCODE pro V PN Profisafe Modules in PCS 7 and S7 F-Systems
Related Tags
- SINAMICS G120
- Drive ES
- APL_GS
- FB1721
- p2000
- PROFIdrive
- PCS 7 v8.1