Ask our Experts
Didn't find what you are looking for? Ask our experts!
New Community Ranking System
Our Community ranking system has recently been updated. You may notice changes in user rankings and receive system messages or notifications. If you have questions about how the new ranking works, please refer to the announcement post for more details (click here).
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
Please select a country to continue with beta search.
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.