13.07.2015 Views

CJ2 CPU Unit Software User's Manual - CIP ETI

CJ2 CPU Unit Software User's Manual - CIP ETI

CJ2 CPU Unit Software User's Manual - CIP ETI

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5 Understanding ProgrammingUser Program DataThe entire user program is saved in a CX-Programmer project file (.CXP) with other parameters, suchas symbol tables, PLC Setup data, I/O tables, and I/O memory data.User programSymbol tables.CXPCX-Programmerproject filePLC SetupI/O tablesI/O memory dataProgramming LanguagesPrograms 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.User ProgramTaskLadder:Device ControlTaskTaska: = a + 1;ST:MathematicalProcessesProgrammingLanguage BestSuited to theProcess isSelectableTaskSFC:Step ProgressionControlYou 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.5-4 <strong>CJ2</strong> <strong>CPU</strong> <strong>Unit</strong> <strong>Software</strong> User’s <strong>Manual</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!