User Tools

Site Tools


commands:z2b

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
commands:z2b [2023/08/31 04:10] – expanded brandoncommands:z2b [2026/11/20 19:04] (current) – jon
Line 19: Line 19:
 <-- <--
  
-Allows the user to change the axis name for a motor axis.  The ''current_axis_letter'' must be one of the motor axes names listed with the [[commands:build|BU X command]].  The ''new_axis_letter_ascii_code'' must be the decimal ASCII code for the desired axis name for letters between upper case ''A(65)'' and'' Z(90)''.   For the change to take effect, the new setting must be saved to flash memory using [[commands:saveset|SS Z]], followed by a hardware reset.  The new axis name will remain in effect unless default settings are restored to the controller. +Allows the user to change the axis name for a motor axis.  The ''current_axis_letter'' must be one of the motor axes names listed with the [[commands:build|BU X command]].  The ''new_axis_letter_ascii_code'' must be the decimal ASCII code for the desired axis name for letters between upper case ''A(65)'' and ''Z(90)''.   For the change to take effect, the new setting must be saved to flash memory using [[commands:saveset|SS Z]], followed by a hardware reset.  The new axis name will remain in effect unless default settings are restored to the controller. 
  
-If the Z2B value of an axis is queried (e.g. ''Z2B Y?''), the axis’ index on the card is returned (e.g. <wrap reply> :A Y=1 </wrap> for the 2nd axis on the card).+If the Z2B value of an axis is queried (e.g. ''Z2B Y?''), the axis’ index on the card is returned i.e. the hardware ordering in a zero-indexed fashion (e.g. <wrap reply> :A Y=1 </wrap> for the 2nd axis on the card). 
 + 
 +<WRAP center round info 80%> 
 +**Note:** Z2B only changes the axis name. The manual input assigned to the motor doesn't change. You can reassign manual input with the [[commands:joystick|JOYSTICK]] command. 
 +</WRAP>
  
 == Reply == == Reply ==
  
 If there are no errors, a positive response of <wrap reply> :A </wrap> will be returned from the controller. If there are no errors, a positive response of <wrap reply> :A </wrap> will be returned from the controller.
-== Example  ==+== Example ==
  
 <asi> $ Z2B Z=66  <asi> $ Z2B Z=66 
Line 33: Line 37:
 <asi> $ 2SS Z  <asi> $ 2SS Z 
 :A</asi> :A</asi>
-Required to save new name setting to flash. 2 because Z is on card#2+Required to save the new name setting to flash. The command starts with 2 because Z is at card address 2.
  
  
 {{tag>commands tiger ms2000}} {{tag>commands tiger ms2000}}
Address: 29391 W Enid Rd. Eugene, OR 97402, USA | Phone: +1 (541) 461-8181
commands/z2b.1693469436.txt.gz · Last modified: by brandon