Jump to content

Recommended Posts

Posted

Hi group,  I am starting to develop an HMI application using Sysmac Studio which is very new to me.  I can easily create graphics but my struggle is figuring out how to connect my graphics to the CJ2M CPU35 PLC.  For example I am trying to simply turn my indication to green when 4004.02 in the PLC is "TRUE".  Can someone point me in the right direction as the manual is a bit vague.

Here is what I have done so far:

 

PLC Configuration.jpg

Address Config.jpg

Variable Mapping.jpg

4004.02 Manual Mode.jpg

Posted

The Sysmac HMI is designed for use with variable names.  You need to assign variables in the CJ controller, set them for network access, and then import them into Studio, and then use them to create your screen objects.

The NS and NB Series HMI products are designed for use with CJ addresses.  NA is really designed for use with Sysmac NJ/NX controllers.

  • Like 1
Posted
21 hours ago, Crossbow said:

The Sysmac HMI is designed for use with variable names.  You need to assign variables in the CJ controller, set them for network access, and then import them into Studio, and then use them to create your screen objects.

The NS and NB Series HMI products are designed for use with CJ addresses.  NA is really designed for use with Sysmac NJ/NX controllers.

Well that explains why I cannot get any communication going.  Looks like I will be telling my boss that he spec'd the wrong HMI series unless he wants to re program the PLC to an NJ as well!!

Posted
19 hours ago, mr_electrician said:

Well that explains why I cannot get any communication going.  Looks like I will be telling my boss that he spec'd the wrong HMI series unless he wants to re program the PLC to an NJ as well!!

He's not saying it wont work.

1) Right click "Device References" and select "Add > External Device". Your picture shows "Internal Device". Internal Device would be a controller project in Sysmac Studio.

2) Save your CX Programmer project as a *.CXT. Default is *.CXP.

3) Import variables from your External Device dialog.

That being said, if you can get an NJ controller, that would be the best option. If cost is a factor then have a look at the NX1P. They have a lot of capabilities for a 'brick' series.

Posted
1 hour ago, IO_Rack said:

1) Right click "Device References" and select "Add > External Device". Your picture shows "Internal Device". Internal Device would be a controller project in Sysmac Studio.

That's how the object shows.  I did add the PLC as an external device.  I did it 3 separate times and this is how it shows in the tree every time.

Posted

But did you make variable names in the PLC?  Did you set them to Network Publish?

NA is not designed to see PLC addresses, only variable names that are available on EtherNet/IP.

If you already wrote the program with addresses, you can assign an address to a variable when you create the variable, so you don't have to write the entire program with variables if you prefer not to.

Posted

I was able to figure out how to get the addresses in a CJ PLC linked to an NA series HMI created in Sysmac to work!!!!  Actually it was very easy.  All I had to do was creat symbol names in the CX Programmer and then set them to Publish.

After that I could import my Symbols into the Sysmac Developer Environment.

Thanks everyone for all the suggestions.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...