15.07.2013 Views

Automatic control function programming manual ladder language

Automatic control function programming manual ladder language

Automatic control function programming manual ladder language

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

8.1.2 Exchange Variable<br />

Variable %R0.W «CARCLAV» is used to read the key codes sent by the operator panel keyboard at the rate of one<br />

character every 5 RTCs and process them via the user programme.<br />

8 - 4 en-938846/6<br />

TOOL JOG<br />

MODE<br />

M01<br />

F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 HELP<br />

! @ # $ % ^ & * ( ) _ +<br />

1 2 3 4 5 6 7 8 9 0 - = +<br />

ESC Q W E R T Y U I O P<br />

: "<br />

CTRL A S D F G H J K L<br />

x off<br />

;<br />

`<br />

< > ?<br />

SHIFT Z X C V B N M<br />

SPACE<br />

, . /<br />

`<br />

/<br />

{ }<br />

[ ]<br />

KEYBOARD<br />

ALL<br />

CAPS<br />

line line<br />

INS DEL<br />

char char<br />

home Pg Up<br />

end<br />

VALID<br />

Pg Dn<br />

%R0.W<br />

Figure 8.2 - Exchange variable %R0.W<br />

AUTOMATIC CONTROL<br />

FUNCTION<br />

User<br />

programme<br />

If the operator panel keyboard is disabled (variable %W5.0 = 1) <strong>function</strong> putkey() can be used to simulate the operator<br />

panel keyboard via the user programme.<br />

TOOL JOG<br />

MODE<br />

M01<br />

F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 HELP<br />

! @ # $ % ^ & * ( ) _ +<br />

1 2 3 4 5 6 7 8 9 0 - = +<br />

ESC Q W E R T Y U I O P<br />

: "<br />

CTRL A S D F G H J K L<br />

x off<br />

;<br />

`<br />

< > ?<br />

SHIFT Z X C V B N M<br />

SPACE<br />

, . /<br />

`<br />

/<br />

{ }<br />

[ ]<br />

KEYBOARD<br />

putkey<br />

ALL<br />

CAPS<br />

line line<br />

INS DEL<br />

char char<br />

home Pg Up<br />

end<br />

VALID<br />

Pg Dn<br />

%W5.0 = 1<br />

Figure 8.3 - Function putkey()<br />

8.1.3 Transmission of Character Codes to the Screen<br />

CNC FUNCTION<br />

CNC<br />

Programme<br />

Functions putchar(), puts(), print(), printf() (see Sec. 8.2), are used to send the cursor <strong>control</strong> commands and<br />

alphanumeric characters to the operator panel screen.

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

Saved successfully!

Ooh no, something went wrong!