FINS commands
Section 3-4
70
3-4-5
Run (0401)
The FINS Run command starts or stops a BASIC program.
The FINS Run command has these formats:
• To start a BASIC program:
/i
• To stop a BASIC program:
/i
The parameters can have the following values:
/i
The CJ1W-MCH72 responds with these codes:
/i
If the response code is 0000, the program is started or stopped.
04
01
00
..
01
..
..
command_code
process
mode
program_name
04
01
00
..
00
command_code
process
mode
Parameter
Values
mode
•
00 (Stop)
•
01 (Start)
process
01..0E (Process number)
program_name
A string that represents the program name
(The string does not have zero termination)
Condition
Response code
(hex)
Description
All elements valid
0000
OK
process
invalid
1106
Process number does not
exist or invalid mode
mode
invalid
program_name
invalid
2402
Program name does not
exist
Process already in use
2201
Wrong mode (executing)
Stop BASIC program that is not run-
ning
2202
Wrong mode (stopped)
Summary of Contents for SYSMAC CJ Series
Page 2: ......
Page 70: ...Specifications Section 2 4 58...
Page 84: ...FINS commands Section 3 4 72...
Page 148: ...All BASIC commands Section 4 2 136 AXIS 1 AXIS 0...
Page 370: ...Section 358...