Section 6. Data Error Detection
6-9
1: SDM-SIO4 (P113)
1:
1
Reps
2:
0
Address
3:
1
Send/Receive Port 1
4:
2304
Command
5:
9100
1st Parameters
6:
0
2nd Parameters
7:
0
Values per Rep
8:
0000
Loc [ _________ ]
9:
1
Mult
10: 0
Offset
*Table 2 Program
02: 0.0000
Execution Interval (seconds)
*Table 3 Subroutines
End Program
The program shown above will output to port 1 the string ‘123456789BB3D’.
6.3.3 Alternative CR10X Program
The earlier formatter example assumes the signature/CRC is calculated and
completed in one formatter string, which also means it will all be done within
one P113 datalogger instruction. This is not the only way to do it. It is possible
to calculate a CRC/signature across a number of formatter strings and therefore
a number of P113 Datalogger instructions. This could be done by using
command line commands and a datalogger program as shown below.
Formatter strings stored by using the command line.
FMTST 100 “g1”
FMTST 101 “i[some data]”
FMTST 102 “f6:2 G8”
*Table 1 Program
01: 1.0
Execution Interval (seconds)
;use formatter string 100 to set up the CRC16 on port 1
1: SDM-SIO4 (P113)
1:
1
Reps
2:
0
Address
3:
1
Send/Receive Port 1
4:
2304
Command
5:
9100
1st Parameters
6:
0
2nd Parameters
7:
0
Values per Rep
8:
0000
Loc [ _________ ]
9:
1
Mult
10: 0
Offset
Summary of Contents for SDM-SIO4
Page 6: ...SDM SIO4 Table of Contents iv This is a blank page ...
Page 12: ...Section 1 Introduction 1 6 This is a blank page ...
Page 16: ...Section 2 Installation and Hardware Set Up 2 4 This is a blank page ...
Page 26: ...Section 3 Understanding How the SDM SIO4 Handles Data 3 10 This is a blank page ...
Page 32: ...Section 4 Programming the SDM SIO4 4 6 This is a blank page ...
Page 62: ...Section 5 Programming the Datalogger 5 30 This is a blank page ...
Page 76: ...This is a blank page ...
Page 81: ...This is a blank page ...