Section 5. Programming the Datalogger
5-8
P113
1:
1
2:
0
3:
1
4:
21
Command to execute command line command.
5:
0
6:
0
7:1 5
Length of command line string. ;no. of datalogger input locations
8:
1
9:
1
10: 0
;delay large enough (10ms) to allow SDM-SIO4 instruction 321 to finish.
P22
1:
1
2:
0
3:
1
4:
0
;get the command line return code. In this case the returned code would be 22 as the SDM-SIO4
would still be executing the command line command. This P113 instruction in most cases would not
be required and would generally be used in development of the datalogger program.
P113
1:
1
2:
0
3:
1
4:
67
Command to get return error codes.
5:
0
6:
0
7:
1
8:
20
Location to store return code.
9:
1
10: 0
;set flag one so that set-up will only be done once.
P86
1
1
;end of set-up.
P95
If you use the RAMTEST command you will have to wait a
minimum of 6 seconds for it to complete before you try to
execute another P113.
Some Dataloggers do not support P65 Bulk Load. In that case you would have
to use a P30 Instruction for each ASCII character.
NOTE
Содержание SDM-SIO4
Страница 6: ...SDM SIO4 Table of Contents iv This is a blank page ...
Страница 12: ...Section 1 Introduction 1 6 This is a blank page ...
Страница 16: ...Section 2 Installation and Hardware Set Up 2 4 This is a blank page ...
Страница 26: ...Section 3 Understanding How the SDM SIO4 Handles Data 3 10 This is a blank page ...
Страница 32: ...Section 4 Programming the SDM SIO4 4 6 This is a blank page ...
Страница 62: ...Section 5 Programming the Datalogger 5 30 This is a blank page ...
Страница 76: ...This is a blank page ...
Страница 81: ...This is a blank page ...