V+ Language Quick Reference

This Quick Reference table is arranged alphabetically by command name, click an underlined letter to jump to the first command that begins with that letter.

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

 

ABORT (task_num)

Terminate execution of an executing program task.

ABOVE

Request a change in the robot configuration during the next motion so that the elbow is above the line from the shoulder to the wrist.

ABS (value)

Return absolute value.

ACCEL (profile) acceleration, deceleration

Set acceleration and deceleration for robot motions. Optionally, specify a defined acceleration profile.

ACCEL(select)

Return the current setting for robot acceleration or deceleration setting or return the maximum allowable percentage limits set by the spec utility program (see the Instructions for Adept Utility Programs for details).

...ADW

Determines whether the V+ robot-control system controls the physical robot(s) (ADW disabled) or interacts with the Adept Digital Workcell simulation product running on a remote computer (ADW enabled).

AIO.IN (channel, gain)

Read a channel from one of the analog IO boards.

AIO.INS (channel)

Test whether an analog input or output channel is installed.

AIO.OUT channel = value

Write to a channel on one of the analog IO boards.

ALIGN

Align the robot tool Z axis with the nearest world axis.

ALTER (control) Dx, Dy, Dz, Rx, Ry, Rz

Specify the magnitude of the real-time path modification that is to be applied to the robot path during the next trajectory computation.This option is available only if your Adept system is equipped with the V+ Extensions option.

ALTOFF

Terminate real-time path-modification mode (alter mode).

ALTON (lun)

Enable real-time path-modification mode (alter mode), and specify the way in which ALTER coordinate information will be interpreted.

...ALWAYS

Used with certain program instructions to specify a long-term effect.

...value AND value...

Perform the logical AND operation on two values.

ANY

Signal the beginning of an alternative group of instructions for the CASE structure.

APPRO location, distance

APPROS location, distance

Start a robot motion toward a location defined relative to specified location.

ASC (string, index)

Return an ASCII character value from within a string.

ATAN2 (value_1, value_2)

Return the size of the angle (in degrees) that has its trigonometric tangent equal to value_1/value_2.

ATTACH (lun, mode)$device

Make a device available for use by the application program.

AUTO type variable, ..., variable

Declare temporary variables that are automatically created on the program stack when the program is entered.

AUTO.POWER.OFF

Control whether or not V+ disables high power when certain motion errors occur.

...AVR

Determines whether ActiveVR instructions received from a host system are handled or ignored by the V+ operating system.

...AVR.LOG

This system switch enables/disables a buffer to store ActiveVR instructions.

...AVR.LOGSIZE

This system parameter determines the size of the log circular buffer used by ActiveVR.

...AVR.TRACE

This system switch determines whether trace messages for ActiveVR instructions are displayed in the V+ monitor window.

... value  BAND  value ...

Perform the binary AND operation on two values.

BASE X_shift, Y_shift, Z_shift, Z_rotation

Translate and rotate the World reference frame relative to the robot.

BASE

Return the transformation value that represents the translation and rotation set by the last BASE command or instruction.

BCD (value)

Convert a real value to Binary Coded Decimal (BCD) format.

BELOW

Request a change in the robot configuration during the next motion so that the elbow is below the line from the shoulder to the wrist.

... BELT

Control the function of the conveyor tracking features of the V+ system.

BELT (%belt_var, mode)

Return information about a conveyor belt being tracked with the conveyor tracking feature.

...BELT.MODE

Set characteristics of the conveyor tracking feature of the V+ system.

BITS first_sig, num_sigs = value

Set or clear a group of digital signals based on a value.

BITS (first_sig, num_sigs)

Read multiple digital signals and return the value corresponding to the binary bit pattern present on the signals.

BMASK (bit, bit, ..., bit)

Create a bit mask by setting individual bits.

... value BOR value ...

Perform the binary OR operation on two values.

BRAKE

Abort the current robot motion.

BREAK

Suspend program execution until the current motion completes.

BSTATUS

