Memory support call error messages – Rockwell Automation 1771-DB Basic Module User Manual - Series A User Manual

Page 158

Advertising
background image

Error Messages and Anomalies

Chapter 9

9–6

BAD POSITION— This error occurs if you attempt to access a string
position that is beyond the declared length of the string when using CALL
66.

Example:

u10 STRING 100,9

u20 $(0)=“1234”

u30 $(1)=“56”

u40 PUSH 6 REM INVALID POSITION OF $(0)

u50 PUSH 1 REM $(1)

u60 PUSH 0 REM $(0)

u70 CALL 66 REM INSERT $(1) INTO $(0) @ POS 6

BAD POSITION error results because position 6 is outside of the declared
string.

EXTRA IGNORED — This error occurs when 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.

Example:

Input A

Entering 1.23AB causes this error message. The program continues to run.

INVALID MTOP ADDRESS ENTERED — This error occurs when you
select an invalid RAM location for a new MTOP value when using CALL
77.

PROGRAM NOT FOUND — This error occurs if a program number
higher than 255 is PUSHed when using CALL 71 or 72 or if the program is
not found.

9.3.4
String Support CALL
Error Messages
(continued)

9.3.5
Memory Support CALL
Error Messages

Advertising