157AppendicesAppendix C.Alphabet Input ProcedureTo activated or deactivate the alphabet input func-tion, issue OUT statement in a user program.As shown at right, each of 0-9 numerical keys andperiod key is assigned three characters. For exam-ple, the 7 key is assigned A, B, and C.To designate one of three assigned characters,use the M1 or M2 key. Note that the triggerswitch function (default) or no function should beassigned to the M1 or M2 key to be used.A B C D E F G H IJ K L M N O P Q RS T U V W X Y Z sp+ - * / $ %Alphabet input procedure(1) Activating the alphabet input function with OUT statementIn a user program, issue the OUT statement which sets 1 to bit 0 of port 5. (Todeactivate the function, issue the OUT statement which sets 0 to bit 0 of port 5.)To activate: OUT 5, &h1To deactivate: OUT 5, &h0The default setting of the alphabet input function is "deactivated."(2) Entering alphabetic characters from the keypad1) Find a target key which is assigned an alphabetic character to be inputted, andthen check the position of the character (Left, Center, or Right) relative to thethree characters assigned to the target key.2) Designate the character position by using the M1 or M2 key and then pressthe target key.How to use the M1 or M2 keyPressing the M1 or M2 key cycles through the shift guidance blocks Left ,Center , and Right on the LCD as shown below.Left Center RightThe shift guidance block willappear on the top or bottom line,depending upon the currentcursor position. That is, if thecursor lies on any of the lowerlines, the shift guidance block willappear on the top line; if it lies onany of the upper lines, the blockwill appear on the bottom line.