Operating Software Instruction Manual for MCC Series of Motion Controllers

Size: px
Start display at page:

Download "Operating Software Instruction Manual for MCC Series of Motion Controllers"

Transcription

1 Operating Software Instruction Manual for MCC Series of Motion Controllers Control Panel Stand-alone Operation Command Reference Manual Host Controlled Operation

2 Power-up Help System Operation Controlling the Outputs and Monitoring the Inputs Power-up After power-up the status LED blinks and then remains lit. The controller sends a message to the PC showing its revision number that would be displayed in the Incoming Messages pane. You could click on the button to make sure the status LED blinks then remains lit and the revision number is displayed in the Incoming Messages pane. This ensures that the communication is established between the controller and the PC Help System After installation of the software the online help system will be available. The online help system may be accessed by; 1) Click on "?" located on upper right corner of the control panel, then drag it to any button and click. A message will explain the functionality of that button.

3 Operation If the controller is not connected to the PC, Click on Configuration then select Demo from the drop down menu to test drive the software without the controller.

4 If you click on any button, you would see the outgoing messages to the controller and the incoming messages from the controller in the corresponding panes.

5 The following display will appear that allows the user to set or reset each output individually and monitor all analog and digital inputs.

6

7 Stand-alone Operation The following are the steps that need to be taken to write, download and run the code. 1) Click on 'Code Development'. 2) Click on Open File icon to open an existing file in the default directory; for example, x-axis-absolute-move.txt.

8 3) Click on the button before each download. Please make sure the status LED blinks then remains lit. The revision number should be displayed in the Incoming Messages pane. 4) Click on button to send the code from PC to the controller.

9 At the start of download the controller sends "Downloading from PC to Controller" which is displayed in the Incoming Messages. When the download is completed the controller sends "End of downloading" message to the PC. 5) Once the download is completed, click on and the controller will start to execute the program. 6) To store the code to non-volatile memory of the controller, repeat step 4 and 5 then click on. This will save the program in the nonvolatile memory of the controller. 7) To retrieve the saved code from the non-volatile memory and run the code, click on then.

10 Or, you could use the Upload-and-Run pin of the command port. Please consult the Hardware Reference Manual for the location of the pin.

11 MOTION ACCX value or variable DONEX? HOMEX JOGX MOVAX MOVRX POSX value or variable STOPX VELMNX value or variable VELX value or variable Sets the linear acceleration of the X-axis to value or variable. Halts the execution of the program until the motion of the X-axis is completed. Instructs home searching sequence of the X-axis. Instructs jogging mode of the specified X-axis. Begins an absolute move on the X-axis. Begins a relative move on the X-axis. Sets the distance to move of the X-axis to value or variable. Stops the motion of the X-axis. Sets the minimum step rate of the X-axis to value or variable. Sets the maximum step rate of the X-axis to value or variable. GENERAL CONFIGURATION EPOSX JOFF JON MOFFX MONX MSGOFF MSGON SPOSX value or variable SQUADX value or variable Equates the current position of the X-axis to the value of the corresponding step counter. Disables the joystick and trackball operation. Enables the joystick and trackball operation. Turns the motor driver of the X-axis off. Turns the motor driver of the X-axis on. Turns off the feedback messages sent from the controller. Turns on the feedback messages sent from the controller. Sets the current position for the X-axis to value or variable. Sets the X-axis quadrature decoder to value or variable. DATA FLOW CLRBIT value or variable DISPLAY value or variable INPUT variable IN variable KEYPAD variable OUT value or variable PRINT string, value or variable RQUADX variable RSTSX variable RX SETBIT value or variable PROGRAM FLOW CONT END GOSUB line GOTO line IF expr THEN statement IF expr THEN statement1 ELSE statement2 IFBIT value THEN statement Resets the discrete output specified by value to low state. Displays the specified string, value or variable on the LCD display. Receives numeric data from the serial port and places it in variable. Reads the input ports and places its value in variable. Reads the keypad and places its value in variable. Writes the value to the output ports. Prints the specified string, value or variable to the serial port. Places the value of X-axis quadrature input in variable. Places the status of X-axis in variable. Reports the value of X-axis step counter. Sets the discrete output specified by value to high state. Continues the program after a PAUSE command is received. Terminates the program execution. Branches to subroutine starting at line number specified by line. Transfers program execution to line number specified by line. If expr is true executes statement, otherwise continues execution on to next line. If expr is true executes statement1, otherwise executes statement2. If the specified bit is high then executes statement.

12 IFBIT value THEN statement1 ELSE statement2 IFNOTBIT value THEN statement IFNOTBIT value THEN statement1 ELSE statement2 REM RETURN PAUSE WAIT value or variable If the specified bit is high then executes statement1, otherwise executes statement2. If the specified bit is low then executes statement. If the specified bit is low then executes statement1, otherwise executes statement2. Designates a comment line. Ends a subroutine and causes execution to resume at the statement after the line, which called the subroutine. Pauses program execution until CONT is received. Waits for value number of milliseconds. MISCELLANEOUS DOWNLOAD LIST NEW ROM RUN Prepares the controller to receive the BASIC code. The mode is terminated upon receiving a dollar sign "$. Sends the current program to the serial port. Purges the memory. Used for updating the controller code Runs the program. VARIABLES and OPERATIONS Logical and Mathematical RAND variable Assigns a random value to variable EXAMPLES

13 Host Controlled Operation In this mode the host will send a series of ASCII commands to the controller over the RS-232 serial port. The controller process to the incoming commands and responses with the proper messages. Programming in Visual BASIC The following example sets the linear acceleration to 500,000 Steps / sec 2, step rate at 100 KHz, and the distance to travel equal to 200,000 steps. Then the controller is commanded to make an absolute move on the X Axis. Private Sub Command1_Click() ' Prototype Declare SioPuts Lib "WSC32.DLL" (ByVal Port As Long, ByVal Buffer As String, ByVal Size As Long) As Long Dim Code As Long Dim StringToBeTransmtd As String ' Set the linear acceleration of X Axis to 500,000 steps / sec / sec StringToBeTransmtd = "accx " + vbcr Code = SioPuts(ThePort, StringToBeTransmtd, Len(StringToBeTransmtd)) ' Set the linear velocity of X Axis to 100,000 steps / sec StringToBeTransmtd = "velx " + vbcr Code = SioPuts(ThePort, StringToBeTransmtd, Len(StringToBeTransmtd)) ' Set the position to move of X Axis to 200,000 steps StringToBeTransmtd = "posx " + vbcr Code = SioPuts(ThePort, StringToBeTransmtd, Len(StringToBeTransmtd)) 'Command the X Axis of the controller to make an absolute move StringToBeTransmtd = "movax" + vbcr Code = SioPuts(ThePort, StringToBeTransmtd, Len(StringToBeTransmtd)) End Sub Programming in 'C' The following example sets the acceleration at 10 Million Steps / sec 2, step rate at 100 KHz, and the distance to travel equal to 100,000 steps. Then the controller is commanded to make an absolute move. void send_command(void) { } char StringToBeTransmtd[80]; // Set the linear acceleration of X Axis to 500,000 steps / sec / sec strcpy(stringtobetransmtd,"accx \n"); SioPuts(Port,StringToBeTransmtd,strlen(StringToBeTransmtd)); // Set the linear velocity of X Axis to 100,000 steps / sec strcpy(stringtobetransmtd,"velx \n"); SioPuts(Port,StringToBeTransmtd,strlen(StringToBeTransmtd)); // Set the position to move of X Axis to 200,000 steps strcpy(stringtobetransmtd,"posx \n"); SioPuts(Port,StringToBeTransmtd,strlen(StringToBeTransmtd)); // 'Command the X Axis of the controller to make an absolute move strcpy(stringtobetransmtd,"movax\n"); SioPuts(Port,StringToBeTransmtd,strlen(StringToBeTransmtd)); The following is the information that you need to establish communication with OES line of controllers. 1) The baud rate is 19.2 K, 8-bit, no parity, one stop bit. 2) The length of input buffer of the MCC controller is 256 bytes. 3) ASCII characters should be terminated with CR or LF.

14 4) After sending each packet of data to the MCCcontroller, sufficient time should be given to the controller to process it, usually 100msec. To receive characters, a buffer is setup and all the incoming characters are stored in it until they are fetched by the application. The following commands the X-axis to stop, and checks the receiving buffer for X Stopping string to make sure the X-axis has received and performed the command. Private Sub cmdxplus_mouseup(button As Integer, Shift As Integer, X As Single, Y As Single) Dim S As String Dim Start As Single Dim Counter As Integer Dim Where As Long StringToBeTransmtd = "stopx" & vbcr Do While (Counter < NoofRetries And Where = 0) Code = SioPuts(ThePort, StringToBeTransmtd, Len(StringToBeTransmtd)) Start = Timer() Do While Timer() < Start + DelayTime DoEvents ' Yield to other processes. Loop Where = InStr(strRcvdMsg, "X Stopping") Counter = Counter + 1 Loop If (Counter >= NoofRetries) Then If MsgBox("The controller is not responding! Turn the controller's power off.", vbokonly, "Error46") = vbok Then Exit Sub End If End Sub OES uses a serial communication package from

