Author Topic: Controllogix over DF1 Driver  (Read 1663 times)

Nimesh

  • Newbie
  • *
  • Posts: 23
    • View Profile
Controllogix over DF1 Driver
« on: March 25, 2016, 10:57:55 AM »
Hi,Archie ,
How can we communicate with  Controllogix over Df1 for compact/controllogix with AHMI

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5267
    • View Profile
    • AdvancedHMI
Re: Controllogix over DF1 Driver
« Reply #1 on: March 25, 2016, 12:06:11 PM »
If you mean over RS232, your only option is to use PLC/SLC mapping along with the DF1Com driver

Nimesh

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: Controllogix over DF1 Driver
« Reply #2 on: March 27, 2016, 07:36:21 PM »
Yes, I have controllogix Plc without any communication card in chassis.
i have only one option to communicate with PLC is DF1(Rs232).
is there any way to communicate with Controllogix using RS232 (USB to Serial ) from PC running AHMI.
like we do with SLC. we have SLC/Micro DF1 driver . what is mapping? how i can do that using PLC/SLC.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5267
    • View Profile
    • AdvancedHMI
Re: Controllogix over DF1 Driver
« Reply #3 on: March 27, 2016, 07:48:51 PM »
is there any way to communicate with Controllogix using RS232 (USB to Serial ) from PC running AHMI.
like we do with SLC. we have SLC/Micro DF1 driver . what is mapping? how i can do that using PLC/SLC.
PLC/SLC Mapping let's you mimic data tables in a SLC. In your ControlLogix, you first create an array of similar data type (e.g N7[255] of INT), then use the PLC/SLC Mapping to point the array to file 7. You can the use a DF1 driver to read addresses in the form of N7:0, N7:1, etc.

Nimesh

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: Controllogix over DF1 Driver
« Reply #4 on: April 22, 2016, 09:38:29 AM »
Thanks Archie,
I tried this. Did not work.
I created an array  of 10 INT in my controllogix and mapped it with
File 7. And in advanced HMI I addressed  word N7:0 @bit level N7:0/0 to 0/9
And N7:1 2 3 4 as words
I tried to press the square illuminated button  (N7:0/0 and 0/1) dint work.
Has any body tried this before.?
What's wrong I am doing?

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5267
    • View Profile
    • AdvancedHMI
Re: Controllogix over DF1 Driver
« Reply #5 on: April 22, 2016, 10:00:30 AM »
I just tried this with an L35E processor. I went into RSLinx and did an Auto-Configure on the com port to discover the port setting. I then added a DF1Com to my AdvancedHMI form and set the communication properties to what RSLinx discovered. I then COMPLETELY shut down RSLinx so AdvancedHMI could get access to the com port.

I added a BasicLabel to the form and set PLCAddressValue to N7:0. Ran the application and I see the value of the element in my tag array that was mapped to file 7.