HVAC and Pumping Forum
Support Forum for HVAC and pumping machines, Modicon M17x and EcoStruxure Machine Expert HVAC software for chillers, AHU, CRAC units for datacenters or process chillers applications - from design, implementation to troubleshooting and more, by Schneider Electric.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-09-19 10:54 PM
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.
Link copied. Please paste this link to share this article on your social media post.
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.
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.
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.
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.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.
With achievable small steps, users progress and continually feel satisfaction in task accomplishment.
Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.
of