15 accx accx value or variable Sets the linear acceleration of the X-axis to value or variable or variable. This value is used to accelerate and decelerate the motor. The acceleration may not be modified while moving. The unit of value is in steps per sec 2. Range of Value 40,000-40,000,000 None Run, Command rem Set X-axis linear acceleration to 500,000 steps per sec 2. accx A = rem Set X-axis linear acceleration to value stored in A accx A

16 donex? donex? Halts the execution of the program until the motion of the X-axis is completed. DONE X Run rem Begin absolute move movax rem Wait until move is done donex?

17 homex homex Instructs a home searching sequence on the X-axis. The homing sequence is as follows: The motor will start to move. The sign of the velocity determines the direction of the move. Once it hits the Home switch, it decelerates to stop at the same rate as acceleration. Then the motor will move in reverse direction, at the slowest speed, until it senses the Home switch changes state then stops. A normally closed or normally low switch should be connected to the Home pin. Please consult the Hardware Reference Manual for the location of the Home pin. X Homing After completion of the sequence Done X Run, Command accx velx homex

18 jogx jogx Instructs jogging mode of the X-axis. X Jogging After stopping Done X Run, Command rem set the acceleration accx rem set the velocity velx rem start to jog jogx end $

19 movax movax Begins an absolute move on the X-axis. X Abs. Move Run, Command rem set the acceleration accx rem set the velocity velx rem set the position to move to posx rem start to make an absolute move movax

20 movrx movrx Begins a relative move on the X-axis. X Rel. Move Run, Command rem set the acceleration accx rem set the velocity velx rem set the position to move to posx rem start to make a relative move movrx

21 posx posx value or variable Sets the distance to move of the X-axis to value or variable. Range of Value to None Run, Command rem Set acceleration accx rem Set minimum velocity velmnx 0 rem Set maximum velocity velx rem Set the position to move to posx rem Instruct to make an absolute move movax

22 stopx stopx Stops the motion of the X-axis. X Stopping Run, Command if X > then stopx

23 velmnx velmnx value or variable Sets the minimum step rate of the X-axis to value or variable. The value sets the minimum slew speed of the motor. The value may not be modified while moving. The unit of value is in steps / Sec. Range of Value ,000 None Run, Command velmnx 0

24 velx velx value or variable Sets the maximum step rate of the X-axis to value or variable. This value sets the slew speed of the motor. The speed may not be modified while moving. The unit of value is in steps / Sec. Range of Value ,000 None Run, Command rem Set acceleration accx rem Set minimum velocity velmnx 0 rem Set maximum velocity velx jogx

25 eposx eposx Equates the current position of the X-axis to the value of the corresponding step counter. None Run, Command eposx

26 joff joff Disables the joystick and trackball operation. Range of Value None Joystick is off. Run, Command if A = B then joff jon jon Enables the joystick and trackball operation. Joystick is on. Run, Command if A = B then jon

27 moffx moffx Turns the motor driver of the X-axis off. None Run, Command if A = B then moffx

28 monx monx Turns the motor driver of the X-axis on. None Run, Command if A = B then monx

29 msgoff msgoff Turns off the feedback messages sent from the controller. None Run, Command msgoff msgon msgon Turns on the feedback messages sent from the controller. None Run, Command msgon

30 sposx sposx value or variable Sets the current position of the X-axis to value or variable. Range of Value to None Run, Command sposx A = sposx A

31 squadx squadx value or variable Sets the X-axis quadrature decoder to value or variable. Range of Value to None Run, Command squadx A = squadx A

32 clrbit clrbit value or variable Resets the discrete output specified by value or variable. Refer to the hardware reference manual for the location of each pin. Range of Value 1 to 16 None Run, Command rem Reset discrete output 5 clrbit 5 A = 10 rem Reset discrete output 10 clrbit A setbit setbit value or variable Sets the discrete output specified by value or variable. Refer to hardware reference manual for the location of each pin. Range of Value 1 16 None Run, Command setbit 5 A = 12 setbit A

33 keypad keypad variable Read the state of the keypad and places it in variable. Range of Variable 0 to 5 none Run, Command keypad A display display value display string display string, value Displays the specified value or string to the serial port. Range of Value to string, value Run, Command A = 123 display A =, A

34 input input variable Receives numeric data from the serial port and places it in variable. Range of Variable to ? Run, Command input A rem A numeric value should be sent to the controller through the serial port print print value print string print string, value Prints the specified value or string to the serial port. Range of Value to string, value Run, Command A = 123 print A =, A

35 in in variable Reads a word from the input ports and places it in variable. Refer to the hardware reference manual for the location of each pin. Range of Value 0 to 256 None Run, Command in A out out value out variable Writes the value or variable to the output ports. Refer to the hardware reference manual for the location of each pin. Range of Value 0 to 256 None Run, Command A = 10 out A

36 rquadx rquadx variable Places the value of X-axis quadrature input in variable. If no variable is specified the controller sends the value to the serial port. The optional quadrature decoder card is required. Range of Value through The value if no argument is specified. Run, Command rquadx A print "value of X-axis quadrature input =, A

37 rstsx rstsx variable Places the values of X-axis modes and inputs in variable. Bit 0 is 1 if in MOVE mode else 0 Bit 1 is 0 if Positive Limit Switch is hit else 1 Bit 2 is 0 if Negative Limit Switch is hit else 1 Bit 3 is 0 if Home Limit Switch is hit else 1 Bit 4 is spare Bit 5 is spare Bit 6 is spare Bit 7 is spare Bit 8 is 1 if Joystick Lower Left Key Is Pressed. Bit 9 is 1 if Joystick Middle Right Key Is Pressed. Bit 10 is 1 if Joystick Upper Right Key Is Pressed. Bit 11 is 1 if Joystick Lower Right Key Is Pressed. Bit 12 is spare. Bit 13 is spare. Bit 14 is spare. Bit 15 is spare. Bit 16 - bit 23 = X-axis analog value. Bit 24 - bit 31 = Spare Range of Value to The value if no argument is specified. Run, Command rstsx A print "Value of X-axis status =, A

38 rx rx Reports the value of X-axis step counter prefixed by X. The value of X-axis step counter prefixed by X. Run, Command sposx rx rem Controller will return X sposx rx rem Controller will return X-98765

39 cont cont Continues the execution of the program after a pause command is received. None Run rem Halt program execution. The controller may be interrogated after receiving the pause. pause rem Continue the program execution. cont pause pause Pauses program execution until CONT is received. PAUSE is useful in debugging. Using PAUSE, the execution of the program may be halted and the controller can be interrogated. Range of Value None Pausing...Type CONT. Run if A = B then pause

40 end end Ends program execution, and returns to command level. Ending Run rem Assign a value to A A = 1 rem Print the value stored in A print A rem End program execution end

41 gosub gosub line Branches to subroutine starting at line number specified by line. None Run gosub 100 rem other commands end 100 rem commands return return return Ends a subroutine and causes execution to resume at the statement after the line that called the subroutine. None Run gosub 100 rem other commands end 100 rem Subroutine starts here return

42 goto goto line Transfers program execution to line number specified by line. None Run goto 100 rem other commands end 100 rem commands return

43 if then if {relational expression} then instruction If relational expression is true execute instruction. Error Message If then is missing, Expected: then Run if A<> B then print A<>B if then else if {relational expression} then instruction1 else instruction2 If relational expression is true execute instruction1, otherwise execute instruction2. Error Message If then is missing, Expected: then Run if A<> B then print A<>B else print A=B

44 ifbit then ifbit value then instruction If the bit specified by value or variable is high then execute instruction. Refer to the hardware reference manual for the location of each pin. Range of Value 1 to 16 None Run A = 10 ifbit A then goto 100 ifbit then else ifbit value then instruction1 else instruction2 If the bit specified by value or variable is high then execute instruction1, otherwise execute instruction2. Refer to the hardware reference manual for the location of each pin. Range of Value 1 to 16 None Run A = 10 ifbit A then goto 100 else goto 200

45 ifnotbit then ifnotbit value then instruction If the bit specified by value or variable is low then execute instruction. Refer to the hardware reference manual for the location of each pin. Range of Value 1 to 16 None Run A = 10 ifnotbit A then goto 100 ifnotbit then else ifnotbit value then instruction1 else instruction2 If the bit specified by value or variable is low then execute instruction1, otherwise execute instruction2. Refer to the hardware reference manual for the location of each pin. Range of Value 1 to 16 None Run A = 10 ifnotbit A then goto 100 else goto 200

