User`s manual
Table Of Contents
- MPC-684 family
- The feature of the MPC-684
- Program development environment
- How to connect
- Input commands
- I/O check
- How to input program
- Edit of a program
- How to program save to the PC, load from the PC
- I/O control
- Variable, Array variable, String variable, Memory I/O
- Calculation
- Pulse generation
- Multi-task
- RS-232 communication
- Debugging
- Use touch panel
- Command List

Edit of a program
Explanation of useful operations for editing a program
LIST display
‘LIST’ is the command used most.
LIST [n,m]
n: Start line number or LABEL
m: The number of lines to display
You can view the program's first block of code by entering 'LIST' ( figure 16-1), if you enter 'LIST'
once more it will display the next block. And so on consecutively.
You can specify a line number or label to view by inputting it in the first parameter. (figure
16-2,16-3)
You can specify the number of lines displayed in the 2nd parameter. (figure 16-4)
You can view the program from the beginning by entering 'LIST 0'. (figure 16-5)
[16-1]
#LIST
10 IF SW(192)==0 THEN
20 GOTO *MANU
30 ELSE
[16-2]
#LIST 40
40 GOTO *AUTO
50 END_IF
100 *MANU
[16-3]
#LIST *MANU
100 *MANU
110 'MANUAL JOB
200 *AUTO
[16-4]
#LIST *MANU 2
100 *MANU
110 'MANUAL JOB
[16-5]
#LIST 0 20
10 IF SW(192)==0 THEN
20 GOTO *MANU
30 ELSE
40 GOTO *AUTO
50 END_IF
100 *MANU
110 'MANUAL JOB
200 *AUTO
210 'AUTO JOB
16