8
4. Example of converting ladder program by CX-Programmer
This section explains the method of converting the ladder program using CX-Programmer Ver.9.1. Here,
convert the ladder program of CJ1M/CJ1G for CJ2M-CPU** as an example.
♦
Changing model from CJ1M/CJ1G to CJ2M.
As shown on the below figure, select NewPLC1[CJ1M] and right-click or double click it to change the
PLC model. Please set the CPU model to the Device Type.
The error report might be displayed if there are instructions which cannot be converted.
Please correct and modify the program using support software function or manually, and execute
program check. If errors are detected by the program check, please correct them referring to the
error report.
♦
Checking program
Check whether there is problem in the ladder program which was converted from the CJ1M/CJ1G
series for CJ2M series.
Program check
There are 2 types of program check; automatic check on the CX-Programmer and check conducted
by users. CX-Programmer checks the program when “Change model” is executed and the ledder
program is converted.
•
Automatic program checks on the CX-Programmer
Timing of program check
Description
When PLC model is changed. Program check for each PLC model
Check for all instructions and all operands.
You can see the check result on the "Compile (Program check)" tab of the Output Window.
The left bus-bar on the ladder section window turns red if there is an error in the rung.
•
Program check conducted by users
This section describes the procedure of program check, an example of checking
result, and explanation of error levels.
<Program check for one program (task)>
1.
Select the ladder section window or nimonic window to check.
2.
Select
Program – Compile (Program check)
.
The results of program check will be displayed on the Output Window. Refer to
Results of
program check
on the next page for details.
Right-click and
select
“Change” or
double-click.
Содержание CJ2M-CPU Series
Страница 6: ...MEMO ...
Страница 23: ...MEMO ...
Страница 24: ...2020 0320 1210 P068 E1 03 Note Do not use this document to operate the Unit ...