Omron trajexia CJ1W-MCH72 Operation Manual page 81

Sysmac cj-series programmable controller
Hide thumbs Also See for trajexia CJ1W-MCH72:
Table of Contents

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents