IMDHMIControls LibraryShop main store

Troubleshooting

Why an ATV71 on PROFIBUS needs a power cycle to initialize

Drives and motion Published 6 min read

Short answer

An Altivar 71 that appears in S7-300 diagnostics but only readies after a power cycle is failing its command-state sequence, not its PROFIBUS connection. Step the command word only when the status word confirms each state, and check that both the command channel and reference channel point at the network.

On this page
  1. Capture the state before you cycle power
  2. Separate the three things a power cycle can mask
  3. Write the startup as a status-driven sequence
  4. Keep control in cyclic words, parameters in requests
  5. Sizing the startup step timer for an ATV71 enabling at power-up
  6. Decision for each case
  7. Questions asked

Four Altivar 71 drives on PROFIBUS with an S7-300 CPU 315-2DP: at power-up the CPU sees all four slaves in its diagnostics, yet the drives reach ready and enable only after you switch each one off and on with its breaker. That symptom is not a PROFIBUS wiring or addressing fault. A slave the CPU can diagnose has already been identified over the bus. What fails is the drive control-state sequence: the PLC writes its command word on a fixed timer instead of reading the drive's status word, so the drive is asked for a transition it cannot accept from the state it is in. Only the power cycle resets the drive's state machine to a point where the blind sequence happens to land.

Capture the state before you cycle power #

A power cycle destroys the evidence. Before touching the breaker, force the PLC into a diagnostic view and record, for one drive, the cyclic status word it reports at three moments: at CPU power-up, after the PLC writes its first command, and after the second command. Compare the status bits against the drive's state chart in its communication manual. If the status word never reaches the ready state before the enable command arrives, you have confirmed the diagnosis. A PLC to PROFIBUS drive control word not working fault with an empty telegram looks different: the status word stays at zero, which means no cyclic exchange at all.

Separate the three things a power cycle can mask #

  • Communication validity. The drive is in the diagnostics, so the telegram is being exchanged. This is proven; stop suspecting the cable.
  • Drive readiness. The status word bit for ready must be set by the drive itself. The PLC cannot write readiness; it can only request the transitions that lead there.
  • Command and reference ownership. A healthy bus coexists with a drive that takes its command or its speed reference from a local source. Read both selections in the drive menu: the command channel and the reference channel must both point at the communication card. A network command with a local reference gives exactly the kind of half-initialized behavior that a power cycle appears to fix.

Write the startup as a status-driven sequence #

The documented ATV71 command progression for a start is 16#0006, then 16#0007, then 16#000F, written to the command word register, with the speed reference in the next register. The rule that makes it work: advance to the next command only when the status word confirms the drive accepted the previous one. The status word reported by the drive as word 3201 carries bit 1 as ready and bit 2 as running; the remaining bits identify faults and state detail per the manual's breakdown.

In ladder terms, each step is: write the command, wait for the expected status bits, move on. If a step does not confirm within a timeout, hold the command, raise an alarm and do not advance. A fixed-timer sequence that writes 16#0007 while the drive still reports a pre-ready state is the most common cause of the power-cycle symptom. For a servo variant of the same missing-confirmation problem, see MC_Power Drive Ready signal missing.

Keep control in cyclic words, parameters in requests #

Cyclic PROFIBUS data, reached through PEW and PAW peripheral accesses, is the right carrier for command word, speed reference, status word and speed feedback, because those are needed every scan. This is not less reliable than a request-based program; reliability comes from correct mapping and the status-driven sequence above. Parameter access (acceleration, deceleration, maximum frequency, detailed fault reads) belongs in acyclic requests: write a small handler that names the drive, the parameter number and a read or write job, and reports completion or failure. Two cautions:

  • The 20-byte cyclic area and 8-byte parameter area quoted for Altivar 38/58 cards do not carry over to the ATV71. Build your mapping from the installed card's own manual, and record each PLC address, direction, drive variable, type, unit and scaling on a mapping sheet.
  • After parameter changes, apply the documented save procedure or the values revert at the next power loss.

Sizing the startup step timer for an ATV71 enabling at power-up #

The one number you must choose is how long each sequence step waits for its status confirmation before it alarms.

Inputs. The drive's own initialization time at power-up is not published as a single figure; what you have measured in your plant is the observable: the drive reports ready within a few seconds of bus power-up, and once ready, the transition from 16#0006 to 16#0007 and to 16#000F confirms within one PLC scan at a typical S7-300 scan of 10 ms per pass (see what the PLC scan cycle does in each pass).

