+086-15305925923

K-WANG

Service expert in industrial control field!
NameDescriptionContent
Adequate Inventory, Timely Service
pursuit of excellence 
Ship control system
Equipment control system
Power monitoring system
Current position:
新闻动态
newS
   
Brand

SIEMENS SIMATIC S7 300/400 operates MICROMASTER 4 (MM4) frequency converter through Profibus DP

From: | Author:Wang | Time :2025-11-27 | 208 visit: | Share:

SIEMENS SIMATIC S7 300/400 operates MICROMASTER 4 (MM4) frequency converter through Profibus DP

Core purpose and value of functional blocks

inverter control

Implement motor start stop: supports regular start stop (dependent on P1120 ramp up time, P1121 ramp down time) and quick stop (dependent on P1135 OFF3 ramp down time).

Set value transmission: Loop the speed set value in the form of percentages from * * -100% to+100% * *, and any changes will take effect in real-time.

Status feedback: Output signals such as motor rotation direction (O-Right/O-Left), actual frequency (O-Actual_frequency, range -100% to+100%), and shutdown status (O-STOP).

Automatic debugging

Batch/Replacement Scenario Adaptation: When debugging multiple MM4 units in bulk or replacing a single faulty unit, there is no need for PG/PC or professional debugging software. The PLC can automatically complete the parameter configuration of the new MM4.

Simplified debugging process: including quick debugging (P0010=1), motor recognition (requires motor cold state), and saturation characteristic recognition (only supported by MM440).

parameter management

Full parameter read and write: Read and write all parameters of MM4 through PKW communication, and the OP (operation panel) only supports parameter reading.

Parameter backup: Store the debugged parameters in the PLC's parameter DB (data block) for easy recovery in the future.

Diagnostic function

Multi dimensional error monitoring: covering MM4 faults/alarms, Profibus DP errors, parameter transmission errors, and automatic debugging errors.

Historical data recording: stores the latest and historical fault/alarm information (such as the fault codes and values of the last 3 faults), supports fault reset (I_RESET_Corr).


Scope and Limitations of Application

3.1 Applicable Equipment

Equipment type, specific model/specification

MM4 frequency converter MM411 V1.10, MM420 V1.17, MM430 V2.00, MM440 V2.05

Controller SIMATIC S7 300 (CPU 313-2DP and above) S7 400、C7、SINUMERIK

3.2 Not Applicable Devices and Limitations

Not applicable to controllers: SIMATIC S7 200, SIMATIC S5.

Function limitation: The system does not monitor whether the startup signal (I_Enable) meets safety conditions, and users need to provide additional protection in the program.

Installation and configuration process

4.1 Scenario without Drive ES Basic and Starter

Hardware configuration: Set the Profibus DP address of MM4 (no need to reset to factory settings).

HW Config operation:

Start HW Config in Step 7 and configure PLC hardware.

Select "MICROMASTER 4" in the "PROFIBUS-DP/SIMOVERT Catalog" and specify the DP address.

Select slot 1 and configure PPO type as PPO1 (4 PKW+2 PZD).

Program loading:

Save and compile HW Config, download to PLC module.

Copy the program blocks and symbol table from the functional block example to the user program, adapt them, load them into the PLC, and start them.

Debugging startup: Call the MM4 diagnostic interface of OP to troubleshoot DP errors, enter the debugging interface to enter motor data, start automatic debugging (set I2 Enable=0, I2 Enable QC=1, IOU_ Parameters=1), and execute motor recognition after completion.

4.2 Scenarios with Drive ES Basic and Starter

Hardware configuration: Follow step 1 of section 4.1 to set the DP address of MM4.

HW Config operation:

Configure PLC and MM4, select the corresponding MM4 version (refer to the equipment nameplate, such as "A01/2.05" corresponding to version 2.0x).

Pre allocate PPO type as PPO1 (PKW+PZD-2/2), fill in the I/O address of MM4 (PKW starting address, PZD address is PKW address+8).