46 rem rem Designates a comment line. None Run rem This is a comment line. wait wait value wait variable Waits for value or variable number of milliseconds. Range of Value None Run rem Wait for 10 msecs wait 10 rem Wait for 200 msecs A = 200 wait A

47 downlaod download Signals the controller to receive the BASIC code. The mode is terminated upon receiving a dollar sign $. Downloading from PC to Controller (After completion of downloading) End of downloading Command rem Signal the controller to receive the BASIC code. The code should be terminated by a dollar sign $. download list list Sends the current program from the controller to the serial port. Listing Command list new new Purges the controller s memory. Purging the memory Command new

48 rom rom Used for updating the controller's firmware code. Range of Value None ROMing Command run run Runs the program. Running Command run

49 variables The controller recognizes twenty two 32-bit variables, A through V. These variables may be used to receive, store and process numeric values. The range of the variables is from through W, X, Y, and Z store the value of step counters. These values are read only and may not be written to. logical and mathematical operations The following operation may be performed on any two values or variables. + Addition / Division < Less Than <= Less Than or Equal & Logical AND Logical OR # Logical XOR % Modulo > More Than >= More Than or Equal * Multiplication <> Not Equal ~ Logical One s Complement () Parentheses - Subtraction rand rand variable Places a 32-bit random value in the variable. Range of Value None Run, Command rem a random value will be placed in B rand B print B

50 s Most of the following examples are based on x-axis-absolute-move. Please study it first. clrbit-setbit gosub-return if-then-else ifbit-then-else ifnotbit-then-else in-out input joff-jon line-circle msgoff-msgon operations variables x-axis-absolute-move x-axis-homing x-axis-jogging x-axis-moff-mon x-axis-relative-move x-axis-rquadx x-axis-rstsx x-axis-sposx x-axis-stop This program makes the X-motor to move back and forth, at the end of each move output 1 is toggled. Demonstrating the usage of a subroutine. Demonstrating the conditional execution of a program based on a logical statement. Demonstrating the conditional execution of a program based on the value of a discrete input. Demonstrating the conditional execution of a program based on the value of a discrete input. Demonstrating reading and writing from / to the discrete inputs / outputs. Demonstrating receiving numerical values from the serial port. Demonstrating how to enable and disable the joystick. Illustrating the coordinated move, lines and arcs. Illustrating how to turn on and off the feedback messages. Illustrating logical and mathematical operations. Demonstration of usage of variables. Moving the X-motor relative to the reference point. Commanding the X-motor to find the home switch. Commanding the X-motor to jog. Turning X-motor driver on or off. Moving the X-motor relative to its last point. Using the quadrature-x decoder for position verification. Demonstrating the usage of the status of the X-motor. Demonstrating how to set the X-motor position to a value Demonstrating how to stop the X-motor

51 rem Moving the X-motor relative to the reference point rem This program makes the x-motor to move back and forth rem Commands demonstrated; velx, accx, posx, movax, rem, wait, goto rem Set the velocity velx 2000 rem Set the acceleration accx rem Set the position to move to posx 5000 rem Start the absolute move movax rem Wait until the move is completed donex? rem Wait for 250 msec wait 250 rem Set the position to move to posx 0 rem Start the absolute move movax rem Wait until the move is completed donex? rem Wait for 250 msec wait 250 rem Start all over again goto 200 end $

52 rem Commanding the X-motor to find the home switch rem This program makes the X-motor to find the home position rem Commands demonstrated; velx, accx, homex, donex?, end rem Set the velocity velx rem Set the acceleration accx rem Start homing homex rem Wait until the move is completed donex? end $

53 rem Commanding the X-motor to jog rem This program makes the X-motor to jog rem Commands demonstrated; velx, accx, jogx, end rem Set the velocity velx 8000 rem Set the acceleration accx rem Start jogging jogx end $

54 rem Moving the X-motor relative to its last point rem This program makes the X-motor to move back and forth rem Commands demonstrated; velx, accx, posx, movrx, rem, wait, goto rem Set the velocity velx 2000 rem Set the acceleration accx rem Set the position to move to posx 5000 rem Start the relative move movrx rem Wait until the move is completed donex? rem Wait for 250 msec wait 250 rem Move again goto 200 end $

55 rem Demonstrating how to stop the X-motor rem This program makes the X-motor to jog rem Commands demonstrated; velx, accx, jogx, stopx, end rem Set the velocity velx 8000 rem Set the acceleration accx rem Start jogging jogx 100 rem Wait until the trip point if X < then goto 100 stopx end $

56 rem Setting the minimum velocity of the X-motor rem This program makes the X-motor to move back and forth rem Commands demonstrated; velx, velmnx, accx, posx, movax, rem, wait, goto rem Set the velocity velmnx 10 velx 2000 rem Set the acceleration accx rem Set the position to move to posx 5000 rem Start the absolute move movax rem Wait until the move is completed donex? rem Wait for 250 msec wait 250 rx rem Set the position to move to posx 0 rem Start the absolute move movax rem Wait until the move is completed donex? rem Wait for 250 msec wait 250 rx rem Start all over again goto 200 end $

57 rem Illustrating the usage of the X-motor step counter rem This program makes the X-motor to jog rem Commands demonstrated; velx, accx, jogx, stopx, eposx rem Set the velocity velx 8000 rem Set the acceleration accx rem Start jogging jogx 100 rem Wait until the trip point if X < then goto 100 stopx eposx end $

58 rem Demonstrating how to enable and disable the joystick rem This program makes the X-motor to move back and forth rem Commands demonstrated; velx, accx, posx, movax, rem, wait, goto, joff, jon, pause, cont rem Set the velocity velx 2000 rem Set the acceleration accx rem Set the position to move to posx 5000 rem Start the absolute move movax rem Wait until the move is completed donex? rem Wait for 250 msec wait 250 rem Activate the joystick jon rem PAUSE until CONT is received pause rem Disable the joystick joff rem Set the position to move to posx 0 rem Start the absolute move movax rem Wait until the move is completed donex? rem Wait for 250 msec wait 250 rem Start all over again goto 200 end $

59 rem Turning X-motor driver on or off rem This program makes the X-motor to move back and forth rem Commands demonstrated; velx, accx, posx, movax, rem, wait, goto, moffx, monx rem Set the velocity velx 2000 rem Set the acceleration accx rem Set the position to move to posx 5000 rem Start the absolute move movax rem Wait until the move is completed donex? rem Wait for 250 msec wait 250 moffx pause monx rem Set the position to move to posx 0 rem Start the absolute move movax rem Wait until the move is completed donex? rem Wait for 250 msec wait 250 moffx pause monx rem Start all over again goto 200 end $

60 rem Illustrating how to turn on and off the feedback messages rem This program makes the X-motor to move back and forth rem Commands demonstrated; velx, accx, posx, movax, rem, wait, goto. msgon, msgoff rem Set the velocity velx 2000 rem Set the acceleration accx rem Turn off the feedback messages sent from the controller msgoff 200 rem Set the position to move to posx 5000 rem Start the absolute move movax rem Wait until the move is completed donex? rem Wait for 250 msec wait 250 rem Turn on the feedback messages sent from the controller msgon rem Set the position to move to posx 0 rem Start the absolute move movax rem Wait until the move is completed donex? rem Wait for 250 msec wait 250 rem Start all over again goto 200 end $

61 rem Demonstrating how to set the X-motor position to a value rem This program makes the X-motor to move back and forth rem Commands demonstrated; velx, accx, posx, movax, rem, wait, goto, sposx rem Set the velocity velx 2000 rem Set the acceleration accx rem Set the current position sposx rem Set the position to move to posx 5000 rem Start the absolute move movax rem Wait until the move is completed donex? rem Wait for 250 msec wait 250 rem Set the position to move to posx 1000 rem Start the absolute move movax rem Wait until the move is completed donex? rem Wait for 250 msec wait 250 rem Start all over again goto 200 end $

62 rem Using quadrature-x decoder rem This program makes the X-motor to move back and forth rem Commands demonstrated; velx, accx, posx, movax, rem, wait, goto, rquadx rem The X-motor quadrature encoder should be connected to the quadrature encoder of rem input of the controller. Please consult the Hardware Reference Manual. rem Set the velocity velx 2000 rem Set the acceleration accx rem Set quadrature decoder to 0 squadx rem Set the position to move to posx 5000 rem Start the absolute move movax rem Wait until the move is completed donex? rem Wait for 250 msec wait 250 rem Read quadrature decoder-x rquadx A print "Quad-X = ", A rem Set the position to move to posx 0 rem Start the absolute move movax rem Wait until the move is completed donex? rem Wait for 250 msec wait 250 rem Read quadrature decoder-x rquadx A print "Quad-X = ", A rem Start all over again goto 200 end $

