Omron SYSMAC CJ Operation Manual page 82

Sysmac cj-series programmable controller motion control unit
Hide thumbs Also See for SYSMAC CJ:
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
Process already in use
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)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cj1w-mch72

Table of Contents