Program and OP adaptation:

Load the program block and symbol table in step 3 of section 4.1.

Install OP project and adapt to "MM4" and "ParameterDB" text lists.

Debugging startup: The first debugging can be completed through Starter, and the parameters can be entered into the parameter DB; or the OP debugging interface can be directly called, and the subsequent process is the same as step 4 in 4.1.


Detailed explanation of key functions

5.1 Definition of Control and Feedback Signals

Parameter Name Type Direction Unit/Range Description

The starting I/O address of the PKW area configured in the I-Address INT IN - HW Config

I-Enable BOOL IN - Variable frequency drive enable signal, can only be set when O-Drive-ready=1

I-Fast-STOP BOOL IN - Fast Shutdown Signal: 0=Fast Shutdown (using P1135), 1=Normal Shutdown (default can be set to 1)

Setpoint INT IN -100~+100 speed setting value (percentage)

Actual operating frequency INT OUT -100~+100 (percentage)

O-Drive-ready BOOL OUT - Inverter ready signal: must meet the requirements of "shutdown, I-Fast-STOP=1, no faults, no debugging in progress"

O-Fault BOOL OUT - MM4 fault signal (excluding data transmission errors)

O-Data_ error BOOL OUT - Parameter transmission/automatic debugging error signal

IOU_ Parameters BOOL IN/OUT - Start automatic debugging signal (user set 1 to start, clear 0 after FB is completed)

5.2 Automatic Debugging Process

5.2.1 Parameter DB adaptation

Motor data area: Enter the required parameters for quick debugging (P0010=1), using motor dataset 0 by default; Multiple parameter DBs need to be created for multiple datasets, which can be specified through Z_Sotor_data_SBNr.

Technical data area: Enter other parameters that are not quick debugging, support sub parameters (sub parameter 0 is the first, such as data [2] indicating the presence of sub parameters 0 and 1), and match the data type of the parameters.

5.2.2 Parameter input method

Operation steps for input method

Method 1: The frequency converter has been debugged and set to I2 Enable=0 and I2 Enable QC=1;

2. Set IOUR_Parameters=1 to start data reading;

3. O-Data_transfer_running=1 indicates that the transfer is in progress, and after completion, IOUR_Parameters will automatically clear 0.

Method 2: 1. Enter parameters directly on the OP interface (only display the parameters that need to be changed);

2. Use initial values for other parameters and support leaving the DB list empty (for easy OP indirect addressing).

5.2.3 Automatic Debugging Steps

Restore MM4 to factory settings.

Perform quick debugging (transfer motor data area parameters).

Transmission technology data area parameters.

Save the parameters to the EEPROM of MM4.

After debugging is completed, perform motor identification (ensuring that there are no errors during debugging and the motor is in a cold state).

5.3 Parameter transmission mechanism

Communication method: Based on PKW communication, it supports three parallel parameter read/write requests (Job_1~Job_3), which are executed in the order of Job_1 → Job_2 → Job_3.

Request block structure (taking Job_1 as an example):

|Parameter Name | Type | Initial Value | Description|

|Job_1. Parameter-N | INT | 0 | Target parameter number (e.g. 1002 represents fixed frequency 2)|

|Job_1. Index | INT | 0 | Sub parameter number (set 0 when there is no sub parameter, set the last sub parameter number when there are multiple sub parameters)|

|Job_1. Identifier | Byte | B # 16 # 0 | Operation type: 1=Read single parameter, 2=Write RAM, 3=Write EEPROM, 11=Read multiple sub parameters, etc|

|Job_1. Value_2~2 | DINT | L # 0 | Transferred parameter values (used as needed, such as using only Value_0 for a single parameter)|

Control signal: Job.RWRequest_1~3 are request trigger signals (user set 1 to start, clear 0 after FB is completed); Data_fault.Job.RWRequest_1~3 are error signals corresponding to the requests.

5.4 Diagnostic mechanism

5.4.1 Classification of Error Sources

