Pk - peek memory, Simpliq – ElmoMC SimplIQ Digital Servo Drives-Bell Command Reference User Manual

Page 131

Advertising
background image

PK - Peek Memory

Purpose:
Returns the DSP memory dump for an address range.

Syntax:
PK=N
where N is a 32-bit number whose least significant 24 bits contain the starting DSP
memory address and the most significant eight bits contain the data length. The data
length is limited to 128 words, due to the limitation of the output buffer. If the data
length is 0, 128 or greater, the PK command returns 128 words by default. When the
data length equals 2, the

SimplIQ

drive regards the data as a long variable and copies it

to the output buffer in the critical section, in order to ensure its integrity.

Under most circumstances, this command is used only by the Elmo Studio.

Example:
PK=0x7f000200 returns the contents of the DSP memory starting at address 0x200 and
continuing through word 0x280.

Attributes:

Type:

Status report, Integer

Source:

Program, RS-232, CANopen

Restrictions: None
Range: [0…0x80FFFFFF]
Unit modes: All
SimplIQ: Similar

See also:

CD

SimplIQ Programming and Language Guide

SimplIQ for Steppers Command Reference Manual

Alphabetical Listing

MAN-STECR (Ver. 1.1)

123

Advertising