63 rem This program makes the X-motor to move back and forth, at the end of each move output 1 is toggled. rem Commands demonstrated; velx, accx, posx, movax, rem, wait, goto, setbit, clrbit rem Set the velocity velx 2000 rem Set the acceleration accx clrbit rem Set the position to move to posx 5000 rem Start the absolute move movax rem Wait until the move is completed donex? setbit 1 rem Wait for 250 msec wait 250 rem Set the position to move to posx 0 rem Start the absolute move movax rem Wait until the move is completed donex? rem Wait for 250 msec wait 250 clrbit 1 rem Start all over again goto 200 end $

64 rem Demonstrating receiving numerical values from the keypad keypad A display "You entered ", A end $

65 rem Demonstrating reading and writing from / to the discrete inputs / outputs rem This program reads a value from discrete input ports and writes it to the discrete rem output port. 100 in A out A goto 100 end $

66 rem Demonstrating the usage of the status of the X-motor rem This program makes the X-motor to move back and forth rem Commands demonstrated; velx, accx, posx, movax, rem, wait, goto, rstsx, rx rem Set the velocity velx 2000 rem Set the acceleration accx rem Set the position to move to posx 5000 rem Start the absolute move movax rem Wait until the move is completed 100 rx wait 250 rstsx A if (A & 1) = 1 then goto 100 rx rem Wait for 250 msec wait 250 rem Set the position to move to posx 0 rem Start the absolute move movax rem Wait until the move is completed 150 rx wait 250 rstsx A if (A & 1) = 1 then goto 150 rx rem Wait for 250 msec wait 250 rem Start all over again goto 200 end $

67 rem This program makes the X-motor to move back and forth rem Commands demonstrated; velx, accx, posx, movax, rem, wait, goto, gosub, return rem Set the velocity velx 2000 rem Set the acceleration accx gosub 300 rem Start all over again goto rem Set the position to move to posx 5000 rem Start the absolute move movax rem Wait until the move is completed donex? rem Wait for 250 msec wait 250 rem Set the position to move to posx 0 rem Start the absolute move movax rem Wait until the move is completed donex? rem Wait for 250 msec wait 250 return end $

68 rem Demonstrating the conditional execution of a program based on a logical statement rem This program makes the X-motor to move back and forth rem Commands demonstrated; velx, accx, posx, movax, rem, wait, goto. if...then...else rem Set the velocity velx 2000 rem Set the acceleration accx I = I + 1 rem Set the position to move to posx 5000 rem Start the absolute move movax rem Wait until the move is completed donex? rem Wait for 250 msec wait 250 rem Set the position to move to posx 0 rem Start the absolute move movax rem Wait until the move is completed donex? rem Wait for 250 msec wait 250 rem Start all over again if I < 5 then goto 200 else end end $

69 rem Demonstrating the conditional execution of a program based on the value of a discrete input rem This program makes the X-motor to move back and forth rem Commands demonstrated; velx, accx, posx, movax, rem, wait, goto, ifbit...then...else rem Set the velocity velx 2000 rem Set the acceleration accx rem Set the position to move to posx 5000 rem Start the absolute move movax rem Wait until the move is completed donex? rem Wait for 250 msec wait 250 rem Set the position to move to posx 0 rem Start the absolute move movax rem Wait until the move is completed donex? rem Wait for 250 msec wait 250 rem Start all over again ifbit 1 then goto 200 else end end $

70 rem Demonstrating the conditional execution of a program based on the value of a discrete input rem This program makes the X-motor to move back and forth rem Commands demonstrated; velx, accx, posx, movax, rem, wait, goto, ifnotbit...then...else rem Set the velocity velx 2000 rem Set the acceleration accx rem Set the position to move to posx 5000 rem Start the absolute move movax rem Wait until the move is completed donex? rem Wait for 250 msec wait 250 rem Set the position to move to posx 0 rem Start the absolute move movax rem Wait until the move is completed donex? rem Wait for 250 msec wait 250 rem Start all over again ifnotbit 1 then goto 200 else end end $

71 rem Demonstration of usage of variables rem This program makes the X-motor to move back and forth rem Commands demonstrated; velx, accx, posx, movax, rem, wait, goto A = 2000 B = C = 5000 T = 250 rem Set the velocity velx A rem Set the acceleration accx B 200 rem Set the position to move to posx C rem Start the absolute move movax rem Wait until the move is completed donex? rem Wait for T msec wait T print "X = ", X rem Set the position to move to posx 0 rem Start the absolute move movax rem Wait until the move is completed donex? rem Wait for T msec wait T print "X = ", X rem Start all over again goto 200 end $

72 rem Illustrating logical and mathematical operations 100 print "Testing addition / subtraction operation..." rem generate a 32-bit number rand A rand B C = A + B D = C - A if D <> B then print "...Addition / subtraction test failed." print "Testing multiplication / division operation..." rand E rand F E = E & F = F & REM to make sure that divider is not zero F = F + 1 G = E * F H = G / F if H <> E then print "...multiplication / division test failed." if H <> E then end print "Testing modulos operation..." rand E rand F E = E & F = F & REM to make sure that divider is not zero F = F + 1 if E >= F then H = E / F else H = F / E if E >= F then I = E % F else I = F % E if E <= F then if (( E * H ) + I) <> F then print "...modulos operation failed." if E <= F then if (( E * H ) + I) <> F then end wait U print "Testing logical operation..." rand G rand H G = G * H H = G # -1 I = G H if I <> -1 then print "...logical OR operation failed." if I <> -1 then end I = G & H if I <> 0 then print "...logical AND operation failed." if I <> 0 then end I = G # -1 if I <> H then print "...logical XOR operation failed." if I <> H then end I = ~G if I + G <> -1 then print "...logical unary operation failed." if I + G <> -1 then end goto 100 end $

73 rem Illustrating the coordinated move, lines and arcs vaccel vvel rem arc 1st_axis_end, 2nd_axis_end, 1st_axis_center, 2nd_axis_center, direction rem line 1st_axis_end, 2nd_axis_end A = B = C = 0 D = 0 E = 1 F = 7071 G = 7071 SPOSX 0 SPOSY 0 line F, G done? wait 5 rx ry arc A, B, C, D, E done? wait 5 rx ry line 0, 0 done? wait 5 rx ry end $

Allegra Series Reference Manual. Programmable Motion Control System

Allegra Series Reference Manual. Programmable Motion Control System Allegra Series Reference Manual Programmable Motion Control System The Allegra series of motion controllers are stand-alone or host controlled, easy-to-use, plug-and-play and cost effective solutions for

More information

Keypad Lay-out. Copyright 2008 Optimal Engineering Systems, Inc

Keypad Lay-out. Copyright 2008 Optimal Engineering Systems, Inc Keypad Lay-out - 1 - Setting Acceleration Pressing the for each motor. key allows the user to enter the acceleration values 1) Press. 2) The controller displays Select Axis:1 thru 3. 3) Press 1 for X axis,

More information

Command Interface. Introduction

Command Interface. Introduction Command Interface Introduction The Command Interface is a specification for a new way to communicate with Agile Systems servo controllers. The specification opens up the communication protocol so packets

More information

NMC Simple Sequencer Stand-alone Controller

NMC Simple Sequencer Stand-alone Controller 1.0 Overview NMC Simple Sequencer Stand-alone Controller ---Preliminary 4/99--- The Simple Sequencer is a programmable, stand-alone controller for NMC control modules including the PIC-SERVO, PIC-SERVO/SS-Drive

More information

USB Indexer USB Indexer for CNC Controls

USB Indexer USB Indexer for CNC Controls USB Indexer USB Indexer for CNC Controls 2009-2011 Calmotion LLC, All rights reserved Calmotion LLC 9909 Topanga Canyon Blvd. #322 Chatsworth, CA 91311 www.calmotion.com -1 2009-2011Calmotion LLC, All

More information

Table of Contents. PREFACE... vii CONVENTIONS... vii HOW TO USE THIS MANUAL... vii Further Information...viii

Table of Contents. PREFACE... vii CONVENTIONS... vii HOW TO USE THIS MANUAL... vii Further Information...viii Table of Contents PREFACE... vii CONVENTIONS... vii HOW TO USE THIS MANUAL... vii Further Information...viii USING BASIC-52... 1 BASIC-52 PINOUT AND FEATURES... 1 8052AH and 80C52 DIFFERENCES... 1 DEFINITION

More information

NMC Simple Sequencer S ta nd-alone Controller

NMC Simple Sequencer S ta nd-alone Controller 1.0 Overview NMC Simple Sequencer S ta nd-alone Controller The Simple Sequencer is a programmable, stand-alone controller for NMC control modules including the PIC-SERVO, PIC-STEP and the PIC-I/O. Sequences

More information

QSB Command List. Document Version /15/2017

QSB Command List. Document Version /15/2017 QSB Command List Document Version 1.25 8/15/2017 1 of 17 Terms and Conditions of License for use of gratuitous software Thank you for purchasing US Digital products. By downloading or using US Digital

