Frame Type
This property is of type Fixed list of ints and can be referenced with the variable name FrameType.
Switches between RTU and ASCII forms of Modbus
Is there an example on how to set it ?
Steve
Success always occurs in private and failure in full view.
Both the Master and the Slave components should have the Frame type property allowing you to switch between RTU and ASCII communications methods for ModBus. There is currently no way to switch modes on the fly, is this what you were after?
The ASCII mode is probably less well tested by users so there is possibly bugs lurking that I'm not aware of.
The only way I can think to allow this currently is to have two modbus master components in your program. One configured to be RTU and the other ASCII. You then decide which one to use based on which one has been specified.
I could allow it to be set in software using a single component but it will increase both the ROM and the RAM usage slightly. i.e. currently it only includes code for one method or the other but with a variable setting it would have to include code for both modes. Maybe I can add a third option to the property which is specified in software and this way it only adds bloat if you want to be able to switch between.