Newport SMC100PP, SMC100CC User Manual

Single-Axis Motion Controller/Driver
for DC or Stepper Motor
LabVIEW Driver Manual
in NSTRUCT Environment
Version 1.0.x
For Motion, Think Newport
SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor
EDH0312En1010 – 10/11 ii
Preface
Confidentiality & Proprietary Rights
Reservation of Title
The Newport Programs and all materials furnished or produced in connection with them ("Related Materials") contain trade secrets of Newport and are for use only in the manner expressly permitted. Newport claims and reserves all rights and benefits afforded under law in the Programs provided by Newport Corporation.
Newport shall retain full ownership of Intellectual Property Rights in and to all development, process, align or assembly technologies developed and other derivative work that may be developed by Newport. Customer shall not challenge, or cause any third party to challenge, the rights of Newport.
Preservation of Secrecy and Confidentiality and Restrictions to Access
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 time disclose Newport's trade secrets to any other person, firm, organization, or employee that does not need (consistent with Customer's right of use hereunder) to obtain access to the Newport Programs and Related Materials. These restrictions shall not apply to information (1) generally known to the public or obtainable from public sources; (2) readily apparent from the keyboard operations, visual display, or output reports of the Programs; (3) previously in the possession of Customer or subsequently developed or acquired without reliance on the Newport Programs; or (4) approved by Newport for release without restriction.
©2011 Newport Corporation 1791 Deere Ave. Irvine, CA 92606, USA (949) 863-3144
SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor
iii EDH0312En1010 – 10/11
Table of Contents
Preface ....................................................................................................................................ii
Confidentiality & Proprietary Rights..................................................................ii
1.0 Introduction............................................................................................... 1
1.1 Purpose...........................................................................................................................................1
1.2 Overview........................................................................................................................................1
1.3 LabVIEW project: Communication DLL location......................................................................1
1.4 LabVIEW application (EXE): Communication DLL Distribution............................................1
2.0 Prerequisites.............................................................................................. 2
2.1 Install LabVIEW 2010..................................................................................................................2
2.2 Download and install Newport NSTRUCT .................................................................................2
2.3 Newport NSTRUCT Server..........................................................................................................2
2.4 Connect your Newport instrument ...............................................................................................2
3.0 LabVIEW drivers used in the NSTRUCT environment.......................... 3
3.1 Finding the Newport instrument LabVIEW driver .....................................................................3
3.2 Adding Newport Instrument menu to LabVIEW ........................................................................4
3.3 Menu contents for Newport instrument.......................................................................................5
4.0 LabVIEW Example with SMC100 instrument ........................................ 7
4.1 LabVIEW project creation ............................................................................................................7
4.2 First step: instrument connection..................................................................................................7
4.3 Second step: Invoking an instrument command ..........................................................................8
4.4 Last step: Instrument disconnection ...........................................................................................10
4.5 Functional example .....................................................................................................................11
4.5.1 Project......................................................................................................................11
4.5.2 Diagram...................................................................................................................11
4.5.3 Associated Front Panel...........................................................................................11
5.0 Knowledges from National Instruments ................................................ 12
5.1 Loading .NET Assemblies in LabVIEW ...................................................................................12
5.2 Loading VIs with an Updated Assembly ...................................................................................12
Service Form.................................................................................................... 15
SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor
EDH0312En1010 – 10/11 iv
SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor
EDH0312En1010 – 10/11 1
SMC100
Single-Axis Motion Controller
1.0 Introduction
1.1 Purpose
The purpose of this document is to provide instructions on how to use the SMC100 LabVIEW driver.
This document shows:
How to connect with a selected instrument How to use a function from the Command Interface library How to disconnect the connected instrument.
1.2 Overview
The SMC100 LabVIEW driver allows developing a LabVIEW program for a SMC100 controller in the NSTRUCT environment.
The Newport LabVIEW driver for SMC100 uses the .NET assembly named Newport.SMC100.CommandInterface.DLL.
The current Newport LabVIEW driver structure has been implemented following the National Instruments instructions on “Loading .NET …” as reported in §4.5.1.
The LabVIEW drivers are presents in the “Labview” directory from the selected instrument directory. Its subfolder named “Dll” contains the needed assemblies’ .NET.
1.3 LabVIEW project: Communication DLL location
Refer you to the National Instrument manuals to know how to create a LabVIEW project.
Copy the “Dll” subfolder in the directory of your LabVIEW project. This is required
step to work.
NOTE
The .NET assemblies contained in the “dll” subfolder must be presents in your labVIEW project directory to work.
1.4 LabVIEW application (EXE): Communication DLL Distribution
Refer you to the National Instrument manuals to know how to create an executable from a LabVIEW project.
After the executable building, copy ALL files from “Dll” subfolder to the “data” subfolder of your EXE directory. This is required step to make your EXEs run.
NOTE
The .NET assemblies contained in the “dll” subfolder must be presents in your EXE application directory to work.
SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor
EDH0312En1010 – 10/11 2
2.0 Prerequisites
2.1 Install LabVIEW 2010
The LabVIEW 2010 from National Instruments must be installed on your computer.
2.2 Download and install Newport NSTRUCT
If the Newport NSTRUCT application is not installed on your computer then download it from the Newport web site: http://www.newport.com/NSTRUCT
Alternatively, the software may be downloaded using Menus as follows:
SALES & SUPPORTS > Softwares & Download > NSTRUCT Software & Applets
2.3 Newport NSTRUCT Server
The Newport NSTRUCT server must be running to communicate with your device.
2.4 Connect your Newport instrument
Before to connect your Newport instrument, read the manual to install its communication driver. The best way is to follow this manual to install the communication driver of your Newport instrument.
Loading...
+ 14 hidden pages