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
Содержание 1747-PBASE
Страница 1: ...BASIC Development Software Catalog Numbers 1747 PBASE Programming Manual ...
Страница 8: ...Publication 1746 PM001A US P Table of Contents vi ...
Страница 34: ...Publication 1746 PM001A US P 2 14 Getting Familiar with Your Development Software ...
Страница 72: ...Publication 1746 PM001A US P 5 8 Manipulating Files ...
Страница 88: ...Publication 1746 PM001A US P 6 16 Writing Programs Using the BASIC Development Language ...
Страница 143: ......