Rockwell Automation 1746-BAS BASIC LANGUAGE User Manual

Page 160

Advertising
background image

Publication 1746-RM001A-US-P

12-10 Output Functions

offset should not be 0 since this word is reserved for the data transfer handshaking
bits. The offset for the internal string is always 1. The string character (transaction
number) at location 0 is incremented upon every data transfer.

The tenth input argument is the string number. If the eighth input argument does
not select internal string usage, the value of this input argument is ignored but
must still be PUSHed.

The output argument is the validation of the CALL parameters. It has the
following values:

0 - Successful

1 - Disabled

2 - Bad input parameter

3 - Port DH485 not enabled (DF1 enabled)

4 - String is too small

5 - String is not dimensioned

6 - Data packet is too long

To disable this CALL, a zero must be PUSHed into the first input parameter. All
other parameters are ignored but must still be PUSHed.

Whenever an attempt is made to write to a remote node, the module places the
status of the write into the SLC input file word 1, bits 0-7. The status values have
the same definition as the values POPped in CALL 93.

Advertising