ProSoft Technology ProLinx S3964R Uživatelský manuál Strana 87

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 140
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 86
Publication LOGIX-AP010B-EN-P - May 2010 87
Software Conversions Instructions Chapter 3
Block Calls
Function S5 RSLogix
Operand 1 F10.3 data_bit1
Operand 2 PB10 Alarms
S5 Statement List
16 bit fixed point numbers
RSLogix 5000 Structured Text
In the following example the code will jump to PB 10 if F10.3 =1.
A F10.3
JC PB10
In the following example the code will
jump to the Alarms routine if data_bit1
=1.
if data_bit1 then
JSR (Alarms);
end_if;
In the following example the code will jump to PB 10 regardless of the
state of F10.3
A F10.3
JU PB10
In the following example the code will
jump to the Alarms routine
unconditionally.
JSR (Alarms);
SIMATIC S5 - Ladder
Conditional Jump
Unconditional Jump
RSLogix 5000 - Ladder
Conditional Jump
Unconditional Jump
Zobrazit stránku 86
1 2 ... 82 83 84 85 86 87 88 89 90 91 92 ... 139 140

Komentáře k této Příručce

Žádné komentáře