Flexsim unable to read/write tags in modbus channel TCP/IP in Kepware

Flexsim unable to read/write tags in modbus channel TCP/IP in Kepware

ajay_j2
Not applicable
9 Views
6 Replies
Message 1 of 7

Flexsim unable to read/write tags in modbus channel TCP/IP in Kepware

ajay_j2
Not applicable

[ FlexSim 21.0.0 ]

Need support for understanding requirements to connect flexsim with kepware modbus channel.
and steps to establish successful connection in flexsim and modbus kepware channel.


Thanks in advance.

10 Views
6 Replies
Replies (6)
Message 2 of 7

joshua_s
Not applicable

Hi @Trex-2 ,

Can you send screenshots of your emulation settings in FlexSim?

0 Likes
Message 3 of 7

ajay_j2
Not applicable

Thanks Joshua, For your reply.

Please find the screen shots of emulation setting in flexsim and kepware.

modbus.pngkepware-1.pngmotor.pngkepware.pngsensor.png

0 Likes
Message 4 of 7

joshua_s
Not applicable
If you open up the system console, then run the model, does it give any specific error messages?
0 Likes
Message 5 of 7

ajay_j2
Not applicable
Hello Joshua, I was not getting any error in system console.


I am able to write the kepware boolean tags using modbus protocol now but i also want to write other data types as float and word but i am unable to.


0 Likes
Message 6 of 7

joshua_s
Not applicable

@Trex-2

For other data types, you will need to specify the Register Type to be something other than Coil, since Coil only handles Boolean. Not sure if you have done that already. If you have, please send us your Kepware configuration file.

0 Likes
Message 7 of 7

Jeanette_Fullmer
Community Manager
Community Manager

Hi @Trex-2,

We haven't heard back from you. Were you able to solve your problem? If so, please add and accept an answer to let others know the solution. Or please respond to the previous comment so that we can continue to help you.

If we don't hear back in the next 3 business days, we'll assume you were able to solve your problem and we'll close this case in our tracker. You can always comment back at any time to reopen your question, or you can contact your local FlexSim distributor for phone or email help.

0 Likes