3 mode termination, 4 pvt motion using can, Simpliq – ElmoMC SimplIQ Software Manual User Manual

Page 158

Advertising
background image

SimplIQ

Software Manual

The Position Reference Generator

MAN-SIMSW (Ver. 1.4)

11-17

An unused part of the PVT table may be programmed for the next motion while the
present motion is executing. An attempt to modify the data of an executing motion
segment generates an error.

11.1.6.3 Mode Termination

PVT motion terminates upon of the following events:
ƒ

The motor is shut down, either by programming MO=0 or by an exception.

ƒ

Another mode of motion is set active; by programming PA=xxx; BG, for example. In
this case, the new motion command executes immediately, without having to
explicitly terminate the PVT mode.

ƒ

The PVT motion manager runs out of data. This occurs when the read pointer reaches
MP[2] and MP[3] is zero. This may also occur in auto-increment mode (CAN
communications only) if the read pointer reaches the write pointer. In that case, the
PVT motion is stopped immediately, using the SD deceleration. Note that if the last
programmed PVT speed is zero, the PVT motion terminates neatly and the stop at the
end of the motion does nothing.

11.1.6.4 PVT Motion Using CAN

The PVT table allows for the performance of both pre-designed and online motion plans.
For online motion design, new entries can be written to the PVT table while the PVT
motion is executing. The online motion design ability is limited by the speed of the
communication interface.

With an RS-232 ASCII communication interface, a single PVT table row is programmed
with the following format:
QP[xx] = xxx,xxx,xxx; QV[xx] = x,xxx,xxx; QT[xx] = xxx;
Up to 40 characters may be required to program a single PVT table row. At a
communication rate of 19,200 baud, this may take 20 milliseconds. At a communication
rate of 115,200 baud, this may take 4 milliseconds.

The CAN communication option allows much faster PVT table programming, by packing
an entire PVT table row into one PDO communication packet. For easy synchronization
with the host, the drive may be programmed to send the PVT read and write pointers
continuously to the host as a synchronous PDO, or to send an emergency object
whenever the number of yet unexecuted motion segments falls below a given threshold.

The PVT Motion Programming Message
An entire row of the PVT table may be programmed by a single PDO — 0x200+ID —
where ID is the node ID of the drive. Note that before using this PDO, it must be mapped
to the object 0x2001. The PDO is mapped for the PVT mode as follows:
Object dictionary index:

0x2001

Type: RECORD,

three

elements

Access: Write

only

Structure: Signed32

position;

Signed24 speed; Unsigned8 time

PDO mapping:

Yes

Value limits

No

Default value:

Not applicable

Advertising