Rockwell Automation 1785 PLC-5 Manuel d'utilisateur Page 82

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 172
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 81
Instruction Set
Program Control 3-38
program control instructions continued...
Instruction Description
Subroutine
SBR
The SBR instruction is the first instruction in a subroutine file. This instruction identifies Input
Parameters (N43:0, N43:1, N43:2) the processor receives from the corresponding JSR
instruction. You do not need the SBR instruction if you do not pass input parameters to the
subroutine.
Return
RET
The RET instruction ends the subroutine and stores the Return Parameters (N43:3, N43:4) to be
returned to the JSR instruction in the main program.
Temporary End
TND
The TND instruction stops the processor from scanning the rest of the program (i.e., this
instruction temporarily ends the program).
Always False
AFI
The AFI instruction disables the rung (i.e., the rung is always false).
One Shot
ONS
If the input conditions preceding the ONS instructions on the same rung go from false-to-true,
the ONS instruction conditions the rung so that the output is true for one scan. The rung is false
on successive scans.
SUBROUTINE
Input par N43:0
Input par N43:1
Input par N43:2
SBR
RETURN ()
Return par N43:3
Return par N43:4
RET
(TND)
[AFI]
B3
[ONS]
110
Vue de la page 81
1 2 ... 77 78 79 80 81 82 83 84 85 86 87 ... 171 172

Commentaires sur ces manuels

Pas de commentaire