More information

Arduino Uno. Power & Interface. Arduino Part 1. Introductory Medical Device Prototyping. Digital I/O Pins. Reset Button. USB Interface.

Arduino Uno. Power & Interface. Arduino Part 1. Introductory Medical Device Prototyping. Digital I/O Pins. Reset Button. USB Interface. Introductory Medical Device Prototyping Arduino Part 1, http://saliterman.umn.edu/ Department of Biomedical Engineering, University of Minnesota Arduino Uno Power & Interface Reset Button USB Interface

More information

MULTI-AXIS MOTION CONTROLLER SPECIFICATIONS AND MOTION CONTROL OUTLINE NYDEN CORPORATION A

MULTI-AXIS MOTION CONTROLLER SPECIFICATIONS AND MOTION CONTROL OUTLINE NYDEN CORPORATION A MAC-300 MULTI-AXIS MOTION CONTROLLER SPECIFICATIONS AND MOTION CONTROL OUTLINE NYDEN CORPORATION A Subsidiary of Mycom Inc. Section 1 Main Features The MAC-300 Controller uses a modular configuration to

More information

PMX Support FAQ There may be a few different causes to this issue. Check each item below:

PMX Support FAQ There may be a few different causes to this issue. Check each item below: PMX Support FAQ USB Support What is the USB communication speed? The time interval between sending and command from a PC and receiving a response is 1-3ms. This applies to most commands. Commands dealing

More information

2G Actuator Communications Protocol Document Rotary & Linear Actuators

2G Actuator Communications Protocol Document Rotary & Linear Actuators 2752 Capitol Drive Suite #103 Sun Prairie, WI 53590 2150080 2G Actuator Packets - Rotary & Linear Revision AI Date 4/25/2018 2G Actuator Communications Protocol Document Rotary & Linear Actuators DOCUMENT

More information

Brushless IDEA Drive

Brushless IDEA Drive Brushless IDEA Drive Communication Manual PBL4850E www.haydonkerk.com All Rights Reserved 3-2015 1 Table of Contents Revision History... 4 Introduction... 5 IDEA Drive Communications Basics... 6 s... 7

More information

PROTEUS SA. Communication and Language Manual

PROTEUS SA. Communication and Language Manual Communication and Language Manual Communication and Language Manual page 1 rev 1.05 COPYRIGHT 2002 ARCUS, ALL RIGHTS RESERVED First edition, Jan 2003 This document is copyrighted by ARCUS TECHNOLOGY. You

More information

INTEGRATED MICROSTEPPING MOTOR DRIVER AND HIGH PERFORMANCE MACHINE/PROCESS CONTROLLER

INTEGRATED MICROSTEPPING MOTOR DRIVER AND HIGH PERFORMANCE MACHINE/PROCESS CONTROLLER Sold by Servo Systems Co. 115 Main Road, P.O. Box 97, Montville, NJ 07045-0097 Toll Free: (800) 922-1103 Phone: (973) 335-1007 Fax: (973) 335-1661 www.servosystems.com INTEGRATED MICROSTEPG MOTOR DRIVER

More information

Basic operators, Arithmetic, Relational, Bitwise, Logical, Assignment, Conditional operators. JAVA Standard Edition

Basic operators, Arithmetic, Relational, Bitwise, Logical, Assignment, Conditional operators. JAVA Standard Edition Basic operators, Arithmetic, Relational, Bitwise, Logical, Assignment, Conditional operators JAVA Standard Edition Java - Basic Operators Java provides a rich set of operators to manipulate variables.

More information

SIN-11-USB USERS GUIDE SIN-11-USB USERS GUIDE

SIN-11-USB USERS GUIDE SIN-11-USB USERS GUIDE SIN-11-USB USERS GUIDE Revision Date: 05/06/2010 A d v a n c e d M i c r o S y s t e m s, I n c. w w w. s t e p c o n t r o l. c o m i Overview... 3 Getting Started... 4 Hardware... 6 Demo Power-up...

More information

IDEA TM PROGRAMMABLE STEPPER MOTOR DRIVE MANUALS CONTENTS: HARDWARE MANUAL COMMUNICATIONS MANUAL SOFTWARE MANUAL

IDEA TM PROGRAMMABLE STEPPER MOTOR DRIVE MANUALS CONTENTS: HARDWARE MANUAL COMMUNICATIONS MANUAL SOFTWARE MANUAL IDEA TM PROGRAMMABLE STEPPER MOTOR DRIVE MANUALS CONTENTS: HARDWARE MANUAL COMMUNICATIONS MANUAL SOFTWARE MANUAL IDEA Drive Hardware Manual www.haydonkerk.com All Rights Reserved 4 2013 1 Table of Contents

More information

SMAC Control Center Training v1.2. The Ability to do Work & Verify it s Accuracy at the Same Time

SMAC Control Center Training v1.2. The Ability to do Work & Verify it s Accuracy at the Same Time SMAC Control Center Training v1.2 Main functions Easy creation of macros Download programs in controller Run macros Download existing configuration in controller Logging and charting Tuning of position

More information

reprogrammable in BASIC

reprogrammable in BASIC Data Sheet Tinaxis+ Tinaxis+ DC400 INTELLIGENT DC motor control electronic Programmed and reprogrammable reprogrammable in BASIC 3 2 Jumpers RS485 - (B) RS485 + (A) GND RS485 (COM2) I/O Incremental Encoder

More information

Model 5100/5200 Quick Reference Register Guide

Model 5100/5200 Quick Reference Register Guide Model 5100/5200 The information in this document is current as of the following Hardware and Firmware revision levels. Some features may not be supported in earlier revisions. See for the availability

More information

MDrive Plus Stepper motors with integrated electronics. MDrive 34ac Plus Step / direction input

MDrive Plus Stepper motors with integrated electronics. MDrive 34ac Plus Step / direction input MDrive Plus Stepper motors with integrated electronics MDrive 34ac Plus Step / direction input 2 Specifi cations MDrive Plus Step / direction input Plus specifications MDrive 14 MDrive 17 MDrive 23 (1)

More information

Ludl Electronic Products MAC 5000 User's Manual

Ludl Electronic Products MAC 5000 User's Manual Ludl Electronic Products MAC 5000 User's Manual Page 1 of 158 Ludl Electronic Products MAC 5000 User's Manual HIGH LEVEL 5 1. INTRODUCTION: 8 1.1. BASIC RULES: 8 1.2. REPLY: 9 1.3. POSITIVE REPLY FORMATS:

More information

The SilverNugget is a servo controller/driver for NEMA 17 & 23 frame microstep motors.

The SilverNugget is a servo controller/driver for NEMA 17 & 23 frame microstep motors. Date: 5 November 2008 www.quicksilvercontrols.com SilverNugget N2 I-Grade The SilverNugget is a servo controller/driver for NEMA 17 & 23 frame microstep motors. Property of Page 1 of 10 This document is

More information

ID8400 Stamper Communications for Firmware Versions 5 and 6

ID8400 Stamper Communications for Firmware Versions 5 and 6 ID8400 Stamper Communications for Firmware Versions 5 and 6 Introduction This document will describe the Extended Protocol Communications as implemented with the ITM8400 marking system software. Extended

More information

December 9, ExROS -- Excitron Robot Operating System

December 9, ExROS -- Excitron Robot Operating System ExROS -- Excitron Robot Operating System December 9, 2014 These notes are additional details about ExROS and general operation of our new X Controllers. Our plan is to merge these notes into the X Controller

More information

IA Super SEL Driver Help Kepware Technologies

IA Super SEL Driver Help Kepware Technologies 2012 Kepware Technologies 2 Table of Contents Table of Contents 2 4 Overview 4 Device Setup 5 Modem Setup 5 Data Types Description 6 Address Descriptions 7 Super SEL Addressing 7 Input Port (Super SEL)

More information

Nubotics Device Interface DLL

Nubotics Device Interface DLL Nubotics Device Interface DLL ver-1.1 Generated by Doxygen 1.5.5 Mon Mar 2 17:01:02 2009 Contents Chapter 1 Module Index 1.1 Modules Here is a list of all modules: Initialization Functions.............................??

More information

EtherNet/IP with Applied Motion Drives

EtherNet/IP with Applied Motion Drives EtherNet/IP with Applied Motion Drives EtherNet/IP with Applied Motion Drives Jeff Kordik CTO Applied Motion Products, Inc. 1 92-5 Rev. B Applied Motion Products Contents Overview of EtherNet/IP...3 EtherNet/IP

More information

How to use Digital key pad (option)

How to use Digital key pad (option) Function of Digital key pad Monitoring of rotation speed (actual speed) and load factor, etc. Display detail of trip, and trip history. Trip reset by pressing and. Parameter setting, initialization, and

More information

LCM-100 LCD Module User s Manual

