Campbell-hausfeld Serial I/O Interface SDM-SIO4 Uživatelský manuál Strana 23

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 72
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 22
Section 3. Understanding How the SDM-SIO4 Handles Data
3-7
Table 4 Fixed Strings Currently Allocated
String number String (enclosed in quotes)
256 ‘+0000000000123.45670000000000CrLf’
257 ‘Voltage’
258 ‘Amps’
259 ‘Watts
260 ‘Joules’
261 ‘Temperature’
262 ‘Pressure’
263 ‘Speed’
264 ‘Power’
265 ‘Depth’
266 ‘Length’
267 ‘Height’
268 ‘Enter’
269 ‘Password’
270 ‘Correct’
271 ‘Incorrect’
272 ‘Overrange’
273 The ASCII characters: carriage return, linefeed.
If the datalogger sends more data than is defined in the SDM-SIO4’s formatter
string, the SDM-SIO4 starts at the beginning again unless ‘s’ (stop formatting) is
used, in which case any extra data within that transmission is ignored.
CR10X Program Example
This program example will output the battery voltage and panel temperature
received from the datalogger input locations to port 2 on the SDM-SIO4, using the
SDM-SIO4 Output Formatter.
The user defined format string, which is entered in the command line mode (see
Section 4), is as follows:-
fmtst 123 "z261 f6:2 i[Battery ]z257 f6:1z273"
Typical example output from this formatter string is:-
Temperature 27.23 Battery Voltage 12.6
Here is a description of what each part of the formatter does:-
fmtst 123 – This is the command word for storing the formatter string in area 123.
z261 – This outputs the fixed string ‘Temperature’.
space – This outputs an ASCII space.
f6:2 – This takes the value from location 1 and outputs it in a field with a total
width of 6 characters. There are 2 decimal places available within the field.
space – This outputs an ASCII space.
i[Battery ] – This outputs the word between the brackets [ ].
z257 – This outputs the fixed string ‘Voltage’.
space – This outputs an ASCII space.
f6:1 – This takes the value from location 2 and outputs it in a field with a total
width of 6 characters. There is 1 decimal place available within the field.
Zobrazit stránku 22
1 2 ... 18 19 20 21 22 23 24 25 26 27 28 ... 71 72

Komentáře k této Příručce

Žádné komentáře

T'nB NEECORANGE manuali

Manuali dei proprietari e guide per l'utente per Kit di pulizia per apparecchiature T'nB NEECORANGE.
We fornisce 1 manuali pdf T'nB NEECORANGE per scaricare gratuitamente in base al tipo di documento: Scheda Tecnica






Più prodotti e manuali per Kit di pulizia per apparecchiature T'nB

Modelli Tipo di Documento
NEDI034439 Scheda Tecnica   T'nB NEDI034439 equipment cleansing kit, 1 pagine
NEDCFRAME1 Scheda Tecnica   T'nB NEDCFRAME1 equipment cleansing kit, 1 pagine
NLCDGEL02 Scheda Tecnica   T'nB NLCDGEL02 equipment cleansing kit, 1 pagine
NEDI032305 Istruzioni per l'uso         T'nB NEDI032305 equipment cleansing kit, 2 pagine
NEECVANILLA Scheda Tecnica   T'nB NEECVANILLA equipment cleansing kit, 1 pagine