Return information about the status of the conveyor tracking system.

... value BXOR value ...

Perform the binary exclusive-OR operation on two values.

SCALE (transformation BY  value)

SHIFT (transformation BY value, value, value)

Complete the syntax of the SCALE and SHIFT functions.

CALIBRATE mode, status

Initialize the robot positioning system with the robot's current position.

CALL program(arg_list)

Suspend execution of the current program and continue execution with a new program (that is, a subroutine).

CALLP var(arg_list)

Call a program given a pointer to the program in memory.

CALLS string(arg_list)

Suspend execution of the current program and continue execution with a new program (that is, a subroutine) specified with a string value.

CASE value OF

Initiate processing of a CASE structure by defining the value of interest.

$CHR (value)

Return a one-character string corresponding to a given ASCII value.

CLEAR.EVENT task, flag, processor

Clear an event associated with the specified task.

CLOSE

CLOSEI

Close the robot gripper.

COARSE tolerance ALWAYS

Enable a low-precision feature of the robot hardware servo.

...COM value ...

Perform the binary complement operation on a value.

CONFIG (select)

Return a value that provides information about the robot's geometric configuration, or the status of the motion servo-control features.

COS (angle)

Return the trigonometric cosine of a given angle.

...CP

Control the continuous-path feature.

CPOFF ALWAYS

Instruct the V+ system to stop the robot at the completion of the next motion instruction (or all subsequent motion instructions) and null position errors.

CPON ALWAYS

Instruct the V+ system to execute the next motion instruction (or all subsequent motion instructions) as part of a continuous path.

CYCLE.END task_num, stop_flag

Terminate the executing program in the specified task the next time it executes a STOP program instruction (or its equivalent).

Suspend processing of an executable program until a program running in the specified task completes execution.

DBLB ($string, first_char)

Return the value of eight bytes of a string interpreted as an IEEE double-precision floating-point number.

$DBLB (value)

Return an 8-byte string containing the binary representation of a real value in double-precision IEEE floating-point format.

DCB (value)

Convert BCD digits into an equivalent integer value.

...DECEL.100 [robot_num]

Enable or disable the use of 100 percent as the maximum deceleration for the accel program instruction.

$DECODE ($string_var, string_exp, mode)

Extract part of a string as delimited by given break characters.

DECOMPOSE array_name[index] = location

Extract the (real) values of individual components of a location value.

$DEFAULT ()

Return a string containing the current system default device, unit, and directory path for disk file access.

DEFBELT %belt_var = nom_trans, belt_num, vel_avg, scale_fact

Define a belt variable for use with a conveyor tracking robot.

DEF.DIO signal = address, type

Assign third-party digital I/O boards to standard V+ signal numbers for use by standard V+ instructions, functions, and monitor commands.

DEFINED (var_name)

Determine whether a variable has been defined.

DELAY time

Cause robot motion to stop for the specified time.

DELAY.IN.TOL

Controls the timing of COARSE or FINE nulling after V+ completes a motion segment. 

DELAY.POWER.OFF

Enable/disable the ESTOP timer delay feature for servo errors.

DEPART distance

DEPARTS distance

Start a robot motion away from the current location.

DEST

Return a transformation value representing the planned destination location for the current robot motion.

DETACH (logical_unit)

Release a specified device from the control of the application program.

DEVICE (type, unit, error, p1, p2, ...) out[i], in[j],out_trans, in_trans

Send a command or data to an external device and, optionally, return data back to the program. (The actual operation performed depends on the device referenced.)

DEVICE (type, unit, error, p1, p2,...)

Return a real value from a specified device. The value may be data or status information, depending upon the device and the parameters.

DEVICES (type, unit, error, p1, p2, ...) $out, $in

Send commands or data to an external device and optionally return data. The actual operation performed depends on the device referenced.

DISABLE (switch, ... switch)

Turn off one or more system control switches.

...DISPLAY.CAMERA

Set the number of camera values that will be displayed when a PARAMETER or SWITCH monitor command is issued.

