Pk - peak memory – ElmoMC SimplIQ Command Reference User Manual

Page 121

Advertising
background image

PK - Peak 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.

The PK command is designed to be used by the Elmo Studio and to assist qualified
technical personnel in isolating software problems. PK reports in hexadecimal binary
format.

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

The contents of a memory location may differ according to

SimplIQ

version (refer to

WI[23]

).

See also:

CD

,

WI

Reference chapter in the

SimplIQ

Software Manual:

Chapter 6, “Program Development and Execution”

SimplIQ

Command Reference Manual

Alphabetical Listing

MAN-SIMCR (Ver. 4.5)

3-108

Advertising