Advertisement

Quick Links

VLC-2-EIP
USER MANUAL
Version 1.0

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VLC-2-EIP and is the answer not in the manual?

Questions and answers

Summary of Contents for SMAC VLC-2-EIP

  • Page 1 VLC-2-EIP USER MANUAL Version 1.0...
  • Page 2 The contents of this user manual are intended to be as accurate as possible, but may be subject to change without prior notification. SMAC shall not be liable for any damages that may arise as a consequence of the use of information presented in this user manual.
  • Page 3: Table Of Contents

    VLC configuration ......................17 2.2.2 Modification of IP settings .................... 17 2.2.3 Connecting VLC-2-EIP to an Ethernet/IP network (with a Studio 5000 example) ..18 Programming the VLC-2-EIP ......................22 Servo objects ......................... 22 3.1.1 Acyclic servo objects ...................... 22 3.1.2...
  • Page 4 3.4.12 Stop Motion ........................51 3.4.13 Motor OFF and ON ......................52 Appendix A: VLC System Macros ....................53...
  • Page 5: Introduction

    Ethernet/IP master. Background knowledge on the VLC is required to configure the servo parameters of the VLC-2-EIP. Please refer to the latest VLC-25-07 manual for more information on the servo drive parameters and programming.
  • Page 6 LEDs 1x Power on LED 1x Status LED 2x Fault LEDs Serial Interface RS-232 non-isolated, 9600 baud default, selectable between 2400 - 921600 Supply Voltage +8 To +48 VDC Protections > Reversed power supply polarity connection > Driver overtemperature > I >...
  • Page 7: Hardware And Software Setup

    2.1 Hardware 2.1.1 Power/signal/communication connectors Figure 2.1 shows the VLC-2-EIP, consisting of a mother- and daughter- boards. The motherboard is essentially a VLC-25-07 (2-axis integrated controller/servo drive), whereas the daughterboard contains all the Ethernet/IP-related components. Pinout details of the connectors J1-J8, ETH1-2 and status LEDs in Fig.
  • Page 8 J1 - Power interface 2 pin terminal block header, 5.08 mm pitch. Pin number Signal Description Power supply positive Power supply return / ground J2 – General purpose + dedicated digital opto-isolated I/O D-SUB 15 connector, high-density, male. Pin number Signal Description GPI0...
  • Page 9 J3 – Axis 2 Motor Output 4 pin terminal block header, 5.08 mm pitch. Pin number Signal Description Axis 2 motor phase A/U (positive for single-phase actuators) Axis 2 motor phase B/V (negative for single-phase actuators) Axis 2 motor phase C/W Ground J4 –...
  • Page 10 J5 – Axis 1 Motor Output 4 pin terminal block header, 5.08 mm pitch. Pin number Signal Description Axis 1 motor phase A/U (positive for single-phase actuators) Axis 1 motor phase B/V (negative for single-phase actuators) Axis 1 motor phase C/W Ground J6 –...
  • Page 11 J7 – Incremental encoder interface D-SUB 26 connector, high-density, female. Pin number Signal Description Not connected Not connected Not connected +5V power for external circuitry +5V power for external circuitry Axis 2 encoder phase A- Axis 2 encoder phase A+ Axis 1 encoder phase A- Axis 1 encoder phase A+ Not connected...
  • Page 12 J8 – Expansion I/O RJ-25 socket connector. Pin number Signal Description Receive data- input Transmit data- input Receive data+ input Transmit data+ input CLK+ Clock+ input CLK- Clock- input ETH1 & ETH2 (Ethernet/IP ports) RJ-45 Jack. Signal Description Transmit data + Transmit data - Receive data + Receive data -...
  • Page 13: I/O Electrical Schematics

    2.1.2 I/O electrical schematics Digital inputs Internal to VLC-2-EIP 10KΩ +5 V GPI1 (5 – 24 VDC) To μC 10KΩ GPI2 (5 – 24 VDC) To μC 10KΩ GPI3 (5– 24 VDC) To μC 10KΩ GPI4 (5 – 24 VDC) To μC...
  • Page 14 Home inputs Internal to VLC-2-EIP +5 V +5 V 4.7KΩ To μC 1HOM 4.7KΩ To μC 2HOM Optocouplers Internal to VLC-2-EIP Opto +5 V -couplers STO1 (5 – 30VDC) 2.5 kΩ To μC STO2 To driver (5 – 30VDC) 2.5 kΩ...
  • Page 15: Leds

    STATUS FAULT 2 Figure 2.2. VLC-2-EIP status LED’s. There are 4 LEDs in VLC-2-EIP, namely power, status, axis 1 fault and axis 2 fault. The location of these LEDs can be seen in Figure 2.2. • Power LED turns ON when the specified DC voltage is supplied into the controller •...
  • Page 16: Optional: Disabling The Sto

    STO1 and STO2, and together with connecting the STO_COM with the GND, the power stage is enabled. This is shown in Figure 2.3. When both STO1 and STO2 are energized, the STO_FB output becomes active to indicate the drive is ready to be operated. Figure 2.3. Disabling STO in VLC-2-EIP with the on-board +5V supply.
  • Page 17: Software

    At this point, the VLC can be configured/programmed as it is typically done. 2.2.2 Modification of IP settings Table 2.1 presents the default values of the IP settings of the VLC-2-EIP. These settings can be modified through Ethernet/IP explicit message set attribute service of the standard TCP/IP object (Class 0xF5), instance 1, attribute 5 (Interface Configuration).
  • Page 18: Connecting Vlc-2-Eip To An Ethernet/Ip Network (With A Studio 5000 Example)

    The newly set parameters (IP settings) will be applied after power cycling the VLC-1-EIP. 2.2.3 Connecting VLC-2-EIP to an Ethernet/IP network (with a Studio 5000 example) The VLC-2-EIP is ready to be connected to an Ethernet/IP network, provided the following conditions are met •...
  • Page 19 2.2.3.1 Installation of EDS file the EDS (Electronic Data Sheets) file of the VLC-2-EIP can be obtained from SMAC. In the Studio 5000 environment, create a new project. The EDS file installation steps are as follow (refer to Fig. 2.4): 1.
  • Page 20 2. Search for the device’s name corresponding to the EDS file, as shown below, e.g. ‘VLC-EIP-25’. Double-click on the one corresponding to the VLC-2-EIP. In the ‘New Module’ window, specify a name for the VLC-EIP and the IP address based on the discussion in section 2.2.2 of this...
  • Page 21 3. Select ‘Connection’, the RPI can be set as low as 5 ms and the Connection over Ethernet/IP can be set as Multicast.
  • Page 22: Programming The Vlc-2-Eip

    Programming the VLC-2-EIP 3.1 Servo objects Servo objects are parameters and variables that are used to perform control and monitoring of the VLC-2-EIP. From its update behaviour perspective, there are two servo object types in VLC- 2-EIP: • Acyclic: updated upon request, used for servo configuration purposes.
  • Page 23 Homing speed – axis 2 UINT32 Homing acceleration – axis 2 UINT32 Homing offset – axis 2 INT32 Position error threshold – axis 2 INT32 Homing method – axis 2 UINT16 Homing timeout – axis 2 UINT16 0x6A COMMUTATION PARAMETERS Commutation phase –...
  • Page 24 3.1.1.1 Homing parameters Homing parameters (class ID: 0x69) are specific to the VLC-2-EIP. Prior to the execution of homing through the manipulation of cyclic objects (further description in the following subsection of this manual), the following objects need to be configured for each axis: •...
  • Page 25: Cyclic Servo Objects

    VLC equivalence and therefore, further information about them are to be found from the VLC manual. The OUTPUT object value is applied to the VLC-2-EIP upon a change of its value, rather than continuously being applied. GPR’s 101 – 104 are only meaningful when they are used within custom macros that can be called by the Ethernet/IP master.
  • Page 26 Table 3.3. Statusword bits. Description Initialization done. This will be set to 1 after VLC-2-EIP performs its initialization process upon power-up, indicating that it is ready to be operated. Servo enabled. This will be set to 1 when the servo is enabled by MN command.
  • Page 27 3.1.2.2 Controlword For each axis, the controlword value represents a certain servo function, as described in Table 3.4. Table 3.4. Controlword value. Value (decimal) Description Terminates a macro execution (e.g. phasing/homing/user-defined macro) and turns off servo. Start motion/macro call. Starts the execution of motion based on the selected mode of operation or executes a macro call.
  • Page 28: Executing Motion Through Servo Objects

    Equivalent to QM2 Same as SQ value in Current move/QM2 8 in VLC. QM2 mode. The QI Drives the actuator through a closed loop current command. preload value is set through GPR103 (axis 1) or GPR123 (axis 2). Macro execution** Performs macro execution...
  • Page 29: Vlc-2-Eip Programming Guidelines

    Typically, a PLC program to control a VLC-2-EIP is built up based on the following sequence: • Configuration of acyclic objects. These object values may be obtained from SMAC or from a test that the user performed directly on the VLC (see section 2.2.1) or from a...
  • Page 30: Fault Management

    MOSFETs in the VLC-2-EIP. Any of these faults can be cleared instantly by setting controlword bit 5 to ‘1’, but what is more important, is to identify whether the fault is indicating issues to be concerned of or simply a result of incorrect parameters being assigned.
  • Page 31: Controlling The Vlc-2-Eip With A Plc Using Studio 5000 Software Utilizing Add-On-Instructions

    3.4 Controlling the VLC-2-EIP with a PLC using Studio 5000 software utilizing Add-On-Instructions The Add-On-Instructions (AOI) are made available by SMAC to simplify the control of VLC-EIP in RSLogix/Studio 5000 environment instead of having to manually address the acyclic and cyclic objects described previously.
  • Page 32 The configuration parameters are to be specified in the message configuration window shown below. Furthermore, in the window above, under the ‘Communication’ tab, the path has to be specified according to the name of VLC-2-EIP that has been defined in the Studio 5000 project.
  • Page 33 AOI usage example:...
  • Page 34: Input And Status Display

    3.4.2 Input and status display This AOI displays the cyclic objects of VLC-2-EIP and a selection of statusword bits relevant for in the context of PLC programming. Note that statusword bits that are associated with drive faults are part of the Fault Management AOI. Meanwhile, the digital inputs can be monitored in the Digital I/O AOI.
  • Page 35: Digital I/O

    Digital I/O AOI: input and output parameters Parameter Unit Description VLC_2_EIP_INPUT The input data of the VLC-2-EIP as they appear in the ‘Controller Tags’. Typically under the name of ‘VLC_2_EIP:I’ DIGITAL_OUTPUT_X Where X = 0, 1, 2, 3 ; indicates the state of digital output channel of VLC-2-EIP.
  • Page 36: Fault Management

    3.4.4 Fault management This AOI displays the type of fault that has occurred in the VLC-2-EIP and allows the fault to be cleared. Fault Management AOI: input and output parameters Parameter Unit Description VLC_2_EIP_INPUT The input data of the VLC-2-EIP as they appear in the ‘Controller Tags’.
  • Page 37: Phasing

    Phasing AOI: input and output parameters Parameter Unit Description VLC_2_EIP_INPUT The input data of the VLC-2-EIP as they appear in the ‘Controller Tags’. Typically under the name of ‘VLC_2_EIP:I’ Axis Pointer to servo axis 1 or 2, the value is set accordingly.
  • Page 38 AOI usage example:...
  • Page 39: Homing

    3.4.6 Homing This AOI performs actuator homing. See section 3.1.1.1 for more information about the homing parameters. See section 3.3.5 for descriptions of VLC_EIP_INPUT, VLC_EIP_OUTPUT, Axis, Enable as well as Busy, Successful and Failed indications. The other AOI inputs are explicit message containers for the homing parameters explained in section 3.1.1.1.
  • Page 40 AOI usage example:...
  • Page 41: Position Move

    Position Move AOI: input and output parameters Parameter Unit Description VLC_2_EIP_INPUT The input data of the VLC-2-EIP as they appear in the ‘Controller Tags’. Typically, under the name ‘VLC_2_EIP:I’ Axis Pointer to servo axis 1 or 2, the value is set accordingly.
  • Page 42 AOI usage example: By setting ‘Start_AOI_PP’ bit to 1, the following ladder logic performs a repetitive position moves consisting of a sequence involving 2 axis as defined by AOI’s: PM1_X1, PM1_X2, PM2_X1, PM2_X2...
  • Page 44: Velocity Move

    Velocity Move AOI: input and output parameters Parameter Unit Description VLC_2_EIP_INPUT The input data of the VLC-2-EIP as they appear in the ‘Controller Tags’. Typically, under the name ‘VLC_2_EIP:I’ Axis Pointer to servo axis 1 or 2, the value is set accordingly.
  • Page 45 AOI usage example:...
  • Page 46: Torque Move

    Torque Move AOI: input and output parameters Parameter Unit Description VLC_2_EIP_INPUT The input data of the VLC-2-EIP as they appear in the ‘Controller Tags’. Typically, under the name ‘VLC_2_EIP:I’ Axis Pointer to servo axis 1 or 2, the value is set accordingly.
  • Page 47 AOI usage example:...
  • Page 48: Current Move

    Torque Move AOI: input and output parameters Parameter Unit Description VLC_2_EIP_INPUT The input data of the VLC-2-EIP as they appear in the ‘Controller Tags’. Typically, under the name ‘VLC_2_EIP:I’ Axis Pointer to servo axis 1 or 2, the value is set accordingly.
  • Page 49: Softland

    Softland AOI: input and output parameters Parameter Unit Description VLC_2_EIP_INPUT The input data of the VLC-2-EIP as they appear in the ‘Controller Tags’. Typically, under the name ‘VLC_2_EIP:I’ Axis Pointer to servo axis 1 or 2, the value is set accordingly.
  • Page 50 AOI usage example:...
  • Page 51 Torque Move AOI: input and output parameters Parameter Unit Description VLC_2_EIP_INPUT The input data of the VLC-2-EIP as they appear in the ‘Controller Tags’. Typically, under the name ‘VLC_2_EIP:I’ Axis Pointer to servo axis 1 or 2, the value is set accordingly.
  • Page 52 Motor OFF and ON AOI’s: input and output parameters Parameter Unit Description VLC_2_EIP_INPUT The input data of the VLC-2-EIP as they appear in the ‘Controller Tags’. Typically, under the name ‘VLC_2_EIP:I’ Axis Pointer to servo axis 1 or 2, the value is set accordingly.
  • Page 53 A Appendix A: VLC System Macros ; Initialization MD0,EF,BR921600 ; position move - axis 1 MD120,1PM,MN,MA@292,GO MD122,1PM,MN,MR@292,GO ; position move - axis 2 MD125,2PM,MN,MA@392,GO MD127,2PM,MN,MR@392,GO ; Velocity move - axis 1 MD130,RA292,IG0,1DI0,MJ131,1DI1,AM-1,AR292 MD131,1SV@292,VM,MN,GO ; Velocity move - axis 2 MD140,RA392,IG0,2DI0,MJ141,2DI1,AM-1,AR392 MD141,2SV@392,VM,MN,GO ;...
  • Page 54 ;Axis 2 Homing parameters, R229: velocity, R230: acceleration, R233: homing method, R231: home offset, R232: error, R235: homing status, R234: timeout MD170,AL0,AR235,2SV@229,SA@230,RL1830,AR226,RA232,AM-1,AR223,RA233 MD171,IE0,2DH@231,EP,IE1,2DI1,MJ172,IE2,2DI0,MJ173,IE3,2DI1,MJ174,IE 4,2DI0,MJ174,IE5,2DI1,MJ175,IE6,2DI0,MJ176 MD172,MC177,MC128,MJ180 MD173,MC177,MC129,MJ180 MD174,MC177,2FI,MJ181 MD175,MC177,MC178,2ST,WA50,DI0,MC177,2FI,MJ181 MD176,MC177,MC179,2ST,WA50,DI1,MC177,2FI,MJ181 MD177,2VM,MN,GO,RC MD178,RW746,IB@223,NO,RC,RL1830,AS@226,IG@234,NO,MJ182,RP MD179,RW746,IG@232,NO,RC,RL1830,AS@226,IG@234,NO,MJ182,RP MD180,2ST,DH@231,WS,AL1,AR235,EP MD181,RL656,AN1024,IE0,MJ180,NO,RL1830,AS@226,IG@234,NO,MJ182,RP MD182,2MF,AL2,AR235,EP ;acyclic object list read ;Position loop controller parameter - axis 1 MD300,RW516,TR,RW518,TR,RW520,TR,RW522,TR,RW526,TR,RW536,TR,RB550,TR ,RB552,TR ;Position loop controller parameter - axis 2...
  • Page 55 MD308,TR11,TR12,TR13,TR14,TR15,TR16,TR17,TR18,TR19,TR20,TR21,TR22,TR 23,TR24,TR25,RC ;periodic cyclic objects read MD310,1TP,TF,TS,RW548,TR,2TP,TF,TS,RW756,TR,TR101,TR102,TR121,TR122, BI0,TR,RC ;Axis 1 Phasing system macros (R217: SQ, R218: EC, R314: phasing status) MD400,MC416,AL0,AR314 MD401,1MF,EC0,AL32767,AR302,AL16384,AR304,AM@218,IG0,AD65536,MJ402,R A218,AD65536,AM@304 MD402,AR305,AM9,AD10,AR306,RA305,AM11,AD10,AR307 MD403,SP0,QM0,MN,SQ@217,WA100,MC411,AL1,AR329,MC408 MD404,AL0,AA@304,AR309,SP@309,WA100,MC411,AL3,AR329,MC408,AL1,AR329, MC409 MD405,AL65535,AS@304,AR309,SP@309,WA100,MC411,AL5,AR329,MC408,AL4,AR 329,MC409 MD406,SP@302,WA100,MC411,AL1,AR329,MC408,AL1,AR329,MC410,AL3,AR329,M C408,AL1,AR329,MC409 MD407,AL4,AR329,MC410,AL5,AR329,MC408,AL4,AR329,MC409,MJ415 MD408,RL494,JR@329,AR303,JR4,AR308,JR2,AR328,RC MD409,JR@329,RA308,AS@303,JR3,RA303,AS@328,IG@306,IB@307,MJ412,RC,RC MD410,JR@329,RA302,AA@304,JR3,RA302,AS@304,AR309,SP@309,WA100,MC411, MD411,RL494,AR311,WA10,RL494,AS@311,IE0,NO,RC,RP MD412,RW604,NO,IB0,AA65535,AR310,AR310 MD413,RA218,AD4,AR312,RA310,AM@218,AD65535,AA@312,AR313,DA@313,EC@21 8,SQ0 MD414,AL1,AR314,UM1,MF,EP MD415,AL2,AR314,SQ0,MF,EP MD416,AL2048,WW606,WW608,AL0,AR400,AR401 MD417,GA1,AA@400,AR400,GA2,AA@401,AR401,WA1,RP999...
  • Page 56 MD426,SP@402,WA100,MC431,AL1,AR429,MC428,AL1,AR429,MC430,AL3,AR429,M C428,AL1,AR429,MC429 MD427,AL4,AR429,MC430,AL5,AR429,MC428,AL4,AR429,MC429,MJ435 MD428,RL702,JR@429,AR403,JR4,AR408,JR2,AR428,RC MD429,JR@429,RA408,AS@403,JR3,RA403,AS@428,IG@406,IB@407,MJ432,RC,RC MD430,JR@429,RA402,AA@404,JR3,RA402,AS@404,AR409,SP@409,WA100,MC431, MD431,RL702,AR411,WA10,RL702,AS@411,IE0,NO,RC,RP MD432,RW812,NO,IB0,AA65535,AR410,AR410 MD433,RA228,AD4,AR412,RA410,AM@228,AD65535,AA@412,AR413,DA@413,EC@22 8,SQ0 MD434,AL1,AR334,UM1,MF,EP MD435,AL2,AR334,SQ0,MF,EP MD436,AL2048,WW814,WW816,AL0,AR402,AR403 MD437,GA5,AA@402,AR402,GA6,AA@403,AR403,WA1,RP999 MD438,RA402,AM-1,AD1000,AA2048,WW814 MD439,RA403,AM-1,AD1000,AA2048,WW816,RC...

Table of Contents