Industrial-data-systems IDS Scale Basic Uživatelský manuál Strana 29

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 53
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 28
Scale Basic 4.2E Reference
Set Memory1, 20
Loop1 For Memory1 = 20 down-to 0
Index id, Memory1
Set Id1, 0 ID[Memroy1].register 1 = 0
Dec Memory1
If Positive
Next1
End if End For
End End of function
Make id [r] 235 [r]
Purpose: to open an ID record. If the ID number in register [r] in not found, open a new ID
record and assign ID[r] to it.
Remarks: condition code Positive is set true if the Id is made or found, condition code Zero is
set true if the Id could not be made (memory full).
Example: Get an ID number from the keyboard, open/make the ID, get tare from keyboard, save
the data.
Get data, Memory1 Get an ID number from the keyboard
If not, Clear key If NOT Clear key
Make id, Memory1 Open/Make ID
Get data, Id2 put keyboard tare into ID register 2
Write id Save ID data
End if End if
End End of function
Mul [r] = [a] * [b] 202 [r] [a] [b]
Purpose: multiply register [a] by register [b], put results into register [r].
Remarks: sets condition codes Positive, Negative, and Zero to reflect results. The decimal
position of the result = decimal position of register a + decimal position of register b. NOTE:
it is preferable to use a multiply in place of a divide (see Div instruction example)
Example: convert net weight pounds to tons. Scale is calibrated x10 lb.
Set Memory1, 5
Dp adjust, Memory1, 4 Memory1 = 0.0005
Mul, Memory2, Net, Memory1 Memory2 = Net * 0.0005
Dp adjust, Memory2, 2 set result to 2 decimal positions
Display, Memory2 display tons
End End of function
Zobrazit stránku 28
1 2 ... 24 25 26 27 28 29 30 31 32 33 34 ... 52 53

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

Žádné komentáře

None S040-0386 manuales

Manuales del propietario y guías del usuario para No None S040-0386.
Ofrecemos 1 manuales en pdf None S040-0386 para descargar gratis por tipos de documentos: Manual de uso y cuidado


None S040-0386 Manual de uso y cuidado (1 paginas)


Marca: None | Categoria: No info | Tamaño: 0.06 MB |

 

Tabla de contenidos





Más productos y manuales para No None

Modelos Tipo de documento
MI4884-E Manual de instrucciones   none MI4884-E Instructions / Assembly, 9 paginas
TK-1VTX3-34 Guía de instalación   none TK-1VTX3-34 Installation Guide, 2 paginas
32279BRZ Manual de instrucciones   none 32279BRZ Instructions / Assembly, 3 paginas
27395-WI Manual de instrucciones   none 27395-WI Instructions / Assembly, 2 paginas
82392056148 Manual de instrucciones    none 82392056148 Instructions / Assembly, 2 paginas
60506 Manual de instrucciones   none 60506 Instructions / Assembly, 4 paginas
XXDI-TB-WD Manual de instrucciones   none XXDI-TB-WD Instructions / Assembly, 4 paginas
7270015-IP62HO Manual de instrucciones    none 7270015-IP62HO Instructions / Assembly, 2 paginas
7269004-P62HO Manual de instrucciones    none 7269004-P62HO Instructions / Assembly, 2 paginas
SVE-3 Manual de instrucciones   none SVE-3 Instructions / Assembly, 6 paginas
I8082RD Manual de instrucciones   none I8082RD Instructions / Assembly, 5 paginas
60202 Manual de uso y cuidado none 60202 Use and Care Manual, 1 paginas
7407095.0 Manual de instrucciones    none 7407095.0 Instructions / Assembly, 2 paginas
BGLR20BF Guía de instalación   none BGLR20BF Installation Guide, 4 paginas
201407079 Guía de instalación     none 201407079 Installation Guide, 2 paginas
533124X Guía de instalación   none 533124X Installation Guide, 1 paginas
I 1501 Manual de instrucciones   none I 1501 Instructions / Assembly, 3 paginas
1450BCX Manual de instrucciones    none 1450BCX Instructions / Assembly, 2 paginas
I 8046 Manual de instrucciones   none I 8046 Instructions / Assembly, 3 paginas
7407104 Manual de instrucciones    none 7407104 Instructions / Assembly, 2 paginas