DISTANCE (location_1, location_2)

Determine the distance between the points defined by two location values.

DN.RESTART

Restarts DeviceNet communication if the CanBus goes offline.

...DN.THROTTLE

This parameter limits the number of nodes that are polled by the SmartController DeviceNet driver every scan interval to increase available CPU time.

DO

Introduce a DO program structure.

DOS string, error

Execute a program instruction defined by a string expression.

DRIVE joint, change, speed

Move an individual joint of the robot.

... DRY.RUN

Control whether or not V+ communicates with the robot.

DURATION time ALWAYS

Set the minimum execution time for subsequent robot motions.

DURATION (select)

Return the current setting of one of the motion DURATION specifications.

DX (location)

DY (location)

DZ (location)

Return a displacement component of a given transformation value.

ELSE

Separate the alternate group of statements in an IF ... THEN control structure.

ENABLE switch, ..., switch

Turn on one or more system control switches.

$ENCODE (output_specification, output_specification, ...)

Return a string created from output specifications. The string produced is similar to the output of a TYPE instruction.

END

Mark the end of a control structure.

.END

Mark the end of a V+ program.

ERROR (source, select)

Return the error number of a recent error that caused program execution to stop or caused a REACTE reaction. Executing a REACTE statement clears any errors for the current task and causes the ERROR to not return errors as expected.

$ERROR (error_code)

Return the error message associated with the given error code.

ESTOP

Assert the emergency-stop signal to stop the robot.

EXECUTE /C task_num program(param_list), cycles, step, priority[i]

Begin execution of a control program.

EXIT count

Branch to the statement following the nth nested loop of a control structure.

FALSE

Return the value used by V+ to represent a logical false result.

FCLOSE (logical_unit)

Close the disk file, graphics window, or graphics icon currently open on the specified logical unit.

FCMND (logical_unit, command_code) $out_string, $in_string

Generate a device-specific command to the input/output device specified by the logical unit.

FDELETE (logical_unit) object

Delete the specified disk file, the specified graphics window and all its child windows, or the specified graphics icon.

FEMPTY (logical_unit)

Empty any internal buffers in use for a disk file or a graphics window by writing the buffers to the file or window if necessary.

FINE tolerance ALWAYS

Enable a high-precision feature of the robot hardware servo.

FLIP

Request a change in the robot configuration during the next motion so that the pitch angle of the robot wrist has a negative value.

FLTB ($string, first_char)

Return the value of four bytes of a string interpreted as an IEEE single-precision floating-point number.

$FLTB (value)

Return a 4-byte string containing the binary representation of a real value in single-precision IEEE floating-point format.

FOPEN (logical_unit, mode) attribute_list

Create and open a new graphics window or TCP connection, or open an existing graphics window for subsequent input or output.

FOPEN (lun, record_len, mode) file_spec

Open a disk file for read-only, read-write, read-write-append, or read-directory, as indicated by the last letter of the instruction name.

FOR loop_var = initial TO final STEP increment

Execute a group of program instructions a certain number of times.

FORCE.FRAME

AdeptForce option status and control instructions.

FRACT (value)

Return the fractional part of the argument.

FRAME (location_1, location_2, location_3, location_4)

Return a transformation value defined by four positions.

FREE (memory, select)

Return the amount of unused free memory storage space.

FSEEK (logical_unit, record_number)

Position a file open for random access and initiate a read operation on the specified record.

FSET (logical_unit) attribute_list

Set or modify attributes of a graphics window, serial line, or network device related to AdeptNet.

GAIN.SET set, motor

Select a set of feedback gain parameters for one or more motors of the currently selected robot.

GARC (lun, mode) xc, yc, radius, ang0, angn

Draw an arc or a circle in a graphics window.

GCHAIN (lun) x, y, points, direction[index]

Draw a chain of points in a graphics window to form a complex figure.

GCLEAR (lun)

Clear an entire graphics window to the background color.

GCLIP (lun) x, y, dx, dy

