Lenze PMSS1000 Simple Servo Manuel d'utilisateur Page 51

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 72
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 50
Indexer-Programmer-Manual.pdf REV 1.3
ASSIGN Assign Input As Index Bit Statement
Purpose Assign keyword causes specific input act as particular bit of system variable INDEX .
After such assignments changes in input state will cause changes in particular bit
input is assign to.
Syntax ASSIGN IINPUT <input name> AS BIT <bit #>
Input name input name (IN_A1..IN_A2 etc.)
Bit# INDEX variable bit number from 0 to 31
Remarks
See Also
Example: ASSIGN INPUT 5 AS BIT 0 ;index bit 0 state ;matches ;state of input 5
DEFINE Define name Pseudo-statement
Purpose DEFINE is used to define symbolic names for variables and constants for
programming convenience. It is a pseudo-statement i.e. it is not executable.
DEFINE can be used also to substitute symbolic string.
Syntax
DEFINE <name> <string>
name any symbolic string
string any symbolic string
Remarks: DEFINE must be located before any executable statement
See Also
Example: DEFINE Five 5 DEFINE Three 3DEFINE Result V1
DEFINE SUMM Five + Three
ProgramStart:
Result = Five + Three ;Is same as V1 = 5+3
Result = SUMM ;same result as above
End
51
Vue de la page 50
1 2 ... 46 47 48 49 50 51 52 53 54 55 56 ... 71 72

Commentaires sur ces manuels

Pas de commentaire