Newport SMC100CC Manual

Newport SMC100CC Manual

Single-axis motion controller/driver for dc or stepper motor
Hide thumbs Also See for SMC100CC:
Table of Contents

Advertisement

SMC100CC & SMC100PP
Single-Axis Motion Controller/Driver
for DC or Stepper Motor
LabVIEW Drivers
For Motion, Think Newport
For Motion, Think Newport
Manual
V2.0.x

Advertisement

Table of Contents
loading

Summary of Contents for Newport SMC100CC

  • Page 1 SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor LabVIEW Drivers Manual V2.0.x ™ ™ For Motion, Think Newport For Motion, Think Newport...
  • Page 2 Customer shall protect the Newport Programs and Related Materials as trade secrets of Newport, and shall devote its best efforts to ensure that all its personnel protect the Newport Programs as trade secrets of Newport Corporation. Customer shall not at any...
  • Page 3: Table Of Contents

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor Table of Contents Preface ..........................ii 1.0 SMC100 Drivers ................... 1 2.0 VIs Description ..................... 4 Serial Communication ......................4 2.1.1 Port Init.vi ......................4 2.1.2 Read Write.vi.......................4 2.1.3 Close.vi ........................5 2.1.4 Get driver version.vi....................5...
  • Page 4 SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor 2.2.28 Get jerk time.vi ....................18 2.2.29 Set jerk time.vi....................18 2.2.30 Get KD.vi......................18 2.2.31 Set KD.vi ......................19 2.2.32 Get KI.vi ......................19 2.2.33 Set KI.vi......................19 2.2.34 Get KP.vi ......................20 2.2.35 Set KP.vi ......................20 2.2.36...
  • Page 5 SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor 2.3.12 Get KD.vi......................37 2.3.13 Set KD.vi ......................38 2.3.14 Get KI.vi ......................38 2.3.15 Set KI.vi......................38 2.3.16 Get KP.vi ......................39 2.3.17 Set KP.vi ......................39 2.3.18 Get negative position limit.vi................39 2.3.19 Set negative position limit.vi ................40 2.3.20...
  • Page 6 SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor Service Form ......................55 EDH0209En2020 – 04/13...
  • Page 7: Smc100 Drivers

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor SMC100 LabVIEW Drivers SMC100 Drivers The driver SMC100 Controller has been developed under LabVIEW 2010. NOTE You must use at least the version 2010 of LabVIEW. Copy the directory SMC100 Controller_Drivers under the directory user.lib of LabVIEW 2010.
  • Page 8 SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor This directory contains documentation, menu to access the different VIs and controls defined to use the SMC100, and the different libraries where the VIs are stored: Serial Communication: VIs to open and close the communication and to write and read on the serial port.
  • Page 9 SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor status The status Boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error dis- played.
  • Page 10: Vis Description

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor VIs Description Serial Communication 2.1.1 Port Init.vi This VI initializes RS-232 communication. Serial Port # COM1 = 1, COM2 = 2, etc. The following parameters are fixed: Baud Rate = 57600; Data Bits = 8; Parity = None; Stop Bits = 1;...
  • Page 11: Close.vi

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor 2.1.3 Close.vi This VI closes the opened serial port of communication. Connector Panel 2.1.4 Get driver version.vi This VI returns the SMC100 LabVIEW driver version. Connector Panel Controls and Indicators...
  • Page 12: Enter/Leave Configuration State.vi

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor 2.2.1 Enter/Leave Configuration state.vi This Configuration VI has two states that it can be in: NOT REFERENCE state and CONFIGURATION state. When the switch on the VI is in the ON position (True state), the controller changes from NOT REFERENCE to CONFIGURATION state.
  • Page 13: Set Acceleration.vi

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor 2.2.3 Set acceleration.vi When the controller is in Configuration state, this VI sets the maximum acceleration value for the positioner. This is the maximum acceleration that will be applied to the mechanical system.
  • Page 14: Set Backlash Compensation.vi

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor 2.2.5 Set backlash compensation.vi To disable this feature, set the backlash value to 0. This VI sets the distance the controller will have to compensate each time the positioner is asked to change direction of motion.
  • Page 15: Set Base Velocity.vi

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor 2.2.7 Set base velocity.vi This VI sets the profiler generator base velocity. 0 ≤ base velocity ≤ value fixed by VA command, see "set velocity" VI (SMC command = VB).
  • Page 16: Set Controller's Axis Number.vi

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor 2.2.9 Set controller's axis number.vi This VI sets the controller's axis number. The controller will use this axis number only when it will be configured in RS485 mode. In RS232C mode, the controller will only respond to command related to axis 1.
  • Page 17: Set Control Loop State.vi

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor 2.2.11 Set control loop state.vi 1 makes the controller to change the control loop from OPEN to CLOSED state. 0 makes the controller to change the control loop from CLOSED to OPEN state.
  • Page 18: Set Cut Off Frequency.vi

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor 2.2.13 Set cut off frequency.vi When the controller is in CONFIGURATION state, this VI sets the low pass filter cut off frequency value. That is the value that will be used as the setup value for the low pass filter cut off frequency.
  • Page 19: Get Encoder Increment.vi

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor 2.2.16 Get encoder increment.vi This VI returns the programmed encoder increment value. Connector Panel Controls and Indicators Axis in Axis out Encoder increment value (units) 2.2.17 Set encoder increment.vi This VI sets the value in units for one encoder count.
  • Page 20: Set Following Error Limit.vi

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor 2.2.19 Set following error limit.vi When controller is in CONFIGURATION state, this VI sets the maximum fol- lowing error value for the positioner. That is the value that will be used as the setup value for the following error.
  • Page 21: Set Friction Compensation.vi

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor 2.2.21 Set friction compensation.vi When controller is in CONFIGURATION state, this command sets the fric- tion compensation value. That is the value that will be used as the setup value for the friction compensation.
  • Page 22: Set Home High Velocity.vi

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor 2.2.23 Set HOME high velocity.vi This VI sets the high velocity that will be used by the motion profiler to move the positioner during the HOME search sequence. Connector Panel...
  • Page 23: Get Home Type.vi

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor 2.2.26 Get HOME type.vi This VI returns the programmed home type: 0: use MZ (Home) switch and encoder Index. 1: use current position as home. 2: use MZ (Home) switch only.
  • Page 24: Get Kd.vi

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor 2.2.28 Get je rk time.vi This VI returns the programmed jerk time value. Connector Panel Controls and Indicators Axis in Axis out Jerk time value (seconds) 2.2.29 Set je rk time.vi...
  • Page 25: Set Kd.vi

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor 2.2.31 Set KD.vi When controller is in CONFIGURATION state, this VI sets the derivative gain of the PID control loop. This is the value that will be used as the setup value for the derivative gain.
  • Page 26: Get Kp.vi

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor 2.2.34 Get KP.vi This VI returns the programmed proportional gain value. Connector Panel Controls and Indicators Axis in Axis out Proportional gain value (volts/unit) 2.2.35 Set KP.vi When controller is in CONFIGURATION state, this VI sets the proportional gain of the PID control loop.
  • Page 27: Set Motor's Peak Current Limit.vi

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor 2.2.37 Set motor's peak current limit.vi This VI sets the maximum current allowed into the motor. If the controller detects a higher current in the motor, it will generate a hardware error and a fault will be reported.
  • Page 28: Get Negative Position Limit.vi

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor 2.2.40 Get motor's rms current average time.vi This VI returns the programmed average period value for the calculation of the rms current. Connector Panel Controls and Indicators Axis in...
  • Page 29: Set Negative Position Limit.vi

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor 2.2.43 Set negative position limit.vi When controller is in CONFIGURATION state, this VI sets the negative soft- ware limit value for the positioner. This is the negative software position limit that will be used to check that the move commands do not exceed the mechanical system travel range.
  • Page 30: Set Positive Position Limit.vi

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor 2.2.45 Set positive position limit.vi When controller is in CONFIGURATION state, this VI sets the positive soft- ware limit value for the positioner. This is the positive software position limit that will be used to check that the move commands do not exceed the mechanical system travel range.
  • Page 31: Set Parameters From Smartstage.vi

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor 2.2.47 Set parameters from SmartStage.vi When the parameter is 3, the controller enables the SmartStage safety fea- ture, at each power-up the controller will check if the connected smart stage is the same as the one recorded in its flash memory.
  • Page 32: Set Stepper Motor Configuration (Full Step).Vi

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor 2.2.49 Set stepper motor configuration (full step).vi Set stepper motor configuration. This VI allows set the motion distance per motor's full step: 1E < full step < 1E (SMC command = FRS).
  • Page 33: Get Velocity.vi

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor 2.2.51 Set stepper motor configuration (micro-step factor).vi Set stepper motor configuration. This VI allows set the micro-step per full step factor: 0 < micro-step factor ≤ 2000 (SMC command = FRM).
  • Page 34: Set Velocity.vi

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor 2.2.53 Set velocity.vi When controller is in CONFIGURATION state, this VI sets the maximum velocity value for the positioner. This is the maximum velocity that will be applied to the mechanical system.
  • Page 35: Set Velocity Feed Forward.vi

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor 2.2.55 Set velocity feed forward.vi When controller is in CONFIGURATION state, this VI sets the velocity feed forward of the PID control loop. This is the value that will be used as the setup value for the velocity feed forward.
  • Page 36: Get Stage Identifier.vi

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor home sequence high velocity home sequence time out motor's peak current limit motor's rms current limit averaging period for the calculation of rms current controller's axis number control loop state...
  • Page 37: Enable/Disable Keypad.vi

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor 2.2.59 Enable/disable keypad.vi 1 makes the controller to enable the keypad. 0 makes the controller to disable the keypad. Connector Panel Controls and Indicators Axis in Set keypad mode:...
  • Page 38: Enter/Leave Disable State.vi

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor 2.3.1 Enter/Leave disable state.vi When the VI switch is in the ON position (True state), the controller changes from READY to DISABLE state. The controller will open the control loop and de-energize the motor.
  • Page 39: Set Acceleration.vi

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor 2.3.3 Set acceleration.vi When the controller is in Configuration state, this VI sets the maximum acceleration value for the positioner. This is the maximum acceleration that will be applied to the mechanical system.
  • Page 40: Set Cut Off Frequency.vi

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor 2.3.5 Set cut off frequency.vi When the controller is in CONFIGURATION state, this VI sets the low pass filter cut off frequency value. That is the value that will be used as the setup value for the low pass filter cut off frequency.
  • Page 41: Set Following Error Limit.vi

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor 2.3.7 Set following error limit.vi When controller is in CONFIGURATION state, this VI sets the maximum fol- lowing error value for the positioner. That is the value that will be used as the setup value for the following error.
  • Page 42: Set Friction Compensation.vi

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor 2.3.9 Set friction compensation.vi When controller is in CONFIGURATION state, this command sets the fric- tion compensation value. That is the value that will be used as the setup value for the friction compensation.
  • Page 43: Set Jerk Time.vi

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor 2.3.11 Set jerk time.vi When controller is in CONFIGURATION state, this VI sets the maximum jerk time value for the positioner. This is the maximum time allowed to reach maximum acceleration that will be applied to the mechanical system.
  • Page 44: Set Kd.vi

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor 2.3.13 Set KD.vi When controller is in CONFIGURATION state, this VI sets the derivative gain of the PID control loop. This is the value that will be used as the setup value for the derivative gain.
  • Page 45: Get Kp.vi

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor 2.3.16 Get KP.vi This VI returns the programmed proportional gain value. Connector Panel Controls and Indicators Axis in Axis out Proportional gain value (volts/unit) 2.3.17 Set KP.vi When controller is in CONFIGURATION state, this VI sets the proportional gain of the PID control loop.
  • Page 46: Set Negative Position Limit.vi

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor 2.3.19 Set negative position limit.vi When controller is in CONFIGURATION state, this VI sets the negative soft- ware limit value for the positioner. This is the negative software position limit that will be used to check that the move commands do not exceed the mechanical system travel range.
  • Page 47: Set Positive Position Limit.vi

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor 2.3.21 Set positive position limit.vi When controller is in CONFIGURATION state, this VI sets the positive soft- ware limit value for the positioner. This is the positive software position limit that will be used to check that the move commands do not exceed the mechanical system travel range.
  • Page 48: Set Velocity.vi

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor 2.3.23 Set velocity.vi When controller is in CONFIGURATION state, this VI sets the maximum velocity value for the positioner. This is the maximum velocity that will be applied to the mechanical system.
  • Page 49: Motion

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor 2.3.25 Set velocity feed forward.vi When controller is in CONFIGURATION state, this VI sets the velocity feed forward of the PID control loop. This is the value that will be used as the setup value for the velocity feed forward.
  • Page 50: Get Absolute Position.vi

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor 2.4.2 Get absolute position.vi This VI returns the target position value. Connector Panel Controls and Indicators Axis in Axis out Target position (units) 2.4.3 Move absolute.vi This VI allows selecting a target position. This command is only accepted in READY state.
  • Page 51: Move Relative.vi

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor 2.4.5 Move relative.vi The move command is only accepted in READY state. If the distance between the software limits and the set point position is higher than the programmed displacement, the controller will move the positioner for the programmed displacement away from the set point position.
  • Page 52: Execute The Move Recorded.vi

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor Axis out Target position value recorded (units) 2.4.8 Execute the move recorded.vi The controller executes the move recorded by the Record a new target position command. Connector Panel 2.4.9 Stop.vi...
  • Page 53: General

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor General 2.5.1 Reset.vi This VI issues a hardware reset to the controller equivalent to a power-up. Connector Panel Controls and Indicators Axis in Axis out EDH0209En2020 – 04/13...
  • Page 54: Tell Controller Status.vi

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor 2.5.2 Tell controller status.vi This VI returns the controller's state and the controller's error. The controller's error is composed of 4 digits (abcd) coded in hexadecimal, each bit of the error byte is described below: ...
  • Page 55: Tell Current Position.vi

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor 2.5.3 Tell current position.vi This VI returns the current position. This is the encoder feedback position. This position will always change. Connector Panel Controls and Indicators Axis in Axis out Current position (units) 2.5.4...
  • Page 56: Tell Last Error.vi

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor 2.5.5 Tell last error.vi This VI returns the currently memorized error:  @: OK.  A: Unknown message code or floating point axis number.  B: Axis number not correct.
  • Page 57: Tell Target Position.vi

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor 2.5.7 Tell target position.vi This VI returns the target position. This is the final position the positioner will reach. Connector Panel Controls and Indicators Axis in Axis out Current position (units) 2.5.8...
  • Page 58: Gpio

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor GPIO 2.6.1 Tell analog input value.vi This VI returns the analog input value in volts. This is the ±10 volts input located on the J1 connector. The converter is a ±7 bits analog to digital converter with ±0.15 volts of maximum offset and 5% full scale linearity.
  • Page 59: Get Ttl Outputs Value.vi

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor 2.6.3 Get TTL outputs value.vi This VI returns the TTL outputs value. Connector Panel Controls and Indicators Axis in Axis out TTL outputs value (decimal) 2.6.4 Set TTL outputs value.vi This command sets the TTL output value.
  • Page 60: Examples

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor Examples 2.7.1 Wait for stop 1 axis.vi This VI allows to wait while a controller is in moving state and then to check if the controller is in ready state.
  • Page 61: Service Form

    SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor Service Form Your Local Representative Tel.: ___________________ Fax: ___________________ Name: __________________________________________________ Return authorization #: _____________________________________ (Please obtain prior to return of item) Company: _______________________________________________ Address:_________________________________________________ Date: ___________________________________________________ Country:_________________________________________________ Phone Number: ___________________________________________ P.O.
  • Page 62 Visit Newport Online at: www.newport.com North America & Asia Europe Newport Corporation MICRO-CONTROLE Spectra-Physics S.A.S 1791 Deere Ave. 9, rue du Bois Sauvage Irvine, CA 92606, USA 91055 Évry CEDEX France Sales Tel.: (800) 222-6440 Sales e-mail: sales@newport.com Tel.: +33 (0)1.60.91.68.68 Technical Support e-mail: france@newport.com...

This manual is also suitable for:

Smc100pp

Table of Contents