Port, Address – Campbell Scientific TD Operating System Addendum for CR510, CR10X, and CR23X User Manual

Page 48

Advertising
background image

Section 12. Program Control Instructions

12-4

Notes:

Edlog allocates only one of the input locations used in parameters 5 and 7 of
this instruction. The additional input locations must be inserted manually using
the Input Location Editor.

If this instruction is used to retrieve a value or set a value in the remote
datalogger's public (or input location) table (i.e., code 26 or 27 is used in
parameter 3), Instruction 63 or 68 must follow this instruction to enter the
variable name that will be accessed.

Index parameter 3 to delay execution of subsequent program instructions until
the datalogger receives a valid response or error from the remote. Otherwise,
the PakBus command is queued, the datalogger proceeds to the next
instruction, and the communications are handled later when the remote replies.

Port

The communications port that will be used by the local PakBus datalogger
during the execution of this instruction. Valid options are:

Code

Description

0

Modem Enabled Device, 300

1

Modem Enabled Device, 1200

2

Modem Enabled Device, 9600

3

Modem Enabled Device, 76800

4

Modem Enabled Device, 2400

5

Modem Enabled Device, 4800

6

Modem Enabled Device, 19200

7

Modem Enabled Device, 38400

16

SDC 6 (COM 310)

17

SDC 7

18

SDC 8

Note: The CR10X-TD and CR510-TD have limited communication rates and
do not support options 4 through 7.

Address

When a PakBus command is being issued, this address refers to the PakBus
address of the datalogger. When a Modbus command is being issued, this
address refers to the Modbus address. The PakBus and Modbus addresses in
the datalogger cannot be set to the same number.

If this instruction is used within a loop, index this parameter to automatically
increment the address with each pass through the loop. When this parameter is
indexed, program execution will be delayed until a response is received from
the remote datalogger.

Advertising