Xc, xq - execute or continue program, Simpliq – ElmoMC SimplIQ Command Reference User Manual

Page 174

Advertising
background image

XC, XQ - Execute or Continue Program

Purpose:
Executes the user program from a specified label, or runs a specified function.
ƒ

XQ##MYFUNCTION(a,b,c) runs the function MYFUNCTION(a,b,c).

ƒ

XQ##LABEL runs from ##LABEL.

ƒ

XQ## runs from the start of the user program code.

ƒ

The XQ command without a parameter is illegal.

ƒ

XQ does not return a value.

The XQ command clears the error status of the program, along with run-time error flags.
It does not reset program variables and does not clear the interrupt mask. XC continues a
halted program (refer to the

HP

command).

Attributes:

Type: Command,

String

Source:

RS-232, CANopen

Restrictions: Program

loaded,

compiled and not running.

XC requires a running program to be halted.

Unit modes: All
Activation: Immediate

Reference chapters in the

SimplIQ

Software Manual:

Chapter 6, ”Program Development and Execution”

SimplIQ

Command Reference Manual

Alphabetical Listing

MAN-SIMCR (Ver. 4.5)

3-161

Advertising