How-to
Configuring S7-200 PROFIBUS communication with an MM440 drive
Short answer
The S7-200 cannot be the PROFIBUS-DP master for an MM440: the EM277 is a slave-only module. Make an S7-300 the DP master with the EM277 and the MM440 as slaves, exchange the speed request through the EM277 V-memory window, and start the drive with control word 047E then 047F plus the normalized speed word. If you only need direct S7-200-to-drive control, use USS at the drive's serial terminals instead.

On this page
An S7-200 fitted with an EM277 cannot be the PROFIBUS-DP master for an MM440, because the EM277 is a slave-only interface. The working design puts an S7-300 in the master role with the EM277 and the MM440 both as slaves on one line, and moves the S7-200's speed request through the EM277's V-memory window into the S7-300's program. If the assignment only needs direct S7-200-to-drive control, skip PROFIBUS entirely and use USS on the drive's serial link at terminals 29 and 30.
Why the S7-200 cannot take the master role #
The EM277 is a PROFIBUS-DP slave interface. Adding it to an S7-200 gives the CPU a slave station on the bus; it does not give the S7-200 the token-carrying, slave-configuring role a master needs. Neither STEP 7 Classic nor TIA Portal offers a master configuration for it, because master capability is a property of the module, not of the programming package. The details of the module itself are covered in the article on configuring the S7-200 EM277 as a PROFIBUS DP slave, and the master-side limit is explained in the article on why an S7-200 with EM277 cannot be a PROFIBUS master.
This does not kill the project; it just fixes the roles. The MM440 is also a DP slave, and a DP slave never talks to another slave directly. Every cyclic exchange runs between the one master and each slave.
The architecture that works #
One S7-300 CPU owns the PROFIBUS segment. The line runs from the S7-300 to the EM277 and then to the MM440, with termination switched on at the two physical ends of the segment only. Slaves carry no program: each exposes a cyclic I/O image that the master reads and writes.
The S7-200 earns its place only if its logic or field signals produce something the S7-300 must use, for example a requested speed set by an operator or computed in the S7-200 program. That request travels one way through the chain: S7-200 V memory, to the EM277 window, into the S7-300 input image, through S7-300 logic, into the MM440 output image. The S7-200 never relays drive traffic; the S7-300 reads the request and writes the drive command itself.
Configuring the bus, the EM277 and the MM440 #
Do the setup in this order and resolve every configuration error before testing application logic.
- Decide the protocol. PROFIBUS assignment means the S7-300-master design below; direct control only means USS, which the last section covers.
- Build the physical segment with PROFIBUS cable type A, PROFIBUS connectors and the DB9 pinout those connectors define. Turn termination on at the master and at the last slave. A short run, even about 50 centimeters, does not excuse ordinary two-core cable: wrong impedance, broken shield continuity or missing termination shows up as noise errors regardless of length.
- In the S7-300 hardware configuration, add the EM277 as a DP slave using its GSD, set its station address, and set its V-memory offset; the S7-22x manual's EM277 example uses the value 5000, so the data window starts at V5000 in the S7-200.
- Insert a cyclic data module under the EM277, for example two words in and two words out with word-consistent transfer. A station entry with zero bytes has no usable payload yet; the module you insert defines the exchange size on both sides.
- Assign free logical addresses in the S7-300 image. In one working example the EM277 exchange sits at PIW260 and PIW262 for master inputs and PQW260 and PQW262 for master outputs. These are example addresses, not fixed requirements; the only rule is that the range must not overlap the CPU's integrated I/O or any other module, or the tool will reject it and move the allocation elsewhere.
- Add the MM440 as a second DP slave from its GSD, select the telegram structure that matches the installed PROFIBUS option, and assign it a different free I/O range from the EM277's range.
- Compile and download the hardware configuration to the S7-300. The slaves need nothing downloaded; they only expose the image you configured.
Note that the S7-300's integrated digital I/O matters here only as occupied address space. If the configurator moves a new allocation to the next free range, nothing is wrong; keep the program consistent with the final addresses.
Mapping the EM277 V-memory window #
The window is split by direction, interpreted from the master's point of view. The first part of the window holds data the master sends; the part immediately after holds data the S7-200 sends back. With the example exchange of two words each way and the offset set to 5000:
- Words the S7-300 writes at PQW260 and PQW262 land in VW5000 and VW5002 in the S7-200.
- Words the S7-200 writes at VW5020 and VW5022 (the send area after the two-word receive area, as laid out by your configured module) are read by the S7-300 at PIW260 and PIW262. Set the offset in the EM277 properties so the send area lands where your S7-200 program expects it.
Two traps cause most of the confusion. First, VB addresses one byte while the exchange moves words, so a move to VB5000 is not a move of the word at V5000. Second, if a word written in the S7-200 never appears at the expected S7-300 input address, the send and receive areas have been swapped: recheck which side of the window each area occupies. Keep the configured module length, the offset and the program's data layout identical on both CPUs.
Worked example: sending 25 Hz to the drive at a 50 Hz reference base #
Inputs: the MM440's PROFIBUS setpoint channel is normalized over the reference defined in the drive; on a drive at its default 50 Hz reference, the Siemens PROFIBUS essentials document gives the scale HSW 4000 hex corresponds to 50 Hz. The requested speed is 25 Hz, produced by the S7-200 program and arriving at the S7-300 as a raw word through the EM277 window.
The rule: the speed word is the requested frequency scaled over 4000 hex, which is 16384 decimal.
The arithmetic: 16384 × 25 Hz ÷ 50 Hz = 8192 decimal, which is 16#2000.
The result: the S7-300 moves 16#2000 to the MM440's setpoint word (for the example allocation, PQW262, next to the control word at PQW260). The S7-200 does no scaling; the S7-300 scales the request before it writes the drive's output image.
The decision: any speed the S7-200 can request maps the same way, value in Hz × 16384 ÷ 50. A request of 16384 or more would demand more than 50 Hz and must be capped or rejected in the S7-300 logic, because the setpoint channel saturates at 4000 hex for the configured reference.
The start sequence the drive needs #
A word of 047F alone does not start the MM440. The drive must first see the control word W#16#047E and then W#16#047F, so that bit 0 makes a rising edge: that ON edge is what starts the drive. The same document that gives the setpoint scaling gives this sequence.
So the S7-300 logic writes W#16#047E whenever the drive is enabled and stopped, and switches to W#16#047F only on the start command, ideally with a short scan or timer separation so the transition is certain. When the drive is commanded to run but the motor stays still, check two things in order: that the edge from W#16#047E to W#16#047F actually happens, and that the speed word next to the control word is nonzero, because a valid control word with a zero setpoint simply commands zero speed. The article on missing setpoint and control word writes to a PROFIBUS drive walks through the failures where the words never reach the drive's output image at all.
One safety note belongs here: writing W#16#047F starts the motor the moment the sequence is right, so confirm the driven machine is safe to run before you download and force that word, and use the drive's own disable rather than pulling the PROFIBUS plug as your stopping method.
When USS is the better answer #
If nothing in the assignment requires PROFIBUS, the S7-200 can control an MM440 directly as a USS master through its USS library, over the drive's COM link at terminals 29 and 30. PROFIBUS cable and connectors remain the recommended physical medium for that serial link, but the cable does not change the protocol: wire on PROFIBUS plugs, run USS, and no S7-300, EM277 or GSD is involved. That is the cheapest path for a small direct-control job, and it keeps the whole application in one CPU.
Questions asked
Can the EM277 module be configured as a PROFIBUS master in any software version?
No. The EM277's PROFIBUS-DP interface is a slave by design; STEP 7 Classic and TIA Portal both show it only as a slave entry under a DP master system. Master capability is a property of the module hardware, not of the programming package, so adding the module to an S7-200 never produces a master station.
What does the 5000 V-memory offset on the EM277 actually set?
It sets where the cyclic data window sits inside the S7-200's V memory. With the offset set to 5000, the first bytes of the window beginning at V5000 carry data coming from the DP master, and the bytes immediately after the configured input length carry data the S7-200 sends back. The S7-22x system manual documents this offset example for EM277 configuration.
Why does the MM440 not start when it already receives 047F continuously?
The drive needs the ON edge, not the state. It must see 047E first, then a rising transition of control-word bit 0 to 047F. A program that holds 047F from power-up never produces that edge, so the drive stays ready but does not run. Write 047E, then switch to 047F in a later scan or on a start command.
Does the S7-200 need a copy program that relays words between its inputs and outputs?
No. The S7-200 does not route PROFIBUS traffic between slaves. The S7-300 reads the S7-200's data from its own input image and writes the MM440's command data to its own output image; the drive and the EM277 never exchange words with each other. The S7-200 program only writes its contribution, such as a requested speed, into the send area of its V-memory window.