Set the clipping rectangle for all graphics instructions (except GFLOOD), to suppress all subsequent graphics that fall outside the rectangle.

GCOLOR (lun) foregrnd, backgrnd

Set the foreground and background colors for subsequent graphics output.

GCOPY (lun) x, y = src_x, src_y, dx, dy

Copy one region of a window to another region in the same window.

GETC (lun, mode)

Return the next character (byte) from a device or input record on the specified logical unit.

GET.EVENT (task)

Return events that are set for the specified task.

GETEVENT (lun, mode) events[index]

Return information describing input from a graphics window or input from the terminal.

GFLOOD (logical_unit) x, y

Flood a region in a graphics window with color.

GGETLINE (logical_unit) $data[index], num.pix = x, y, nx

Return pixel information from a single pixel row in a graphics window.

GICON (lun, mode) x, y, $name, index

Draw a predefined graphic symbol (icon) in a graphics window.

GLINE (lun) x0, y0, xn, yn

Draw a single line segment in a graphics window.

GLINES (logical_unit, mode) points, coord[offset,index]

Draw multiple line segments in a graphics window.

GLOBAL type variable, ..., variable

Declare a variable to be global and specify the type of the variable. GLOBAL statements must appear before any executable statement in the program.

GLOGICAL (logical_unit) code, planes

Set the logical operation to be performed between new graphics output and graphics data already displayed, and select which bit planes are affected by graphics instructions.

GOTO label

Perform an unconditional branch to the program step identified by the given label.

GPANEL (lun, mode) x, y, dx, dy

Draw a rectangular panel with shadowed or grooved edges.

GPOINT (lun) x, y

Draw a single point in a graphics window.

GRECTANGLE (lun, mode) x, y, dx, dy

Draw a rectangle in a graphics window.

GSCAN (lun) lines, data[offset,index]

Draw a number of horizontal lines in a graphics window to form a complex figure.

GSLIDE (lun, mode) id = x, y, length, max_pos, arrow_inc, handle

Draw a slide bar in preparation for receiving slide events.

GTEXTURE (lun) mode, pattern

Set the opaque/transparent mode and the texture pattern for subsequent graphics output.

GTRANS (lun, mode) array[,]

Scale, rotate, offset, and apply perspective correction to all subsequent graphics instructions.

GTYPE (lun, mode) x, y, $text, font_numb

Display a text string in a graphics window.

HALT

Stop program execution and do not allow the program to be resumed.

HAND

Return the current hand opening.

...HAND.TIME

Establish the duration of the motion delay that occurs during OPENI, CLOSEI, and RELAXI instructions.

HERE location_var

Set the value of a transformation or precision-point variable equal to the current robot location.

HERE

Return a transformation value that represents the current location of the robot tool point.

HOUR.METER

Return the current value of the robot hour meter.

ID (component, device, board)

Return values that identify the configuration of the current system.

$ID (select)

Return the system ID string.

IDENTICAL (location, location)

Determine whether two location values are exactly the same.

IF logical_expr GOTO label

Branch to the specified step label if the value of the logical expression is TRUE (nonzero).

IF logical_expr THEN

Conditionally execute a group of instructions (or one of two groups) depending on the result of a logical expression.

IGNORE signal

Cancel the effect of a REACT or REACTI instruction.

INRANGE (location)

Return a value that indicates whether a location can be reached by the robot and, if not, why not.

INSTALL  password, op

Install or remove software options available to Adept systems.

INT (value)

Return the integer part of the value.

INTB ($string, first_char)

Return the value of two bytes of a string interpreted as a signed 16-bit binary integer.

$INTB (value)

Return a 2-byte string containing the binary representation of a 16-bit integer.

...INTERACTIVE

Control the display of message headers on the system terminal and requests for confirmation before performing certain operations.

INT.EVENT source, level

Send an event (as though from a SET.EVENT instruction) to the current task if an interrupt occurs on a specified VMEbus vector or a specified digital I/O signal transitions to positive.

