background image

 

LCA

Return the limit correction amount

32-bit number

LCA=[Value]

Set the limit correction amount

OK

LSPD

Returns Low Speed Setting

Value in PPS

LSPD=[Value]

Sets Low Speed

OK

LT=[0 or 1]

Enable or disable position latch feature

OK

LTE

Returns latched encoder position

32-bit number

LTP

Returns latched pulse position

32-bit number

LTS

 

Returns latch status.

 

0 – Latch off 
1 – Latch on and waiting 
for latch trigger 
2 – Latch triggered

MST

 

Returns motor status

 

Bit 0 – constant speed 
Bit 1 – accelerating 
Bit 2 – decelerating 
Bit  3  –  home  input  status 
Bit  4  –  -limit  input  status 
Bit 5 – +limit input status 
Bit  6  –  minus  limit  error 
Bit 7 – plus limit error 
Bit 8 – latch input status 
Bit 9 – Z encoder channel

POL

 

Returns current polarity

 

Bit 0 – 
Bit 1 – Dir 
Bit 2 – 
Bit 3 – 
Bit  4  –  Limit 
Bit 5 – Home 
Bit 6 – Latch 
Bit 7 – In Position Output
Bit 8 – Alarm Output

POL=[value]

Sets polarity

OK

PS

Returns current pulse speed

Value in PPS

PX

Returns current position value

Position value in 32 bit

PX=[value]

Sets the current position value

OK

SCV

Returns the s-curve accel/decal control

0 or 1

SCV=[0 or 1]

 

Enable or disable s-curve. If disabled, trapezoidal 
acceleration/ deceleration will be used

OK

 

SL

 

Returns StepNLoop control status

 

0 – StepNLoop Off 
1 – StepNLoop On

SL=[0 or 1]

Enable or disable StepNLoop Control

OK

SLA

 

Returns maximum number of StepNLoop control 
attempt

32-bit

 

SLA=[value]

 

Sets maximum number of StepNLoop control 
attempt

OK

 

SLE

Returns StepNLoop correction value

32-bit

SLE=[value]

Sets StepNLoop correction value

OK

SLS

 

Returns current status of StepNLoop control

 

0 – Idle 
1 – Moving 
2 – Correcting 
3 – Stopping 
4 – Aborting 
5 – Jogging 
6 – Homing 
7 – Z Homing

 

 

DMX K-SA Manual 

page 25 

rev 3.07

 

Summary of Contents for DMX-K-SA

Page 1: ...DMX K SA Integrated Step Motor Encoder Driver Controller Manual Smart Motion Control Co Ltd Http www smmc com tw E mail smmc seed net tw 886 3 346 1082 FAX 886 3 3753368 DMX K SA Manual page 1 rev 3 07 ...

Page 2: ...ise this document any time without notice and obligation Revision History 2 0 First revision 2 1 Added RS 485 detailed transmission info 2 2 Fixed pulse rev feature 3 01 Added RS 232 communication Added Sync Output feature 3 02 Added baud rate support 3 03 Removed DO LOOPWHILE added V commands 3 04 Added limit error correction feature 3 05 Simplified polarity 3 06 Added alarm in position polarity ...

Page 3: ...ital Inputs 20 Digital Outputs 20 7 Communication 21 RS 232 21 RS 485 22 Communication Protocol 23 ASCII Commands 24 8 Feature Overview 27 Built in encoder 27 Built in Microstep Driver 27 Motion Profile 27 On The Fly Speed Change 28 Motor Power 30 Homing 30 Jogging 34 Stopping Motor 34 Motor Position 34 Motor Status 34 Limit Inputs 34 Digital Inputs Outputs 35 Latch Input 35 Sync Output 36 Home Li...

