Lenze PMSS1000 Simple Servo Manual do Utilizador Página 51

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 72
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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
Vista de página 50
1 2 ... 46 47 48 49 50 51 52 53 54 55 56 ... 71 72

Comentários a estes Manuais

Sem comentários