Jump to content
active

V 570 and kepserver

Recommended Posts

Hi All

 

Im working on a project that requires a v570 to communicate with kepserver using modbus ip has anybody achieved this and if so what settings were used for both the v570 and kepserver

 

Thanks

Share this post


Link to post
Share on other sites

Hi All

 

Im working on a project that requires a v570 to communicate with kepserver using modbus ip has anybody achieved this and if so what settings were used for both the v570 and kepserver

 

Thanks

Hello Active

 

Just did a simple test with Kepserver and selected the ”Modbus tcp/ip driver”

Channel properties=>Ethernet settings selected port 502  and ip protocol tcp/ip.

Added a device and named it device1 and for the model selected “modbus”.

ID <135.0.2.78>20    The V570 has this ip address and 20 is the slave number in my test situation.

 

In the V570 socket init in my case socket 3 port number 502 and server(slave) followed by

A Modbus ipconfig,selected in this function block socket 3 and gave it network id 20,time out 100 and retries 3 and assigned a function in progress mb.

The indexes with slaves can be deleted using the clear link button.

 

The next network has to have a “Modbus ip scanex” block  and for the name in this block select the name of the Modbus ip config block.

TCP card init was already done somewhere else in the program but you could follow the example explained in the visilogic helpfile and it’s called “configuring a modbus slave device”.

In this example for the gateway you have to choose the ip address of the master unitronics plc but this is only needed I think if communication is between Unitronics plcs so leave the TCP settings in this block as they should be four your local network.

For addresses see the example in the visilogic helpfile called “slave addressing” under Modbus ip.

 

To test this  all I started kepware opc quick client and added here an item “channel1.device1.40032” and here I can see the actual value from MI31

So kepware acts as a Modbus client and the V570 as a Modbus slave device in this situation.

 

Did no projects with kepware and Unitronics but in our plant we have some Unitronics plc,s besides TI(CTI) PLC,s connected to Control Maestro(Wizcon) scada using Kepserver so this is why I could quickly made a simple test.

 

Hope it will help you

Regards

Henny

  • Upvote 3

Share this post


Link to post
Share on other sites

hi all.

I was reborn this topic.

Ihave same problem same equipment, but my kepwareEX version 6.0.2107.0

try to connect v570 via  kepwareEX like up side but i cant connect.

Can you helpme anybody please ?

give me a screen shot please.

Share this post


Link to post
Share on other sites

It would be helpful to submit your ladder and screenshot of tags settings, that's probably where the problem is. If you did all as in Henny's post maybe you have a problem in network. Did you try to ping V570? Also try pinging with cable disconnected, maybe you have two devices with same IP address.

Share this post


Link to post
Share on other sites

Solve the problem. just change TCP/IP Project Setting Port Number Change to 20257

Thanks All.

 

 

one more question.....

I already connect plc with KepserverEX, But I want to connect and see values on internet browser same time. 

when i cahge tcp/ip socket init ; socket 0, protokol: HTTP, Port: 80, server, i see on web browser but i cant see on KepserverEX

How can i make it ?

Share this post


Link to post
Share on other sites

The 570 has 4 sockets you can use.  Init one for port 80 and one for KepserverEx.

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

×
http:///