Rockwell-automation 1747-PBASE BASIC Development Software Programming Bedienungsanleitung Seite 132

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 144
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 131
Publication 1746-PM001A-US-P
A-10 BASIC Macro Library
plc_bcd_6_to_db(%1,%2) Converts the number from PLC 6-Digit, Signed, Fixed
Decimal BCD +/- XXXXXX to BASIC Floating-Point
%1=BTW word that holds
value to convert
%2=Converted
value
plc_oct_to_db(%1,%2) Converts the number from PLC 4-Digit, Signed, Octal, +/
-XXXX to BASIC Floating-Point
%1=BTW word that holds
value to be converted
%2=Converted
value
plc5_float_to_db(%1,%2) Converts the number from PLC 5 Floating-Point to BASIC
Floating-Point
%1=BTW word that holds
value to be converted
%2=Converted
value
Table A.11 1771-DB/B Backplane Macros
Number Conversion
CALLs
Macro Inputs Outputs
Table A.12 1771-DB/B Backplane CALLs
Backplane CALLs Macro Inputs Outputs
btr() Performs a block transfer read None None
btw() Performs a block transfer write None None
btr_timed(%1) Performs a block transfer read with a 2 second timeout None Status of block
transfer
btw_timed(%1) Performs a block transfer write with a 2 second timeout None Status of block
transfer
set_btr_length(%1) Sets block transfer read length (1 to 64) %1=length of block transfer
read buffer
None
set_btw_length(%1) Sets block transfer write length (1 to 64) %1=length of block transfer
write buffer
None
Seitenansicht 131
1 2 ... 127 128 129 130 131 132 133 134 135 136 137 ... 143 144

Kommentare zu diesen Handbüchern

Keine Kommentare