Lenze Drive Server Bus server S7 getting started Manuel d'utilisateur Page 51

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 63
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 50
Busserv er S7
L
112 Busserver S7 DE/EN 1.0
6.5.4 OB1/FC4
With OB1, only the function FC4 is called, in which all other blocks are called.
6.5.5 Process data transfer
FC4, network 1
The following call is used to transmit two process data words (2PZD).
Process data word 1 is always the DRIVECOM control word.
Process da ta word 2 can be freely selected.
CALL FC 92 //FC92, 2 PZD
EA_Address :=1008 //I-address, decimal
Enable :=Enable //BOOL
QSP :=QSP //BOOL
Reset :=Reset //BOOL
Setpoint1 :=Setpoint1 //INT, decimal
ControlWord :=ControlWord //WORD, control word
RDY :=RDY //OUT, BOOL
TRIP :=TRIP //OUT, BOOL
ActualValue1 :=ActualValue1//OUT, INT
StatusWord :=StatusWord //OUT, status word
The start address for the process data channel c an be obtained from the hardware
configuration. (here: 1008)
The inputs Enable, QSP and Reset are set to enable the controller:
Enable =TRUE
QSP = FALSE
Reset = FALSE
The second process data word is assigned to the setpoint input.
Control word and sta tus word conform to the DRIVECOM spec ification.
The DRIVECOM status machine has already been implemented in FC92.
The outputs RDY and TRI P provide information about the controller status.
ActualValue1 is the value read out.
Tip!
Detailed information about the parameters of FC92 can be found in cha pter 6.3.5. (^ 105)
Use function block FC91 to transmit three process data words. (^ 104)
Show/Hide Bookmarks
Vue de la page 50
1 2 ... 46 47 48 49 50 51 52 53 54 55 56 ... 62 63

Commentaires sur ces manuels

Pas de commentaire