Page 4: ... DI 1 6 63 DO 64 DO 1 3 64 EX 65 ECLEARX 65 ELSE 66 ELSEIF 67 END 68 ENDIF 68 ENDSUB 69 ENDWHILE 69 EO 70 GOSUB 70 HOMEX 71 HSPD 71 IF 72 JOGX 73 LSPD 74 MSTX 74 PS 75 PX 75 SCV 76 SSPD 76 SSPDM 77 STOPX 77 SUB 78 SYNCCFG 79 SYNCOFF 79 SYNCON 80 SYNCPOS 80 SYNCSTAT 81 V 1 99 82 WAITX 83 WHILE 84 X 85 ZHOMEX 85 DMX K SA Manual page 4 rev 3 07 ...

Page 5: ...ZOMEX 85 DMX K SA Manual page 5 rev 3 07 ...

Page 6: ... High speed position capture Digital Input Position Synchronized Digital Output 1000 line incremental encoder 4000 counts rev with 4x quadrature decoding StepNLoop closed loop control S curve Trapezoidal acceleration profile control Homing routine using o Home input only o Z index encoder channel only o Home input and Z index encoder channel 16 micro step driver with effective resolution with 1 8 ...

Page 7: ...Motor Stack Size 2 Double 3 Triple 4 Quad SA Standalone Model Numbers Main Product DMX K SA 17 17 NEMA 17 Motor K K Series DMX K SA Manual page 7 rev 3 07 ...

Page 8: ...Accessories Part ID DMX K SA IFB Description Interface Board for the DMX K SA Part ID DMX K 24FF3 Description 24 pin female to female cable 3 ft long DMX K SA Manual page 8 rev 3 07 ...

Page 9: ...rrent 1000 mA Run Current 1600 mA Idle Time 500 mSec StepNLoop Enabled StepNLoop Maximum Attempt 10 StepNLoop Tolerance Range 20 StepNLoop Error Range 1000 Direction Polarity CW Limit Polarity Active Low Home Polarity Active Low Latch Polarity Active Low Limit Move Out Amount for H or H command only 1000 Run Program on Power Up Disabled DMX K SA Manual page 9 rev 3 07 ...

Page 10: ...Contacting Support For any technical support contact by email at support arcus technology com or by phone 1 510 661 9100 from 9 AM to 5 PM PST California U S A DMX K SA Manual page 10 rev 3 07 ...

Page 11: ......

Page 12: ...nect RS 232 communication lines between the Junction board and PC Supply 24V power and GND 3 Download DMX K Windows program from Arcus Technology website www arcus technology com support 4 When DMX K Windows program is started you will see following dialog box Click on the Search button on the upper right corner This search will check all available communication ports from COM1 to COM12 and check ...

Page 13: ...ice is found the right port number will be selected and you can click on Open Connection button to start communicating with the DMX K The following screen will show D B E C A A To energize the motor check the enable checkbox B To move the motor try jogging plus or minus C Change speed and acceleration values to see moves at different speed D To move to position enter the target position and perfor...

Page 14: ...3 Dimensions and Motor Spec NEMA 17 Models L inches Motor Inertia oz in 2 Amp Phase amp DMX17K SA 2 1 58 0 28 1 7 DMX17K SA 3 1 89 0 37 2 0 DMX17K SA 4 2 36 0 56 2 0 DMX K SA Manual page 14 rev 3 07 ...

Page 15: ...hart 0 6 0 5 0 4 0 3 0 2 0 1 0 0 500 1000 1500 2000 2500 3000 RPM Quad Stack Triple Double DMX17K Torque Chart 90 80 70 60 50 40 30 20 10 0 0 500 1000 1500 2000 2500 3000 RPM Quad Stack Triple Double DMX K SA Manual page 15 rev 3 07 ...

Page 16: ...come with 24 pin connector as shown below Connector Information Description Female 24 pin 2mm dual row Manufacturer HIROSE Part Number DF11 24DS 2C 24 pin female connector DF11 2428SC female pin DMX K SA Manual page 16 rev 3 07 ...

