Reference – Lenze PM94P01C User Manual

Page 102

Advertising
background image

PM94P01C

100

Reference

Table 57: SEND / SEND TO

SEND/SEND TO Send network variable(s)

Statement

Purpose

This statement is used to share the value of Network Variables between drives on an Ethernet
network. Network Variables are variables NV0 through NV31. The variables to be sent out or
synchronized with, are called out in the “SEND” statement. For example, “SEND [NV5]” will take the
current value of variable NV5 and load it into the NV5 variable of every drive on the network. The
SENDTO statement only updates network variables of the drives with the same group ID listed in the
command.

Syntax

SEND [ NVa,NVb, NVx-NVy],
SENDTO GroupID [NVa,NVb, NVx-NVy]

a,b,x,y

Any number from 0 to 31

GroupID

GroupID of the drives whose

variables will be affected (synchronized)

See Also

Example:

…{statements}…
NV1=12

;Set NV1 equal to 12

SEND [NV1]

;Set the NV1 variable to 12 in every drive in the Network.

SEND [NV5-NV10] ;Sets the NV5 through NV10 variable in all drives on the
Network.
NV20=25

;Set NV20 equal to 25

SENDTO 2 [NV20] ;Set the NV20 variable to 25 only in drives with GroupID=2

…{statements}
END

;End main program

Table 58: STOP MOTION

STOP MOTION

[Quick]

Stop Motion

Statement

Purpose

This statement is used to stop all motion. When the “STOP MOTION” statement is executed all
motion profiles stored in the Motion Queue are cleared, and motion will immediately be stopped
via the deceleration parameter set in the “DECEL” variable. If the “QUICK” modifier is used, then
the deceleration value will come from the “QDECEL” variable. The main use for this command is
to control an emergency stop or when the End Of Travel sensor is detected. Note that the current
position will not be lost after this statement is executed.

Syntax

STOP MOTION
STOP MOTION QUICK

Stops using DECEL deceleration rate
Stops using QDECEL deceleration rate

See Also

MOTION SUSPEND

Example:

…{statements}…
DECEL = 100
QDECEL = 10000

…{statements}
STOP MOTION QUICK

Advertising