INVERSE (transformation)

Return the transformation value that is the mathematical inverse of the given transformation value.

IOGET (address, type, cpu)

Return a value from global memory or from a device on the VME bus.

$IOGETS (address, length, type, cpu)

Return a string value from a device on the VME bus.

IOPUT address, type, cpu = value

Write a value to global CPU memory or to a device on the VME bus.

IOSTAT (lun, mode)

Return status information for the last input/output operation for a device associated with a logical unit.

IOTAS (address, type, cpu)

Control access to shared devices on the VME bus.

SPEED value IPS ALWAYS

Specify the units for a SPEED instruction as inches per second.

JHERE variable1, ..., variablen

Records the current robot joint positions in real or double-precision variables. This instruction supports MicroV+.

JMOVE expression1,...,expressionn

Moves all robot joints to positions described by a list of joint values. The robot performs a coordinated motion in joint-interpolated mode. This instruction supports MicroV+.

JOG (status) robot, mode, axis, speed 

Moves ("jogs") the specified axis or joint of the robot. Each time JOG executes, the specified axis or joint moves for 200 ms.

... KERMIT.RETRY

Establish the maximum number of times the (local) Kermit driver should retry an operation before reporting an error.

... KERMIT.TIMEOUT

Establish the delay parameter that the V+ driver for the Kermit protocol sends to the remote server.

KEYMODE first_key, last_key = mode, setting

Set the behavior of a group of keys on the manual control pendant.

KILL task_number

Clear a program execution stack and detach any I/O devices that are attached.

LAST (array_name[])

Return the highest index used for an array (dimension).

LATCH (select)

Return a transformation value representing the location of the robot at the occurrence of the last external trigger or AdeptForce guarded-mode trigger.

LATCHED (select)

Return the status of the external trigger and/or an AdeptForce guarded-mode trigger.

LEFTY

Request a change in the robot configuration during the next motion so that the first two links of a SCARA robot resemble a human's left arm.

LEN (string)

Return the number of characters in the given string.

LNGB ($string, first_char)

Return the value of four bytes of a string interpreted as a signed 32-bit binary integer.

$LNGB (value)

Return a 4-byte string containing the binary representation of a 32-bit integer.

 LOCAL type variable, ..., variable

Declare permanent variables that are defined only within the current program.

LOCK priority

Set the program reaction lock-out priority to the value given.

MAX (value, ..., value)

Return the maximum value contained in the list of values.

MC monitor_command

Introduce a monitor command within a command program.

... MCP.MESSAGE

Control how system error messages are handled when the controller keyswitch is not in the manual position.

...MCP.NO.POT

Modifies the use of the STEP button on the MCP and on the T1 Pendant.

MCS string

Invoke a monitor command from an application program.

... MCS.MESSAGE

Enable or disable output to the system terminal from monitor commands executed with the MCS instruction.

...MESSAGES

Enable or disable output to the system terminal from TYPE instructions.

$MID (string, first_char, num_chars)

Return a substring of the specified string.

MIN (value, ..., value)

Return the minimum value contained in the list of values.

SPEED value MMPS ALWAYS

Specify the units for a SPEED instruction as millimeters per second.

... value MOD value ...

Compute the modulus of two values.

...MONITORS

Enable or disable selecting of multiple monitor windows.

MOVE location

MOVES location

Initiate a robot motion to the position and orientation described by the given location.

MOVEF location, depart_clr, appro_clr, depart_tqe, horiz_accel_tqe, horiz_decel_tqe, appro_tqe, model

MOVESF location, depart_clr, appro_clr, depart_tqe, horiz_accel_tqe, horiz_decel_tqe, appro_tqe, model

Initiate a three-segment pick-and-place robot motion to the specified destination, moving the robot at the fastest allowable speed.

MOVET location, hand_opening

MOVEST location, hand_opening

Initiate a robot motion to the position and orientation described by the given location and simultaneously operate the hand.

MULTIPLE ALWAYS

Allow full rotations of the robot wrist joints.

