Installation guide

Mint™ v4 Advanced Programming Guide
64 MN1270 02.2002
Event Priority
Digital Input
Comms
DPR
Move Buffer Low
Axis Idle Lowest
This means that a DPR Event may be held pending if a higher priority event is active.
Example:
DPREVENT = 10
This will generate an interrupt to the host PC which will call the user installable DPR Event handler
passing a code of 10.
See Also:
EVENTACTIVE, EVENTDISABLE, EVENTPENDING
DPRFLOAT
Purpose:
Read and write a 32 bit floating point value to Dual Port Ram.
Controllers Supported:
NextMove PCI NextMove PC NextMove BX MintDrive ServoNode 51
Format:
DPRFLOAT (address) = <expression>
v = DPRFLOAT (address)
Parameters:
Address – Dual Port Ram location
Attributes:
Controller Read Write Command Multi-
Axis
Scaled Default Range
NextMove
any floating point
value
Description:
The Dual Port Ram is an area of Ram accessible by both the host PC and the controller, the size of this
depends on the controller. The
DPRFLOAT keyword allows the user to read and write 32 bit floating
point values to any location within Dual Port Ram.
NextMove PCI
There is 4k of 32 bit wide Dual Port Ram on NextMove PCI, detail of the Dual Port Ram map can be
found in then Mint v4 PC Programming Guide. The valid address range on NextMove PCI is 0x0000 to
0x0FFD inclusive.
NextMove PC
There is 1k of 16 bit wide Dual Port Ram on NextMove PCI, detail of the Dual Port Ram map can be
found in then Mint v4 PC Programming Guide. The valid address range on NextMove PC is 0x0 to
0x3FD inclusive.
As the Dual Port Ram on NextMove PC is only 16 bits wide a 32 bit floating point value will take up 2
dual port ram locations.
See Also:
DPRWORD, DPRLONG