28.11.2012 Views

Table of Contents - TG Drives

Table of Contents - TG Drives

Table of Contents - TG Drives

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

204<br />

Command Line Editor (CLE)<br />

Vector.CtrlC can stop motion.<br />

Example:<br />

PL2 ON LINE COMMANDS<br />

10 Vector.CtrlC, 300<br />

20<br />

code<br />

Int.SysMask = Int.SysMask or 4xx.. Other<br />

300 Pos Abort<br />

; Abort any motion pr<strong>of</strong>ile.<br />

301 PG.Speed 0 ; Stop any motion.<br />

302 End<br />

Control+Z Unit-Address Control key + the “Z” character. Select the unit to<br />

communicate with. The Unit-Address is the<br />

characters “1”-”9” and “A”-”F”.<br />

Control+T Control key + the “T” character. Display a snap shot<br />

<strong>of</strong> the controller status.<br />

COMMAND LINE EDITOR (CLE)<br />

User interaction in terminal mode has been improved with a full online editor. Also<br />

a circular buffer that stores the last used command line has been added. This<br />

enables a user to pick any command that already has been entered, from a list, to<br />

edit or execute. This will speed up interactive user sessions. The keys needed to<br />

navigate the circular buffer can be mapped so that the PC arrow keys can be used.<br />

To manipulate the command line from the keyboard, commands are given to the<br />

CLE as single ASCII characters. Holding the CONTROL key down before the key<br />

is pressed can generate all these commands, this will generate a single ASCII<br />

character in the range 0 to 31.The mapping <strong>of</strong> commands to special keys are made<br />

in the Promoton.ini file in the ECT directory.<br />

Command<br />

name<br />

ECT mapping Value Control<br />

key<br />

Description<br />

.. 0 +@ ..<br />

bol KEY_HOME 1 +A Goto beginning <strong>of</strong> the line.<br />

bck KEY_LEFT 2 +B Backup one character.<br />

stp 3 +C Stop execution <strong>of</strong> PL code.<br />

delf 4 +D Delete one character<br />

forward.<br />

eol KEY_END 5 +E Goto end <strong>of</strong> the line.<br />

fwd KEY_RIGHT 6 +F Go one char forward.<br />

.. 7 +G ..<br />

delb BS 8 +H Delete one char backward.<br />

tab KEY_INSERT 9 +I Insert one space.<br />

nop 10 +J No action at all.<br />

kill 11 +K Delete rest <strong>of</strong> line.<br />

.. 12 +L ..<br />

done RETURN 13 +M Line completed!<br />

next KEY_DOWN 14 +N Display next line.<br />

.. 15 +O ..<br />

User's Manual 5.1 Inmotion Technologies AB<br />

Doc. No.9032 0027 01 (B), Rev. 11.07.2001

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!