This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

FC21
#1
Do we support Modbus function code 21 (Write File Record)?
Reply
#2
It's not supported directly but there are send/receive functions for raw payloads.
Reply
#3
Is there a sample of how to use it with raw data?
Reply
#4
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
Reply


Forum Jump: