Error messages from call routines, Prt2 port support call error messages, Wall clock call error messages – Rockwell Automation 1771-DB BASIC MODULE User Manual

Page 352

Advertising
background image

Troubleshooting

Appendix C

C –4

Your module generates these messages if an error occurs while the module
tries to execute a CALL routine.

PRT2 Port Support CALL Error Messages

This error message:

Occurs when:

INVALID INPUT DATA

you enter an invalid value when using CALL 30

INVALID VALUE
PUSHED

you enter a value other then 0, 1 or 2 when using CALL 37

Wall Clock CALL Error Messages

This error message:

Occurs when:

INSUFFICIENT
NUMBER OF STRING
CHARACTERS
ALLOCATED

you attempt to execute a CALL 43, 45 or 52 and a string length of 18, 8 or 9,
respectively, is not allocated during string allocation

INVALID DATE/TIME
PUSHED

you enter an invalid value for the date and/or time when using CALL 40 and 4l

NUMBER
BYTES/STRING
EXCEED 254

using CALL 43, 45 or 52 and the STRING X,X command allocates more
characters per string than is allowed

For example:

10 STRING 1000,300

INVALID NUMBER
PUSHED

you push an invalid string value or day of week value using CALL 42, 43 and 52.

STRING # NOT
ALLOCATED

you attempt to access a string that is outside the allocated string memory when
using CALLs 60, 61, 64, 65, 66, 67 or 68

for example:

>10 STRING 100,9
>20 PUSH 5, 12
>30 CALL 60
>RUN

ERROR - STRING # NOT ALLOCATED

error occurs because STRING 12 is outside the area reserved for strings.

# BYTES/STRING
EXCEED 254

the STRING X,X command allocates more characters per string than is allowed
using CALL 62

for example:

>10 STRING 1000,300

INSUFFICIENT
NUMBER OF STRING
CHARACTERS

you do not use the required minimum string lengths when using CALL 62

BAD # PUSHED

the string position pointer is zero (invalid position) using CALL 66

Error Messages from CALL
Routines

Advertising