Rockwell Automation 1771-DB BASIC MODULE User Manual

Page 243

Advertising
background image

Chapter
Call Routines 0–68

12

12 -53

Once this call is active, it remains active and sends data to the remote node
whenever the PLC processor handshaking is accomplished.

Input and Output Arguments

This call has ten input arguments and one output argument.

Argument

Description

Page

input 1

type of DH-485 WRITE

12 -53

input 2

node address of the DH-485 remote device (0 through 31)

12 -53

input 3

file number on the DH-485 remote device (0 through 255)

12 -53

input 4

file type to be written to the remote device

12 -54

input 5

starting word offset within the file on the remote device (0
through 32766)

12 -54

input 6

number of words to be transferred

12 -54

input 7

the message time-out value

12 -54

input 8

the selection of the source BTW buffer or internal string

12 -55

input 9

always 1

12 -55

input 10

the string number

12 -55

output 1

call status

12 -55

To disable this call, you must PUSH a zero into the first input parameter.
All other parameters are ignored but you must still PUSH them.

Input Argument One
The first input argument is the type of DH-485 WRITE command issued:

0 = disable the previously executed CALL 50
1 = common interface file write
2 = SLC typed write

Input Argument Two
The second input argument is the node address of the DH-485 remote
device on the DH-485 network (0 through 31). If the number is not within
this range, the status equals 2 and the write message does not occur.

Input Argument Three
The third input argument is the file number on the DH-485 remote device
(0 through 255). If the number is not within this range, the status equals 2
and the write message does not occur.

Advertising