ProSoft Technology ProLinx S3964R Manuale Utente Pagina 69

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 140
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 68
Publication LOGIX-AP010B-EN-P - May 2010 69
Software Conversions Instructions Chapter 3
Comparison - Less Than
In the following comparison function the Operand 1 is compared to Operand 2 and if Operand 1 < Operand 2 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
Operand 1 IB19 data_word1
Operand 2 IB20 data_word2
Output Q3.0 out_bit1
S5 Statement List RSLogix 5000 Structured Text
LIB19
LIB20
< F
=Q3.0
If data_word1 < data_word2 THEN
out_bit1 := 1;
else
out_bit1 := 0;
END_IF;
SIMATIC S5 - Ladder
RSLogix 5000 - Ladder
Vedere la pagina 68
1 2 ... 64 65 66 67 68 69 70 71 72 73 74 ... 139 140

Commenti su questo manuale

Nessun commento