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.
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...
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 >...
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 -...
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Ω...
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 •...
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.
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).
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.
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 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: •...
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.
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...
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...
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.
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.
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.
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.
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’.
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.
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.
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...
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.
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.
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.
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 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.
Need help?
Do you have a question about the VLC-2-EIP and is the answer not in the manual?
Questions and answers