Rockwell-automation 2705 REDIPANEL KEYPAD MODULE USER MANUAL Instrukcja Użytkownika Strona 47

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 93
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 46
Chapter 7
Programming
7–9
The keypad destination function can be used to load data values into multiple
timer/counter presets or other PLC memory locations. The example program
listed below can be used to load preset values into 17 consecutive timer
presets, beginning with T4:0.PRE and ending with T4:16.PRE. Rungs 3
through 16 have been omitted to simplify the example. The keypad is
configured for 3/4 Rack, instead of 1/2 Rack as in the previous examples,
otherwise all DIP switch settings remain the same. Refer to page 7–30 for an
example of a 3/4 rack I/O Image table.
Rungs 1–17 provides a PLC 5/15 example program using the Destination
Function.
Rung 17
Rung 2
Rung 1
1600
1601
00 16
I:023
] [
I:020
] [
I:020
] [
I:023
] [
I:020
] [
I:024
] [
MOVE
Source I:021
15
Dest T4:1.PRE
0
MOVE
Source I:021
15
Dest T4:0.PRE
0
MOVE
Source I:021
15
Dest T4:16.PRE
0
MOV
MOV
MOV
Rung 1:
Destination bit I:023/00 is “ON” when the keypad operator enters destination
number “1”. All other destination bits are “OFF”. The ENTER bit I:020/16
prevents data from being moved until the keypad operator enters a new
preset for T4:0. The MOVE instruction takes the integer data in I:021 and
transfers it to T4:0.PRE.
Rung 2:
Destination bit I:023/01 is “ON” when the keypad operator enters destination
number “2”. All other destination bits are “OFF”. The ENTER bit I:020/16
prevents data from being moved until the keypad operator enters a new
preset for T4:1. The MOVE instruction takes the integer data in I:021 and
transfers it to T4:1.PRE.
Using the Destination Function
to Load Multiple Timer Presets
Przeglądanie stron 46
1 2 ... 42 43 44 45 46 47 48 49 50 51 52 ... 92 93

Komentarze do niniejszej Instrukcji

Brak uwag