question

Steven Chen avatar image
2 Likes"
Steven Chen asked Matt Long commented

Emulation Modbus

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.

emulation-modbus-v1.fsm

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

FlexSim 18.1.1
emulation
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Matt Long avatar image
0 Likes"
Matt Long answered Matt Long commented

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.

· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Matt Long avatar image Matt Long commented ·

@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 0 ·