Internet PLC Forum
General => Technical support => Topic started by: cch1955 on March 16, 2012, 12:10:19 PM
-
I think I have the correct I/O assignments for my configuration of a FMD1616-10, MDEXP1616R and MD-HMI.
FMD inputs and out puts start at 1 and go up to 16
MD EXP 1616R inputs and outputs start at 17 and go up to 32
MD-HMI inputs start at 33 and go up to 48
MD-HDMI LED 1 starts at output 33 and ends with F4 led at output 40
Do you have example HMI program for this configuration as you do for other configurations?
Thanks
-
You can easily modify it from the HMI17to32.PC6 file mainly by replacing the following line:
Old:
DM[900] = INPUT[2] ' Get data from input #17-32
New:
DM[900] = INPUT[3] ' Get data from input #33-48
As for the individual keys including F1 to F4 keys you can shift them down on their input table to input #33 to #48.
The LED bit label name can also be shifted down from the output table.
If you encounter any problem please let us know.
-
I have a similar set-up:
F1616-BA
MD EXP 1616R
MD-HMI
I tried the sample code in the zip file for the HMI, but the keystrokes didn't register. I tried each sample program, then wrote code:
DM[3901] = INPUT[1]
DM[3902] = INPUT[2] ' Get data from input #17-32
DM[3903] = INPUT[3]
DM[3904] = INPUT[4]
DM[3905] = INPUT[5]
DM[3906] = INPUT[6]
DM[3907] = INPUT[7]
DM[3908] = INPUT[8]
And watched the "View" of the DM fields as I tried different keys during realtime monitoring. Nothing showed up using short and long keystrokes.
I checked the ribbon at both ends, and I know I'm getting power to the LCD at least because I see the "Z$=" displayed.
What else can I do to test how to recieve the HMI input?
-
Did you plug the expansion cable for the keypad into the correct 10 way connector? It is NOT the 10-pin connector next to the 14-pin LCD connector of the PLC but it is the expansion I/O connector along the right edge of the EXP1616R PCB.
If connected correctly, when you pressed any key on the keypad using your setup, input #33 to $48 LED symbol should show up as ON on the online monitoring screen.
-
That did it, Thanks!
I was thinking that the 10 pin connector marked "Reserved" in the F1616 manual was "reserved" for the keypad. Clearly I was wrong.
Thanks for all the help support. It really makes a difference for someone like me just getting started working with all these new products.