Introduction to SYNTEC Ladder Editor
SYNTEC Ladder Editor is a software application designed for developing, viewing, editing, and diagnosing PLC logic programs used in SYNTEC CNC control systems.
A PLC (Programmable Logic Controller) performs logical operations that enable the CNC system to interact with the machine's electrical and electronic equipment, including sensors, push buttons, relays, contactors, pneumatic valves, drives, and other devices.
The PLC is responsible for controlling auxiliary mechanisms, processing input signals, generating output commands, monitoring operating conditions, executing control sequences, and generating user-defined alarms.
The editor supports graphical programming using Ladder Diagram (LD), a relay-based graphical programming language consisting of contacts, coils, logical connections, timers, counters, and function blocks.
In addition to the graphical representation, Ladder Editor can generate a textual sequence of instructions in Instruction List (IL) format corresponding to the program logic.
The main capabilities of the editor include:
- Creating and modifying PLC programs.
- Viewing logic circuits in graphical LD format.
- Adding contacts, coils, and function blocks.
- Searching for PLC addresses and program sections.
- Managing comments associated with PLC elements.
- Performing syntax checks and program simulation.
- Exporting programs in IL format.
- Exchanging PLC programs with compatible SYNTEC controllers.
- Editing user-defined alarm messages.
This guide describes the interface of SYNTEC Ladder Editor version 2.33.0. Menu structures and the availability of certain functions may differ in other versions.
Main Application Window
The Ladder Editor main window is divided into several functional areas.
Main Menu Bar
The main menu is located at the top of the application window:
File | Edit | Insert | Project | Connect | Tool | Help | Language
Each menu contains commands for a specific purpose, including file management, Ladder editing, program verification, CNC communication, and editor configuration.
Toolbar
The toolbar is located directly below the main menu.
It provides quick access to frequently used operations, such as opening and saving files, editing elements, and working with PLC programs.
Some toolbar commands duplicate functions available through the main menu.
Program Tree
The program structure panel is located on the left side of the application window.
It contains:
Main Program — the main PLC program.
Sub-Program — a section containing subprograms used to organize individual logical functions.
The program tree allows navigation between available program sections.
Ladder Diagram Workspace
The central workspace is used to display and edit PLC programs graphically.
Logic circuits are represented by horizontal rows containing contacts, coils, and function blocks.
Contacts define the conditions under which logical operations are executed, while coils and function blocks generate results or execute specialized instructions.
PLC Address and Comment Table
The upper-right section contains tabs representing different PLC address types:
I | O | C | S | A | R | CT | TM | AX | JMP | JSR
Two types of comments can be displayed for the corresponding addresses:
- Short comment — a brief description.
- Long comment — a more detailed description.
Comments help associate PLC addresses with the actual functions of machine signals and equipment.
For example, the address R45.12 may have the comment EMERGENCY STOP if this description is defined in the machine documentation or comment files.
Adding a comment does not change the behavior of the corresponding PLC address.
Element Location Table
The lower-right section contains a table with the following columns:
| Column | Description |
|---|---|
| Row | Ladder row number |
| Col | Element position within the row |
| Location | Program or file containing the element |
This table displays locations where a selected PLC address is used, including results generated by the Cross Reference function.
It helps identify where an address is used as a contact, coil, or instruction operand.
For a detailed explanation of address usage searches, see PLC, Ladder Editor and Cross Reference in the SYNTEC CNC System.
File Menu — File Management
The File menu contains commands for creating, opening, saving, importing, exporting, and printing PLC programs.
| Command | Description |
|---|---|
| New | Create a new PLC program |
| Open... | Open an existing file |
| Close | Close the current program |
| Set File Language | Select the file language |
| Save | Save changes |
| Save As... | Save the file under a different name |
| Print... | Print the Ladder program |
| Print PDF | Export the Ladder program to PDF |
| Import DOS APP File | Import comments from the legacy DOS APP format |
| Export DOS APP File | Export comments in DOS APP format |
| Import Comment | Import PLC comments |
| Export Comment | Export PLC comments |
| RecentFiles... | Open the list of recently used files |
| Exit | Close Ladder Editor |
New
The New command creates a new PLC program.
A new program can be used to develop control logic, prepare training examples, or create independent PLC projects.
Open
The Open command loads an existing PLC program.
The primary file format used by Ladder Editor has the .LAD extension.
Example:
CNC1.LAD
After opening the file, the program is displayed in graphical LD format.
Close
The Close command closes the current program without exiting Ladder Editor.
If the program contains unsaved changes, the editor may prompt the user to save them.
Set File Language
This command selects the language variant associated with the file.
Available options:
- Default — default language.
- Tradition Chinese — Traditional Chinese.
- Simplified Chinese — Simplified Chinese.
This setting applies to file language information and is not used to change the application interface language.
Save and Save As
Save (Ctrl+S) stores changes in the current file.
Save As creates a separate copy of the program using a different file name or location.
When analyzing the PLC program of an operating CNC machine, the original program should be preserved without modification. A separate copy should be used for editing.
Print and Print PDF
Print (Ctrl+P) prints the graphical Ladder Diagram.
Print PDF generates a PDF representation of the program.
These documents can be used for technical documentation, electrical control analysis, and maintenance reports.
Import DOS APP File
The Import DOS APP File command imports comments from the legacy DOS APP file format used in SYNTEC systems.
Examples include:
APPENG.STR— English text messages.APPCHI.STR— Chinese text messages.
These files may contain descriptions of PLC addresses associated with user-defined alarms and machine operating conditions.
Example entry:
20091 = "1;MSG=(R45.10)MACHINE ALARM"
During import, the description MACHINE ALARM can be associated with the PLC address R45.10 and displayed in the comment table.
Import DOS APP File does not create PLC registers, assign register values, or add logic instructions to the Ladder program. Its purpose is to import textual information.
Export DOS APP File
The Export DOS APP File command exports the corresponding text data into a format compatible with the legacy DOS APP system.
It can be used when preparing or transferring comment files.
Import Comment and Export Comment
These commands are used to exchange PLC comments.
Import Comment loads comments from an external file.
Export Comment saves comments for backup, transfer, or future use.
This is useful when maintaining multiple revisions of a PLC program and keeping address descriptions separate from the program logic.
RecentFiles and Exit
RecentFiles displays a list of previously opened files.
Exit closes Ladder Editor.
Edit Menu — Program Editing
The Edit menu provides tools for modifying PLC programs, searching for elements, and navigating through Ladder diagrams.
| Command | Shortcut | Description |
|---|---|---|
| Cut | Ctrl+X | Cut the selected section |
| Copy | Ctrl+C | Copy the selected section |
| Paste | Ctrl+V | Paste copied elements |
| Del Cell | Del | Delete the selected cell |
| Find... | Ctrl+F | Search for an element or address |
| Find Next | Ctrl+F3 | Find the next occurrence |
| Replace... | Ctrl+R | Search and replace |
| Group Replace | — | Perform group replacement |
| Goto Line... | Ctrl+G | Navigate to a specified row |
| Undo | Ctrl+Z | Undo an operation |
| Redo | Ctrl+Y | Redo an undone operation |
Cut, Copy, and Paste
These commands are used to move or duplicate sections of a Ladder program.
They can be applied when editing contacts, coils, function blocks, and logical connections.
When copying program sections, the relationships between PLC addresses must be considered to avoid conflicting control conditions or duplicate coils.
Del Cell
The Del Cell command deletes the selected Ladder cell.
Removing an element may change the logical structure of a circuit. Therefore, syntax and logical conditions should be checked after editing.
Find and Find Next
Find searches for a PLC address or another supported program element.
For example, searching for A450 helps locate occurrences of this address within the Ladder program.
Find Next moves to the next matching occurrence.
These functions are useful when analyzing signals, timers, internal bits, and machine control circuits.
Replace
The Replace command searches for and replaces elements or addresses.
For example, when transferring control logic to another group of inputs or outputs, certain PLC addresses may need to be changed.
Bulk address changes must be verified against the I/O mapping table and actual machine wiring.
Group Replace
Group Replace is designed to replace multiple elements or addresses.
It simplifies modifications involving repetitive sections of a Ladder program.
A backup copy of the original file should be created before performing group replacements.
Goto Line
Goto Line (Ctrl+G) navigates directly to a specified Ladder row.
This is especially useful when working with large PLC programs or locating sections identified during diagnostics.
Undo and Redo
Undo reverses the last supported editing operation.
Redo reapplies an operation previously reversed using Undo.
Insert Menu — Adding Rows and Comments
The Insert menu provides functions for modifying the structure of a Ladder program.
| Command | Shortcut | Description |
|---|---|---|
| One Line | Ctrl+L | Insert one row |
| Multiple Lines... | — | Insert multiple rows |
| Comment... | Ctrl+M | Insert a comment |
One Line
The One Line command inserts a new row into the Ladder program.
The new row can be used to add another logic circuit.
Multiple Lines
The Multiple Lines command inserts several rows.
It is useful when developing larger logic sections containing numerous contacts, timers, and function blocks.
Comment
The Comment command inserts explanatory text into the program.
Example:
{SERVO DELAY}
Such a comment may identify the beginning of a logic section responsible for delaying servo drive activation.
Comments help organize PLC programs, explain the purpose of individual circuits, and simplify maintenance.
Ladder Editor Context Menu
The context menu opens when the right mouse button is clicked inside the Ladder workspace.
It provides quick access to common editing functions.
| Command | Description |
|---|---|
| One Line | Insert one row |
| Multiple Lines... | Insert multiple rows |
| Comment... | Insert a comment |
| Cut | Cut the selected section |
| Copy | Copy the selected section |
| Paste | Paste elements |
| Delete | Delete the selected element |
The context menu duplicates several commands from the Edit and Insert menus.
The selected cell position determines where the operation is applied.
The context menu is particularly useful for editing individual logic circuits without repeatedly accessing the main menu.
Project Menu — PLC Verification and Simulation
The Project menu contains functions for program verification, simulation, and generating a textual representation of PLC logic.
| Command | Description |
|---|---|
| Syntax Check | Check Ladder program syntax |
| Simu Start | Start simulation |
| Simu Stop | Stop simulation |
| Run | Start execution in debugging mode |
| Step | Execute step by step |
| Stop... | Stop execution |
| Output IL Code | Generate an IL instruction listing |
Syntax Check
The Syntax Check command verifies the syntactic correctness of the PLC program.
It helps detect instruction structure errors and invalid programming constructs recognized by the editor.
A successful syntax check does not guarantee correct machine operation because it does not verify whether the logic matches the actual equipment and operating requirements.
Simu Start and Simu Stop
Simu Start starts PLC program simulation.
Simu Stop ends the simulation.
Simulation is used to study the execution sequence of logical operations and test individual conditions without directly writing the program to the CNC controller.
Simulation capabilities depend on the editor version and support for the instructions used in the program.
Run, Step, and Stop
Run starts execution in the corresponding debugging mode.
Step performs step-by-step execution of instructions or logical operations in a supported mode.
Stop stops execution.
Step-by-step debugging is useful for studying the sequence of logical calculations, particularly when a program contains complex conditions, jumps, and function blocks.
Output IL Code
The Output IL Code command generates a textual representation of the PLC program in Instruction List format.
Unlike Ladder Diagram, where logic is represented graphically, IL expresses the logic as a sequence of instructions.
Example:
LoadFromWR WR0
IOCSAOpen I132
TIM1sI TIM62,#3
CoilFollow A450
In this example:
LoadFromWR WR0— loads the initial logical state from a working register.IOCSAOpen I132— evaluates the state of contactI132.TIM1sI TIM62,#3— executes a timer instruction with a one-second time base and preset value#3.CoilFollow A450— transfers the resulting logical condition to coilA450.
The textual representation is especially useful for analyzing large PLC programs, searching for instructions, and comparing graphical logic with its execution sequence.
Connect Menu — Communication with the CNC Controller
The Connect menu contains commands for configuring communication between Ladder Editor and a compatible SYNTEC CNC controller.
| Command | Description |
|---|---|
| Connect Setting | Configure connection parameters |
| Read From CNC... | Read the PLC program from the controller |
| Write To CNC... | Transfer the PLC program to the controller |
| CNC Reload PLC | Reload the PLC program on the controller |
Connect Setting
The Connect Setting command opens the CNC connection configuration.
The required settings depend on the controller model, software version, and supported communication method.
Read From CNC
Read From CNC retrieves a PLC program from the controller.
This command is used to obtain the machine's operating program, create a backup, and analyze its logic.
The retrieved program should be saved as a separate file, preferably including the machine model, CNC software version, and retrieval date.
Write To CNC
Write To CNC transfers a PLC program from the editor to the CNC controller.
This operation modifies the PLC program stored in the controller and may affect machine operation.
Before transferring a program, the following precautions should be taken:
- Create a backup of the existing PLC program.
- Verify file compatibility with the controller.
- Perform a syntax check.
- Verify input, output, and internal address assignments.
- Ensure that the machine is in a safe operating state.
CNC Reload PLC
CNC Reload PLC reloads the PLC logic on the controller in supported configurations.
The command is used after the appropriate program update operations.
Reloading the PLC may change control signal states and affect machine actuators. Therefore, it must only be performed while the CNC is in a safe state specified by the manufacturer.
Tool Menu — Additional Utilities
The Tool menu contains the following command:
Alarm Editor
Alarm Editor is used to manage text messages associated with user-defined PLC alarms.
In SYNTEC systems, certain machine alarm conditions can be generated by PLC logic, while their text descriptions are stored in dedicated message files.
Examples:
R45.10 — MACHINE ALARM
R45.12 — EMERGENCY STOP
The alarm message editor is used to maintain the textual part of user-defined diagnostics.
User-defined PLC alarms should be distinguished from system alarms generated by the CNC controller's software and hardware components.
Help and Language Menus — Documentation and Language Settings
Help
The Help menu contains the following commands:
| Command | Description |
|---|---|
| About LadderEditor... | Display application and version information |
| CNC And PLC Interface | Open reference information about CNC and PLC interaction |
About LadderEditor identifies the installed editor version.
CNC And PLC Interface provides reference information needed to understand signal exchange between the CNC system and the PLC.
This information is particularly important when working with system bits, status registers, and control commands.
Language
The Language menu changes the Ladder Editor user interface language.
Available options:
- English — English.
- 繁體中文 — Traditional Chinese.
- 简体中文 — Simplified Chinese.
Changing the interface language does not modify the PLC program logic or the values of PLC addresses.
Conclusion
SYNTEC Ladder Editor combines tools for developing, editing, and diagnosing PLC programs using the graphical Ladder Diagram representation.
Its main menu provides file management, element search and replacement, row and comment insertion, syntax verification, simulation, IL code generation, and communication with the CNC controller.
When working with production CNC machines, it is essential to distinguish between local program analysis and operations that modify the controller's PLC program. Reading and examining PLC logic is not equivalent to writing or reloading it.
Understanding the application interface and main menu commands provides a foundation for further study of Ladder elements, PLC address spaces, logical instructions, and diagnostic techniques for CNC machines equipped with SYNTEC control systems.
← All materials in PLC and Ladder