3.5.3.2Program Operation Command (0001)

(1)Function

This command controls the operating state of the program specified in data area 2 based on the setting of data area 1.

(2)Format

Command area (4 bits, input) 0001

Data area 1 (8 bits, input) 00000001: Program reset start

00000010: Program start

00000100: Continue start

00010000: Step stop

00100000: Instantaneous stop

01000000: Reset

An error (ERROR2032) will occur if data is other than the above is set.

Data area 2 (16 bits, input)

Program number: Program number to start

When the number given in data area 2 is nn, the operating state of PR0nn will be controlled as given in data area 1. If the program number is negative in the case of a step stop, instantaneous stop or reset command, all programs will stop or be reset. If the program number is negative with a program reset start or program start command, ERROR73E4 will result.

Status area (16 bits, output) Nothing will be output.

(3)Description

Program reset start

This command is executable only in external mode. If executed in other mode an error will occur.

This command initializes and starts the program of the program number specified in data area 2. PRO0 to PRO32767 can be started. If the program number specified in data area 2 is negative, an error (ERROR73E4) will occur.

Either of the following operations takes place according to the operating status of the program:

If the specified program is terminated (stopped), step-stopped or immediately stopped, it will start from the beginning.

If the specified program is running, an error (ERROR21F5) will be displayed, and the program will stop.

53

Page 73
Image 73
Denso RC5 manual Program Operation Command, Format, Description