Rockwell-automation 1746-NR4 SLC RTD/Resistance Input Module User Manu Bedienungsanleitung Seite 110

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 148
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 109
Publication 1746-UM008B-EN-P - December 2006
110 Application Examples
Program to Convert °F to BCD
15
Rung 2.0
First Pass Bit
] [
S:1
MOVE
Source N10:0
Dest O:3.0
Initialize Channel 0
of RTD Module.
MOV
Rung 2.1
Convert the channel 0 data word (degrees F) to BCD values and write this to the LED display. If channel 0 is
ever disabled, a zero is written to the display.
TO BCD
Source I:3.0
Dest N7:0
TOD
MASKED MOVE
Source N7:0
Mask 0FFF
Dest O:2.0
MVM
The use of the masked move instruction with the 0FFF mask allows you to use outputs 12, 13, 14, and 15 for
other output devices in your system. The 7-segment display uses outputs 0-11.
Rung 2.2
END
Seitenansicht 109
1 2 ... 105 106 107 108 109 110 111 112 113 114 115 ... 147 148

Kommentare zu diesen Handbüchern

Keine Kommentare