Page 17: ...9 10 LIM DI1 11 12 DI3 DI2 13 14 DI4 NC 15 16 DI5 OPTO SUPPLY 17 18 DI6 RS 232 RXD 19 20 DO2 OPTO GND 21 22 DO3 NC 23 24 GND Junction Board 24 pin connector junction board which breaks out the 24 pin signals to screw terminals shown below is available for quick wiring and testing DMX K SA Manual page 17 rev 3 07 ...

Page 18: ...Interface Circuit Note All the digital inputs Limits Home DI1 to DI6 have same opto isolated circuitry DMX K SA Manual page 18 rev 3 07 ...

Page 19: ...eed position capture digital input Digital Output Connections Digital outputs are opto isolated outputs using a Darlington transistor that can sink up to 100mA of current at maximum voltage of 24VDC DMX K has 3 general purpose digital outputs When using StepNLoop closed loop control DO1 is used as In position output and DO3 is used as Alarm Output When using Sync Output feature DO2 is used as the ...

Page 20: ...support RS 485 9600 19200 38400 57600 115K Baud RS 485 Arcus ASCII command support Important Note Factory default setting is RS 232 at 9600 bps To use RS 485 communicate first using RS 232 change communication mode to RS 485 store to memory and reboot the power and use RS 485 communication Lim Lim Home Digital Inputs Type Opto isolated inputs Opto voltage supply input 12 to 24 VDC Digital Outputs ...

Page 21: ...with DMX K series product RS 232 and RS 485 RS 232 When the DMX K unit is shipped from the factory default communication setting is RS 232 at 9600 baud rate Note that RS 232 is a point to point protocol See figure below DMX K SA Manual page 21 rev 3 07 ...

Page 22: ...store to flash Once communication method is changed you need to reboot the module for the new parameter to take effect and then communicate through RS 485 When communicating on RS 485 it is recommended to add 120 Ohm terminating resistor between 485 and 485 signal on the last module Below is a typical RS 485 master and multi slave multi drop network DMX K SA Manual page 22 rev 3 07 ...

Page 23: ...ter has ASCII code 0 Examples For querying the encoder position Send 01EX CR Reply 1000 Null For jogging the motor in positive direction Send 01J CR Reply OK Null For aborting any motion in progress Send 01ABORT CR Reply OK Null Note The address 00 is reserved for broadcasting over a RS 485 bus Any ASCII command prefixed by 00 will be processed by all DMX K modules on the RS 485 bus When a broadca...

Page 24: ... individual input 1 or 0 DN Return device name DMK00 DMK99 DN Device ID Set device name Range DMK01 to DMK99 Note Address 00 is reserved for broadcasting over RS 485 OK DO Return status of digital outputs 3 bit number DO Value Set digital output 3 bit number Note that DO1 and DO2 can only be used as general purpose when StepNLoop is disabled OK DO 1 3 Return status of individual digital output 1 o...

Page 25: ... Dir Bit 2 Bit 3 Bit 4 Limit Bit 5 Home Bit 6 Latch Bit 7 In Position Output Bit 8 Alarm Output POL value Sets polarity OK PS Returns current pulse speed Value in PPS PX Returns current position value Position value in 32 bit PX value Sets the current position value OK SCV Returns the s curve accel decal control 0 or 1 SCV 0 or 1 Enable or disable s curve If disabled trapezoidal acceleration decel...

Page 26: ...and to disable s curve control OK SSPDM Return on the fly speed change mode 1 2 3 4 5 6 7 8 SSPDM value Set on the fly speed change mode OK STOP Decelerated to stop the motor if in motion For immediate stop use ABORT command OK V VarNumber Get standalone variable value VarNumber 0 99 V VarNumber V alue Write standalone variable value VarNumber 0 99 VER Returns current firmware software version num...

Page 27: ...and returns encoder position PX command returns the real time target position of your move When StepNLoop closed loop control is disabled EX command returns encoder position PX command returns pulse position Built in Microstep Driver DMX K has an integrated micro step driver The micro step setting is fixed at 16 With a 1 8 motor this results in a 3200 step rev resolution Motion Profile By default ...

