Instruction P188 (Cr10X And Cr23X) - Campbell SDM-IO16 User Manual

16 channel input/output expansion module
Table of Contents

Advertisement

Equation for CR800, CR850, and CR1000:
Where:
k= the value entered in BitPeriod
Resolution=8.68 microseconds
Equation for CR3000:
Where:
k= the value entered in BitPeriod
Resolution= 4.34 sec.
Equation for CR5000:
Where:
k= the value entered in BitPeriod
Resolution=50 nsec.

6.3 Instruction P188 (CR10X and CR23X)

Datalogger instruction number 188, 'SDM-IO16', supports control of the
SDM-IO16. This instruction is included in recent versions of the operating systems
for the CR10X and CR23X dataloggers. This is an instruction that is specifically
designed to control the SDM-IO16, and takes the form:
P188
01:99
02:9999
03:FP
04:FP
05:FP
06:FP
07:9999
08:9999
09:FP
10:FP
The codes after the parameter number indicate the entry type, where 99 and 9999
signify two or four digit integer entries and FP indicates a floating point number
entry, e.g. 1.234. The range of values you would enter with the
SDM-IO16 is shown after the description of some parameters. A detailed
description of the individual parameters follows.
Parameter 01 sets the SDM address number (see Figure 5). This instruction
accepts the address in decimal form. The factory setting is 0.
Parameter 02 specifies the command number, which is the main way of
controlling what the SDM-IO16 does in response to a specific call of P188. The
range of commands is described in Section 6.4 below.
Parameters 03...06 allows the entry of four digit numbers which allow a simple
method of setting up the state or method of operation of each I/O port on the
module. These parameters are only functional with commands 86...90, otherwise
they can be left at zero. Each digit relates to one I/O port on the module in the
order shown above; for example 03 relates to Ports 16-13, 06 relates to Ports 4-1
etc. Ports are read in descending numerical order from left to right.
bit_rate=INT((k*72)/625)*Resolution
bit_rate=INT((k*144)/625)*Resolution
bit_rate=INT(k*20)*Resolution
SDM-IO16 instruction
SDM address 0-15.
Command number 0-255.
Ports 16-13 Mode 0-9999.
Ports 12-9 Mode 0-9999.
Ports 8-5 Mode 0-9999.
Ports 4-1 Mode 0-9999.
Location number for return code.
Start location number for values.
Multiplier.
Offset.
User Guide
11

Advertisement

Table of Contents
loading

Table of Contents