- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-09-19 10:54 PM
M172* sys_FM_READ insufficient documentation
Hi,
I’ve just been using 'sys_FM_READ' from the 'FS_IEC' library (version 1.0.0).
The function seems to read up to the number of characters/bytes specified by the ‘len’ arg or up to the first linefeed character, whichever comes first.
Is this correct?
Are there are any other characters that act like linefeed that reduce the number of characters being read in a call?
Is there a maximum to the 'len' argument?
Thanks.
- Labels:
-
HVAC
- Tags:
- english
Authentication Failed.
- Authentication Ticket Mismatched, failed authentication.
Link copied. Please paste this link to share this article on your social media post.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-02-17 08:37 AM
Hi,
the function works as you are expecting.
No other chars act like linefeed.
I've never tested it with a number so big, but the limit of LEN should be 32767, so basically it should work with any string you can define.
Link copied. Please paste this link to share this article on your social media post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-02-17 08:37 AM
Hi,
the function works as you are expecting.
No other chars act like linefeed.
I've never tested it with a number so big, but the limit of LEN should be 32767, so basically it should work with any string you can define.
Link copied. Please paste this link to share this article on your social media post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-02-17 08:07 PM
Thanks @FedericoM. Could the documentation be updated to reflect these details?
Link copied. Please paste this link to share this article on your social media post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-02-19 06:13 AM
Sorry, I can only track the request
Link copied. Please paste this link to share this article on your social media post.