NETWORK (component, code)

Return network status and IP address information

NEXT count

Branch to the END statement of the nth nested loop, perform the loop test, and loop if appropriate.

NOFLIP

Request a change in the robot configuration during the next motion so that the pitch angle of the robot wrist has a positive value.

NONULL ALWAYS

Instruct the V+ system not to wait for position errors to be nulled at the end of continuous-path motions.

NOOVERLAP always

Generate a program error if a motion is planned that causes selected multiturn axes to turn more than around) in order to avoid a limit stop.

NORMAL (transformation_value)

Correct a transformation for any mathematical round-off errors.

... NOT value ...

Perform logical negation of a value.

... NOT.CALIBRATED

Indicate (or assert) the calibration status of the robots connected to the system.

NULL ALWAYS

Instruct the V+ system to wait for position errors to be nulled at the end of continuous path motions.

NULL

Return a null transformation value-one with all zero components.

OFF

Return the value used by V+ to represent a logical false result.

ON

Return the value used by V+ to represent a logical true result.

OPEN

OPENI

Open the robot gripper.

... value OR value ...

Perform the logical OR operation on two values.

OUTSIDE (low, test, high)

Test a value to see if it is outside a specified range.

OVERLAP always

Disable the NOOVERLAP limit-error checking either for the next motion or for all subsequent motions.

#PDEST

Return a precision-point value representing the planned destination location for the current robot motion.

#PHERE

Return a precision-point value representing the current location of the currently selected robot.

#PLATCH (select)

Return a precision-point value representing the location of the robot at the occurrence of the last external trigger or AdeptForce guarded-mode trigger.

#PPOINT (j1_value, j2_value, j3_value, j4_value, j5_value, j6_value, j7_value, j8_value, j9_value, j10_value, j11_value, j11_value)

Return a precision-point value composed from the given components.

PACK string_array[index], first_char, num_chars = string

PACK string_var, first_char, num_chars = string

Replace a substring within an array of (128-character) string variables, or within a (nonarray) string variable.

PANIC

Simulate an external E-stop or panic button press; stop all robots immediately, but do not turn off HIGH POWER.

PARAMETER parameter_name = value

PARAMETER parameter_name[index] = value

Set the value of a system parameter.

PARAMETER (parameter_name)

PARAMETER (parameter_name[index])

Return the current setting of the named system parameter.

PAUSE

Stop program execution but allow the program to be resumed.

PAYLOAD value, motor

Adjust the feedforward compensation for a specified motor by setting a percentage of the maximum payload assumed for that motor.

PENDANT (select)

Return input from the manual control pendant.

PI

Return the value of the mathematical constant pi (3.141593).

POS (search_string, sub_string, start)

Return the starting character position of a substring in a string.

...POWER

Control or monitor the status of high power.

PRIORITY

Return the current reaction lock-out priority for the program.

.PROGRAM program_name (argument_list) ;comment

Define the arguments that are passed to a program when it is invoked.

PROMPT output_string, variable_list

Display a string on the system terminal and wait for operator input.

RANDOM

Return a pseudorandom number.

REACT signal_num, program, priority

Initiate continuous monitoring of a specified digital signal and automatically trigger a subroutine call if the signal properly transitions.

REACTE program_name

Initiate the monitoring of errors that occur during execution of the current program task.

REACTI signal_num, program, priority

Initiate continuous monitoring of a specified digital signal. Automatically stop the current robot motion if the signal transitions properly and optionally trigger a subroutine call.

READ (lun, record_num, mode) var_list

Read a record from an open file or from an attached device that is not file oriented. For an AdeptNet device, read a string from an attached and open TCP connection.

READY

Move the robot to the READY location above the workspace, which forces the robot into a standard configuration.

RELAX

RELAXI

Limp the pneumatic hand.

RELEASE task

Allow the next available program task to run.

RESET

Turn off all the external output signals.

RETURN

