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

  • 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 60
Publication LOGIX-AP010B-EN-P - May 2010 61
Software Conversions Instructions Chapter 3
Off Delay Timer
The following example shows how an OFF DELAY function in SIMATIC S5 can be converted into a similar function in
RSLogix 5000 for Statement List and Ladder formats.
The RSLogix 5000-equivalent bit/word for each bit/word used in the S5 in the following example is shown below.
Usage of the RES instruction is optional.
Function S5 RSLogix 5000
Timer Enable I1.0 data_bit1
Reset I1.1 data_bit1
Output Q4.0 out_bit1
S5 Statement List RSLogix 5000 Structured Text
AN I1.0
L KT9.2
SF T3
AI1.1
RT3
AT3
=Q4.0
T1.Pre := 9000;
T1.Reset := data_bit2;
T1.TimerEnable := data_bit1;
TOFR(T1);
out_bit1 := T1.DN;
where timer T1 is defined as data type FBD_TIMER in the
program tags as follows.
Zobrazit stránku 60
1 2 ... 56 57 58 59 60 61 62 63 64 65 66 ... 139 140

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

Žádné komentáře