ID : 5843
CurPayload
Function
Obtain setting values of the internal payload conditions.
This command is available in Ver.1.8.* or higher.
Syntax
CurPayLoad
Return Value
The setting values of the internal payload conditions are returned by an array of variant data. Elements of the array are "Mass of payload", "Payload center of gravity", and "Payload center of gravity inertia".
Description
This command returns an array of setting values of the internal payload conditions by Variant type. Elements of the array are "Mass of payload", "Payload center of gravity", and "Payload center of gravity inertia". For details of each element, refer to "Guaranteed Entry" on "Payload" command. Use this command when you want to temporarily change the setting values, as shown below.
Related Terms
Attention
-
Example
Sub Main
Dim prevSet As Variant
'Obtain currently selected payload parameters.
prevSet = CurPayLoad
'Set payload parameters.
PayLoad 500, V( 0, 0, 50 ), V( 0, 0, 0 )
'Execute any processing.
'Set the payload parameters to the original settings.
PayLoad prevSet( 0 ), prevSet( 1 ), prevSet( 2 )
End Sub
ID : 5843