Hello,
Is there a way to sync all registers between Flexsim and PLC on model starts?
Currently reset model doesn't disconnect Modbus. I have to close program to disconnect, but once the program closed it ruins the PLC and connection never established until PLC rebooted.
I would like to have logs and table view of current value of registers, to make sure the commands does executed, helping me to find out it's human error or bug.
As picture below, Everything is fine in first simulation run. Connection doesn't close after model reset. In the second run, motors stopped immediately even the registers are true in PLC. I have to reboot PLC to make it works again.
Using Omron PLC as Modbus server and Flexsim as client. I also used other client tool to test connection with PLC by disconnecting and reconnecting and no issue found.