Jason Valenzuela
Member
Thought I'd show off a fun little proof of concept I recently cooked up. The client wanted a simple numeric keypad entry device for an Allen Bradley PLC. They didn't want a PanelView due to cost, size, etc. There are several external USB/PS2 numeric keypads available for cheap, like this one for example:
http://digitpads.com/
I have one of these laying around:
http://www.advantech.com.tw/EPC/newsletter/v23-05-01_00/mbpc_23.htm
It's an embedded 486 with compact flash as a HDD, DC powered, no moving parts. Only connections required are a serial port, power and PS2. I loaded up a stripped down GNU/Linux system(a whole 2.7MB) and used my open source DF1/pccc software to cook up a simple program to read from the keyboard and write to whatever PLC register(eg N7:0). The quickie, see-if-it-works program is 76 lines.
The CF is mounted read-only, so it doesn't care if you don't shut it down properly. You can treat it pretty badly. You can't buy that exact embedded model any more, but models that are more than sufficient start at around $300.
Punch in numbers, hit enter and they magically show up in your data table, works great!!
http://digitpads.com/
I have one of these laying around:
http://www.advantech.com.tw/EPC/newsletter/v23-05-01_00/mbpc_23.htm
It's an embedded 486 with compact flash as a HDD, DC powered, no moving parts. Only connections required are a serial port, power and PS2. I loaded up a stripped down GNU/Linux system(a whole 2.7MB) and used my open source DF1/pccc software to cook up a simple program to read from the keyboard and write to whatever PLC register(eg N7:0). The quickie, see-if-it-works program is 76 lines.
The CF is mounted read-only, so it doesn't care if you don't shut it down properly. You can treat it pretty badly. You can't buy that exact embedded model any more, but models that are more than sufficient start at around $300.
Punch in numbers, hit enter and they magically show up in your data table, works great!!