Search the Community
Showing results for tags 'String'.
Found 6 results
-
Hello, In my program I receive a length of vectors on MI120 - MI143. When I use ASCII string to display all the vector in one line on the HMI, I only get the first character which is inside MI120, even when the length is very long. When I put RTC to vector, it is possible to display it with the samen function. So for example: MI120 a MI121 b MI122 c I want to see: abc, but I only get a. How can I solve this? Thanks!
-
I'm working with getting names from a DT on the screen, and I got the folowing: read name from dt, row offset in string1 read name from dt, row offset +1 in string2 .... read name from dt, row offset +14 in string15 next page = offset + 15 reload. This way i can skip through the DT and show all values, but now I got a strung with 15 times almost the same code. The problem is that there isn't a array[string] with which it would be possible to make a loop. If there would be an array[string] then i could save at position [offset] and next time [offset +1], but now i need another name thereby I't isn't possible to make a loop. Any ideas?
-
Hello, I'm trying to compare a string to an empty string. When the string is NOT empty, a counter should increment. First I tried to do this with a not contact between the compare and the increment, this gave the problem that it kept incrementing. It didn't stopped after one runtime it kept going. Does someone know a better inverse method? One ugly solution that I have found is to increment before the compare and decrement if it is true. Does anyone have better options?
-
I have a project were I am using an Enfora GPRS modem to make IP calls back to a web connected machine. This works very well and I have set it up to receive text messages via GSM. I want to use the received text to trigger a call back on GPRS to an IP specified in the text. I have found the function to convert the IP to a text but not text to IP. Is there one? If not how is the decimal storage of an IP formatted so I can do via math / string functions? Thanks in advance Andy
-
Hi Experts I am new to Unitronics (started to work on it this Monday) and I am pretty impressed by its capabilities. I wonder if somebody could advise me if its possible to send text values through SMS and display it on Vision 230 OPLC. So far I could transfer numeric values but passing strings would be very helpful as well. Please help.