Author Topic: AHMI to AB micro 820 communication  (Read 3618 times)

jmuscat

  • Newbie
  • *
  • Posts: 5
    • View Profile
AHMI to AB micro 820 communication
« 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

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: AHMI to AB micro 820 communication
« Reply #1 on: January 26, 2021, 09:55:39 AM »
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?

jmuscat

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: AHMI to AB micro 820 communication
« Reply #2 on: January 26, 2021, 11:59:14 AM »
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

dmroeder

  • Administrator
  • Full Member
  • *****
  • Posts: 212
    • View Profile
Re: AHMI to AB micro 820 communication
« Reply #3 on: January 26, 2021, 06:19:39 PM »
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.

jmuscat

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: AHMI to AB micro 820 communication
« Reply #4 on: January 28, 2021, 12:17:55 PM »
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.

dmroeder

  • Administrator
  • Full Member
  • *****
  • Posts: 212
    • View Profile
Re: AHMI to AB micro 820 communication
« Reply #5 on: January 28, 2021, 12:56:30 PM »
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. 

Godra

  • Hero Member
  • *****
  • Posts: 1447
    • View Profile
Re: AHMI to AB micro 820 communication
« Reply #6 on: January 28, 2021, 06:52:18 PM »
jmuscat,

What software did you use previously to configure and communicate with your PLC?

jmuscat

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: AHMI to AB micro 820 communication
« Reply #7 on: January 29, 2021, 12:13:31 AM »
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


Godra

  • Hero Member
  • *****
  • Posts: 1447
    • View Profile
Re: AHMI to AB micro 820 communication
« Reply #8 on: January 29, 2021, 12:44:45 AM »
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?

dmroeder

  • Administrator
  • Full Member
  • *****
  • Posts: 212
    • View Profile
Re: AHMI to AB micro 820 communication
« Reply #9 on: January 29, 2021, 12:48:19 AM »
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?

jmuscat

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: AHMI to AB micro 820 communication
« Reply #10 on: January 29, 2021, 08:52:53 AM »
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..

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: AHMI to AB micro 820 communication
« Reply #11 on: January 29, 2021, 09:13:19 AM »
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.
« Last Edit: January 29, 2021, 09:15:14 AM by Archie »

Godra

  • Hero Member
  • *****
  • Posts: 1447
    • View Profile
Re: AHMI to AB micro 820 communication
« Reply #12 on: January 29, 2021, 04:45:20 PM »
And just in case if you are wondering what Archie is talking about, attached is the picture of the EthernetIPforMicro800Com driver's properties window.

spiceagent11

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • https://reminimodapk.one/capcut-apk/
Re: AHMI to AB micro 820 communication
« Reply #13 on: February 21, 2022, 09:41:48 PM »
Hi, I have a question What software did you use previously to configure and communicate with your PLC?

bachphi

  • Hero Member
  • *****
  • Posts: 671
    • View Profile
Re: AHMI to AB micro 820 communication
« Reply #14 on: February 22, 2022, 11:49:12 AM »
These one-posters are so dubious. Anyway CCW  Connected Components Workbench
===================================================
This is NOT alt.read.my.mind.
No such thing is sh^t-for-brains unless you are posting to alt.read.my.mind.
===================================================