String support call error messages – Rockwell Automation 1771-DB BASIC MODULE User Manual
Page 353

Troubleshooting
Appendix C
C –5
String Support CALL Error Messages
This error message:
Occurs when:
INSUFFICIENT
STRING SIZE
the resulting string cannot hold all required characters when using CALLs 61 or
66
for example:
>10 STRING 100,9 REM MAX OF 9 CHR’S/STRING
>20 $(0)=“01234567”
>30 $(1) = “890”
if you attempt to insert or concatenate, an error occurs because the resulting
string requires 11 characters
BAD POSITION
you attempt to access a string position that is beyond the declared length of the
string when using CALL 66
for example:
>10 STRING 110,9
>20 $(0)=“1234”
>30 $(1)=“56”
>40 PUSH 6 REM INVALID POSITION OF $(0)
>50 PUSH 1 REM $(1)
>60 PUSH 0 REM $(0)
>70 CALL 66 REM INSERT $(1) INTO $(0) @ POS 6
error occurs because position 6 is outside of the declared string.
EXTRA IGNORED
the resulting string cannot hold all the characters when using CALL 61.
Similar to INSUFFICIENT STRING SIZE error. Extra characters are lost.
INPUT
an input statement requiring numeric data, received numeric data followed by
letters. The letters are ignored.
for example:
INPUT A
entering 1.23AB causes this error message. The program continues to run.
Memory Support CALL Error Messages
This error message:
Occurs when:
INVALID MTOP
ADDRESS ENTERED
you select an invalid RAM location for a new MTOP value when using CALL 77
PROGRAM NOT
FOUND
a program number higher than 255 is PUSHed when using CALL 71 or 72 or if
the program is not found