question

David Chan avatar image
0 Likes"
David Chan asked David Chan commented

Modbus disconnection

Hi

I am using PLC Emulation with modbus. It works for the first run but fails to re-run. However if I re-start the model or reset the PLC, it works again for one round. It seems to me the modbus communication needs to be reset (close) before I re-run the model again. Is it a norm? Instead of the reset the PLC or restart the model in new FlexSim session, what is FlexScript can close the communication? Will clientclose or socketend works?

Regards

David

FlexSim 19.2.2
plc emulationmodbus communication
· 2
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

Phil BoBo avatar image
1 Like"
Phil BoBo answered David Chan commented
@david.chan

Have you tried it since 19.2.4?

This should be fixed now.

· 2
5 |100000

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