Rockwell Automation 1771-DB BASIC MODULE User Manual

Page 313

Advertising
background image

Chapter
Call Routines 69–127

13

13 -55

Input Argument Four
The fourth input argument is the string number. If the second input
argument does not select internal string usage, the value of this input
argument is ignored but you must still PUSH it.

Input Argument Five
The fifth input argument is the maximum word length allowed for the data
packet. Any packets received by the BASIC module of greater size are
rejected. Entering 0 causes the BASIC module to accept packets of any
size and all packets are received up to the maximum length of the
destination file. Excess data is truncated.

Output Argument One
The output argument is the status of the call:

0 = successful
1 = disabled
2 = bad input parameter
3 = selected DH485/DF1 port not enabled
4 = string too small
5 = string is not dimensioned
6 = JW5 not in 16-point position

Syntax

PUSH

CALL enable/disable

PUSH

selection of BTR file and/or string

PUSH 1

PUSH

string number

PUSH

maximum word length

CALL 118

POP

CALL 118 status

Advertising