User Guide
11
Equation for CR800, CR850, and CR1000:
bit_rate=INT((k*72)/625)*Resolution
Where:
k= the value entered in BitPeriod
Resolution=8.68 microseconds
Equation for CR3000:
bit_rate=INT((k*144)/625)*Resolution
Where:
k= the value entered in BitPeriod
Resolution= 4.34
sec.
Equation for CR5000:
bit_rate=INT(k*20)*Resolution
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
SDM-IO16 instruction
01:99
SDM address 0-15.
02:9999
Command number 0-255.
03:FP
Ports 16-13 Mode 0-9999.
04:FP
Ports 12-9 Mode 0-9999.
05:FP
Ports 8-5 Mode 0-9999.
06:FP
Ports 4-1 Mode 0-9999.
07:9999
Location number for return code.
08:9999
Start location number for values.
09:FP
Multiplier.
10:FP
Offset.
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.