VA Motion Controller Programming Manual
IV
10.3.13 Conversion of UINT type data ............................................................................................. 206
10.3.14 Conversion of UDINT type data ..........................................................................................207
10.3.15 Conversion of REAL type data ............................................................................................. 209
10.3.16 Conversion of LREAL type data ...........................................................................................211
10.3.17 TRUNC decimal rounding ......................................................................................................213
10.3.18 Conversion of TIME type data ............................................................................................. 215
1 0.4 STRING FU ...............................................................................................................................................217
10.4.1 CONCAT (Merge String) ...........................................................................................................217
10.4.2 INSERT (insert string) .................................................................................................................218
10.4.3 DELETE ( copies except string) .............................................................................................219
10.4.4 REPLACE (replace string)..........................................................................................................221
10.4.5 LEN ( string length ) ................................................................................................................... 222
10.4.6 LIMIT_STRING (set string limit) ...............................................................................................223
10.4.7 FIND (FinDA character that appears in a string) ..............................................................224
10.4.8 MAX_STRING ( take a larger string ) .................................................................................... 225
10.4.9 MIN_STRING (take a smaller string)..................................................................................... 226
10.4.10 LEFT (Remove the last few characters of the string) ....................................................227
10.4.11 MID (Remove several characters in a string) .................................................................. 228
10.4.12 RIGHT (remove the rightmost characters of the string) ............................................. 229
10.4.13 SEL_STRING (binary selection of strings) ..........................................................................230
10.4.14 GT_STRIN (string is greater than) ........................................................................................231
10.4.15 GE_STRING (string is greater than or equal to)............................................................. 231
10.4.16 EQ_STRING (string equals) ....................................................................................................232
10.4.17 NE_STRING (string is not equal) ..........................................................................................233
10.4.18 LE_STRING (string is less than or equal to)..................................................................... 234
10.4.19 LT_STRING (string is less than) .............................................................................................235
10.4.20 STRING_TO_* (converts strings to other types).............................................................236
10.4.21 *_TO_STRING (other types are converted to strings) .................................................. 237
1 0.5 BIT OPERATION FUNCTION BIT_UTIL .................................................................................................. 240
10.5.1 BIT_TEST (Read bit value instruction in bit string ) ..........................................................240
10.5.2 GET_ CHAR (Remove the character instruction in the string )....................................241
10.5.3 GET_LSB ( Remove the lower 8 -bit instruction in the bit string ) .............................242
10.5.4 GET_MSB ( Remove the high 8 -bit instruction in the bit string ) .............................243
10.5.5 I_BIT_IN* ( Invert the single bit in the bit string) ..............................................................244
10.5.6 PARITY_* (parity instruction for bit string ) ........................................................................245
10.5.7 R _BIT_IN_* ( instruction of a single position 0 in a bit string )...................................246
10.5.8 S_BIT_IN_* ( 1 instruction in a single bit in the bit string )........................................... 247
10.5.9 SET_LSB ( Write instructions to the lower 8 bits in the bit string )............................ 248
10.5.10 SET_MSB ( the high bit string 8 write digit command ) ..............................................249
10.5.11 STRING_TO_BUFFER (copy string to buffer instruction ) ............................................250
10.5.12 SWAP (swapping high byte and low byte instructions ) .............................................251
10.6 PROCONOS FEATURES ........................................................................................................................... 252
10.6 .1 BUF type conversion to other types ....................................................................................252
10.6.2 Other types are converted to BUF type ..............................................................................255
10.6.3 CLR_ERROR_CATALOG ( except for the complete error directory )......................... 255
10.6.4 CLR_OUT ( Set the output of the I/O image to 0 pointer )..........................................256
10.6.5 COLD_RESTART ( PLC cold start ) ......................................................................................... 256
10.6.6 CONTINUE ( continue running the program ) ..................................................................257