Author Topic: Multiple DF-1 interfaces on same form  (Read 1008 times)

MrBi11

  • Newbie
  • *
  • Posts: 5
    • View Profile
Multiple DF-1 interfaces on same form
« on: October 01, 2014, 08:58:28 PM »
Archie, I seem to be having some issues with haveing my program talking to 3 separate micrologix 1500 PLC.

I've included 3 copies of the df-1 driver (using 3 different comm ports)  attempting to control 3 machines on the same line.
Each machine (head) needs to be setup every time the line is powered up to synchronize them (all revert to 'head 1' and need to be 1,2 &3)

I made the interface and it controls a single head fine, I simply copied all the 'devices' to another tab on my form and linked them to dfcomm2. trouble is now both 'controls' seem to be working with the comm2 driver (not comm1 & comm2)

Is there shared logic with the drivers getting confused?

Also on a side note: I can't address R6:0.LEN as .LEN isn't recognized. I did a 'work around' but using R6:0.PRE (which does address the proper word offset, even though it's a control not a counter/timer)

Thanks for your support (and awesome interface).

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5269
    • View Profile
    • AdvancedHMI
Re: Multiple DF-1 interfaces on same form
« Reply #1 on: October 14, 2014, 07:30:05 PM »
Did you change your controls CommComponent property to point to the driver instance you want it to get it's data from?

MrBi11

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Multiple DF-1 interfaces on same form
« Reply #2 on: October 20, 2014, 01:27:01 PM »
Well, YES

Reboot and deleting and rebuilding the files seems to have corrected it, Thanks