Beta 1742A Manual do Utilizador Página 208

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 520
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 207
7-20 Motion Mate DSM314 for Series 90-30 PLCs User's Manual
January 2001 GFK-1742A
7
End of Subroutine
. Uses the ENDSUB statement. This statement clearly identifies the end
of the subroutine and helps separate one subroutine or program from another. The
ENDSUB should be the only thing on the last line of any subroutine:
ENDSUB
Multi-Axis Subroutine Example
SUBROUTINE 2 MULTI-AXIS
ACCEL AXIS2 P100
VELOC AXIS2 P105
2: SYNC
CMOVE AXIS2 P001, INCR, S-CURVE
DWELL AXIS2 P001
JUMP CTL01, 2
PMOVE AXIS2 P214, ABS, LINEAR
ENDSUB
Vista de página 207
1 2 ... 203 204 205 206 207 208 209 210 211 212 213 ... 519 520

Comentários a estes Manuais

Sem comentários