5 Understanding Programming
5-4
CJ2 CPU Unit Software User’s Manual
The entire user program is saved in a CX-Programmer project file (.CXP) with other parameters, such
as symbol tables, PLC Setup data, I/O tables, and I/O memory data.
Programs can be written using any of the following three programming languages.
• Ladder diagrams
• Structured text (ST)
• Sequential function charts (SFC)
Programs written in ladder diagrams, ST, or SFC assigned to tasks to execute them.
You can use the best language for each process by using different languages for different purposes,
such as ladder programming for the device control or ST for mathematical processing.
User Program Data
Programming Languages
.CXP
Symbol tables
PLC Setup
I/O tables
I/O memory data
CX-Programmer
project file
User program
User Program
Task
Task
Task
Task
SFC:
Step Progression
Control
Ladder:
Device Control
ST:
Mathematical
Processes
Programming
Language Best
Suited to the
Process is
Selectable
a: = a + 1;