Page 28: ... get the high speed and low speed settings Use SCV command to enable s curve velocity profile instead of trapezoidal On The Fly Speed Change On the fly speed change can be achieved with the SSPD command SSPD command is only valid with trapezoidal acceleration During on the fly speed change operation you must keep the initial and destination speeds within a certain window See speed setting windows ...

Page 29: ...s the difference between the initial and destination speeds See table below SSPDM value Speed Delta destination speed initial speed pps 0 SSPD not used 1 1250 2 2500 3 5000 4 10000 5 20000 6 40000 7 60000 8 120000 Speed Delta destination speed initial speed For every increment of speed delta the maximum value of acceleration increases by 2500 ms 2 5 seconds Examples a If SSPDM 4 when changing spee...

Page 30: ...1 Homing using only the HOME input switch A Issuing home command starts the motor from low speed and accelerates to high speed B As soon as the home input is triggered the position counter is reset to zero and the motor decelerates to low speed If the home sensor is trigged during acceleration position is immediately set to zero and decelerates to low speed C After the deceleration the motor stops...

Page 31: ...t the home input signal to opto supply ground Use H or H commands for this type of homing Note This type of homing has a feature to take into account the possibility of hitting a limit switch during the H or H operation See Home Limit Error Correction section DMX K SA Manual page 31 rev 3 07 ...

Page 32: ...r Homing can be done using only the Z index channel A Z Index homing command is issued and the motor uses only the low speed B When the Z index channel trigger is found position is set to zero and the motor stop immediately Use the Z or Z commands for this type of homing DMX K SA Manual page 32 rev 3 07 ...

Page 33: ...celerates C Low speed is maintained until the Z index channel of the encoder is triggered at which time the position is reset to zero and motor stops If the Index channel trigger occurs before reaching the low speed the motor position is set to zero and stops immediately before reaching the low speed Use ZH or ZH commands to issue a Z and HOME input home command Limit Homing Limit switch can be us...

Page 34: ...ring negative direction motion This error must be cleared using CLR command before issuing any subsequent move 7 Plus limit error This bit is latched when plus limit is hit during positive direction motion This error must be cleared using CLR command before issuing any subsequent move commands 8 Latch input switch status This is also DI2 which can also be read with DI command 9 Z encoder index cha...

Page 35: ...used as an Alarm output To use these two outputs as general purpose you must first disable StepNLoop by using SL command When Sync Output feature is enabled DO2 is used as Sync Digital Output To use DO2 as general purpose output use SYNO and SYNF command to enable and disable sync output Latch Input DMX K has high speed position latch input DI2 This input is similar to Home input in that it does h...

Page 36: ...en the encoder position is LESS than the sync position 3 Turns DO2 on when the encoder position is GREATER than sync position Use SYNS to read the synchronization output status 0 Sync output feature is off 1 Waiting for sync condition 2 Sync condition occurred Home Limit Error Correction DMX K has a home limit error correction feature During a H or H operation a limit switch triggering will not ca...

Page 37: ...oop control StepNLoop Parameters Description Tolerance Range When the actual encoder position is within desired encoder position by this tolerance range no position correction is done Use SLT command to set the tolerance range Correction Range When the actual encoder position is within desired encoder position by this correction range position correction is done when idle If the actual encoder pos...

Page 38: ...motor to encoder 1000 position Once StepNLoop is enabled the speed is in encoder speed For example HSPD1000 when StepNLoop is enabled means that the target high speed is 1000 encoder counts per second StepNLoop correction is done only when the pulse rate is idle For example when the motor is moving correction is not done Once the pulse rate is idle StepNLoop correction is done Idle Current and Run...

