How-to
Map drive Datalinks to PLC logic commands over EtherNet/IP
Short answer
Map the drive's run-time data onto the cyclic EtherNet/IP connection: the logic command word carries start, stop and fault reset, word 1 carries the speed reference, and the Datalinks carry frequency, current and parameter writes. Set Start Source 1 to the EtherNet/IP choice so the network owns the run command, and keep frequent writes in RAM through the Datalinks.

On this page
Map the drive's run-time data onto the cyclic EtherNet/IP connection, not onto explicit messages. In the output image, the first word is the logic command for start, stop and fault reset, the second word is the speed reference, and the embedded port's Datalinks — parameters C153 to C160, four in each direction — carry everything else. Set parameter 046 [Start Source 1] to 5 "EtherNet/IP" so the drive actually takes its run command from the network, and let the Datalinks keep frequent writes in RAM, off the EEPROM. An imported EDS file does none of this on its own. The numbered mapping below is the layout that put the example project's drive under PLC command.
Cyclic I/O first, explicit messages second #
The EDS-defined I/O connection exchanges a fixed word structure on every network update: the PLC writes a logic command word and a speed reference word, and reads back a logic status word and a feedback word. Explicit messaging instead addresses one parameter per request-and-response transaction — right for commissioning, wrong for a frequency command that changes every few seconds. The two mechanisms do not interwork, and the page on why explicit and implicit EtherNet/IP messaging do not interwork shows where that separation bites. An EDS import alone proves even less: the page on why an imported EDS file does not prove EtherNet/IP cyclic I/O lists what still needs checking. Once the connection runs and the input words change, the transport is done and everything left is mapping.
Set the start source to the network #
A live connection can exchange words all day while the drive keeps obeying its keypad or a digital input. Parameter 046 [Start Source 1] decides who owns the run command, and the drive's Ethernet setup procedure sets it to 5 "EtherNet/IP" for the embedded port. Set it, then make sure no source-selection logic switches it back. The connection half — IP address, EDS, connection parameters — is the same job whatever controller sits at the other end, and the walkthrough for configuring a PowerFlex 525 on EtherNet/IP from an Omron NJ301 covers that side in detail. Decision: if the output word changes and the drive still will not run, read this parameter before touching anything else.
Start, stop and fault reset in the logic command word #
The first output word is the logic command. Its start, stop, jog, direction and fault-reset bits sit at the fixed positions the logic command table in the embedded EtherNet/IP adapter manual (publication 520COM-UM001) defines. Take the bit positions and their active levels from that table rather than guessing, because a polarity mistake writes a real command. Build the word as a 16-bit integer in the PLC, set the start bits to run, and pulse the fault-reset bit only when the returning logic status word reports a fault. That status word is also your fault-status feedback: it tells you whether the drive accepted the command, is running or is tripped. The controller side is ordinary logic — CJ2H EtherNet/IP Datalink start/stop example shows the same word-level pattern driven from CIO on another controller family.
Map the parameter data with the Datalinks #
The embedded port supports four Datalinks in each direction: parameters 153 to 156 [EN Data In 1 to 4] bring values into the drive from the PLC's output image, and parameters 157 to 160 [EN Data Out 1 to 4] send drive values back into the input image. Each Datalink holds a parameter number, and the drive copies that parameter's value over its word on every connection update. Keep the directions straight: a Datalink In is a value entering the drive, not an input to the PLC. Match every destination against the parameter list in Connected Components Workbench (CCW), then assign the example project's layout:
- Set parameter 153 [EN Data In 1] to 410, the project's preset-frequency parameter, and select preset frequency as the active speed reference.
- Set parameter 154 [EN Data In 2] to 41 for the acceleration time and parameter 155 [EN Data In 3] to 42 for the deceleration time.
- Set parameter 157 [EN Data Out 1] to 1 for output frequency — parameter 1, the value CCW shows at port 0.
- Set parameter 158 [EN Data Out 2] to 3 for output current and parameter 159 [EN Data Out 3] to 15 for speed in RPM.
- Leave the Datalinks you do not need unassigned, and build the PLC-side structure in the word order the connection definition lists; never replace the whole output structure with a single frequency value.
Worked example: each Datalink is one 16-bit word, so three Datalinks in and three out grow each image by 3 words × 2 bytes = 6 bytes. The output image is logic command word, speed reference word and three drive-input words; the input image is logic status word and three feedback words. Writing 40.0 Hz into the EN Data In 1 word continuously refreshes the preset-frequency parameter, so with the start bits set the drive runs at 40.0 Hz. The word carries the parameter's value in that parameter's display units.
Why Datalinks carry the run-time writes #
A Datalink write updates the parameter in the drive's RAM and nowhere else, so a frequency value that changes every few seconds costs no non-volatile memory wear. Explicit parameter writes go where the drive's save settings send them, and frequent writes into non-volatile memory are exactly what the drive documentation warns against: a drive set up that way loses every operating value at the next power cycle and, in reported cases, corrupts parameters until a factory reset clears them. Keep the flow one-directional — commission and save settings once in Connected Components Workbench, then let the PLC move operating values through the Datalinks while the drive runs. Decision: explicit messages for setup, Datalinks for the run.
Verify the mapping before the first run #
Watch the whole output word while you toggle the command from the HMI: only the intended bits may change, and no later rung may overwrite the word in the scan. Then read the response side: the status word should track the command, and the feedback words should carry output frequency and current. A speed that ignores your writes almost always means the active reference is not the parameter you are driving, because a new preset value changes nothing while another reference source is selected. If no input word changes at all, go back to connection diagnostics; acceleration, motor and reference settings cannot repair a broken connection. Commission the motor nameplate and application parameters before the first run, and keep one line in the logic: a network stop command is operational control, not a substitute for the machine's safety functions.
The decision #
Use the EDS-defined cyclic connection with its Datalinks for everything the logic reads or writes while the drive runs: logic command word for start, stop and fault reset, the reference word or a Datalink preset for speed, Datalinks out for frequency, current and RPM feedback, Datalinks in for acceleration, deceleration and preset values. Keep Start Source 1 on the EtherNet/IP choice, keep run-time writes in RAM, and reserve explicit messages for commissioning. On a 25-COMM-E2P option module instead of the embedded port, the Datalink parameters differ and this layout does not transfer.
Questions asked
Do Datalink values survive a power cycle?
No. A Datalink write updates the parameter in the drive's RAM only, so at the next power-up the parameter returns to its last saved value. Put every value the drive needs at boot into the parameter once and save it from Connected Components Workbench or the keypad; let the PLC move operating values through the Datalinks while the drive runs.
Does the same Datalink layout apply to a 25-COMM-E2P option module?
No. Parameters C153 to C160 belong to the embedded EtherNet/IP port, and Rockwell's note on the 25-COMM-E2P states that the module does not read them; the module assigns its Datalinks through its own parameters. Re-derive the word positions from that module's connection definition before reusing any part of the example layout.
What does the drive do if the EtherNet/IP connection drops?
It executes its programmed communication-loss action rather than freezing mid-run. That action, for example a controlled stop or a coast, lives in the drive's communication group and must match the machine's risk assessment and safety functions, which the network mapping does not touch. Set it deliberately during commissioning rather than leaving the default.
Should speed go through the reference word or through a Datalink preset?
Both work, for different jobs. The reference word updates on every network interval and writes no parameter, so it suits continuous operator control. A Datalink preset suits fixed recipe values and leaves the reference word alone; the example project drove speed that way, updating the preset-frequency parameter that the drive used as its active reference.


