ProSoft Technology ProLinx S3964R Manuel d'utilisateur Page 67

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 140
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 66
Publication LOGIX-AP010B-EN-P - May 2010 67
Software Conversions Instructions Chapter 3
Comparison - Equal
In the following comparison function the two operands are compared and if found to be equal then the output is set to 1.
The RSLogix 5000-equivalent bit/word for each bit/word used in the S5 in the following example is shown below:
Function S5 RSLogix 5000
Operand1 IB19 data_word1
Operand2 IB20 data_word2
Output Q3.0 out_bit1
S5 Statement List RSLogix 5000 Structured Text
L IB19
L IB20
!=F
=Q3.0
If data_word1 = data_word2 THEN
out_bit1 := 1;
else
out_bit1 := 0;
END_IF;
SIMATIC S5 - Ladder
RSLogix 5000 - Ladder
Vue de la page 66
1 2 ... 62 63 64 65 66 67 68 69 70 71 72 ... 139 140

Commentaires sur ces manuels

Pas de commentaire