leineme

plc to pc using fins

7 posts in this topic

i have this code in c# in order to communicate to cj2m using etheret cable , but i get a connection error ( u can't reach : 192.168.250.1 :9600 )

is there any configuration that need to be done on the plc ? i mean i don't quite get (the node and all thoese properties i fnd on cx-programmer) ?

Share this post


Link to post
Share on other sites

FINS doesn't know Ethernet, it's far older.  So you need to set a network number and node number, that's what FINS knows.  In the PLC configuration, you can build a table which translates the net/node to an IP address.

Share this post


Link to post
Share on other sites

hi ,thanks for the replay 

how do i do that , using cx-programmer 


another question please , do you recommand in other way to connect to my plc ....after i checked cj2m in that factory don't have the adapter for the modbus protocol..i am so lost .

Share this post


Link to post
Share on other sites

Why would you need Modbus to talk to a PC?  Use FINS or Ethernet/IP.

Share this post


Link to post
Share on other sites

 i used it :D i mean the FINS  protocol and it worked , i connected to the main  , using port 9600. 

i just have a question : the fact that i connected to the main with FINS ?can i read memory area that is located lik in sub programm ? ( i have no experience in plc ) 

when i open cx-programmer i have the main and other programms do u see what i mean ? can i read a memory that it's located in other feeder for exemple ?

Capture.PNG

Share this post


Link to post
Share on other sites

Your project has 2 different PLCs in it.  You would need to connect to both CPUs.

Share this post


Link to post
Share on other sites

i was able to do it , i connected to each block that contain the memory i needed to read and it worked ..thank you so much for your help and your time :D 

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