Section 5. programming the datalogger, Section 5. programming the sdm-sio4 -1, 1 instruction 113 parameters – Campbell Hausfeld Serial I/O Interface SDM-SIO4 User Manual

Page 31: 1 parameter 1 — reps, 2 parameter 2 — address, 3 parameter 3 — mode

Advertising
background image

5-1

Section 5. Programming the Datalogger

The datalogger instruction specific to the SDM-SIO4 is P113 (CR7 and CR10/10X only).
(Please check with Campbell Scientific to see if your version of the operating system supports
this.) The instruction has the following format:

Parameter No.

Description

01

Reps (number of adjacent addressed SDM-SIO4s)

02

Address of SDM-SIO4 (0..15)

03

Mode (0..5)

04

Command (0..9999).

05

First command option (0..9999)

06

Second command option (0..9999)

07

Values per rep

08

Starting input location

09

Multiplier

10

Offset

5.1 Instruction 113 Parameters

5.1.1 Parameter 1 — Reps

This specifies the number of times you wish this command to repeat for each
SDM-SIO4 connected to the datalogger with sequential addresses. This will
normally be set to one.

5.1.2 Parameter 2 — Address

This is the address of the SDM-SIO4 that the instruction applies to.

See Section 2 – ‘Installation and Hardware Set-Up’ for information on setting the
SDM-SIO4 address

5.1.3 Parameter 3 — Mode

This defines which port the command applies to:

Code Port
1

Send/Receive port 1

2

Send/Receive port 2

3

Send/Receive port 3

4

Send/Receive port 4

5

Send to all four ports (global)

5.1.4 Parameters 4, 5 and 6 — SDM-SIO4 Command

This command (with up to two options) defines exactly what the instruction will
do. Where no options are needed, enter values of 0000 for parameters 5 and 6.

Advertising