Omron trajexia CJ1W-MCH72 Operation Manual page 82

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

Advertisement

FINS commands
3-4-6
Stop (0402)
Note
3-4-7
Error Data Read (2110)
The FINS Stop command stops a BASIC program. It has this format:
/i
04
02
00
command_code
process
The parameters can have the following values:
/i
Parameter
process
The CJ1W-MCH72 responds with these codes:
/i
Condition
All elements valid
process invalid
Stop BASIC program that is not
running
The FINS Stop command (0402) is equal to the FINS Run command (0401) where
mode is equal to 00.
The FINS Error Data Read command reads the error data (error line and error
code) of a process. It has this format:
/i
21
10
00
command_code
process
The parameters can have the following values:
/i
Parameter
process
The CJ1W-MCH72 responds with these codes:
/i
Condition
All elements valid
If the response code is 0000, the CJ1W-MCH72 responds with the error data:
/i
21
01
command_code
response_code
error_line is equal to the return value of the BASIC command ERROR_LINE
PROC(process).
error_code is equal to the return value of the BASIC command RUN_ERROR
PROC(process).
..
01..0E (Process number)
Response code
(hex)
0000
1106
2202
..
01..0E (Process number)
Response code
(hex)
0000
00
00
..
error_line
Section 3-4
Values
Description
OK
Process number does not
exist
Wrong mode (stopped)
Values
Description
OK
..
..
error_code
..
71

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents