Campbell2112

Can't comm Plc and hmi

12 posts in this topic

I am new at this I have  and ns 8 v2 hmi and a cj2m Plc I have connected the Ethernet cable to the Plc and to the hmi I uploaded the program to the hmi from cx designer and uploaded my Plc program my Plc ip is 192.168.250.1 and I set my hmi to 192.168.250. 2 when I set the serial a and b port to none it says check connection error and. When I set the serial a and b port to something else it says connecting at the bottom right of the screen I have never had to do this before please help I'm a newbie on this

Share this post


Link to post
Share on other sites

The serial ports shouldn't have any connections set if you are using Ethernet for the connection PLC to HMI.

Share this post


Link to post
Share on other sites

In your HMI, make these settings (First disabling SerialA):

kG67EViSdQkAAAAASUVORK5CYII=

x4AAAAASUVORK5CYII=

Then it is necessary to set up the Ethernet network as network 1 in the routing table in the PLC.  Using CX-Integrator, it is possible to define the network as network 1 in the PLC and point network 1 to the unit number of the Ethernet module.

Share this post


Link to post
Share on other sites

Okay thank you I did as crossbow said and took the serial host off and my hmi is not alarming out for the host being timed out and my program is showing on my hmi now. The problem now is my push buttons are not showing on cx programmer when I push them in on the hmi I changed a couple things here is my ip's 

plc 192.168.250.1 node 1 

hmi 192.168.250.2 node 1

is there something else I need to set up?

Share this post


Link to post
Share on other sites

Micheal Walsh do you have any screen shots of the cx integrator and tips I am not having luck defining the network 

Share this post


Link to post
Share on other sites

First, go to communication settings in the Network pulldown menu as shown:

dLqzv19vjeEAAAAASUVORK5CYII=

and set up your communications just as you would do for connecting with CX-Programmer.  Then connect to the PLC by choosing Work online in the same menu.

Then go to Tools, Start Routing Table as shown:

 

TZdMSj+llhAAAAABJRU5ErkJggg==

Choose FINS Local and then choose OK as shown:

jIg7bFIzAAAAAElFTkSuQmCC

Right click on the unit number that you want to set.  For instance, if the unit number dials on the Ethernet card say unit #2, right click on the 2 module and choose Insert CPU SIOU as shown below:

bKqTYMkkCrtx+xW6jnF56OX9+AM3NWfAWCpe4kFp

I believe that it should tell you that it found a module.  Choose OK.  Then tell it that you are labeling that local network as network 1 as shown below:

rRTqFar0f8HD2kGebc0ZPoAAAAASUVORK5CYII=

The image will then look like this:

wLlOvrPE5RP+gAAAABJRU5ErkJggg==

All this means is that the network connected to unit #2 is now known as Network 1.  Then, when issuing FINS commands,  or connecting the PLC to an HMI, you can just refer to it by its Network and Node number. 

Then go to the Options pulldown menu and choose Transfer to PLC as shown:

 

wFMnG1VIsTPbQAAAABJRU5ErkJggg==

(I am not online, so it is greyed out).

Also, make sure that the node number dials on the front of the Ethernet card match the last octet of the IP Address. 

 

Share this post


Link to post
Share on other sites

New to the forum, and I am not 100% sure that what I am trying to do is even possible.

I am trying to connect a CP1L-EM40DR-D PLC to an NS5-SQ11B-V2 via their built in Ethernet ports and a Spider 5TX switch. When I go to any screen that references PLC data I get the alarm shown in the attachment. PLC and HMI settings are also shown in the attachment.

Any help will be greatly appreciated!

 

PLC HMI Info.docx

Share this post


Link to post
Share on other sites

All the IP address settings look right.  What is the controller settings in the CX-Designer project?  You do have the host connected to the Ethernet port on the HMI right?

Share this post


Link to post
Share on other sites

Thank you for the quick response. 

I have the host PLC and HMI connected to the Spider Switch via Ethernet cables, and am able to access the PLC via CX-Programmer over a cable plugged into the same switch.

 

 

Are these the settings you are wanting to see?

 

PLC HMI Info.docx

Edited by pirana
Add attachment

Share this post


Link to post
Share on other sites

Thank you for your help, got it all straightened out and talking this morning.  It was the CX-Integrator table portion that I was missing.

Share this post


Link to post
Share on other sites

Unfortunately, the CP1L nor the NS5 are Ethernet/IP capable. This setup would have been much easier and doesn't require CX Integrator.

Glad to hear it's working. Thanks for posting the solution.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now