Jump to content

Recommended Posts

  • MVP 2023
Posted

The PLC appears to be configured correctly, although the name is a little long.  What you've done is set the PLC up as a Modbus TCP slave.

 

1.  What is the IP address you assigned?

2.  What are parameters you used in the SOCK INIT block for Socket two?

3.  What have you done with KepServer so far, and what errors are you getting?

4.  Where did you get your copy of KepServer?

 

Joe T. 

  • MVP 2023
Posted

I did a little more digging on KepServer - 

 

Here's their Help on configuring it for Modbus TCP:

http://www.kepware.com/Support_Center/SupportDocuments/Help/modbus_ethernet.pdf

 

From the Unitronics side, read the Help on Modbus Slave Addressing - under the Search tab search for "Modbus" and choose topic 2 - "Slave Address Tables".  Click on the link that says "Enhanced Vision Series" to show you what Modbus addresses correspond to which Unitronics addresses.

 

Joe T. 

  • MVP 2023
Posted

Look at Visilogic Help topic "Modbus Slave" and then "slave addressing" for the Slave Addresses of Enhanced Vision Controllers.  It shows the "I" coils starting at address 6000h, so I2 would be 6002h.  This translates to 24578 decimal.

 

Try putting this address into the tag definition for prb and see what happens.

 

Joe T.

  • Upvote 1

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
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.