steven.goh.hn33

KepServerEX and Modicon M211 Modbus TCP Problem

3 posts in this topic

hi All,

I am using KepServer EX V4.0 to read and write network objects ( %IWMx & %QWMx) of M221 PLC via Mobus TCP but it does not succeed although quality show good on OPC client meaning value of registers was changed in OPC client but it did not change in PLC program and vice versa. The unit ID of M221 is 247 and same for device ID in KepSever. Please see attached screenshots of configuration and advise.

Thanks so much in advance

Kind regards,

Steven

Kepserver-Device Properties.PNG

M221-Modbus mapping.PNG

M221-Ethernet IP.PNG

OPC-Client.PNG

Share this post


Link to post
Share on other sites

simulate device is checked

Share this post


Link to post
Share on other sites

You have the device in the server configuration set to simulated mode. This forces the Server to do a loop back on the device and you are now only reading from cache and not going out to the device at all. If you were to write to a tag you would see the value returned in the client but it would not be written to the physical device just to the cache that is allocated for that tag.

Un-check that setting and you should start talking to the device. it the device is not responding you will get an error in the server for that.

You may also want to consider updating to a newer server version. V4. is no longer sold or supported by Kepware/PTC.

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