LCM-100 LCD Module User s Manual LCM-100 LCD Module User s Manual Copyright This document is copyrighted, 2002, by Advantech Co, Ltd All rights are reserved Advantech Co, Ltd reserves the right to make improvements to the products described

More information

Comms. Serial Communication

Comms. Serial Communication Motion Control Products Application note Host comms protocol 2 AN00129-004 Host Comms Protocol (HCP) and Host Comms Protocol 2 (HCP2) provide an efficient way to transfer data bidirectionally between an

More information

Software Manual. Version: H BENCHTOP ROBOT SOFTWARE USER GUIDE Version H

Software Manual. Version: H BENCHTOP ROBOT SOFTWARE USER GUIDE Version H Software Manual Version: H6.1.1.292 BENCHTOP ROBOT SOFTWARE USER GUIDE Version H6.1.1.293 Software Manual Table of Contents SECTION 1: INTRODUCTION... 5 1.1 Introduction...6 1.2 Safety...6 1.3 New Features...6

More information

(Cat. No HS1) System Overview

(Cat. No HS1) System Overview (Cat. No. 1771-HS1) System Overview The Allen-Bradley IMC 121 Servo Control System is high-performance Servo control in a module with a additional programmable analog output. The IMC 121 also uses a high-level

More information

MDrive Hybrid Integrated motion systems with Hybrid Motion Technology. MDrive 23 Hybrid Motion Control

MDrive Hybrid Integrated motion systems with Hybrid Motion Technology. MDrive 23 Hybrid Motion Control MDrive Hybrid Integrated motion systems with Hybrid Motion Technology MDrive 23 Hybrid Description MDrive Hybrid Presentation The MDrive Hybrid is a very compact motion system that solves many servo applications

More information

MDrive Plus Stepper motors with integrated electronics. MDrive 14 Plus Step / direction input

MDrive Plus Stepper motors with integrated electronics. MDrive 14 Plus Step / direction input Stepper motors with integrated electronics MDrive 14 Plus Step / direction input Description Step / direction input Presentation The with step /direction input is a 1.8 2-phase stepper motor with on-board

More information

USER MANUAL MC-5CD. Motion Controller. Manual Revision 1.0

USER MANUAL MC-5CD. Motion Controller.  Manual Revision 1.0 USER MANUAL Motion Controller Manual Revision 1.0 Contents Using this Manual 3 What Your Purchase Includes 3 Introduction to the Motion Controller 4 Getting Started 4 Making Hardware Connections.... 4

More information

GM215 User Manual Rev7-A of 55

GM215 User Manual Rev7-A of 55 GM215 User Manual GM215 User Manual Rev7-A 12102014 2 of 55 The GM215 is a 7A, 80VDC step motor drive with an integrated motion controller. It can be used as a step and direction input motor drive or as

More information

2. (2 pts) If an external clock is used, which pin of the 8051 should it be connected to?

2. (2 pts) If an external clock is used, which pin of the 8051 should it be connected to? ECE3710 Exam 2. Name _ Spring 2013. 5 pages. 102 points, but scored out of 100. You may use any non-living resource to complete this exam. Any hint of cheating will result in a 0. Part 1 Short Answer 1.

More information

Operation / Installation Manual

Operation / Installation Manual Computer Weld Technology, Inc. 10702 Old Bammel N Houston Rd. Houston, TX 77086 Phone: (713) 462-2118 Fax: (713) 462-2503 Email: cwt@cweldtech.com ATC II TM AUTOMATIC TORCH CONTROL Operation / Installation

More information

MDrive Plus Stepper motors with integrated electronics. MDrive 34ac Plus Motion Control fully programmable

MDrive Plus Stepper motors with integrated electronics. MDrive 34ac Plus Motion Control fully programmable MDrive Plus Stepper motors with integrated electronics MDrive 34ac Plus Description MDrive Plus Presentation The MDrive Plus is a 1.8 2-phase stepper motor with on-board fully programmable motion controller,

More information

Compumotor. 6000, 6K & Germini Series (OITware)

Compumotor. 6000, 6K & Germini Series (OITware) ONTROLLER NFORMATION HEET C I S Compumotor 6000, 6K & Germini Series (OITware) Overview Maple Systems OIT Family Operator Interface Terminals (Maple OITs) communicate with Compumotor 6000 and 6K Controllers

More information

Introduction. Following are the types of operators: Unary requires a single operand Binary requires two operands Ternary requires three operands

Introduction. Following are the types of operators: Unary requires a single operand Binary requires two operands Ternary requires three operands Introduction Operators are the symbols which operates on value or a variable. It tells the compiler to perform certain mathematical or logical manipulations. Can be of following categories: Unary requires

More information

PCL602USB. Dual-Axis Programmable Step Motor Controller. User s Guide ANAHEIM AUTOMATION, INC.

PCL602USB. Dual-Axis Programmable Step Motor Controller. User s Guide ANAHEIM AUTOMATION, INC. PCL602USB Dual-Axis Programmable Step Motor Controller User s Guide ANAHEIM AUTOMATION, INC. 4985 E. Landon Drive Anaheim, CA 92807 e-mail: info@anaheimautomation.com (714) 992-6990 fax: (714) 992-0471

More information

Quick Reference Guide

Quick Reference Guide SOFTWARE AND HARDWARE SOLUTIONS FOR THE EMBEDDED WORLD mikroelektronika Development tools - Books - Compilers Quick Reference Quick Reference Guide with EXAMPLES for Basic language This reference guide

More information

Ocean Controls KT-5193 Modbus Programmable Stepper Motor Controller

Ocean Controls KT-5193 Modbus Programmable Stepper Motor Controller Ocean Controls KT-5193 Modbus Programmable Stepper Motor Controller The Ocean Controls Modbus Programmable Stepper Motor Controller is a four axis multifunction programmable stepper motor controller which

More information

Why embedded systems?

Why embedded systems? MSP430 Intro Why embedded systems? Big bang-for-the-buck by adding some intelligence to systems. Embedded Systems are ubiquitous. Embedded Systems more common as prices drop, and power decreases. Which

More information

X-SEL Serial Communication Protocol Specification (Format B)

X-SEL Serial Communication Protocol Specification (Format B) X-SEL Serial Communication Protocol Specification (Format B) [Applicable Models] X-SEL-J/K Main Application V0.99 X-SEL-JX/KX Main Application V0.42 TT Main Application V0.18 X-SEL-P/Q Main Application

More information

Fundamental of Programming (C)

Fundamental of Programming (C) Borrowed from lecturer notes by Omid Jafarinezhad Fundamental of Programming (C) Lecturer: Vahid Khodabakhshi Lecture 3 Constants, Variables, Data Types, And Operations Department of Computer Engineering

More information

Easy PLC micro. User Manual WARNING!

Easy PLC micro. User Manual WARNING! Easy PLC micro WARNING! User Manual The Easy PLC has been designed for use in multiple applications. It is practically impossible to test the performance, or assess the suitability of the Easy PLC, in

More information

Fundamental Data Types. CSE 130: Introduction to Programming in C Stony Brook University

Fundamental Data Types. CSE 130: Introduction to Programming in C Stony Brook University Fundamental Data Types CSE 130: Introduction to Programming in C Stony Brook University Program Organization in C The C System C consists of several parts: The C language The preprocessor The compiler

More information

DPD Programmable Driver Pack. User s Guide E. Landon Drive Anaheim, CA

DPD Programmable Driver Pack. User s Guide E. Landon Drive Anaheim, CA DPD75601 Programmable Driver Pack User s Guide A N A H E I M A U T O M A T I O N 4985 E. Landon Drive Anaheim, CA 92807 e-mail: info@anaheimautomation.com (714) 992-6990 fax: (714) 992-0471 website: www.anaheimautomation.com

More information

Controller. Network-Compatible Products, Controller F-9 F-9 SCX11. Overview of Controllers F-10 SCX11 F-12. Network- Compatible Products Overview

Controller. Network-Compatible Products, Controller F-9 F-9 SCX11. Overview of Controllers F-10 SCX11 F-12. Network- Compatible Products Overview -, F-9 - Page of s F-10 F-12 F-9 F-10 of s At Oriental, a device that outputs the pulse signals required to operate a stepper motor or an AC servo motor is called a "controller". These products can perform

More information

F4200N ROBOT OPERATING MANUAL

F4200N ROBOT OPERATING MANUAL F4200N ROBOT OPERATING MANUAL 2012 Fisnar Inc. THIS PAGE INTENTIONALLY LEFT BLANK 2012 Fisnar Inc. Table of Contents TABLE OF CONTENTS SECTION 1: INTRODUCTION... 4 1. SAFETY PRECAUTIONS... 5 2. PACKAGE

More information

Galil Motion Control. DMC - 42x0. Datasheet

