Publication 1766-RM001A-EN-P - October 2008
LCD - LCD Information
543
Default Values:
•
L2 Source A, L2 Source B, L3 Source A, L3 Source B,
L4 Source A, L4 Source B: 0 (Zero means Address not assigned.)
•
Display With Input: 0 (Zero means Display Only mode.)
On a true rung status, the LCD instruction operation depends on how to
set the Display With Input operand value. If Display With Input operand
is clear (0), LCD instruction mode is set to String or (and) number display.
If Display With Input operand is set (1), LCD instruction mode is set to
String or (and) number display and value input. User can use two
operands per line message to display the two different data. If Bit or
Integer or Long Integer or Floating data file is assigned to any operands
(except the Display With Input operand), the number converted to signed
range string automatically. If the value is less than zero, minus sign (“-”) is
attached to the head of converted string.
If you need to get long range data (-2,147,483,648 ~ +2,147,483,647) from
the keypad, use the L data file.
The largest string size of each line is 16 characters. If there are more than
16 characters in the string file, the remaining characters except the first
sixteen are ignored. Special characters such as carriage return and new
line are invalid and have no effect on the next line.
Getting Value with Keypad
Your application program can get value from user’s keypad inputs if
Display With Input bit is set (1) in LCD instructions. User inputs can be
obtained with arrow, ESC, and OK keys. In this case, Line 4 is used for
user input. L4 Source A is used to specify the target file or element to store
user input and the L4 Source B is not used. Where, the data value range
for different file types are as follows:
•
Integer file (word): -32,768…+32,767
•
Bit file: 0 or 1
•
Long file (double word): -2,147,483,648…+2,147,483,647
When rung conditions go true, the LCD instruction displays Line 2 and
Line 3 strings and positions the cursor at Line 4. Then, the user can input
a desired value using the LCD keypad. User input is applied when the OK
key is pressed. If the ESC key is pressed, user input is cancelled and no
operation is followed. During user’s input with the LCD keypad, Line 2
and Line 3 displays are not updated.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive