3.2.1. MEM Command

The MEM command allows to:

  • read the memory at the given memory id,

  • write a value at the given memory id,

  • store the memory content on the non-volatile disk.

Note

See Internal Memory for the whole memory description.

Command Format:

R/W

Command

Response

Description

R

MEM:<id>:?

#MEM:<id>:<value>

Read the memory content at the given id

W

MEM:<id>:<value>

#AK / #NAK

Write into the memory at the given id

W

MEM:SAVE

#AK

Store the memory data into the non-volatile memory

Parameter(s):

Name

Type

Range

Description

<id>

integer string

- [1]

Internal Memory field ID

<value>

string [1]

- [1]

Value of the Internal Memory field

Warning

  • After a successful writing of the memory parameter, the parameter is immediately applied, but it is not automatically stored in the non-volatile memory.

  • To save the written parameter(s) in the non-volatile memory, use the MEM:SAVE command.

Example(s):

MEM:30:?
#MEM:30:TEST-UNIT

MEM:12:?
#MEM:12:1.000456

MEM:30:POWER_UNIT_ON_MAGNET_01
#AK

MEM:30:?
#MEM:30:POWER_UNIT_ON_MAGNET_01

MEM:SAVE
#AK