Find Docs

Galil Motion Control - manc 18x 6 (Page 209)

Wodocs >> Electronics : Motion Control >> Galil Motion Control manc 18x 6 Page 209
Galil Motion Control - manc 18x 6
DMC-18x6 Command Reference
201
TR
FUNCTION: Trace
DESCRIPTION:
The TR command causes each instruction in a program to be sent out the communications port
prior to execution. TR1 enables this function and TR0 disables it. The trace command is
useful in debugging programs.
ARGUMENTS: TR n, m
where
n = 0 Disables the trace function
n = 1 Enables the trace function
m is an integer between 0 and 255 and designates which threads to trace. A binary weighted bit is
set per thread. Thread 0=1, Thread 1=2, Thread 2=4 ... Thread 7 =128. The default is 255 (all
threads)
The least significant bit represents thread 0 and the most significant bit represents thread 7. The
decimal value can be calculated by the following formula.
n = n
0
+ 2*n
1
+ 4*n
2
+ 8*n
3
+16* n
4
+32* n
5
+64* n
6
+128* n
7
where n
x
represents the thread. To turn tracing on for a thread, substitute a one into that n
x
in the
formula. If the n
x
value is a zero, then tracing will be off for that thread. For example, if
threads 3 and 4 are to be traced, TR24 is issued.
USAGE: DEFAULTS:
While Moving
Yes
Default Value
TR0,255
In a Program
Yes
Default Format
--
Command Line
Yes
Controller Usage
ALL CONTROLLERS
RELATED COMMANDS:
Set/clear most significant bit
EXAMPLES:
:ED ;'define a small looping program

0 #L
1 WT1000
2 JP#L
3
<control>q

:XQ ;'run the program
:TR1 ;'turn the trace on
:2 JP#L
0 #L
1 WT1000

2 JP#L
0 #L
1 WT1000
TR0 ;'turn the trace off

<< Previous       1 .. 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216       Next >>



Other Documents:
optcom, MSDS JEECHEM SHAMPOO CONCENTRATE 1, msds ALOE VERA GEL DECOLORIZED 40 X, msds ALOE VERA OIL EXTRACT Mineral Oil Base, msds ANHYDROUS LANOLIN USP, msds CARROT OIL, msds COTTONSEED OIL, msds JEECHEM 100 CG POWDER, msds JEECHEM 1450, msds JEECHEM 186, msds JEECHEM BUBBLE BATH GSE, msds JEECHEM CA 40, msds JEECHEM CA 9, msds JEECHEM CASTOR OIL PP, msds JEECHEM CER, msds JEECHEM NP 12, msds JEECHEM NP 30, msds JEECHEM NP 6, msds JEECHEM SHAMPOO BWC, msds JEECHEM SHAMPOO COMBE BLEND, msds JEECHEM SHAMPOO CONCENTRATE 2, msds JEECHEM SHAMPOO CONCENTRATE 4, msds JEECHEM SHAMPOO CONCENTRATE 4 CL, msds JEECHEM SHAMPOO CONCENTRATE 5, msds JEECHEM SHAMPOO CONCENTRATE 5 CL, msds JEECHEM SHAMPOO CONCENTRATE 7 CL, msds JEECHEM SHAMPOO ST ARR, msds JEECHEM SML, msds JEECHEM SMS, msds JEECHEM STO, msds JEECHEM STS, msds JEECOL CA 20, msds JEELAN ALCOHOL SP, msds JEELAN ALCOHOL, msds JEELAN L 60, msds JEELATE ALES 2, msds JEELATE ALS 30, msds JEELATE DLS, msds JEEMATE 1000 DPS, msds JEEMATE 1000 ML, msds JEEMATE 200 ML, msds JEEMATE 300 DPS, msds JEEMATE 300 OC, msds JEEMATE 400 DO, msds JEEMATE 400 OC, msds JEEMIDE MEAA, msds JEEMIDE SS 100, msds JEEPHOS P 610, msds JEESILC 74, msds JEESILC CPS 312,


WODocs | |
All rights reserved. wodocs.com© 2009
WODocs


New Docs

Documents Category:
Arts (Design, Movies, Music, Radio, Television)
Automotive (Cars, Marine, Motorcycle, ATV, Snowmobiles)
Business (Biotechnology and Pharmaceuticals, Chemicals, Construction and Maintenance, Materials, Real Estate, Services)
Electronics (Computers, Motion Control, Power Supply)
Games (Board, Family, Party, Card, Construction, RC Toys)
Health (Animalm, Beauty, Healthcare, Medicine, Pharmacy, Surgery, Weight Loss)
Home (Accessories, Cooking, Decor and Design, Electrical, Family, Pets)
News (Newspapers, Sports, Television)
Recreation (Collecting, Hiking, Scouting, Survival, Travel)
Reference (Education, Libraries and Archives, Museums)
Science (Agriculture, Astronomy, Biology, Chemistry)
Shopping (Antiques and Collectibles, Clothing, Flowers, Food, Home and Garden)
Sports (Bicycle, Snowboard, Skiing, Other)