Page 39: ...32 and RS 485 communication In order to make these changes first set the desired baud rate using the DB command Please note the following baud rate codes Device Baud Value Baud Rate bps 1 9600 2 19200 3 38400 4 57600 5 115200 To write the values to the device number and baud rate permanently to flash memory use the STORE command After a complete power cycle the new device ID will be used Note that...

Page 40: ...ate Polarity settings StepNLoop enable StepNLoop parameters Run Current Idle Current Idle Time Automatic program run on power up RS 232 or RS 485 communication Limit error correction amount When standalone program is downloaded the program is immediately written on the flash memory DMX K SA Manual page 40 rev 3 07 ...

Page 41: ...ommunication port Search looks for DMX K from COM1 to COM12 using the device name C Search All button is used to search for all DMX K modules connected to the available serial communication port This button should be used when more than one DMX K are connected on a multi drop RS 485 bus Note that the DMX K must be configured to use RS 485 communication D 9600 baud rate is the default communication...

Page 42: ...G Open connection uses the selected COM port and the device name to open communication with the DMX K module DMX K SA Manual page 42 rev 3 07 ...

Page 43: ...VDC 2 Check communication wiring If using RS 232 TXD from DMX K should be connected to RXD of the serial port and RXD from DMX K should be connected to TXD of serial port If using RS 485 make sure that the 485 from DMX K is connected to 485 of the master and 485 from DMX K is connected to 485 of the master 3 Confirm that the device name is set correctly Default factory device name setting is 01 If...

Page 44: ...When Open Connection button is pressed and communication is successfully established following screen will show A H I B K C D E J F G DMX K SA Manual page 44 rev 3 07 ...

Page 45: ...es sec e Motor status i Idle motor is not moving ii Accel motor is accelerating iii Const motor is running in constant speed iv Decel motor is decelerating v Error limit error f StepNLoop status i Idle motor is not moving ii Correcting correction is in progress iii Jogging jogging in progress iv Homing homing in progress v Stopping decal and stop in progress g Current displays active current value...

Page 46: ...DMX K SA Manual page 45 rev 3 07 ...

Page 47: ...d DO2 is used for Sync Digital Output function c Digital Output bit 3 this is general purpose digital output when StepNLoop is disabled When StepNLoop is enabled DO3 is used as alarm output d Digital input 2 when position capture feature is enabled DI2 is used as the capture input where the encoder and pulse positions are recorded when DI2 is triggered Remaining DI s are general purpose digital in...

Page 48: ...f the module D Communication a b a Communication Status Displays communication status with the selected device b Device ID Device ID of the communicating DMX K To communicate with a different DMX K on the fly select another ID number from this drop down box DMX K SA Manual page 47 rev 3 07 ...

Page 49: ...loaded and download all at once This means that in order for the configuration to become effective download button must be pressed In order for the configuration to be permanent store to flash must be pressed Click on the Setup button to show the following display box h a i b j c k g l d e f DMX K SA Manual page 48 rev 3 07 ...

Page 50: ...n values on the screen is downloaded g Limit Home Amount Set limit correction amount See detailed description in Home Limit Error Correction section h StepNLoop configuration values See detailed description in the StepNLoop feature section i Current values Run current is used when the motor is running Idle current is used when the Idle time expires Idle time is in msec Minimum current setting is 1...

Page 51: ...ave dialog box will open l Open Open a file of saved parameters Parameters will be loaded into the configuration box Before parameters are made effective you must perform a download procedure When this button is pressed typical Windows file open dialog box will open DMX K SA Manual page 50 rev 3 07 ...

Page 52: ... button above to display the following window a b c d a Response Window Displays the response if any from the command line b Address Select the address of the DMX K module which you wish to communicate Selecting address 00 will send a DMX K SA Manual page 51 rev 3 07 ...

Page 53: ...to type the device name For example when you want to know what the motor status is type MST and you will see a number on the reply that represents the status of the motor Press the Enter key to send the command d Save Save the terminal text into a text file When this button is pressed typical Windows file save dialog box will open DMX K SA Manual page 52 rev 3 07 ...

