Author Topic: Correct I/O assigments and HMI sample program FMD  (Read 13575 times)

cch1955

  • Full Member
  • Posts: 198
  • Automated Machine Systems Designer
    • View Profile
Correct I/O assigments and HMI sample program FMD
« 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

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3174
    • View Profile
    • Internet Programmable PLCs
Re:Correct I/O assigments and HMI sample program FMD
« Reply #1 on: March 16, 2012, 12:40:28 PM »
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.
Email: support@triplc.com
Tel: 1-877-TRI-PLCS

TravisB

  • Newbie
  • Posts: 33
  • I am NOT a llama!
    • View Profile
Re:Correct I/O assigments and HMI sample program FMD
« Reply #2 on: April 27, 2012, 02:11:06 PM »
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?

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3174
    • View Profile
    • Internet Programmable PLCs
Re:Correct I/O assigments and HMI sample program FMD
« Reply #3 on: April 27, 2012, 06:57:14 PM »
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.
« Last Edit: April 27, 2012, 06:58:51 PM by support »
Email: support@triplc.com
Tel: 1-877-TRI-PLCS

TravisB

  • Newbie
  • Posts: 33
  • I am NOT a llama!
    • View Profile
Re:Correct I/O assigments and HMI sample program FMD
« Reply #4 on: April 30, 2012, 09:03:38 AM »
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.