Convert

Move a program, and see exactly what changed

Ladder into Structured Text, Siemens SCL, Rockwell neutral text or PLCopen XML. The logic converts exactly. The things that cannot convert exactly are listed, one by one, rather than quietly approximated.

1. The program

2. The target

This runs entirely in your browser. Your program is not uploaded, and there is no server that could keep a copy of it.

Choose a program on the left. The converted source appears here, with a note against anything that needs a person to look at it.

Common questions

Can ladder logic be converted to Structured Text automatically?
The logic can, exactly: a contact becomes a boolean term and a coil becomes an assignment. What cannot be converted is the drawing, because Structured Text has no way to express the physical order of contacts or the shape of a branch. Timers, counters and one shots become function block instances with declarations that the original ladder did not have.
Is anything uploaded when I convert a program?
No. The conversion runs in your browser using JavaScript. The file is read locally with the File API and never sent anywhere, which matters because PLC programs are usually commercially sensitive.
Which format keeps the most of my program?
Rockwell neutral text, because it preserves branch structure: a parallel branch is written in square brackets, so the ladder shape survives. Structured Text preserves the logic but not the geometry. PLCopen XML carries an ST body here, because vendor support for its graphical ladder representation is inconsistent.
Why does my retentive timer need attention after conversion?
IEC 61131-3 has TON and TOF but no standard retentive on-delay. A retentive timer holds its accumulated value when the rung goes false and a TON resets it, so substituting one for the other silently changes behaviour. The report flags it rather than making that substitution quietly.