Galil Motion Control. DMC - 42x0. Datasheet Galil Motion Control DMC - 42x0 Datasheet Product Description The DMC-42x0 is part of Galil s highest performance, stand- alone motion controller Accellera family. Similar to the rest of Galil s latest

More information

Everything s possible. DriveWare 7. User Guide. Setup Software. Operator s Manual. MNDGDWUG-11

Everything s possible. DriveWare 7. User Guide. Setup Software. Operator s Manual.  MNDGDWUG-11 Everything s possible. DriveWare 7 User Guide Setup Software Operator s Manual www.a-m-c.com MNDGDWUG-11 Preface ADVANCED Motion Controls constantly strives to improve all of its products. We review the

More information

Official UK & Ireland Distributor

Official UK & Ireland Distributor MDrive Plus Product overview MDrive Plus Motion Control products integrate 1.8 2-phase stepper motor, fully programmable motion controller, drive electronics and optional encoder. Products with encoders

More information

TNC-G11 Single Axis Pulse Generator

TNC-G11 Single Axis Pulse Generator TNC-G11 Single Axis Pulse Generator Document: Operation Manual Document #: T11 Document Rev: 2.0 Product: TNC-G11 Single axis pulse generator Product Rev: 1.0 Created: March-2014 Updated: November-2015

More information

MDrive Hybrid Integrated motion systems with Hybrid Motion Technology. MDrive 17 Hybrid Motion Control

MDrive Hybrid Integrated motion systems with Hybrid Motion Technology. MDrive 17 Hybrid Motion Control MDrive Hybrid Integrated motion systems with Hybrid Motion Technology MDrive 17 Hybrid Description MDrive Hybrid Presentation The MDrive Hybrid is a very compact motion system that solves many servo applications

More information

Handy Cricket Programming

Handy Cricket Programming Handy Cricket Programming Reference Overview The Handy Cricket is programmed in a language called Cricket Logo, which is a simplified version of the powerful yet easy-to-learn Logo language. Cricket Logo

More information

AMS COCKPIT USERS GUIDE. AMS Cockpit Version 1.1 USERS GUIDE

AMS COCKPIT USERS GUIDE. AMS Cockpit Version 1.1 USERS GUIDE AMS COCKPIT USERS GUIDE Table of Contents AMS Cockpit Version 1.1 USERS GUIDE Revision Date: 1/15/2010 A d v a n c e d M i c r o S y s t e m s, I n c. w w w. s t e p c o n t r o l. c o m i Table of Contents

More information

Flex Series User Guide

Flex Series User Guide User Programmable Current 4..20mA Digital RS485 Dual & Single Axis Up to 360º 2016 Flex Series User Guide Sensor Installation, Wiring, Flexware App Instructions Page 1 of 33 Page 2 of 33 Table of Contents

More information

U90 Ladder Software Manual. Version 3.50, 6/03

U90 Ladder Software Manual. Version 3.50, 6/03 U90 Ladder Software Manual Version 3.50, 6/03 Table Of Contents Welcome to U90 Ladder... 1 Program Editors... 1 Project Navigation Tree...1 Browse Sequences...1 Printing Documentation...2 Interface Language...

More information

A Issue A Original. Instruction Manual. nxds Serial Comms Interface

A Issue A Original. Instruction Manual. nxds Serial Comms Interface Instruction Manual A735-01-860 Issue A Original nxds Serial Comms Interface Description nxds6i nxds10i nxds15i nxds20i Item Number A735-01-983 A736-01-983 A737-01-983 A738-01-983 nxds6ic nxds10ic nxds15ic

More information

QUICK START GUIDE MODEL DXA/DXI 100/200 DIGITAL ACCELEROMETER & INCLINOMETER JEWELL INSTRUMENTS, LLC. 850 Perimeter Road Manchester, NH 03103

QUICK START GUIDE MODEL DXA/DXI 100/200 DIGITAL ACCELEROMETER & INCLINOMETER JEWELL INSTRUMENTS, LLC. 850 Perimeter Road Manchester, NH 03103 QUICK START GUIDE MODEL DXA/DXI 100/200 DIGITAL ACCELEROMETER & INCLINOMETER JEWELL INSTRUMENTS, LLC 850 Perimeter Road Manchester, NH 03103 PHONE: (800) 227-5955 E-MAIL: sales@jewellinstruments.com DXA-DXI

More information

AFRecorder 4800R Serial Port Programming Interface Description For Software Version 9.5 (Last Revision )

AFRecorder 4800R Serial Port Programming Interface Description For Software Version 9.5 (Last Revision ) AFRecorder 4800R Serial Port Programming Interface Description For Software Version 9.5 (Last Revision 8-27-08) Changes from Version 9.2 1. The communication baud rate is raised to 9600. 2. Testing with

More information

The Arithmetic Operators. Unary Operators. Relational Operators. Examples of use of ++ and

The Arithmetic Operators. Unary Operators. Relational Operators. Examples of use of ++ and The Arithmetic Operators The arithmetic operators refer to the standard mathematical operators: addition, subtraction, multiplication, division and modulus. Op. Use Description + x + y adds x and y x y

More information

3. HARDWARE ARCHITECTURE

3. HARDWARE ARCHITECTURE 3. HARDWARE ARCHITECTURE The architecture of the Recognition Accelerator consists of two main parts: a dedicated classifier engine and a general-purpose 16-bit microcontroller. The classifier implements

More information

The Arithmetic Operators

The Arithmetic Operators The Arithmetic Operators The arithmetic operators refer to the standard mathematical operators: addition, subtraction, multiplication, division and modulus. Examples: Op. Use Description + x + y adds x

More information

ECGR 4101/5101, Fall 2011: Lab 4 A pseudo physics simulator with remote communication.

ECGR 4101/5101, Fall 2011: Lab 4 A pseudo physics simulator with remote communication. Learning Objectives: ECGR 4101/5101, Fall 2011: Lab 4 A pseudo physics simulator with remote communication. This lab will test your ability to apply the knowledge you have obtained from the last three

More information

Troubleshooting. When a problem occurs in your system, use the following strategy to isolate and identify the problem:

Troubleshooting. When a problem occurs in your system, use the following strategy to isolate and identify the problem: OEM770X 7 Troubleshooting C H A P T E R 7 Troubleshooting When a problem occurs in your system, use the following strategy to isolate and identify the problem: Check Light Emitting Diodes (LEDs) and the

More information

Motion Controller. MXC Series Multi-Axis Motion Controller Compact Motion Controller with up to 6 Axes of Control

Motion Controller. MXC Series Multi-Axis Motion Controller Compact Motion Controller with up to 6 Axes of Control MXC Series Multi-Axis Motion Controller Compact Motion Controller with up to 6 Axes of Control Allied Motion s MXC motion controller is a very compact, multi-axis servo and/or step motor motion controller,

More information

MDrive Plus. MDI 23 programmable Motion Control REACH IP65. Product overview. General features

MDrive Plus. MDI 23 programmable Motion Control REACH IP65. Product overview. General features REACH IP65 Product overview Motion Control products integrate 1.8 2-phase stepper motor, fully programmable motion controller, drive electronics and optional encoder. Products with encoders include stall

More information

THE INTELLIGENT MESSAGE DISPLAY SERIES MODELS ADI & MDI INSTRUCTION MANUAL

THE INTELLIGENT MESSAGE DISPLAY SERIES MODELS ADI & MDI INSTRUCTION MANUAL THE INTELLIGENT MESSAGE DISPLAY SERIES MODELS ADI & MDI INSTRUCTION MANUAL INTRODUCTION The Alphanumeric Display Intelligent unit (ADI) and Message Display Intelligent unit (MDI) are programmable displays

More information

MDrive Plus Stepper motors with integrated electronics. MDrive 34 Plus Motion Control fully programmable

MDrive Plus Stepper motors with integrated electronics. MDrive 34 Plus Motion Control fully programmable MDrive Plus Stepper motors with integrated electronics MDrive 34 Plus Description MDrive Plus Presentation The MDrive Plus is a 1.8 2-phase stepper motor with on-board fully programmable motion controller,

More information

Chapter. Getting Started, Basics. and Examples. In This Chapter...

Chapter. Getting Started, Basics. and Examples. In This Chapter... Getting Started, Basics and Examples Chapter 2 In This Chapter... Overview... 2-2 Basic Motion Functions, Summary of Examples... 2-2 Detailed Example: Configure and Test a Quadrature Input... 2-7 Detailed

More information

Programmable stepper motor control board (2 axis)

Programmable stepper motor control board (2 axis) Data pack B Issued March 2002 232-3692 Programmable motor control board (2 axis) Control board RS stock no. 440-098 Control software RS stock no. 440-105 General (RS stock no. 440-098) This board is designed

More information

Doug Fleenor Design, Inc. RS-232 to DMX512 Interface, 2 Generation. March 8, 2010 (Software V1.2)

