(0)| 4/15/2012 8:54 PM | |
|
Posts: 1742 Rating:
|
Hello, There are several solutions. Here a less known possibility. In SCL there is a special instruction AT that allows to define the same data but with another format. As in the small example in annex (not tested on a real PLC, and to be adapted to your needs). The FC gets a char(aChar) inside a String (InString)at a given position (POS). The temporary variable TempString and TempStringChar occupy in fact the same area. Allowing to access the data as desired. AttachmentCharInString.pdf (709 Downloads) |
Last edited by: jklm at: 4/15/2012 8:58 PM |
|
| 4/15/2012 10:44 PM | |
|
Joined: 1/4/2011 Last visit: 12/7/2025 Posts: 22 Rating:
|
Thank You jklm for your answer! I've learnt something new! |
Follow us on