Hello guys Im having one trouble when copying partial strings
I use an index variable but im loosing the first 4 charaters of the string
COP
String_Check.DATA[Variable]
Information
1
Here is the string content:
String_Check
02310061 1 010000020003 04 050006005070000080000091101111120013001300190014001600150015021600015170999918000001902888202014-11-14:11:01:43212014-03-04:08:15:13222230000379921$
Information
0061 1 010000020003 04 050006005070000080000091101111120013001300190014001600150015021600015170999918000001902888202014-11-14:11:01:43212014-03
I tried to copy also like this but it doesn't works
COP
String_Check.DATA[Variable]
Information.DATA[0]
1
I have made it work with:
COP
String_Check.DATA[Variable-4]
Information
1
but if the variable equals zero the plc is faulted
thanks a lot for your help
I use an index variable but im loosing the first 4 charaters of the string
COP
String_Check.DATA[Variable]
Information
1
Here is the string content:
String_Check
02310061 1 010000020003 04 050006005070000080000091101111120013001300190014001600150015021600015170999918000001902888202014-11-14:11:01:43212014-03-04:08:15:13222230000379921$
Information
0061 1 010000020003 04 050006005070000080000091101111120013001300190014001600150015021600015170999918000001902888202014-11-14:11:01:43212014-03
I tried to copy also like this but it doesn't works
COP
String_Check.DATA[Variable]
Information.DATA[0]
1
I have made it work with:
COP
String_Check.DATA[Variable-4]
Information
1
but if the variable equals zero the plc is faulted
thanks a lot for your help