Malfunctions/alarms of MM4 (such as overcurrent and overvoltage).

Fault of standard FC (SFC14/SFC15).

The functional block itself is malfunctioning.

Parameter transmission and automatic debugging errors.

5.4.2 Key diagnostic signals and displays

Parameter Name Type Direction Description

When there is an alarm for O-Warning BOOL OUT, it is 1

O-Fault BOOL OUT MM4 fault is 1 (excluding data errors)

Resetting signal: clearing MM4 fault and data error display, interrupting debugging process (without interrupting parameter transmission)

Data_fault.Nr. INT STAT error number (e.g. 0=illegal parameter number, 17=request execution not allowed in running state)

Data_fault.DP_Add_info HEX STAT DP error details (e.g. 8090=no module specified address, corresponding to SFC14/SFC15 error)


Error code description

6.1 Data_fault.Nr. (Parameter transmission and debugging errors)

Error Number Meaning Remarks

0 Illegal Parameter Number (PNU) parameter does not exist in MM4

The parameter value cannot be modified. This parameter is a monitoring type parameter and can only be read

17. Due to operational status, the task cannot be executed. The current MM4 status does not support this request (such as changing motor data during operation)

25 DP error needs to be viewed in conjunction with Data_fault.DP_Add_info for details

Parameter number 1001 is currently not activated and depends on the running status of MM4. It can be operated after activation

6.2 Data_fault.DP_Add_info (DP Error Supplement)

