Logic Machine Forum
FC21 - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Gateway (https://forum.logicmachine.net/forumdisplay.php?fid=10)
+--- Thread: FC21 (/showthread.php?tid=4846)



FC21 - Erwin van der Zwart - 27.06.2023

Do we support Modbus function code 21 (Write File Record)?


RE: FC21 - admin - 27.06.2023

It's not supported directly but there are send/receive functions for raw payloads.


RE: FC21 - Erwin van der Zwart - 27.06.2023

Is there a sample of how to use it with raw data?


RE: FC21 - admin - 27.06.2023

It simply sends whatever data you want to the port. CRC16 is added automatically. Data must be supplied as a string.
This script uses it: https://forum.logicmachine.net/showthread.php?tid=4288