Doug Fleenor Design, Inc. RS-232 to DMX512 Interface, 2 Generation. March 8, 2010 (Software V1.2) Doug Fleenor Design, Inc. nd RS-232 to DMX512 Interface, 2 Generation March 8, 2010 (Software V1.2) The second generation RS-232 to DMX512 interface has numerous features beyond the original device. The

More information

User Manual. User Program(GUI) Function

User Manual. User Program(GUI) Function User Manual User Program(GUI) Function - Table of Contents - 1. Installation and Connection of the Program... 4 1.1 Installation Environment of PC... 4 1.2 User Program(GUI) Installation Method... 4 1.3

More information

Microcomputer Architecture and Programming

Microcomputer Architecture and Programming IUST-EE (Chapter 1) Microcomputer Architecture and Programming 1 Outline Basic Blocks of Microcomputer Typical Microcomputer Architecture The Single-Chip Microprocessor Microprocessor vs. Microcontroller

More information

PCL601USB. Programmable Step Motor Controller. User s Guide ANAHEIM AUTOMATION, INC.

PCL601USB. Programmable Step Motor Controller. User s Guide ANAHEIM AUTOMATION, INC. PCL601USB Programmable Step Motor Controller User s Guide ANAHEIM AUTOMATION, INC. 4985 E Landon Drive, Anaheim, CA 92807 e-mail: info@anaheimautomation.com (714) 992-6990 fax: (714) 992-0471 website:

More information

SAINT2. System Analysis Interface Tool 2. Emulation User Guide. Version 2.5. May 27, Copyright Delphi Automotive Systems Corporation 2009, 2010

SAINT2. System Analysis Interface Tool 2. Emulation User Guide. Version 2.5. May 27, Copyright Delphi Automotive Systems Corporation 2009, 2010 SAINT2 System Analysis Interface Tool 2 Emulation User Guide Version 2.5 May 27, 2010 Copyright Delphi Automotive Systems Corporation 2009, 2010 Maintained by: SAINT2 Team Delphi www.saint2support.com

More information

Controller and Drivers

Controller and Drivers Controller and Drivers All ADC's slits can be operated with almost all commercially available controller drivers on the market. We use standard NEMA stepper motors for each axis. Our customers have also

More information

200D BENCHTOP ROBOT OPERATION MANUAL

200D BENCHTOP ROBOT OPERATION MANUAL Operation Manual 200D BENCHTOP ROBOT OPERATION MANUAL Table of Contents SECTION 1: INTRODUCTION...5 1. SAFETY PRECAUTIONS...6 2. PACKAGE CONTENTS...7 3. CONNECTOR AND SWITCH LOCATIONS...8 3.1 200D...8

More information

ETM MD100 Drive System 1/2HP (370W) User Manual. Table of Contents. Drive Features

ETM MD100 Drive System 1/2HP (370W) User Manual. Table of Contents. Drive Features Table of Contents Drive Features... 1 Drive Specifications... 2 Certifications... 3 Installation - Drive Dimensions... 3 Motor Dimensions (mm)... 4 Drive Mounting... 4 Wiring... 5 I/O Terminals... 9 Menu...

More information

Lecture 3: Modeling in VHDL. EE 3610 Digital Systems

Lecture 3: Modeling in VHDL. EE 3610 Digital Systems EE 3610: Digital Systems 1 Lecture 3: Modeling in VHDL VHDL: Overview 2 VHDL VHSIC Hardware Description Language VHSIC=Very High Speed Integrated Circuit Programming language for modelling of hardware

More information

PCL601. Programmable Step Motor Controller. User s Guide ANAHEIM AUTOMATION, INC.

PCL601. Programmable Step Motor Controller. User s Guide ANAHEIM AUTOMATION, INC. PCL601 Programmable Step Motor Controller User s Guide ANAHEIM AUTOMATION, INC. 4985 E Landon Drive, Anaheim, CA 92807 e-mail: info@anaheimautomation.com (714) 992-6990 fax: (714) 992-0471 website: www.anaheimautomation.com

More information

MODEL 8220 NETWORK DATA COLLECTION MODULE

MODEL 8220 NETWORK DATA COLLECTION MODULE PROCON MODEL 8220 NETWORK DATA COLLECTION MODULE 12/15/02 Rev 01 - - ii PROCON MODEL 8220 TABLE OF CONTENTS DESCRIPTION... 1 LED INDICATORS... 3 INPUTS... 4 COMMUNICATIONS... 5 READ COMMAND... 8 WRITE

More information

PC to Sky Tracker Communication

PC to Sky Tracker Communication PC to Sky Tracker Communication Version 4.0 Jan 30, 2010 The Sky Tracker system allows the user to slew an alt-azimuth telescope to the selected object and to track on that object. The system consists

More information

InfoTag KE28xx Communications for 186 CPU Firmware Version 4

InfoTag KE28xx Communications for 186 CPU Firmware Version 4 InfoTag KE28xx Communications for 186 CPU Firmware Version 4 *KE28xx models include: KE2800, KE2852, KE2853, KE2856 This document applies to printer firmware versions 4.x only. Note that changes made to

More information

Ready-Set-Go (RSG) Controller: Getting Starter

Ready-Set-Go (RSG) Controller: Getting Starter Ready-Set-Go (RSG) Controller: Getting Starter 1. SETTING UP HYPERTERMINAL FOR THE RSG CONTROLLER 2 1.1 Hardware Setup 2 1.2 Software Setup: Configuring Hyperterminal 2 1.3 Troubleshooting the Installation

More information

PRELIMINARY APPLE BASIC USERS MANUAL OCTOBER Apple Computer Company. 770 Welch Rd., Palo Alto, CA (415)

PRELIMINARY APPLE BASIC USERS MANUAL OCTOBER Apple Computer Company. 770 Welch Rd., Palo Alto, CA (415) PRELIMINARY APPLE BASIC USERS MANUAL OCTOBER 1976 Apple Computer Company. 770 Welch Rd., Palo Alto, CA 94304 (415) 326-4248 This is a PRELIMINARY manual. It will, most likley, contain errors, incorrect

More information

Multi-Tasking IN THIS CHAPTER

Multi-Tasking IN THIS CHAPTER CHAPTER SEVEN Multi-Tasking IN THIS CHAPTER Introduction to Multi-Tasking...0 Using K While Multi-Tasking... Multi-Tasking Performance Issues... Multi-Tasking Application Examples...9 Introduction to Multi-Tasking

More information

AN100 v1.4. EtherCAT network synchronization. Distributed clocks

AN100 v1.4. EtherCAT network synchronization. Distributed clocks AN100 v1.4 EtherCAT network synchronization Many EtherCAT systems benefit greatly from a tight synchronization of devices running on the network. Synchronization is particularly important when drives are

More information

MDrive Plus Stepper motors with integrated electronics. MDrive 14 Plus Motion Control fully programmable

MDrive Plus Stepper motors with integrated electronics. MDrive 14 Plus Motion Control fully programmable MDrive Plus Stepper motors with integrated electronics MDrive 14 Plus Description MDrive Plus Presentation The MDrive Plus is a 1.8 2-phase stepper motor with on-board fully programmable motion controller,

More information

Path Objects. Introduction. Methods. Data Types. Create, Delete, Validate Methods. Configuration and Information Methods. Relational Methods

Path Objects. Introduction. Methods. Data Types. Create, Delete, Validate Methods. Configuration and Information Methods. Relational Methods Path Objects Path Objects Introduction A Path object manages coordinated multi-axis motion profiles. It is used when the motion profiles in an N-Dimensional space are required to follow a specific coordinated

More information

ESE 150 Lab 07: Digital Logic

ESE 150 Lab 07: Digital Logic LAB 07 In this lab we will do the following: 1. Investigate basic logic operations (AND, OR, INV, XOR) 2. Implement an ADDER on an FPGA 3. Implement a simple Finite- State Machine on an FPGA Background:

More information

PCM-14 Slip Compensation Controller Operator s Manual

PCM-14 Slip Compensation Controller Operator s Manual PCM-14 Slip Compensation Controller Operator s Manual P/N 400285-00 Rev.: A2 Date: Sept. 1, 1995 PCM-14 Slip Compensation Controller Operator s Manual Information furnished by EMERSON EMC is believed

More information

BLDR-5010A Driver Specifications:

BLDR-5010A Driver Specifications: BLDR-5010A Driver Specifications: 1. Voltage: 24 50VDC (absolute value 20 60VDC) 2. Max. Rated current: 10A 3. Max. peak current: 30A 4. Closed loop speed control with encoder and hall sensor feedback

More information

Levante Sistemas de Automatización y Control S.L.

Levante Sistemas de Automatización y Control S.L. Catálogos Levante Sistemas de Automatización y Control S.L. LSA Control S.L. Camí del Port 143 46470 Catarroja (Valencia) Telf. (+34) 960 62 43 01 comercial@lsa-control.com www.lsa-control.com www.boschrexroth.es

More information