Meaning of Error Code (W # 16 #)

8090 specifies logical address without configuration module

80A0 recognized access error while accessing I/O

The target range length of 80B0 does not match the network data length configured in Step 7

6.3 Data_fault.Fault_Commission

Error Number Meaning Remarks

1001 DP error needs to be investigated for Profibus DP connection and address configuration

1002 automatic debugging data error parameter DB has errors (such as parameter values exceeding the range)

1007 MM4 model incorrectly configured MM4 model does not match the actual connected device


Functional Block Technical Data

Project specifications

Block type FB

Block Name MM4

Generate language STL

Local data 36 bytes

MC7 code length 3166 bytes

Load memory requirement 4244 bytes

Working memory requirement 3202 bytes


  • HIMA F60AI801 PLC Module | Analog Input Module
  • HIMA F60MI2401 PLC Module | Modular Safety Automation
  • HIMA F8603 PLC Module | Safety Automation Control Module
  • HIMA K1412A PLC Module | Industrial Safety Module
  • HIMA K9203 PLC Module | Safety Automation Module
  • X-DO1201 HIMA Control Pulse Card | Digital Output Module
  • F6705 HIMA Analog Output Module | Safety Control Output Module
  • HIMA B9361 PLC Module | Safety Automation System Module
  • HIMA H41Q-HRS / H41QX PLC Module | Safety Automation Module
  • HIMA F3003 Controller Unit | HIMAtrix Compact Safety Controller
  • HIMA HIMatrix F1DI1601 PLC Module | Digital Input Module for Safety Systems
  • HIMA X-DI 64 51 PLC Module | Digital Input Module for Safety Automation
  • HIMA F30 Controller Unit HIMAtrix 01 OPEN | Safety PLC Controller
  • HIMA K9202B PLC Module | Safety-Oriented Control Module
  • HIMA F3DIO20802 Controller PLC Module | Digital I/O Control for Safety Automation
  • HIMA F8627-1 F8627X Communication Module | Safety System Communication Interface
  • HIMA B4237-2 PLC Module | Safety Control and Logic Processing Module
  • HIMA X-DO2401 PLC Module | Digital Output Module for Safety Automation
  • HIMA 22100 PLC Module | Industrial Safety Control and Logic Processing
  • HIMA 90100 PLC Module | Safety-Oriented Industrial Control Module
  • HIMA 895210001 PLC Module | Industrial Safety Control and Processing Module
  • HIMA 157528-0 PLC Module | Industrial Safety Control and Processing Module
  • HIMA B5322 PLC Module | Industrial Safety Control and Processing Module
  • HIMA BV7032 PLC Module | Industrial Safety Control and Processing Module
  • HIMA F3300 PLC Module | Industrial Safety Control and Processing Module
  • HIMA F7105A PLC Module | Industrial Safety Control and Processing Module
  • HIMA F7150 PLC Module | Industrial Safety Control and Processing Module
  • HIMA F7508 PLC Module | Industrial Safety Control Processing Module
  • HIMA F8627 984862765 PLC Module | Industrial Safety Control Module
  • HIMA M3410 PLC Module | Industrial Safety Control Processing Module
  • HIMA Z7308 PLC Module | Safety Control System Processing Module
  • F8640 HIMA Central Module | Safety System Core Controller
  • HIMA F8630 Module | Safety System Functional Module
  • F8651X HIMA Central Module | Safety System Core Controller
  • F3236 Digital Input Module | HIMA Safety System Input Interface
  • F7131 HIMA Power Monitoring Module | Safety System Power Supervision
  • F8627X HIMA Communication Module | Safety System Network Interface
  • HIMA F8560X PLC Module | Safety-Related Control System Component
  • HIMA P8403 PLC Module – Industrial Safety Control Processor
  • HIMA F8628X Communication Module – Industrial Safety System Interface
  • HIMA F8621A Communication Module – Safety System Communication Interface
  • HIMA 984865066 PLC Module – Safety Control Processing Unit
  • HIMA F60CPU01 PLC Module – Safety Control Processing Unit
  • HIMA F8650E PLC Module – Safety Control Processing Unit
  • HIMA F8652E Central Module – Safety Control Processing Unit
  • HIMA F8650X Card – Safety Central Processing Module
  • F8652X HIMA Central Module – Safety Control Central Processing Unit
  • HIMA 99-7105233 B5233-1 Safety Module – Industrial Safety Control Component
  • KEBA KeTop T70-rqa-AK0-LK Teaching Device – Industrial Robot Teach Pendant
  • KEBA KETOP T50-T41-CPU 2495D-0 – Industrial CPU Module
  • KEBA E-CON-CC100/A/ 22178 – Industrial Controller Module
  • KEBA Kemro K2-200 CP 250/X 71580 CPU-MODULE – Industrial Control CPU Module
  • KEBA D3‑DA 330/A‑1211‑00 Drive – KeDrive D3 Axis Controller Industrial Servo Drive
  • KEBA KETOP O70‑bra‑A0a‑F Demonstrator – Industrial Automation Control Module
  • KEBA KETOP O70-BRA-A0A-F Demonstrator | Industrial HMI Operating Terminal
  • KEBA SO84.012.0083.0101.2 Servo Drive | Industrial Motion Control Solution
  • HIMA X-AO1601 Termination Boards
  • HIMA X-AI3251 Digital Output Module
  • HIMA X-DO3251 Digital Output Module
  • HIMA X-DI3202 Termination Board
  • HIMA X-DI6451 Digital Input Module
  • XYCOM 96574-001 - Circuit Board Card Rev A
  • XYCOM 99212A-001 - Control Board Card CPX-7
  • XYCOM 99222-001 - Circuit Board Card Rev A
  • XYCOM 97780-002 - Circuit Board for Operator Panel Screen
  • XYCOM XVME-164/1 - Circuit Board 61116
  • XYCOM CMX-7D - Power Supply Circuit Board PN99865-001
  • XYCOM 10330-00800 - Digital I/O Board Circuit Card
  • XYCOM 8450-HU - Husky Monitor 98916-001
  • XYCOM XVME-428/2 - IASCM Communication Board
  • XYCOM 3512KPT - Industrial PC Operator Interface
  • XYCOM Checkpoint Cognex - Inspection Machine Vision Camera
  • XYCOM XVME-080 - IPROTO Intelligent Prototyping Module
  • XYCOM IV-1653 - Ironics VMEbus CRT Circuit Board
  • XYCOM M032000220 - Control Board
  • XYCOM 4850A - Operator Interface Panel 91855-001
  • XYCOM 9462 - HMI Operator Interface Panel 9462-016214001
  • XYCOM 9465 KPM - Monitor Industrial PC 9465-219114103
  • XYCOM 9486 - Monitor-Miniflex Portrait 9486-0343
  • XYCOM MVME-490/1 - Circuit Board Tegal 6550 Etcher
  • XYCOM 1300 - Node Module 1300-000100000
  • XYCOM 3510 T - Operator Interface
  • XYCOM 3512 KPM - Operator Interface Part No 3512-A1F114103
  • XYCOM 4615KPM - Operator Interface
  • XYCOM 8320 - Operator Interface Display Panel 94321-002
  • XYCOM 4105 - Operator Interface P/N 91904-001
  • XYCOM PM101683E - Operator Interface PM101683 E
  • XYCOM 301993 - Operator Panel 89086-501 Raycon
  • XYCOM 2000 - Operator Panel 97957-001
  • XYCOM 9410KP - Operator Touchscreen HMI 51338-STN
  • XYCOM 9987 - Operator Workstation CPU Board
  • XYCOM 94144-002 - CPU Board Rev V
  • XYCOM 9487 - Programmable Interface HMI Panel PC
  • XYCOM 70956-411 - PLC Module Card Ethernet Card MESA 4I29X
  • XYCOM PM101587 - Operator Panel
  • XYCOM XT1502-BB-RB - Display Panel XT 1502
  • XYCOM PM3510 - Operator Interface Terminal
  • XYCOM PM8450 - Operator Interface Repair Evaluation
  • XYCOM PM8480 - Operator Interface PM101269
  • XYCOM 8000-SKM - Power Supply Board Module
  • XYCOM 510084 - Power Supply Board
  • XYCOM 1546 - Proface Industrial Workstation 1546-102031013
  • XYCOM 86864-002-E - Processor Board Module
  • XYCOM 3112T - Pro-face Operator Interface
  • XYCOM 3712 KPM - Pro-face Operator Panel
  • XYCOM 4615KPMT - Proface Industrial PC Display Panel PM-070007
  • XYCOM 5015T - Pro-Face Touch Monitor 100-240 VAC
  • XYCOM 5015T/R2 - Industrial Flat Panel Touch Monitor 5015R2-0100000
  • XYCOM 1341 - Proface Embedded Computer TF-AEC-6920-C2
  • XYCOM GLC150-BG41-DN - Graphic Logic Controller M-24V
  • XYCOM GP2301H-SC41-24V - Pro-face Operator Interface 5.7" w/ Cable
  • XYCOM 1547 - Pro-face Industrial PC Model 1547-00113101
  • XYCOM ST401-AG41-24V - Graphic Touchscreen Operator Interface
  • XYCOM 3310T - Pro-face Operator Panel 3310-001101001
  • XYCOM 5015 KPMT - Proface Operator Panel Display
  • XYCOM XVME-684 - PC Module VME Bus Processor 70684-201
  • XYCOM 3300 MT - Screen Monitor Display
  • XYCOM SXT1811T - Touch Panel Monitor 100/240VAC
  • XYCOM XT-1502 - Touch Screen Monitor Flat Panel Display Interface
  • XYCOM SXT1811 - Viewtronix SXGA Flat Panel Monitor 18.1" Display
  • XYCOM VT1040T - ViewTronix Touch Screen Monitor
  • XYCOM WS2786291 - Industrial Workstation PC
  • XYCOM XCME-540 - Analog I/O Module VMEbus 70540-001
  • XYCOM XVME-682 - CPU PCB Processor Module 70682-101
  • XYCOM CU040103500 - VME Rack System Module 4200401
  • XYCOM XVME-085 - Proto VMEbus Non-Intelligent Prototyping Module
  • XYCOM XVME-100 - PCB Controller Card ROM Board 70100-001
  • XYCOM XVME-103 - VMEbus Board 10103-001