Siemens 7 Manuel d'utilisateur Page 62

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 164
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 61
62 Publication LOGIX-AP008B-EN-P - June 2008
Chapter 2 Logix Features that May Not be Familiar to S7 Users
Asynchronous I/O Updating
In Logix systems, I/O is updated asynchronously with respect to program
execution periods, in contrast with the traditional PLC approach as used in S7
where an I/O image table is updated at the start of the cycle and input values
do not change during an execution of the program.
The Logix programmer will need to consider whether there is any need to
buffer input data, so that its value remains constant during program execution.
It is quite common to “consume” inputs once only by passing them as
parameters to a code module. The inputs will not be used anywhere else in the
program. This removes any need for buffering. See the Control Module
example in
Chapter 4.
The DINT Data Type
Logix controllers operate on DINT (32 bit integer) tags more efficiently than
on INT (16 bit integer) or SINT (8 bit integer). Use DINT whenever possible,
even if the range of values you are working with would fit in an INT or a
SINT. These data types are provided for IEC61131-3 compatibility reasons,
but are internally converted to DINTS before being used by the program, so
code will execute more efficiently in most situations.
Vue de la page 61
1 2 ... 57 58 59 60 61 62 63 64 65 66 67 ... 163 164

Commentaires sur ces manuels

Pas de commentaire