Jump to content

Recommended Posts

 

 

Hi to All.

I  have V700  project configurated for Modbus IP 

 

image.thumb.png.5a5974ed26904d43f5db35eaac4b6358.png

I try to make connection whith PLC from KepServerEX 6.6

image.png.da795bb3b26be159aceb76b91bd4e274.png

I try to read MI5   (40006),  but when I running the QC in the OPC  the tag quality is" BAD" and the value is "unavailable".

 

I am not  sure, if  configuration correct  from both sides.

Can anybody  help.

 

Link to comment
Share on other sites

Thanks for reply. But  i dont  understand  where  i have change configuration?  

image.png.adf7b57dde9ec8e7ea4e0e619f830562.png

 

Is it  not already  configurated ?   Or I have to open socket 2  in SOCK INIT module?   

And other  qustions:   what means in KepServer, number  after IP    (<172.21.204.37>0)  ?   And  where  i can find it  in  my PLC  program?

 

Thanks

Link to comment
Share on other sites

@Cara Bereck Levy Can you have someone look at the demo programs for the V700 MODBUS TCP/IP as in the demo Socket 2 is showing as Default  TCP 502 Modbus slave,

image.thumb.png.7d7b782402b4c5183b43ba921e7b1cc4.png

while in the help file the defaults are:

Default Socket Settings

The V700 default settings are listed below:

Socket 0- TCP_Slave Port: 20256

Socket 1- TCP_Slave Port: 20257

Socket 2- TCP_Slave Port: 20258

Socket 3- TCP_Slave Port: 20259

Socket 4- TCP_Slave Port: 20260

Socket 5- TCP_Slave Port: 20261

Socket 6- TCP_Slave Port: 20262

Socket 7- TCP_Slave Port: 20263

So when looking at the demo project it appears that you don't need to configure socket 2 as it's port 502 by default(believe its due to the version the demo was written in V8.0.1)  but I can see how this would be confusing for new users.

Link to comment
Share on other sites

  • MVP 2023
1 hour ago, Yuri7811 said:

problem was fixed by changing Socket 2  to 502 in setting  touch panel (not in a  program)

The Socket will revert to Port 20258 when the PLC is power cycled or Reset. Add the Socket 2 Initialization block to your program to prevent that.

Link to comment
Share on other sites

  • MVP 2023
On 5/5/2019 at 3:54 AM, Yuri7811 said:

Can you explain how i can read  output bit  O25 ( adress i have put in Kepware ?)

Output coils start at address 4000h (16384 decimal). Or you can assign an MB to the Output coils and read those instead.

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

Important Information

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