Difference between revisions of "AXY:MC-Basic:SERCMINPOS"

From SoftMC-Wiki
Jump to: navigation, search
 
(2 intermediate revisions by one other user not shown)
Line 8: Line 8:
 
| '''DESCRIPTION'''
 
| '''DESCRIPTION'''
 
| this user function mimics <axis>.countmin.  
 
| this user function mimics <axis>.countmin.  
| It sets a value of minimum <axis>.countFeedBack. If countFeedBack passes this value - it is reduced to SERCMAXPOS, see figure.
+
| It sets a value of minimum <axis>.countFeedBack. If countFeedBack passes this value - it is increases to SERCMAXPOS, see figure.
  
 
|-
 
|-
Line 47: Line 47:
 
| '''SEE ALSO'''
 
| '''SEE ALSO'''
 
* [[AXY:MC-Basic:SERCMAXPOS]]
 
* [[AXY:MC-Basic:SERCMAXPOS]]
* [[Axystems:MC-Basic:axis.CountMin]]
+
* [[MC-Basic:axis.CountMin]]
 
|}
 
|}
  
Line 58: Line 58:
 
|-
 
|-
 
|'' ? user SET_SERCOS_MAX ( 1 , 10000 , 0 ) ''
 
|'' ? user SET_SERCOS_MAX ( 1 , 10000 , 0 ) ''
|
+
|-
|-'' ? user SET_SERCOS_MIN ( 1 , -1000 , 0 ) ''
+
|'' ? user SET_SERCOS_MIN ( 1 , -1000 , 0 ) ''
  
 
|}
 
|}

Latest revision as of 08:44, 22 May 2014

Syntax ? user SET_SERCOS_MIN ( AxisNumber , value , 0 )
DESCRIPTION this user function mimics <axis>.countmin. It sets a value of minimum <axis>.countFeedBack. If countFeedBack passes this value - it is increases to SERCMAXPOS, 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

AXY;SET SERCOS MAX.jpg

 ? user SET_SERCOS_MAX ( 1 , 10000 , 0 )
 ? user SET_SERCOS_MIN ( 1 , -1000 , 0 )