How Do I Write A Program That Will Read Input Signals From TenKey Keypad Connected To A CS/CJ PLC And Convert Them To Numeral Data?
There are two types of tenkey switches, one that uses binary code and strobe signals, and another that uses decimal code. This document introduces programming for the tenkey switch that uses decimal code. Program and Operation 1. Tenkey Input Allocations and the Data Storage Area System Specifications Up to 4 digits of model data from the tenkey switch is input to CIO 0 bits 00 to 09 and moved to D102. The numbers stored in D102 are shifted 1 digit (4 bits) to the right whenever numbers are input using the tenkey. If 5 or more digits are input, then the numbers stored in D102 will be deleted onebyone sequentially for every digit input starting with the leftmost bit.
Note: 1.If 5 or more digits are input using the tenkey, then by changing the second operand (shift leftmost word) of the ONE DIGITS SHIFT LEFT (SLD) instruction, the number of useable digits can be extended in 4 digits units. 2.Using the TEN KEY INPUT instruction with the CQM1H Programmable Controllers or C200HX/HG/HE Programmable Controllers will allow a maximum of 8 digit to be input from the tenkey. Link: 
Comments  