Page 54: ...ile and Standalone Program Process b a c d f e g h a Open standalone program is loaded to the editor box When this button is pressed typical Windows file open dialog box will open DMX K SA Manual page 53 rev 3 07 ...

Page 55: ...e Download use this button to download the compiled low level program to the controller f Upload use this button to upload the compiled low level program from the controller to the text editor g Low Level Program Viewer Low level program can be viewed in a text editor When this button is pressed the low level program on the list is transferred to the text editor which allows you to save the low le...

Page 56: ...h DMX K Windows program has online help for the high level language for the standalone programming When help button is pressed following help page will show DMX K SA Manual page 55 rev 3 07 ...

Page 57: ...This is typical help file where you can click each command and see the description syntax example and related commands as shown below DMX K SA Manual page 56 rev 3 07 ...

Page 58: ...sed d ZH ZH Home sensor and encoder index channel is used to home e Z Z Only the encoder index channel is used for homing f SSPD On the fly speed change is issued with this button SSPD is valid only when the motion profile is trapezoidal When clicked speed accelerate decelerate to the value in High Speed g RP Resets the current pulse position to zero h RE Resets the current encoder position to zer...

Page 59: ...o the target absolute position using the high speed and the low speed and the acceleration values I Program Control DMX K has standalone program capability Standalone program is written using an easy to use and understand text based programming language it is then compiled downloaded and run a b c d e f a Program Status program status shows here Following are possible program status Idle Running a...

Page 60: ...running can be paused f Continue program that is paused can be continued J Text Program Editor DMX K has standalone program capability Standalone program can be loaded and written in this area DMX K SA Manual page 59 rev 3 07 ...

Page 61: ...K Low Level Program List Once the high level program is compiled the low level code is shown in this list This list is not editable DMX K SA Manual page 60 rev 3 07 ...

Page 62: ...Syntax Comment Text Examples This is a comment J Jogs X axis to positive direction DELAY 100 Wait 1 second ABORT Stop immediately all axes including X axis ABORT Description Immediately stops all axes if in motion Also clears StepNLoop error Syntax ABORT Examples JOGX Jogs X axis to positive direction DELAY 100 Wait 1 second ABORT Stop immediately all axes including X axis DMX K SA Manual page 61 ...

Page 63: ...cceleration to 300 milliseconds V3 500 Sets the variable 3 to 500 ACC V3 Sets the acceleration to variable 3 value of 500 DELAY Description Set a delay 1 ms units Syntax Delay Number 1 ms units Examples JOGX Jogs X axis to positive direction DELAY 1000 Wait 1 second ABORT Stop with deceleration all axes including X axis DMX K SA Manual page 62 rev 3 07 ...

Page 64: ...est off IF DI 0 DO 1 If no digital inputs are triggered set DO 1 ENDIF DI 1 6 Description Gets the individual digital input value DriveMax K 485 has 6 digital inputs Syntax variable DI 1 6 Examples DO 7 Turn first 3 bits on and rest off IF DI1 0 DO 1 If digital input 1 is off turn digital output 1 on ENDIF DMX K SA Manual page 63 rev 3 07 ...

Page 65: ...e Examples DO 7 Turn 3 bits on V1 0 WHILE V1 7 DO V1 Output DO to value variable 1 V1 V1 1 ENDWHILE END DO 1 3 Description Sets the individual digital output value DriveMax K 485 has 3 digital outputs Syntax DO 1 3 value DO 1 3 variable Examples DO3 7 Turn digital output 3 on DMX K SA Manual page 64 rev 3 07 ...

Page 66: ...EX Examples JOGX Jogs X axis to positive direction DELAY 100 Wait 1 second ABORT Stop with deceleration all axes including X axis ECLEARX Description Clears error status Syntax ECLEARX Examples ECLEARX Clears error of axis X DMX K SA Manual page 65 rev 3 07 ...

