Emulation Modbus

Emulation Modbus

mail7WJMZ
Collaborator Collaborator
174 Views
2 Replies
Message 1 of 3

Emulation Modbus

mail7WJMZ
Collaborator
Collaborator

[ FlexSim 18.1.1 ]

Hello,

I follow the tutorial TASK 4.1 - BUILD PLC BASIC LADDER LOGIC. Currently I use Modbus to connect a virtual slave, while item cover/uncover photo-eye I can see register value of slave changed, also the transmission data shown in log view. But Flexsim seems doesn't poll value from slave even I check the Poll for External Changes checkbox, no transmission shown in log view.

Hope someone could give me some hint.

12636-slave-communication-traffic.png

emulation-modbus-v1.fsm

Virtual modbus from http://www.modbustools.com/index.html

Accepted solutions (1)
175 Views
2 Replies
Replies (2)
Message 2 of 3

matt_long
Not applicable
Accepted solution

Looks like there may be a bug in the Emulation tool that's causing the polling to not work with modbus. I'm looking into it right now.

0 Likes
Message 3 of 3

matt_long
Not applicable

@steven.chen Sorry this took some time to get to you. The bug was pretty simple. I've fixed it for the next release of the 2018 Update 2 Beta. In the meantime, here's a link to download a patch for 2018 Update 1. Unzip the files and place them in your FlexSim install directory/modules/Emulation.

https://cloud.flexsim.com/index.php/s/lnGIfxkleUEzGJA

0 Likes