AdvancedHMI Software
General Category => Open Discussion => Topic started by: Nimesh on March 25, 2016, 10:57:55 AM
-
Hi,Archie ,
How can we communicate with Controllogix over Df1 for compact/controllogix with AHMI
-
If you mean over RS232, your only option is to use PLC/SLC mapping along with the DF1Com driver
-
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.
-
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.
-
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?
-
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.