Page 67: ...ription Perform ELSE condition check as a part of IF statement Syntax ELSE Examples IF V1 1 X1000 If V1 is 1 then move to 1000 ELSE ENDIF X 1000 If V1 is not 1 then move to 1000 DMX K SA Manual page 66 rev 3 07 ...

Page 68: ...f the following Numerical value Pulse or Encoder Position Digital Output Digital Input Enable Output Motor Status Comparison can be any of the following Equal to Greater than Less than Greater than or equal to Less than or equal to Not Equal to Examples IF V1 1 X1000 ELSEIF V1 2 X2000 ELSEIF V1 3 X3000 ELSE X0 ENDIF DMX K SA Manual page 67 rev 3 07 ...

Page 69: ...anges to idle when END is reached Note Subroutine definitions should be written AFTER the END statement Syntax END Examples END X0 X1000 ENDIF Description Indicates end of IF operation Syntax ENDIF Examples IF V1 1 X1000 ENDIF DMX K SA Manual page 68 rev 3 07 ...

Page 70: ...ote Subroutine definitions should be written AFTER the END statement Syntax ENDSUB Examples GOSUB 1 END SUB 1 X0 X1000 ENDSUB ENDWHILE Description Indicate end of WHILE loop Syntax ENDWHILE Examples WHILE V1 1 While V1 is 1 continue to loop X0 X1000 ENDWHILE End of while loop so go back to WHILE DMX K SA Manual page 69 rev 3 07 ...

Page 71: ...utput GOSUB Description Perform go to subroutine operation Subroutine range is from 1 to 32 Note Subroutine definitions should be written AFTER the END statement Syntax GOSUB subroutine number Subroutine Number range is 1 to 32 Examples GOSUB 1 END SUB 1 X0 X1000 ENDSUB DMX K SA Manual page 70 rev 3 07 ...

Page 72: ...n positive direction HSPD Description Sets high speed Value is in pulses second Range is from 1 to 6 000 000 Syntax HSPD long value HSPD variable Examples HSPD 10000 Sets the high speed to 10 000 pulses sec V1 2500 Sets the variable 1 to 2 500 HSPD V1 Sets the high speed to variable 1 value of 2500 DMX K SA Manual page 71 rev 3 07 ...

Page 73: ...of the following Numerical value Pulse or Encoder Position Digital Output Digital Input Enable Output Motor Status Comparison can be any of the following Equal to Greater than Less than Greater than or equal to Less than or equal to Not Equal to Examples IF V1 1 X1000 ENDIF DMX K SA Manual page 72 rev 3 07 ...

Page 74: ...ription Perform jogging using current high speed low speed and acceleration Syntax JOGX or Examples JOGX Jogs X axis in positive direction JOGX Jogs X axis in negative direction DMX K SA Manual page 73 rev 3 07 ...

Page 75: ...ng value LSPD variable Examples LSPD 1000 Sets the start low speed to 1 000 pulses sec V1 500 Sets the variable 1 to 500 LSPD V1 Sets the start low speed to variable 1 value of 500 MSTX Description Get motor status of axis Syntax MST Axis Examples IF MSTX 0 DO 6 ENDIF DMX K SA Manual page 74 rev 3 07 ...

Page 76: ...speed is 2999 set DO 1 ENDIF PX Description Sets the current pulse position Syntax PX long value PX variable Examples JOGX Jogs X axis to positive direction DELAY 100 Wait 1 second ABORT Stop with deceleration all axes including X axis PX 0 Sets the current pulse position to 0 DMX K SA Manual page 75 rev 3 07 ...

Page 77: ...les S Curve SSPD Description Change speed of motor on the fly Syntax SSPD long value SSPD variable Examples JOGX Jogs X axis to positive direction DELAY 100 Wait 1 second SSPD 1000 Change X axis speed on the fly DELAY 100 Wait 1 second SSPD 2000 Change X axis speed on the fly DMX K SA Manual page 76 rev 3 07 ...

