Ahmed Ibrahim Osman

MrPLC Member
  • Content count

    8
  • Joined

  • Last visited

Posts posted by Ahmed Ibrahim Osman


  1. I have tag  data type is String consist of 22 characters, i want to extract one  character and convert into Int to do some calculations, i have used( MID_INT) Function Block extracts a sub-string of characters starting from a certain rank. The result is a character string but I want to put in Array of strings or Array of Bytes and then  take every Byte or character  to do some calculations.
    Summarization:
     how I can extract one character from string[n] composed of set of characters (n)  is number of characters TO DO SOME CALCULATIONS 

    LOOK

    Is  There any function Block can i use it?
    Thanks

    s.png

    SS.png