Section 5. programming the datalogger, 1 instruction 113 parameters, 1 parameter 1 — reps – Campbell Scientific SDM-SIO4 4-Channel Serial I/O Interface User Manual

Page 33: 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)

Advertising