Difference between revisions of "AXY:MC-Basic:SERCMAXPOS"
(37 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{| class="prettytable" | {| class="prettytable" | ||
− | |||
− | |||
− | |||
|- | |- | ||
| '''Syntax''' | | '''Syntax''' | ||
− | | <nowiki> ? user | + | | <nowiki> ? user SET_SERCOS_MAX ( AxisNumber , value , 0 ) </nowiki> |
|- | |- | ||
Line 15: | Line 12: | ||
|- | |- | ||
| '''Data Type''' | | '''Data Type''' | ||
− | | | + | |AxisNumber: 1 to sys.NumberAxes |
+ | |- | ||
+ | | | ||
+ | |value: -maxlong to maxlong | ||
|- | |- | ||
| '''Range''' | | '''Range''' | ||
− | + | |0 : value set OK | |
− | + | |- | |
− | + | | | |
− | + | |(-1): value was not set | |
|- | |- | ||
| '''Default''' | | '''Default''' | ||
− | | | + | | maxLong |
|- | |- | ||
| '''Units''' | | '''Units''' | ||
− | | | + | | counts |
|- | |- | ||
− | | ''' | + | | '''Scope''' |
− | | | + | | task, terminal |
|- | |- | ||
− | | ''' | + | | '''Limitations''' |
− | | | + | | Write only |
|- | |- | ||
− | | ''' | + | | '''Example''' |
− | | | + | |? user SET_SERCOS_MAX(1,1024,0) |
|- | |- | ||
− | | ''' | + | | '''SEE ALSO''' |
− | | | + | * [[AXY:MC-Basic:SERCMINPOS]] |
+ | * [[MC-Basic:CountMax]] | ||
+ | |} | ||
− | + | '''figure: ccmd Vs cfb''' | |
− | |||
− | |||
− | + | [[Image:AXY;SET_SERCOS_MAX.jpg]] | |
+ | {| class="prettytable" | ||
+ | |- | ||
+ | |'' ? user SET_SERCOS_MAX ( 1 , 10000 , 0 ) '' | ||
|- | |- | ||
− | | ''' | + | |'' ? user SET_SERCOS_MIN ( 1 , -1000 , 0 ) '' |
− | |||
|} | |} |
Latest revision as of 08:37, 22 May 2014
Syntax | ? user SET_SERCOS_MAX ( AxisNumber , value , 0 ) | |
DESCRIPTION | this user function mimics <axis>.countmax. | It sets a value of maximum <axis>.countFeedBack. If countFeedBack passes this value - it is reduced to SERCMINPOS, see figure. |
Data Type | AxisNumber: 1 to sys.NumberAxes | |
value: -maxlong to maxlong | ||
Range | 0 : value set OK | |
(-1): value was not set | ||
Default | maxLong | |
Units | counts | |
Scope | task, terminal | |
Limitations | Write only | |
Example | ? user SET_SERCOS_MAX(1,1024,0) | |
SEE ALSO |
figure: ccmd Vs cfb
? user SET_SERCOS_MAX ( 1 , 10000 , 0 ) |
? user SET_SERCOS_MIN ( 1 , -1000 , 0 ) |