AdvancedHMI Software
General Category => Open Discussion => Topic started by: jmuscat on January 26, 2021, 09:08:07 AM
-
Hi,
I am new to AHMI, I downloaded the software and added a button and a pilot light on the screen but these are showing ''no response from plc''. Can you please tell me how to do the communication part, I've put in the plc ip address in the ''Ethernetipfor800'' properties but don't know from where to get the port no.
Another thing I am not sure about is from where to get the PLC address value of the button/pilot light.
Thanks
-
What tags do you have in your controller scope of the PLC program? Those are the tag names to use in PLCAddress??? properties
Have you tried to ping the IP address to make sure the PC can access the PLC?
-
Hello Archie,
The tags I used are the names of the inputs/outputs on the plc program ex._IO_EM_DO_01, is that ok?
Regarding communication the pc is seeing the plc..From where can I get the port no pls?
Thanks
-
One thought, make sure that your form objects (button, pilot light, etc) has the your Micro800 driver assigned to the ComComponent property. I've accidentally had more than one driver on my form and objects pointed to the wrong driver.
-
Hi,
Can you help on the following please,
When I build the solution on the button and pilot light that I've created I see the following 'no response from plc 192.168.1.10 Slot=0' Now I cannot see any SLOT window in the EthernetIPforMicro800Com properties. How can I set the slot and from where can I find the slot number.
-
The Micro820 is only ever slot 0. CompactLogix and Micro820/850 controllers are always slot 0. Only ControlLogix can have a controller in a slot other than 0.
You get "no response from PLC" because the AHMI project cannot connect to the PLC. This issue is likely at the network level.
Make sure you can ping the PLC successfully from your development computer. Test run your application in Visual Studio. One possible issue is if you have more than one network adapter that is on the same subnet, your project could be confused on which one to use. For example, maybe you are connected to a wireless network that is 192.168.1.x and you have a wired network that is 192.168.1.x, you application could be trying to find the PLC on the wrong adapter.
-
jmuscat,
What software did you use previously to configure and communicate with your PLC?
-
Hi Godra,
I use the CCW to connect to the plc.
@dmroeder how can I be sure that my project is trying to connect to the right adapter.
Thanks all for your help
-
Check page 24 of this document:
https://literature.rockwellautomation.com/idc/groups/literature/documents/qr/9328-qr001_-en-e.pdf
If your PLC is set for automatic DHCP then you have to look up the IP address on your router (or whatever you are using).
Do you know if you are using the correct IP address and what your Subnet Mask and Gateway are?
-
Hi Godra,
I use the CCW to connect to the plc.
@dmroeder how can I be sure that my project is trying to connect to the right adapter.
Thanks all for your help
The scenario I described would only apply if you had more than one network adapter was configured for the same subnet. The best way to know if there is "adapter confusion" is to understand how your adapters are configured. Or you could disable all adapters that you are not using to communicate to your PLC.
Please answer the following:
- What is your computers IP address?
- Your PLC's addres is 192.168.1.10 correct?
- If you ping the PLC from the command prompt, what is the response?
-
Dmroeder,
My pc ip is 192.168.1.1 , the plc is responding when I ping from command promp, not sure what is the reply as I dont have the pc next to me, and yes that's my plc address.
I dont know from where to get the port number....maybe thats the problem..
-
I dont know from where to get the port number....maybe thats the problem..
Did you already change the port number from default? It's always 44818 for Ethernet/IP unless you are running through some kind of router.
-
And just in case if you are wondering what Archie is talking about, attached is the picture of the EthernetIPforMicro800Com driver's properties window.
-
Hi, I have a question What software did you use previously to configure and communicate with your PLC?
-
These one-posters are so dubious. Anyway CCW Connected Components Workbench