Terminate execution of the current subroutine, and resume execution of the suspended program at its next step. A program may have been suspended by issuing a CALL, CALLP, or CALLS instruction, or by the triggering of a REACT, REACTE, or REACTI condition.

RETURNE

Terminate execution of an error reaction subroutine and resume execution of the last-suspended program at the step following the instruction that caused the subroutine to be invoked.

RIGHTY

Request a change in the robot configuration during the next motion so that the first two links of the robot resemble a human's right arm.

...ROBOT [index]

Enable or disable one robot or all robots.

ROBOT.OPR

Execute operations that are specific to the currently selected robot or robot module.

ROBOT.OPR (mode, index)

Returns robot-specific data for the currently selected robot.

RUNSIG signal_num

Turn on (or off) the specified digital signal as long as execution of the invoking program task continues.

RX (angle)

RY (angle)

RZ (angle)

Return a transformation describing a rotation.

SCALE (transformation BY scale_factor)

Return a transformation value equal to the transformation parameter with the position scaled by the scale factor.

...SCALE.ACCEL [robot_num]...

Enable or disable the scaling of acceleration and deceleration as a function of program speed, as long as the program speed is below a preset threshold.

...SCALE.ACCEL.ROT [robot_num]

Specify whether or not the SCALE.ACCEL switch takes into account the Cartesian rotational speed during straight-line motions.

... SCREEN.TIMEOUT

Establish the time-out period for blanking the screen of the graphics monitor.

SEE (lun) prog_spec, step

Invoke the screen-oriented program editor to allow a program to be created, viewed, or modified.

SELECT device_type = unit

Select a unit of the named device for access by the current task.

SELECT (device_type, mode)

Return the unit number that is currently selected by the current task for the device named.

SET location_var = location_value

Set the value of the location variable on the left equal to the location value on the right of the equal sign.

SET.EVENT task, flag, processor

Set an event associated with the specified task.

#SET.POINT

Return the commanded joint-angle positions computed by the trajectory generator during the last trajectory-evaluation cycle.

...SET.SPEED

Control whether or not the monitor speed can be changed from the manual control pendant. The monitor speed cannot be changed when the switch is disabled.

SETBELT %belt_var = expression

Set the encoder offset of the specified belt variable equal to the value of the expression.

SETDEVICE (type, unit, error, command) p1, p2, ...

Initialize a device or set device parameters. (The actual operation performed depends on the device referenced.)

SHIFT (transformation BY x_shift, y_shift, z_shift)

Return a transformation value resulting from shifting the position of the transformation parameter by the given shift amounts.

SIG (signal_num, ..., signal_num)

Returns the logical AND of the states of the indicated digital signals.

SIG.INS (signal_num)

Return an indication of whether a digital I/O signal is installed in the system, or whether a software signal is available in the system.

SIGN (value)

Return the value 1, with the sign of the value parameter.

SIGNAL signal_num, ..., signal_num

Turn on or off external digital output signals or internal software signals.

SIN (value)

Return the trigonometric sine of a given angle.

SINGLE ALWAYS

Limit rotations of the robot wrist joint to the range -180 degrees to +180 degrees.

SOLVE.ANGLES o.jts[o.idx], o.flags, error = trans, i.jts[i.idx],i.flags

Compute the robot joint positions (for the current robot) that are equivalent to a specified transformation.

SOLVE.FLAGS (joints[index])

Return bit flags representing the robot configuration specified by an array of joint positions.

SOLVE.TRANS transform, error = joints[index]

Compute the transformation equivalent to a given set of joint positions for the current robot.

SPEED speed_factor, r_speed_factor units ALWAYS

Set the nominal speed for subsequent robot motions.

SPEED (select)

Return one of the system motion speed factors.

SPIN speeds[index]

Rotate one or more joints of the selected robot at a specified speed.

SQR (value)

Return the square of the parameter.

SQRT (value)

Return the square root of the parameter.

STATE (select)

Return a value that provides information about the robot system state.

STATUS (program_name)

Return status information for an application program.

STOP

