EasyManua.ls Logo

Comau C3G Plus - Execute Command

Comau C3G Plus
266 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
-
with sets of bits. The $BIT interval required should be specified giving the first and last bits separated by
“..”. For example, “DISPLAY VAR BIT” “1..15" displays all the $BITs with an index between 1 and 15. A
maximum of 16 bits (on the teach pendant) and 32 bits (for the PCINT) can be displayed at the same time.
Syntax: DVB
·
Word displays $WORD, in decimal format, hexadecimal or optionally in binary format.
A string of numbers can be used to specify the index of individual items of an array (1-512). The num
-
bers are separated by hyphens (-). A set of numbers is separated by two dots (..).
Option: /Hex displays data in hexadecimal format
/Binary displays the data in binary format.
Syntax: DVW <string_of_numbers>
EXECUTE COMMAND
Immediate execution of a PDL2 statement
Configure Display Execute
Filer Memory Program Set Utility
The EXECUTE command executes a subset of PDL2 programme instructions from the command level. This
is sometimes referred to as immediate mode execution, as it must be used for the execution of short instruc
-
tions with immediate effect (for example setting a predefined variable to a certain value).
An instruction is required as parameter. If the instruction involves references to variables, it is necessary to
specify the programme name as second parameter of the EXECUTE command. The option for the EXE-
CUTE command is available in the second parameter.
Options: /Context causes association of all references to predefined variables with the
programme
specified. If this option is not used, default values will be used for the predefined
variables and assignments to them will be ineffectual. An error occurs if this option is
used and the programme is not currently active.
Syntax: E instruction <programme_name>
Example: E ‘WRITE($ERROR,NL)’ ‘pippo’ output = 0
E/C ‘WRITE($ERROR, NL)’ ‘pippo’ output = pippo’s $ERROR
The following instructions cannot be used with the EXECUTE command:
·
WAIT
·
CONDITION
·
ENABLE CONDITION
·
DISABLE CONDITION
·
PURGE CONDITION
Programme variables cannot be created with immediate mode execution.
The control must not be in FATAL status for this command to be valid and system, memory and programme
protection must be disabled. Pressing ^C deactivates execution.
The following conditions concern instructions that cause motion:
·
the key status selector on the control panel must be in the programming position
·
the Auto/Manual selector of the programming terminal must be set to Manual
·
all motion is at a limited safety speed
·
the enable button must be pressed and held during motion
·
START must be pressed and held to maintain motion
·
pressing HOLD suspends motion (which can be restarted with START followed by RUN).
OPERATOR INTERFACE C3G Plus
3-32 03/0499
EXECUTE COMMAND

Table of Contents