Call 8: disable interrupts (no operation), Call 9: enable interrupts (no operation) – Rockwell Automation 1771-DB BASIC MODULE User Manual

Page 196

Advertising
background image

Chapter
Call Routines 0–68

12

12 -6

This routine was used during EPROM programming in the 1771-DB,
Series A BASIC module. If you initiate this call with a 1771-DB, Series B
BASIC module, nothing happens. The call simply returns to the main
program.

This routine was used during EPROM programming in the 1771-DB,
Series A BASIC module. If you initiate this call with a 1771-DB, Series B
BASIC module, nothing happens. The call simply returns to the main
program.

Use this routine to to covert 3-digit BCD from PLC processor to BASIC
floating point. See also CALL 20.

See Chapter 8 for more information.

Input and Output Arguments

This routine has one input and one output argument. The input argument is
the number (1 to 64) of the word in the block-transfer-write buffer that you
want to convert from 3-digit BCD to BASIC format. The output argument
is the value converted into BASIC floating point format. The sign bit is bit
number 16.

Syntax

PUSH

number of word (1 – 64) to be converted

CALL 10

POP

converted value

Example

> 10 PUSH X

> 20 CALL 10

> 30 POP Y

CALL 8: Disable Interrupts
(No Operation)

CALL 9: Enable Interrupts
(No Operation)

CALL 10:
3-Digit Signed, Fixed
Decimal BCD to
BASIC Floating Point

Chapter

Advertising