09.01.2013 Views

EA eDIPTFT43-A compiler help - Electronic Assembly

EA eDIPTFT43-A compiler help - Electronic Assembly

EA eDIPTFT43-A compiler help - Electronic Assembly

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

50<br />

<strong>EA</strong> <strong>eDIPTFT43</strong>-A <strong>compiler</strong> <strong>help</strong><br />

5.14 Other commands<br />

Use string table:<br />

String table code<br />

(firmware V1.5)<br />

(see How-to-use example String tables - EXPERT 103 )<br />

Send functions:<br />

#ST n1 n1=0: no use of internal strings<br />

n1>0: after code n1 appears following codes are<br />

internal string numbers (see <strong>compiler</strong> option<br />

STRING: 10 )<br />

Send bytes #SB data... bytes are sent to the sendbuffer data... can be<br />

numbers or strings e.g #SB "Test",10,13<br />

Send version #SV The version is sent as a string to sendbuffer<br />

e.g. "<strong>EA</strong> <strong>eDIPTFT43</strong>-A V1.0 Rev.A TP+"<br />

Send projectname #SJ The macro-projectname is sent as a string to the<br />

sendbuffer<br />

e.g. "init / delivery state"<br />

Send internal infos #SI Internal information about the eDIP is sent to the<br />

sendbuffer.<br />

Other functions:<br />

Define color #FP no, R5,G6,B5 Set a new RGB value for color no. n1=1..32<br />

R5:Bit7..3; G6:Bit7..2; B5:Bit7..3; (see<br />

default colors 61 )<br />

Wait (pause) #X n1 Wait n1/10sec before the next command is<br />

executed.<br />

Set RS485 address #KA adr For RS232/RS485 operation only and only possible<br />

when Hardware address is 0. The eDIP is assigned a<br />

new address adr (in the Power-On macro).<br />

(see compile option RS485ADR 9 )<br />

(see example INIT_with_RS485_address.KMC 68<br />

)<br />

Tone on/off #YS n1 The tone output (pin 16) becomes<br />

n1=0:OFF; n1=1:ON; n1=2 to 255:ON for n1/10s

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

Saved successfully!

Ooh no, something went wrong!