Difference between revisions of "MC-Basic:IdentificationStart"

From SoftMC-Wiki
Jump to: navigation, search
m (draft)
m (draft)
Line 3: Line 3:
 
|SYNTAX=
 
|SYNTAX=
 
IdentificationStart ''<axis>''<nowiki>|</nowiki>''<robot>''
 
IdentificationStart ''<axis>''<nowiki>|</nowiki>''<robot>''
{DynamicModel = ''<value>''}
+
{IdentDynamicModel = ''<value>''}
{Payload = ''ON<nowiki>|</nowiki>OFF''}
+
{IdentPayload = ''ON<nowiki>|</nowiki>OFF''}
{FilterFreq = ''<value>''}
+
{IdentFilterFreq = ''<value>''}
{FileName = ''<value>''}
+
{IdentFileName = ''<value>''}
{RelTeMax = ''<value>''}
+
{IdentRelTeMax = ''<value>''}
{RecTimeMax = ''<value>''}
+
{IdentRecTimeMax = ''<value>''}
{Debug = ''ON<nowiki>|</nowiki>OFF''}
+
{IdentDebug = ''ON<nowiki>|</nowiki>OFF''}
  
 
|AVAILABILITY=
 
|AVAILABILITY=
Line 17: Line 17:
 
Starts dynamic parameters identification for an axis or a robot.
 
Starts dynamic parameters identification for an axis or a robot.
  
;DynamicModel
+
;IdentDynamicModel
 
: The dynamic model of which the parameters are identified.
 
: The dynamic model of which the parameters are identified.
 
: If not given, the current dynamic model of the motion element is used.
 
: If not given, the current dynamic model of the motion element is used.
Line 23: Line 23:
 
: If Payload is ON, DynamicModel value is ignored.
 
: If Payload is ON, DynamicModel value is ignored.
  
;Payload
+
;IdentPayload
 
: If ON, the payload (payloadmass, payloadinertia) is identified instead of the model parameters.
 
: If ON, the payload (payloadmass, payloadinertia) is identified instead of the model parameters.
  
;FilterFreq
+
;IdentFilterFreq
 
: Cutoff frequency of the raw signal filter.  
 
: Cutoff frequency of the raw signal filter.  
 
: 0 = the frequency is automatically detected
 
: 0 = the frequency is automatically detected
 
: -1 = no filter is used at all
 
: -1 = no filter is used at all
  
;FileName
+
;IdentFileName
 
: File name without extension of the output files (.PRG, .REC)
 
: File name without extension of the output files (.PRG, .REC)
 
: If not given, files are called "IDNT<ElementId>"
 
: If not given, files are called "IDNT<ElementId>"
  
;RelTeMax
+
;IdentRelTeMax
 
: Percentage of the maximal torque error compared to the maximal torque feedback of an axis. If the maximal TE is higher, the identification is considered to be failed.
 
: Percentage of the maximal torque error compared to the maximal torque feedback of an axis. If the maximal TE is higher, the identification is considered to be failed.
  
;RecTimeMax
+
;IdentRecTimeMax
 
: Maximal recording time after the start of identification.  
 
: Maximal recording time after the start of identification.  
  
;Debug
+
;IdentDebug
 
: Write the debug record file.
 
: Write the debug record file.
  
 
|TYPE=
 
|TYPE=
* ''DynamicModel'' : Long
+
* ''IdentDynamicModel'' : Long
* ''FilterFreq'' : Double
+
* ''IdentFilterFreq'' : Double
* ''FileName'' : String
+
* ''IdentFileName'' : String
* ''RelTeMax'' : Double
+
* ''IdentRelTeMax'' : Double
* ''RecTimeMax '' : Double
+
* ''IdentRecTimeMax '' : Double
  
  
 
|RANGE=
 
|RANGE=
* ''DynamicModel'' : 1, 2, 3, .. (only positive numbers)
+
* ''IdentDynamicModel'' : 1, 2, 3, .. (only positive numbers)
  
 
|UNITS=
 
|UNITS=
* ''FilterFreq'' : Herz [Hz]
+
* ''IdentFilterFreq'' : Herz [Hz]
* ''RelTeMax'' : Percent [%]
+
* ''IdentRelTeMax'' : Percent [%]
* ''RecTimeMax'' : Seconds [s]
+
* ''IdentRecTimeMax'' : Seconds [s]
  
 
|DEFAULT=
 
|DEFAULT=
* ''DynamicModel'' : element.DynamicModel
+
* ''IdentDynamicModel'' : element.DynamicModel
* ''Payload'' : OFF
+
* ''IdentPayload'' : OFF
* ''FilterFreq'' : 0 (auto-detect)
+
* ''IdentFilterFreq'' : 0 (auto-detect)
* ''FileName'' : "" (auto-assign)
+
* ''IdentFileName'' : "" (auto-assign)
* ''RelTeMax'' : 20%
+
* ''IdentRelTeMax'' : 20%
* ''RecTimeMax'' : 30s
+
* ''IdentRecTimeMax'' : 30s
* ''Debug'' : ON
+
* ''IdentDebug'' : ON
  
 
|SCOPE=
 
|SCOPE=

Revision as of 12:49, 31 January 2012

Starts dynamic parameters identification for an axis or a robot.

IdentDynamicModel
The dynamic model of which the parameters are identified.
If not given, the current dynamic model of the motion element is used.
The values 0 or -1 not allowed:
If Payload is ON, DynamicModel value is ignored.
IdentPayload
If ON, the payload (payloadmass, payloadinertia) is identified instead of the model parameters.
IdentFilterFreq
Cutoff frequency of the raw signal filter.
0 = the frequency is automatically detected
-1 = no filter is used at all
IdentFileName
File name without extension of the output files (.PRG, .REC)
If not given, files are called "IDNT<ElementId>"
IdentRelTeMax
Percentage of the maximal torque error compared to the maximal torque feedback of an axis. If the maximal TE is higher, the identification is considered to be failed.
IdentRecTimeMax
Maximal recording time after the start of identification.
IdentDebug
Write the debug record file.

Syntax

IdentificationStart <axis>|<robot> {IdentDynamicModel = <value>} {IdentPayload = ON|OFF} {IdentFilterFreq = <value>} {IdentFileName = <value>} {IdentRelTeMax = <value>} {IdentRecTimeMax = <value>} {IdentDebug = ON|OFF}

Availability

AMCS FW 4.9.x

Type

  • IdentDynamicModel : Long
  • IdentFilterFreq : Double
  • IdentFileName : String
  • IdentRelTeMax : Double
  • IdentRecTimeMax  : Double

Range

  • IdentDynamicModel : 1, 2, 3, .. (only positive numbers)

Units

  • IdentFilterFreq : Herz [Hz]
  • IdentRelTeMax : Percent [%]
  • IdentRecTimeMax : Seconds [s]

Default

  • IdentDynamicModel : element.DynamicModel
  • IdentPayload : OFF
  • IdentFilterFreq : 0 (auto-detect)
  • IdentFileName : "" (auto-assign)
  • IdentRelTeMax : 20%
  • IdentRecTimeMax : 30s
  • IdentDebug : ON

Scope

Task or Terminal

Limitations

  • Only one motion element can be identified at the same time.
  • Cannot be started while there is another record task running.

Examples

Move axis axis.Pmax
SineWave axis axis.Pmin

IdentificationStart axis

Sleep 10000

IdentificationFinish
Print IdentificationStatus

Stop axis

See Also