10.11.2014 Views

LinMot

LinMot

LinMot

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Motion Control SW<br />

L i n M o t ®<br />

Header 0 050xh: Modify Curve Start Address in RAM UInt16 -<br />

1. Par 2 Curve ID UInt16 1..100<br />

2. Par 4 Curve Start Address Offset Uint16 -<br />

This command allows locating the curve start address (points to the start of the curve info<br />

header). A value of 0FFFh means no curve has been defined, can be used to clear a curve.<br />

When using this command the whole memory management of the curve data has to be done<br />

by the superior system! A curve can only be defined with a valid start address. If a start<br />

address is defined, the curve (curve info header and curve data points) has to be completely<br />

defined, otherwise this will lead to an unpredictable behavior!<br />

4.3.58 Modify Curve Info Block 16 Bit Value in RAM (051xh)<br />

Name Byte Description Type Unit<br />

Offset<br />

Header 0 051xh: Modify Curve Info Block 16 Bit Value in UInt16 -<br />

RAM<br />

1. Par 2 Curve ID UInt16 1..100<br />

2. Par 4 Offset in Byte Uint16 0..<br />

3. Par 6 Value Sint16 -<br />

This command allows to modify a 16 bit value (or half of a 32 bit value) in RAM within the<br />

curve info block of an existing curve profile with the given ID. The offset argument defines on<br />

which position within the curve info block the modification takes place (byte offset). In order<br />

to modify for instance the value of x-Length you first have to set the low word of the new<br />

curve length with Offset 32 and then the high word with offset 34.<br />

The fieldbus interfaces (CANOpen, DeviceNet, Profibus, LinRS, POWERLINK, EtherCAT)<br />

offer a safer way to download and modify curve profiles (Curve Service). Writing with wrong<br />

offsets, may overwrite and destroy data of other curves and may lead to unpredictable<br />

behavior!<br />

4.3.59 Modify Curve Info Block 32 Bit Value in RAM (052xh)<br />

Name Byte Description Type Unit<br />

Offset<br />

Header 0 052xh: Modify Curve Info Block 32 Bit Value in UInt16 -<br />

RAM<br />

1. Par 2 Curve ID UInt16 1..100<br />

2. Par 4 Offset in Byte Uint16 0..<br />

3. Par 6 Value Sint32 -<br />

This command allows to modify a 32 bit value in RAM within the curve data block of an<br />

already existing curve profile with the given ID. The offset argument defines on which<br />

position within the curve data block the modification takes place (byte offset). In order to<br />

modify for instance the first position setpoint value (SInt32) you have to set the new position<br />

with offset 0. The second setpoint has offset 4, and so on.<br />

The fieldbus interfaces (CANOpen, DeviceNet, Profibus, LinRS, POWERLINK, EtherCAT)<br />

offer a safer way to download and modify curve profiles (Curve Service). Writing with wrong<br />

offsets, may overwrite and destroy data of other curves and may lead to unpredictable<br />

behavior!<br />

NTI AG / <strong>LinMot</strong> User Manual Motion Control SW/ 07.09.2011 Page 41/105

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!