Page 78: ...DELAY 100 Wait 1 second ACC 20000 Set acceleration to 20 sec SSPD 180000 Change X axis speed on the fly with acc of 20 sec STOPX Description Stop all axes if in motion with deceleration Previous acceleration value is used for deceleration Syntax STOP Axis Examples JOGX Jogs X axis to positive direction DELAY 100 Wait 1 second STOPX Stop with deceleration all axes including X axis DMX K SA Manual p...

Page 79: ...SUB Description Indicates start of subroutine Syntax SUB subroutine number Subroutine Number range is 1 to 32 Examples GOSUB 1 END SUB 1 X0 X1000 ENDSUB DMX K SA Manual page 78 rev 3 07 ...

Page 80: ...er is less than 1000 sync output done SYNCON JOGX Jog negative WHILE SYNCSTAT 2 ENDWHILE STOPX SYNCOFF END SYNCOFF Description Turns off synchronization output feature Syntax SYNCOFF Examples EX 0 Reset the encoder position to zero EO 1 Enable the motor SYNCPOS 10000 Set sync position to 10000 SYNCCFG 1 Trigger output when position equal SYNCON Turn the sync feature on JOGX Jog the motor WHILE SYN...

Page 81: ...n END SYNCON Description Turns on synchronization output feature Syntax SYNCON Examples SYNCON END SYNCPOS Description Sets synchronization output position Syntax SYNCPOS value SYNCPOS variable Examples V1 1000 SYNCPOS V1 DMX K SA Manual page 80 rev 3 07 ...

Page 82: ...e sync output status 0 idle 1 waiting for sync 2 sync occurred Syntax V var SYNCSTAT SYNCSTAT can be used with IF WHILE statements Examples V1 SYNCSTAT WHILE SYNCSTAT 1 ENDWHILE IF SYNCSTAT 2 ENDIF DMX K SA Manual page 81 rev 3 07 ...

Page 83: ...ing Numerical value Pulse or Encoder Position Digital Output Digital Input Enable Output Motor Status Operation can be any of the following Addition Subtraction Multiplication Division Modulus Bit Shift Right Bit Shift Left Bit AND Bit OR Bit NOT Examples V1 12345 Set Variable 1 to 123 V2 V1 1 Set Variable 2 to V1 plus 1 V3 DI Set Variable 3 to digital input value V4 DO Sets Variable 4 to digital ...

Page 84: ... 2 and save to var 7 WAITX Description Tell program to wait until move on the certain axis is finished before executing next line Syntax WAITX X variable Examples X10000 Move X Axis to position 10000 WAITX Wait until X Axis move is done DO 5 Set digital output X3000 Move X Axis to 3000 WAITX Wait until X Axis move is done DMX K SA Manual page 83 rev 3 07 ...

Page 85: ...rical value Pulse or Encoder Position Digital Output Digital Input Enable Output Motor Status Comparison can be any of the following Equal to Greater than Less than Greater than or equal to Less than or equal to Not Equal to Examples WHILE V1 1 While V1 is 1 continue to loop X0 X1000 ENDWHILE DMX K SA Manual page 84 rev 3 07 ...

Page 86: ...0000 V10 1200 Set variable 10 value to 1200 XV10 Move X Axis to variable 10 value ZHOMEX Description Perform Z homing using current high speed low speed and acceleration Syntax ZHOMEX or Examples ZHOMEX Z Homes X axis in positive direction ZOMEX Description Homes using low speed to the Z index Syntax ZOMEX or Examples ZOMEX Z Homes X axis in positive direction DMX K SA Manual page 85 rev 3 07 ...

Page 87: ...Contact Information Arcus Technology Inc 48501 Warm Springs Blvd 104 Fremont CA 94539 510 661 9100 510 661 9200 www arcus technology com DMX K SA Manual page 86 rev 3 07 ...

Reviews: