1/31/2023 1:34 PM | |
Joined: 3/30/2020 Last visit: 3/24/2023 Posts: 3295 Rating:
|
The " EQ_STRNG" (FC10) instruction is available in the IEC function library. This can be used if that array of characters where a String type. Else stepping through the 32 elements is easiest done using SCL. In SCL it is possible to address the array tag with a variable index. Also the For-loop makes it easy to pace through the elements. Using STL is possible but you need to work harder to do the same with indirect addressing. Do these notes help you already? Attachmentcompare-string.pdf (5 Downloads) |
Last edited by: qwazee at: 01/31/2023 13:36:12Add PDF with list of IEC functions available in standard (extended) instruction library Activities of this user is voluntary. There is no obligation or liability placed on this user. Though optional, your 'please' and 'thank you' is highly valued. |
|
2/10/2023 12:52 PM | |
Joined: 6/19/2017 Last visit: 3/21/2023 Posts: 6654 Rating:
|
New question published by silva_SPS is split to a separate thread with the subject How should declare the array of char in the block input for proper performance?. Best regards |
My Forum is the place to personalize your profile, |
|
Follow us on