Rockwell Automation 1746-BAS BASIC LANGUAGE User Manual

Page 169

Advertising
background image

Publication 1746-RM001A-US-P

Output Functions 12-19

The fifth input argument is the number of elements to be transferred. If the
number is not within the range specified below, then the output argument equals
13, and the transfer does not take place.

The sixth input argument is the message time-out value. This value is the number
of hundreds of milliseconds that are allowed to receive the write response (1 to 50 =
0.1 to 5.0 seconds). If the write response is not received within this time, the
message aborts with the output argument equal to 55. If the number is not within
the range 1 to 50, the output argument equals 14, and the transfer does not take
place.

The write data from the module output buffer written to the remote device starting
at word 0 and filling as many words as specified by the element length of the
message.

Upon return from the CALL, the output argument specifies the status of the
message instruction. Table 12.6 defines the output argument.

IMPORTANT

The offset will be twice of what is expected. For example, if an
offset of 3 was PUSHed, the data will be written to the remote
DH485 data file beginning at element 6.

Table 12.5 Valid Length Range

File Type

Valid Length Range

ASC(N)

1 to 40

ASC(S)

1 to 40

ASC(C)

1 to 13

ASC(T)

1 to 13

ASC(B)

1 to 40

ASC(R)

1 to 13

Advertising