10.11.2014 Views

COMMUNICATION PROTOCOL E8-V5 - SIC-Venim s.r.o.

COMMUNICATION PROTOCOL E8-V5 - SIC-Venim s.r.o.

COMMUNICATION PROTOCOL E8-V5 - SIC-Venim s.r.o.

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

f) settings functions<br />

These functions let you access to system functions of the controller, as setting the date-time, setting global<br />

variables, get the program version.<br />

• SETSHIFTINCVAR<br />

setting settting a shift increment to the current file<br />

Syntaxe :<br />

SETSHIFTINCVAR < Increment name > < Value >[CR][LF]<br />

Answer :<br />

SETSHIFTINCVAR OK[CR][LF]<br />

SETSHIFTINCVAR VAR NOT FOUND [CR][LF]<br />

OK<br />

not found<br />

Data :<br />

Increment name<br />

Shift<br />

Value<br />

in upper case<br />

shift number<br />

caution, the value is the decimal value of the increment.<br />

Example : setting the value12 for the first shift to the increment named NB_PART<br />

String to send :<br />

SETSHIFTINCVAR NB_PART 1 12[LF]<br />

String received:<br />

SETSHIFTINCVAR OK[CR][LF]<br />

• SETGLOBALVAR<br />

Affectation variable globale<br />

Syntaxe :<br />

SETGLOBALVAR [CR][LF]<br />

Answer :<br />

SETGLOBALVAR OK[CR][LF]<br />

OK<br />

Data :<br />

Number number of the global var ( from 1 to 10)<br />

Value Value to set<br />

Example : setting the first global variable to FACTORY<br />

Envoie de :<br />

SETGLOBALVAR 1 FACTORY_ONE[LF]<br />

String received:<br />

SETGLOBALVAR OK[CR][LF]<br />

NOTPROTO<strong>E8</strong><strong>V5</strong>US – R02<br />

13/38

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

Saved successfully!

Ooh no, something went wrong!