Rule. Set the step timeout well above the slowest legitimate confirmation and well below the time an operator will wait before assuming a hang: take the drive's observed power-up-to-ready time, add margin, and use a short fixed timeout for the fast transitions.

Arithmetic. Observed power-up to ready: 3 s. With a 2x margin: 3 s x 2 = 6 s timeout for the first step. Post-ready transitions: 10 ms scan x 5 scans = 50 ms; use a 500 ms timeout, ten times the expected confirmation. PLC scan overhead on the sequence: 3 steps x 10 ms = 30 ms, negligible against the 6 s first step.

Result. A two-tier timeout: 6 s for the drive to report ready after power-up, 500 ms for each command transition after ready.

Decision. Implement the sequence with these timeouts and no power cycle: if the first step times out at 6 s with the drive powered, the fault is in the command-channel or reference-channel selection, not in timing; go read those two settings before touching the breaker.

Decision for each case #

  • Drive in diagnostics, never reports ready without a power cycle: status-driven sequence as above, plus verify both channel selections point at the communication card. Do not add more power cycles to the program; that is treating the symptom.
  • Drive reports ready, enable accepted, but no run: the reference channel is likely local. A network command with a local reference runs at the local setpoint or not at all; set the reference channel to the network.
  • All four drives behave identically: the cause is in the common program, not in four drives. Fix the sequence once.

One safety note: this sequence is control logic, not a safety function. Stopping the drive for personnel protection stays with the drive's documented safe-stop input or your hardwired circuit, never with a PROFIBUS command word. For drive-ready sequencing on other platforms, see control a PROFINET servo drive with cyclic telegram data.

Questions asked

Does using PEW and PAW peripheral words make the drive control less reliable?

No. Peripheral word access to the cyclic PROFIBUS area is a normal way to exchange command, reference, status and speed feedback with an ATV71. Reliability comes from correct address mapping, consistent data handling and a status-driven sequence, not from whether the access is cyclic or request-based.

Where do I get the PROFIBUS manual and GSD file for an Altivar 71?

Read the part number of the installed communication card and obtain the matching ATV71 communication manual and GSD file through Schneider Electric or an authorized distributor. The general drive manual does not replace the communication manual, and offsets copied from an Altivar 38 or 58 do not transfer.

How is the PROFIBUS station address set on the ATV71 communication card?

On the VW3A3307 PROFIBUS card the station address is set with a row of 8 DIP switches beside the 9-pin connector, not through a parameter menu. Two drives left on the same switch setting will conflict at power-up, which can look like a startup fault.

My parameter writes vanish after a power cut. Why?

A parameter write changes working memory only until the drive's documented save-to-retained-memory procedure is applied; without it the change reverts at the next power-off. Apply that procedure after commissioning changes, then power-cycle once and read back the values to prove retention.

Keep reading

  • How-to

    Configuring S7-300 PROFIBUS control for an MM420 drive

    Hardware configuration alone moves no drive data. An S7-300 reads and writes an MM420's cyclic PROFIBUS area with SFC14 and SFC15 whenever the consistent area is too large for direct access, maps every control-word and status-word bit to the configured telegram, and switches the drive's command and setpoint sources to the fieldbus before the first enable. Judge drive readiness from the status word, not from a completed bus transfer.

    Drives and motion

  • Troubleshooting

    Why PKW words stay empty while cyclic PROFIBUS data works

    The PKW words stay empty because PKW on this PROFIBUS profile is request-and-response: the PLC must write a complete request into the mapped Q words, then accept the data only when the response status is valid. Cyclic words IW0 to IW8 updating proves the DP link is sound, so the fault is entirely in the request handshake, not the network.

    Drives and motion

  • How-to

    Connect an S7-300 to a DCM drive over PROFIBUS or PROFINET

    Yes: an S7-300 controls a DCM over PROFIBUS or PROFINET by installing the drive's GSD or GSDML description, selecting the same supported telegram on both sides — standard telegram 1 (PZD-2/2) is the safe first choice — exchanging the 4-byte records with SFC14 and SFC15, and trusting the link only once cyclic exchange runs fault-free. A clean link still will not move the motor while the drive's command source is local or an enable is missing.

    Drives and motion