%SCLK – This command is used to change the commander system clock value when an external buss clock is used with a commander. The value is in Hz.


Applies to: Applies to: CMD-2CR, CMD-4CR, CMD-4EX-SA, CMD-4ED-SA, CMD-8CR

Firmware: V301+


ASCII                        %SCLK        

Syntax:                        

Read:

%SCLK                


Write:

%SCLK=[frequency]                 

Where:        [frequency] is frequency of the clock in Hz

Reply: 

Command is accepted and executed

Read:         

Returns the frequency in Hz used for the system clock


Write:           

OK


Command cannot be processed

       An error message is returned. See Error Codes

Example: 

Read:        

%SCLK                        * Returns system clock frequency in Hz


Write:        

%SCLK=19660800         * Sets the system clock value to 19.6608MHz.


Notes:

  • This value should match the clock frequency used for the commander. This value does not change the clock frequency, it is used to return accurate speed data from the Commander.
  • The default value when using the internal system clock from the Gen5 Commander is 21.6MHz (21600000Hz) .


See also:

Motion Settings

accel, SCV, HSPD, LSPD

Commander Manual

2.1.1.1 Identification Number


TODO: See also and Commander Manual links