Ask our Experts
Didn't find what you are looking for? Ask our experts!
Share Your Feedback – Help Us Improve Search on Community! Please take a few minutes to participate in our Search Feedback Survey. Your insights will help us deliver the results you need faster and more accurately. Click here to take the survey
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.
Search in
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.
You’ve reached the end of your document
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.