Terminate execution of the current program cycle.

STRDIF ($a, $b)

Compare two strings byte by byte for the purpose of sorting. This function always compares bytes exactly. It ignores the setting of the UPPER system switch.

SWITCH switch_name = value

SWITCH switch_name[index] = value

Enable or disable a system switch based on a value.

SWITCH (switch_name)

SWITCH (switch_name[index])

Return an indication of the setting of a system switch.

$SYMBOL (pointer)

Determine the user symbol that is referenced by a pointer previously obtained with the SYMBOL.PTR real-valued function.

SYMBOL.PTR (string, type)

Determine the value of a pointer to a user symbol in V+ memory.

$SYS.INFO (mode, stg)

This string function is intended to provide general system information. It also provides access to the ActiveVR log data.

TAS (variable, new_value)

Return the current value of a real-valued variable and assign it a new value. The two actions are done indivisibly so that no other program task can modify the variable at the same time.

TASK (select, task_num)

Return information about a program execution task.

...TERMINAL

Determine how V+ will interact with the system terminal.

TIME time_string

Set the date and time.

TIME (string, select)

Return an integer value representing either the four-digit date or the time specified in the given string parameter.

$TIME (date, time)

Return a string value containing either the current system date and time or the specified date and time.

$TIME4 (date, time)

Return a string value containing either the current system four-digit date and time or the specified four-digit date and time.

TIMER timer_number = time_value

Set the specified system timer to the given time value.

TIMER (timer_number)

Return the current time value of the specified system timer.

TOOL transformation_value

Set the internal transformation used to represent the location and orientation of the tool tip relative to the tool mounting flange of the robot.

TOOL

Return the value of the transformation specified in the last TOOL command or instruction.

TPS

Return the number of ticks of the system clock that occur per second (Ticks Per Second).

...TRACE

Control the display of program steps on the system terminal during program execution.

TRANS (X_value, Y_value, Z_value, y_value, p_value, r_value)

Return a transformation value computed from the given X, Y, Z position displacements and y, p, r orientation rotations.

TRANSB (string, first_char)

Return a transformation value represented by a 48-byte string.

$TRANSB (transformation)

Return a 48-byte string containing the binary representation of a transformation value.

...TRUE...

Return the value used by V+ to represent a logical true result.

$TRUNCATE (string)

Return all characters in the input string until an ASCII NUL (or the end of the string) is encountered.

TYPE output_specification, ..., output_specification

Display the information described by the output specifications on the system terminal. A blank line is output if no argument is provided.

UNIDIRECT directions[index]

Specify that a joint is turning only in a single direction.

$UNPACK (string_array[index], first_char, num_chars)

Return a substring from an array of 128-character string variables.

UNTIL expression

Indicate the end of a DO ... UNTIL control structure and specify the expression that is evaluated to determine when to exit the loop. The loop continues to be executed until the expression value is nonzero.

...UPPER

Control whether or not the case of each character is ignored when string comparisons are performed.

VAL (string)

Return the real value represented by the characters in the input string.

VALUE expression_list:

Indicate the values that a CASE statement expression must match in order for the program statements immediately following to be executed.

WAIT condition

Put the program into a wait loop until the condition is TRUE.

WAIT.EVENT mask, timeout

Suspend program execution until a specified event has occurred, or until a specified amount of time has elapsed.

WHILE condition DO

Initiate processing of a WHILE structure if the condition is TRUE or skipping of the WHILE structure if the condition is initially FALSE.

WINDOW %belt_var = location, location, program, priority

Set the boundaries of the operating region of the specified belt variable for conveyor tracking.

WINDOW (transformation, time, mode)

Return a value that indicates where the location described by the belt-relative transformation value is relative to the predefined boundaries of the working range on a moving conveyor belt.

WRITE (lun, record_num, mode) format_list

Write a record to an open file, or to any I/O device. For an AdeptNet device, write a string to an attached and open TCP connection.

...value XOR value...

Perform the logical exclusive-OR operation on two values.