Please enable JavaScript to view this site.

MovingCap Ethernet Drives - Software Manual

Navigation: MovingCap CODE - Python Programming

Python User Parameter Objects

Scroll Prev Top Next More

For MovingCap CODE Python applications, there are freely usable data objects that can be written / read / permanently saved in the same way as all other drive parameters.

Type

Index

Subindex area

Name pattern

Name pattern Description

unsigned8

340B

01h-0Ah

Python unsigned8 N

8-bit unsigned integer variables (N = 1..10)

integer8

340C

01h-0Ah

Python integer8 N

8-bit signed integer variables (N = 1..10)

unsigned16

340D

01h-0Ah

Python unsigned16 N

16-bit unsigned integer variables (N = 1..10)

integer16

340E

01h-0Ah

Python integer16 N

16-bit signed integer variables (N = 1..10)

unsigned32

340F

01h-0Ah

Python unsigned32 N

32-bit unsigned integer variables (N = 1..10)

integer32

3410

01h-0Ah

Python integer32 N

32-bit signed integer variables (N = 1..10)

In addition or as an alternative, the parameter objects of the input functions can be used for predefined travel profiles with positions, speeds etc., even if no input function to be executed is defined there.

NOTE: All parameters (CiA 402 standard parameters or MovingCap-specific parameter ranges as described here) can be set via the

the web interface and REFGO commands OW and OR,

the Kickdrive object editor,

or in CODE/Python via the mcdrive commands WriteObject and ReadObject

can be written or read.

Permanent saving or return to factory settings via program code

Parameter changes in a CiA 301-compatible device are initially only retained in the volatile memory and are reset to the previously known setting after switching off/on again.

The CiA 301 standard objects 1010h and 1011h are available for permanent changes to the permanent memory (non-volatile memory / NVM / EEPROM).

The following operations for the permanent memory are triggered by writing the corresponding object value:

Index

Sub-
index

Type

Value (Hex)

Value (text)

Description

1010h

01h

unsigned32

0x65766173

"save"

Saves the current parameter settings and the Python script permanently in the non-volatile memory (NVM/EEPROM).

Execution via web interface / RefGo command:
OW1010,1,1702257011

Corresponds to the web interface button Store Permanently or the Kickdrive Object Editor function Store.

1011h

01h

unsigned32

0x64616F6C

"load"

Resets the current parameters and the non-volatile memory to the factory settings. Deletes the Python script.

Execution via web interface / RefGo command:
OW1011,1,1684107116

Corresponds to the web interface button Factory Reset or the Kickdrive Object Editor function Reset.

NOTE: By executing "load" / "Factory Reset", all application-specific settings and any changed controller settings will be lost. Make sure that you have saved any changes to settings in advance, e.g. by reading them out using the Kickdrive object editor.