Rockwell Automation 1746-BAS BASIC LANGUAGE User Manual

Page 102

Advertising
background image

Publication 1746-RM001A-US-P

8-6 Execution Control and Interrupt Support Functions

If you perform an XBY in the error routine, this is a list of the status codes you
might receive.

Table 8.2 Status Codes

Status Code Description

01

module attempted to call an illegal call number

02

port has been assigned an invalid parameter

03

string has not been dimensioned

04

defined string length is too small for operation

05

memory has not been allocated for this string

06

attempted to transfer to a RAM or ROM program that did not exist

07

command or call can only be executed from Command mode

08

user PROM has invalid checksum

09

this statement or call requires a user PROM; no user PROM is installed

10

divide by zero

11

DH485 call executed and DH485 port not enabled

12

argument stack problem

13

syntax error

14

control stack problem

15

array size problem

16

internal processor stack problem

17

no DATA available for READ

18

DF1 cannot be enabled (JW4 in wrong position)

19

illegal user of PRT2 while DF1 is enabled

illegal use of PRT2 while background DF1 task is enabled

attempted to transmit DF1 packet before DF1 is enabled

attempted to transmit DF1 packet of incorrect length

20

arithmetic overflow (value too large for range)

21

bad line number

22

JW5 in 8-point position

30

arithmetic underflow (value too small for range)

40

bad argument

Advertising