2 the elmo studio, 3 the db command, The elmo studio -27 – ElmoMC SimplIQ Software Manual User Manual

Page 89: The db command -27

Advertising
background image

SimplIQ

Software Manual

Program Development and Execution

MAN-SIMSW (Ver. 1.4)

6-27

KL=0 kills all virtual machines, if any are running.
KL stops the motor.
HP halts all virtual machines; they can be continued later by the XC command.
If HP halts inside a wait statement, the wait time stops running while the program is halted.
XC continues all virtual machines.

6.7.2

The Elmo Studio

The Elmo Studio IDE provides the environment for debugging a user program. It includes
these functions:
ƒ

Error reporting

ƒ

Step out

ƒ

Pause and continue a program

ƒ

Step over

ƒ

Breakpoints

ƒ

Watch global variables

ƒ

Run to cursor

ƒ

Watch auto/local variables

ƒ

Step in

ƒ

View call stack functions

6.7.3

The DB Command

The DB command was designed for use with the Elmo Studio IDE. Therefore, users of

the Elmo Studio require no further knowledge of its functionality. The information in
this section is provided for advanced programmers and may be changed without
further notice.

This command assists in analyzing the user program, enabling the user to:
ƒ

Set and remove breakpoints.

ƒ

Get information about existing VAC machines.

ƒ

Get the running status of the program.

ƒ

Get the error status of a VAC machine.

ƒ

Ask for or change values of local variables.

ƒ

Get the program call stack.

The DB command should be used by IDE managers. The syntax of the command is strict:
Spaces and white characters are not allowed, in order to simplify the treatment of the
command. All values must be numbers; expressions are illegal.

Advertising