C Control The I Unit-M Advanced 5 Vdc Inputs / outputs 16 x digital I/Os / 8 x analogue or digital I/Os Program memory 2 198805 Datenbogen

Produktcode
198805
Seite von 42
 
LCD OBJECT 
One of the mostly used features is the direct print to LCD function. 
 
The LCD must be initialised with LCD.INIT once prior tu use. As this is a true initialisation of the LCD 
onboard controller it takes app. 20ms. Once the LCD is ititialised, LCD INIT switchonly is recommended I 
Due to technical reasons you must not use the "#" Character when writing to the LCD.  
 
 
LCD.INIT 
The LCD must be initialised with LCD.INIT once prior tu use. As this is a true initialisation of the LCD 
onboard controller it takes app. 20ms. The LCD is cleared and Cursor i set to Line1 Position 1 
 
 
LCD.INIT switchonly 
Once the LCD is ititialised, LCD INIT switchonly is recommended, because it only reopens the Object LCD. 
 
 
Syntax: OBJECT.instruction 
 
 
LCD.CLEAR 
Clears LCD and sets cursor to line 1 position 1. Takes up to 2ms execution time 
 
Syntax: OBJECT.instruction 
LCD.POS 
Set cursor to line and position 
 
Syntax: OBJECT.instruction Line,Column 
 
Line:       
fixed values 1 and 2 are valid, only  
Column: fixed values 1 to 16 are valid, only  
 
LCD.SR 
LCD.SL 
Rotate display content Right/Left one column. 
 
PRINT 
The PRINT instruction transmits strings,variables or constants of to the LCD.  For transmission of more 
arguments with a single "Print" instruction you may use the concatenation operator &  
Printing the character # is illegal because this character is internal used to precede a Control Sequence  
 
 
LCD.PRINT "WERT :" &  Myword & " V"  
Syntax: Print Argument [ & Argument [ & ... ]] [;] 
 
 
LCD.OFF 
Close the Object prior to open any other Object. 
 
Syntax: OBJECT.instruction 
 
 
 
 
 
 
 
 
 
 
 
26