ProSoft Technology MVI56E-GSC User Manual

ProSoft Technology MVI56E-GSC User Manual

Compactlogix or micrologix platform enhanced generic ascii serial communication module
Hide thumbs Also See for MVI56E-GSC:
Table of Contents

Advertisement

Quick Links

MVI56E-GSC/GSCXT
CompactLogix or MicroLogix Platform
Enhanced Generic ASCII Serial
Communication Module
April 24, 2017
USER MANUAL

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MVI56E-GSC and is the answer not in the manual?

Questions and answers

Summary of Contents for ProSoft Technology MVI56E-GSC

  • Page 1 MVI56E-GSC/GSCXT CompactLogix or MicroLogix Platform Enhanced Generic ASCII Serial Communication Module April 24, 2017 USER MANUAL...
  • Page 2: Your Feedback Please

    ® ProSoft Technology , is a registered copyright of ProSoft Technology, Inc. All other brand or product names are or may be trademarks of, and are used to identify products and services of, their respective owners. In an effort to conserve paper, ProSoft Technology no longer includes printed manuals with our product shipments.
  • Page 3 Backplane Current Load: 800 mA @ 5 VDC; 3 mA @ 24 VDC  Operating Temperature: 0°C to 60°C (32°F to 140°F) - MVI56E-GSC -25°C to 70°C (-13°F to 158°F) - MVI56E-GSCXT  Storage Temperature: -40°C to 85°C (-40°F to 185°F) ...
  • Page 4 Agency Approvals and Certifications Agency RoHS ATEX CSA CB Safety cULus GOST-R Lloyds...
  • Page 5: Table Of Contents

    MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform Contents Enhanced Generic ASCII Serial Communication Module User Manual Contents Your Feedback Please ........................2 Important Safety Information ....................... 2 Start Here What's New? ......................10 What's Different? ..................... 10 System Requirements ..................... 11 Deployment Checklist ....................
  • Page 6 Hardware Specifications ..................75 General Concepts ....................76 4.2.1 Backplane Data Transfer ..................76 4.2.2 Data Flow between MVI56E-GSC Module and ControlLogix Processor....77 4.2.3 Termination of Received Data ................81 Normal Data Transfer ..................... 85 4.3.1 Block Request from the Processor to the Module ..........85 4.3.2...
  • Page 7 MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform Contents Enhanced Generic ASCII Serial Communication Module User Manual 4.7.1 Opening the Sample Program in RSLogix ............122 4.7.2 Choosing the Controller Type ................125 4.7.3 Select the Slot Number for the Module ..............126 4.7.4...
  • Page 8 MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform Start Here Enhanced Generic ASCII Serial Communication Module User Manual ProSoft Technology, Inc. Page 8 of 140 April 24, 2017...
  • Page 9: Start Here

    Hardware installation and wiring: install the module, and safely connect generic ASCII serial and ControlLogix devices to a power source and to the MVI56E-GSC module’s application port(s) Important: All references to the module pertain to both the MVI56E-GSC and MVI56E-GSCXT unless stated otherwise. ProSoft Technology, Inc.
  • Page 10: What's New

    English messages for status and alarm data, and for processor and network communication status. What's Different? The MVI56E-GSC Generic ASCII Serial Communication module is configured in RSLogix™ 5000 software using the sample ladder or Add-On Instruction (AOI). It also uses ProSoft Discovery Service (PDS), ProSoft Configuration Builder (PCB), as well as all required product documentation.
  • Page 11: System Requirements

    (firmware version 10 or higher) with compatible limited voltage power supply and one free slot in the rack for the MVI56E-GSC module. The module requires 800mA of available 5 VDC and 3 mA of available 24 VDC power. ...
  • Page 12: Deployment Checklist

    ____________ How many words of data do you need to transfer in your application (from ControlLogix to Module / to ControlLogix from Module)? The MVI56E-GSC module can transfer a maximum of 5000 (16-bit) registers to and from the ControlLogix processor. The Sample Ladder transfers 600...
  • Page 13: Package Contents

    Enhanced Generic ASCII Serial Communication Module User Manual Package Contents The following components are included with your MVI56E-GSC module, and are all required for installation and configuration. Important: Before beginning the installation, please verify that all of the following items are present.
  • Page 14: Installing The Module In The Rack

    After you have checked the placement of the jumpers, insert the MVI56E-GSC into the ControlLogix chassis. Use the same technique recommended by Rockwell Automation to remove and install ControlLogix modules.
  • Page 15: Using Prosoft Configuration Builder Software

    ProSoft Configuration Builder. ProSoft Discovery Service shows you all the MVI56E modules available on your local area network. Note: The MVI56E-GSC module receives its protocol and backplane configuration information from the Ladder Logic. Use ProSoft Configuration Builder to configure the module’s Ethernet settings.
  • Page 16: Setting Up The Project

    Start Here MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform User Manual Enhanced Generic ASCII Serial Communication Module 1.8.1 Setting Up the Project To begin, start P (PCB). ONFIGURATION UILDER If you have used other Windows configuration tools before, you will find the screen layout familiar.
  • Page 17 MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform Start Here Enhanced Generic ASCII Serial Communication Module User Manual Your first task is to add the MVI56E-GSC module to the project. Use the mouse to select D in the tree view, and then click the EFAULT ODULE right mouse button to open a shortcut menu.
  • Page 18: Connecting Your Pc To The Module's Ethernet Port

    3 switch between the computer and the module OR reconfigure the router/ layer 3 switch to allow routing of the UDP broadcast messages. In the tree view in ProSoft Configuration Builder, select the MVI56E-GSC module. Page 18 of 140 ProSoft Technology, Inc.
  • Page 19 MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform Start Here Enhanced Generic ASCII Serial Communication Module User Manual Click the right mouse button to open a shortcut menu. On the shortcut menu, choose D IAGNOSTICS In the Diagnostics window, click the S button.
  • Page 20 Start Here MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform User Manual Enhanced Generic ASCII Serial Communication Module In the Connection Setup dialog box, click the B ) button to ROWSE EVICE open the ProSoft Discovery Service. Select the module, then right-click and...
  • Page 21 MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform Start Here Enhanced Generic ASCII Serial Communication Module User Manual Close the ProSoft Discovery Service window. Enter the temporary IP in the Ethernet address field of the Connection Setup dialog box, then click the...
  • Page 22: Setting Up A Permanent Ip Address

    These steps show you how to set a permanent IP address on the module. This example assumes module’s default IP address is 192.168.0.250. Start ProSoft Configuration Builder. Select the MVI56E-GSC icon, and then click the [+] symbol to expand the MVI56E-GSC tree. Select E...
  • Page 23 Enhanced Generic ASCII Serial Communication Module User Manual Click OK to save the updated Ethernet configuration. Next, select the MVI56E-GSC icon, and then click the right mouse button to open a shortcut menu. On the shortcut menu, choose D OWNLOAD FROM...
  • Page 24: April

     The IP addresses and slot numbers of any 1756-ENBT modules in the path  The slot number of the MVI56E-GSC in the destination ControlLogix chassis (the last ENBTx and chassis in the path). Page 24 of 140 ProSoft Technology, Inc.
  • Page 25: April

    Start Here Enhanced Generic ASCII Serial Communication Module User Manual To use CIPconnect, follow these steps. In the tree view in ProSoft Configuration Builder, right-click the MVI56E-GSC icon to open a shortcut menu. On the shortcut menu, choose D IAGNOSTICS In the Diagnostics window, click the S button.
  • Page 26 CIPconnect Path Editor dialog box. The CIPconnect Path Editor allows you to define the path between the PC and the MVI56E-GSC module. The first connection from the PC is always a 1756- ENBT (Ethernet/IP) module. Each row corresponds to a physical rack in the CIP path.
  • Page 27 Start Here Enhanced Generic ASCII Serial Communication Module User Manual  If the MVI56E-GSC module is located in the same rack as the first 1756- ENBT module, select R . 1 and configure the associated parameters.  If the MVI56E-GSC is available in a remote rack (accessible through ControlNet or Ethernet/IP), include all racks (by using the A button).
  • Page 28 Start Here MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform User Manual Enhanced Generic ASCII Serial Communication Module Rack 1 Slot Module Network Address ControlLogix Processor MVI56E-GSC 1756-ENBT IP=192.168.0.100 In the Download window, click CIP P Configure the path as shown in the following illustration, and click CIP P to build the path in text format.
  • Page 29 MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform Start Here Enhanced Generic ASCII Serial Communication Module User Manual Check the new path in the download text box. Click T to verify that the physical path is available. The ONNECTION following message should be displayed upon success.
  • Page 30 User Manual Enhanced Generic ASCII Serial Communication Module Example 2: Remote Rack Application - CIPconnect No Download For this example, the MVI56E-GSC module is located in a remote rack accessible through ControlNet, as shown in the following illustration. 1756-ENBT 1756-CNB...
  • Page 31 MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform Start Here Enhanced Generic ASCII Serial Communication Module User Manual In the Download window, click CIP P Configure the path as shown in the following illustration for this example and click C CIP P to build the path in text format.
  • Page 32 Start Here MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform User Manual Enhanced Generic ASCII Serial Communication Module Check the new path in the download text box. Click T to verify that the physical path is available. The ONNECTION following message should be displayed upon success.
  • Page 33 For information on setting up the ENBT module, see Using CIPconnect ® Connect to the Module (page 24). In the tree view in ProSoft Configuration Builder, right-click the MVI56E-GSC module. From the shortcut menu, choose D...
  • Page 34: Before You Begin

    Note: You can also set the date and time from the module's home page. Important: The Optional Add-On Instruction supports only the two features listed above. You must use the regular MVI56E-GSC Add-On Instruction for all other features including backplane transfer and Modbus data communication.
  • Page 35: Creating A New Rslogix 5000 Project

    MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform Start Here Enhanced Generic ASCII Serial Communication Module User Manual 1.10 Creating a New RSLogix 5000 Project Open the F menu, and then choose N Select your ControlLogix controller model. Select R EVISION Enter a name for your controller, such as My_Controller.
  • Page 36: Creating The Module

    Start Here MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform User Manual Enhanced Generic ASCII Serial Communication Module 1.10.1 Creating the Module Add the MVI56E-GSC module to the project. In the C window, select I/O C ONTROLLER RGANIZATION ONFIGURATION click the right mouse button to open a shortcut menu. On the shortcut menu,...
  • Page 37 Enter a description for the module. Example: Enhanced Generic ASCII Serial Communication Module. Comm Format Select DATA-SINT. Slot Enter the slot number in the rack where the MVI56E-GSC module is located. Input Assembly Instance Input Size Output Assembly Instance Output Size...
  • Page 38: Importing The Ladder Rung

    Start Here MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform User Manual Enhanced Generic ASCII Serial Communication Module 1.10.2 Importing the Ladder Rung In the C window, expand the T folder and ONTROLLER RGANIZATION ASKS subfolder until you reach the M folder.
  • Page 39 MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform Start Here Enhanced Generic ASCII Serial Communication Module User Manual Navigate to the location on your PC where you Before You Begin (page 34) the Add-On Instruction (for example, "My Documents" or "Desktop"). Select the MVI56EGSC_A 1_3.L5X file...
  • Page 40 Start Here MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform User Manual Enhanced Generic ASCII Serial Communication Module When the import is complete, you will see the new Add-On Instruction rung in the ladder. The procedure has also imported new User Defined Data Types, data objects and the Add-On instruction for your project.
  • Page 41 Enter a description for the module. Example: ProSoft Enhanced Generic ASCII Serial Communication Module. Comm Format Select DATA-SINT. Slot Enter the slot number in the rack where the MVI56E-GSC module is located. Input Assembly Instance Input Size Output Assembly Instance...
  • Page 42 Start Here MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform User Manual Enhanced Generic ASCII Serial Communication Module Click OK to confirm. The new module is now visible: Expand the T folder, and then expand the M folder. ASKS On the M...
  • Page 43 MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform Start Here Enhanced Generic ASCII Serial Communication Module User Manual Select the file MVI56EGSC_A 1_3.L5X 10 The following window will be displayed showing the tags to be imported: ProSoft Technology, Inc. Page 43 of 140...
  • Page 44 Start Here MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform User Manual Enhanced Generic ASCII Serial Communication Module 11 Associate the I/O connection variables to the correct module. The default values are Local:1:I and Local:1:O so these require change. Page 44 of 140 ProSoft Technology, Inc.
  • Page 45 MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform Start Here Enhanced Generic ASCII Serial Communication Module User Manual Change the default tag names AOI56GSC and GSC to avoid conflict with existing tags. In this step, you should append a string to the default tag names, such as "_2", as shown in the following illustration.
  • Page 46: Connecting Your Pc To The Controllogix Processor

    Start Here MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform User Manual Enhanced Generic ASCII Serial Communication Module 1.11 Connecting Your PC to the ControlLogix Processor There are several ways to establish communication between your PC and the ControlLogix processor. The following steps show how to establish communication through the serial interface.
  • Page 47: Downloading The Sample Program To The Processor

    MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform Start Here Enhanced Generic ASCII Serial Communication Module User Manual 1.12 Downloading the Sample Program to the Processor Note: The key switch on the front of the ControlLogix processor must be in the REM or PROG position.
  • Page 48 MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform User Manual Enhanced Generic ASCII Serial Communication Module Page 48 of 140 ProSoft Technology, Inc. April 24, 2017...
  • Page 49: Mvi56E-Gsc Configuration

    MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform MVI56E-GSC Configuration Enhanced Generic ASCII Serial Communication Module User Manual MVI56E-GSC Configuration In This Chapter  GSC.UTIL.BackplaneFail ..............50  GSC.CONFIG.PortX (where X = 1 or 2) ..........51  Changing parameters during operation ..........56...
  • Page 50: Gsc.util.backplanefail

    MVI56E-GSC Configuration MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform User Manual Enhanced Generic ASCII Serial Communication Module The GSC.CONFIG.P 1 and GSC.CONFIG.P 2 controller tag arrays contain tags to configure the application serial ports. These sets of controller tags allow you to configure typical serial port parameters, such as baud rate, data bits, and stop bits.
  • Page 51: Gsc.config.portx

    MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform MVI56E-GSC Configuration Enhanced Generic ASCII Serial Communication Module User Manual GSC.CONFIG.PortX All configuration of the two ASCII application serial ports is done using the tags in the two GSC.CONFIG.P X arrays. 2.2.1 Port[x].Enabled 0 = Disable port, 1 = Enable the port.
  • Page 52: Port[X].Type

    MVI56E-GSC Configuration MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform User Manual Enhanced Generic ASCII Serial Communication Module 2.2.2 Port[x].Type 0 through 15 You can use any combination of one or more termination types. When multiple termination types are selected, the module will determine the end of the string to be as soon as any of the selected terminating conditions becomes true.
  • Page 53: Port[X].Baudrate

    MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform MVI56E-GSC Configuration Enhanced Generic ASCII Serial Communication Module User Manual For each termination type, you must also enter values in the following parameter configuration tags. Streaming mode is not recommended for general use, as it creates heavy demands on the ControlLogix processor and requires time-critical programming logic to properly process.
  • Page 54: Port[X].Databits

    MVI56E-GSC Configuration MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform User Manual Enhanced Generic ASCII Serial Communication Module 2.2.5 Port[x].DataBits 5, 6, 7 or 8 This parameter sets the number of data bits for each word used by the protocol. All devices communicating through this port must use the same number of data bits.
  • Page 55: Port[X].Rtermchar

    MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform MVI56E-GSC Configuration Enhanced Generic ASCII Serial Communication Module User Manual 2.2.11 Port[x].RTermChar This array of up to 12 characters specifies the termination characters that define the end of a received message. Each character occupies one position in the array.
  • Page 56: Port[X].Wtimeout

    MVI56E-GSC Configuration MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform User Manual Enhanced Generic ASCII Serial Communication Module 2.2.18 Port[x].WTimeout This parameter specifies the timeout period to transmit a message out the port. A message must be transmitted out the port within the specified timeout period.
  • Page 57: Diagnostics And Troubleshooting

    Status data values are transferred from the module to the processor. Reading Status Data from the Module The MVI56E-GSC module returns three separate status data areas to the ControlLogix processor in each read block. This data is transferred to the ControlLogix processor continuously with each read block.
  • Page 58: The Diagnostics Menu

    Diagnostics and Troubleshooting MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform User Manual Enhanced Generic ASCII Serial Communication Module The Diagnostics Menu The Diagnostics menu, available through the Ethernet configuration port for this module, is arranged as a tree structure, with the Main menu at the top of the tree, and one or more submenus for each menu command.
  • Page 59 MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform Diagnostics and Troubleshooting Enhanced Generic ASCII Serial Communication Module User Manual On the shortcut menu, choose D IAGNOSTICS In the Diagnostics window, click the S button to browse for ONNECTION the module’s IP address.
  • Page 60 Diagnostics and Troubleshooting MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform User Manual Enhanced Generic ASCII Serial Communication Module In the Connection Setup dialog box, click the T button to ONNECTION verify that the module is accessible with the current settings. ®...
  • Page 61: Monitoring Module Information

    (using the grey cable) or directly between your computer and the module (using the red cable). If you are still not able to establish a connection, contact ProSoft Technology for assistance. Monitoring Module Information Use the MODULE menu to view configuration and hardware information for the MVI56E-GSC module’s backplane and Ethernet application port.
  • Page 62: Config

    Module settings in ProSoft Configuration Builder. 3.3.3 NIC Status Use the NIC Status (Network Interface Card) menu to view configuration and status information for the MVI56E-GSC module's Ethernet application port. The information on this menu is useful for troubleshooting Ethernet network connectivity problems.
  • Page 63: Data Analyzer

    MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform Diagnostics and Troubleshooting Enhanced Generic ASCII Serial Communication Module User Manual Data Analyzer The Data Analyzer mode allows you to view all bytes of data transferred on each port. Both the transmitted and received data bytes are displayed. Use of this feature is limited without a thorough understanding of the protocol.
  • Page 64 Diagnostics and Troubleshooting MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform User Manual Enhanced Generic ASCII Serial Communication Module Left-click on the button to setup the Data Analyzer feature as shown. Left-click on the button to start the Data Analyzer feature. The following illustration shows an example of the Data Analyzer output with no traffic being passed on the serial network.
  • Page 65: Stopping The Data Analyzer

    MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform Diagnostics and Troubleshooting Enhanced Generic ASCII Serial Communication Module User Manual The Data Analyzer can display the following special characters. Character Definition Data enclosed in [square brackets] represent data received on the port. < >...
  • Page 66: Data Analyzer Tips

    Diagnostics and Troubleshooting MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform User Manual Enhanced Generic ASCII Serial Communication Module 3.5.3 Data Analyzer Tips For most applications, HEX is the best format to view the data, and this does include ASCII based messages (because some characters will not display in the Diagnostics window in ASCII mode, and, by capturing the data in HEX, you can figure out what the corresponding ASCII characters are supposed to be).
  • Page 67 MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform Diagnostics and Troubleshooting Enhanced Generic ASCII Serial Communication Module User Manual To begin the display of communications data, start the Data Analyzer. When the Data Analyzer is running, you should see something like this.
  • Page 68: Scrolling Led Status Indicators

    Diagnostics and Troubleshooting MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform User Manual Enhanced Generic ASCII Serial Communication Module Scrolling LED Status Indicators The scrolling LED display indicates the module’s operating status as follows: Initialization Messages Message Meaning "Boot" Module is initializing its operating system "Waiting for Processor...
  • Page 69: Ethernet Led Indicators

    Initialization Error Messages During initialization, if the module detects a unrecoverable fault that will prevent communication, an error message will be displayed. If any of these errors persist after repeated reboot attempts, contact ProSoft Technology Technical Support for further assistance. Message Meaning "E003"...
  • Page 70: Non-Scrolling Led Status Indicators

    Diagnostics and Troubleshooting MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform User Manual Enhanced Generic ASCII Serial Communication Module Non-Scrolling LED Status Indicators The non-scrolling LEDs indicate the module’s operating status as follows: LED Label Color Status Indication Red or The module is not receiving adequate power or is not securely Green plugged into the rack.
  • Page 71: Troubleshooting

    This indicates a problem with backplane communications. A problem flashes could exist between the processor and any installed I/O module, not just the MVI56E-GSC. Verify that all modules in the rack are correctly configured in the ladder logic. Module Errors...
  • Page 72 MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform User Manual Enhanced Generic ASCII Serial Communication Module Page 72 of 140 ProSoft Technology, Inc. April 24, 2017...
  • Page 73: Reference

    Rockwell Automation ControlNet™and EtherNet/IP™ networks. The MVI56E-GSC module is a fast and easy way to add two fully configurable serial communication ports to the ControlLogix platform, eliminating the need to use the front port of the processor, or consume valuable processor time sending and receiving serial messages.
  • Page 74: Functional Specifications

    4.1.2 Functional Specifications  The MVI56E-GSC and MVI56E-GSCXT are functionally identical. The MVI56E-GSC is for normal process and control environments. The MVI56E- GSCXT is conformal coated for extra protection in harsh or caustic environments and operates in extreme high or low temperature environments.
  • Page 75: Hardware Specifications

    Backplane Current Load 800 mA @ 5 VDC 3 mA @ 24 VDC Operating Temperature 0°C to 60°C (32°F to 140°F) - MVI56E-GSC -25°C to 70°C (-13°F to 158°F) - MVI56E-GSCXT Storage Temperature -40°C to 85°C (-40°F to 185°F) Shock...
  • Page 76: General Concepts

    This large data area permits fast throughput of data from the processor to the module. The following illustration shows the data transfer method used to move data between the ControlLogix processor, the MVI56E-GSC module and the serial devices. Page 76 of 140 ProSoft Technology, Inc.
  • Page 77: Data Flow Between Mvi56E-Gsc Module And Controllogix Processor

    Processor The following topics describe the flow of data between the two pieces of hardware (ControlLogix processor and MVI56E-GSC module) and other devices attached to the application ports. Each application port on the module is configured independently to interface with serial communication devices. The sections below show the three possible types of communication devices that can be attached to the application ports: write-only, read-only and read-write.
  • Page 78 In this situation, the application port on the MVI56E-GSC module will never have to transmit data. All data received from the barcode reader will be passed from the module to the ControlLogix processor through the module’s input image.
  • Page 79 MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform Reference Enhanced Generic ASCII Serial Communication Module User Manual Read-Only Devices Read-Only devices are those that only receive data from the module. An example of this type of device is a printer. The printer will generate output or be controlled based on the data it receives on its communication port.
  • Page 80 All data received from the terminal keyboard will be routed to the ControlLogix processor through the MVI56E-GSC’s input image. Data to be written to the terminal screen will be sent to the module using the output image. The module will send new data from the output image out the application port to the terminal.
  • Page 81: Termination Of Received Data

    MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform Reference Enhanced Generic ASCII Serial Communication Module User Manual 4.2.3 Termination of Received Data When data is received on either of the application ports, you must define in the configuration when this data will be transferred to the ControlLogix processor.
  • Page 82 Reference MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform User Manual Enhanced Generic ASCII Serial Communication Module Note: For each termination type, you must also enter the corresponding parameters in the following configuration tags: GSC.PortX.RtermCnt GSC.PortX.RtermCnt GSC.PortX.RpacketLen GSC.PortX.Rtimeout GSC.PortX.Rdelay GSC.PortX.WtermCnt GSC.PortX.WtermChar GSC.PortX.WpacketLen GSC.PortX.Wtimeout...
  • Page 83 MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform Reference Enhanced Generic ASCII Serial Communication Module User Manual Message timeout used Intercharacter delay timeout used Packet size limit used ProSoft Technology, Inc. Page 83 of 140 April 24, 2017...
  • Page 84 Reference MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform User Manual Enhanced Generic ASCII Serial Communication Module Termination Mode Selection Chart 0 = No Bits 1 = Bit 0 Set 2 = Bit 1 Set 4 = Bit 2 Set 8 = Bit 3 Set...
  • Page 85: Normal Data Transfer

    MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform Reference Enhanced Generic ASCII Serial Communication Module User Manual Normal Data Transfer Normal data transfer includes the transferring of data received or to be transmitted on the ports and the status data. These data are transferred through read (input image) and write (output image) blocks.
  • Page 86: Read Block

    Reference MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform User Manual Enhanced Generic ASCII Serial Communication Module For devices that do not buffer received data, when interfacing with a modem in command mode, or when simulating keyboard or keypad entry, inter-character delays may be required. In order to pace the characters for the write operation, an inter-character delay value can be sent with each write message.
  • Page 87 MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform Reference Enhanced Generic ASCII Serial Communication Module User Manual Byte Offset Description 228 to 229 Number of blocks transferred from module to processor 230 to 231 Number of blocks transferred from processor to module...
  • Page 88 Reference MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform User Manual Enhanced Generic ASCII Serial Communication Module Port 2 Status Byte Offset Description 456 to 457 Port 2 receive state: -1 = Listening for data 1 = Receiving Port Data 2 = Waiting for Backplane transfer...
  • Page 89 MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform Reference Enhanced Generic ASCII Serial Communication Module User Manual If more than two hundred bytes are present in the buffer to be sent to the controller, the length field will be set to a value of -1 for all Read Blocks transferred, except for the last block.
  • Page 90: Special Function Blocks

    Write Block (output image). The module will request the configuration block by setting the Block Sequence Number in the Read Block (input image) to a value of -1. Refer to the MVI56E-GSC Configuration (page 48) section of this manual for a description of the data objects used with the blocks and the ladder logic required.
  • Page 91 MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform Reference Enhanced Generic ASCII Serial Communication Module User Manual Byte Offset Description 16 to 17 RTS On Delay 18 to 19 RTS Off Delay 20 to 21 Handshaking 22 to 23 Receive Termination Character Count...
  • Page 92: Using The Sample Add-On Instruction

    MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform User Manual Enhanced Generic ASCII Serial Communication Module Using the Sample Add-On Instruction Ladder logic is required to use the MVI56E-GSC module. Tasks that must be handled by the ladder logic are:  Module backplane data transfer ...
  • Page 93: User-Defined Data Types

    MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform Reference Enhanced Generic ASCII Serial Communication Module User Manual 4.5.2 User-Defined Data Types When you import the rung with the Add-On Instruction (AOI), several new User- defined Data Types (UDTs) are created for you. These UDTs form the basis for creating many of the Controller Tags and Tag Arrays used in the sample AOI logic.
  • Page 94 Reference MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform User Manual Enhanced Generic ASCII Serial Communication Module As long as Read, Write, and Parse continue to increment and Err does not change, this indicates normal backplane activity. An occasional backplane error may occur, even in normally functioning systems. So, if the value in the Err counter slowly increases over time, this is generally not a cause for concern.
  • Page 95 MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform Reference Enhanced Generic ASCII Serial Communication Module User Manual GSCDATA This data type is a mid-level data structure that creates Port structures to organize and hold incoming and outgoing string data for both ports. This data type uses one iteration of the GSCPORTDATA (page 98) UDT data structure for each of the two application serial ports.
  • Page 96 GSCPORTSTAT (page 99). GSCETHERNET This data type stores the IP settings of the MVI56E-GSC. GSCETHERNETTYPE This data type allows the MVI56E-GSC Ethernet configuration to be exchanged between the module and processor. Page 96 of 140 ProSoft Technology, Inc.
  • Page 97 MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform Reference Enhanced Generic ASCII Serial Communication Module User Manual GSCMODULEDEF This data type is the top-level data structure that provides overall organization to the rest of the lower-level data structures, tag arrays, and tags.
  • Page 98 Reference MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform User Manual Enhanced Generic ASCII Serial Communication Module GSCPORTCONFIGPARA This low-level data type creates the tags and tag arrays required to organize and hold configuration values for an application serial port. The values entered into these tags will control the setup and operation of the port.
  • Page 99 MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform Reference Enhanced Generic ASCII Serial Communication Module User Manual GSCPORTSTAT This mid-level data structure creates the tags to organize and hold all port status data available from each port of the module. This data structure includes the bit- mapped Error/Configuration Word tags created by the GSCDATA (page 95) UDT.
  • Page 100 Reference MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform User Manual Enhanced Generic ASCII Serial Communication Module GSCSTATUS This upper-mid-level data structure creates the tags and structure needed to display all module status and error information, including general module status, block transfer status, and port status of each port. This higher-level data structure is a combination of new tags and the mid-level structures, GSCBLOCKSTATUS (page 93) and GSCPORTSTAT (page 99).
  • Page 101: Controller Tags

    MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform Reference Enhanced Generic ASCII Serial Communication Module User Manual GSCUTIL This data type creates tags needed for sample ladder logic sequencing and control. You can think of these tags mostly as a 'scratchpad' for the sample logic to keep track of where it is in the processing cycle.
  • Page 102 Reference MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform User Manual Enhanced Generic ASCII Serial Communication Module GSC.CONFIG Array The GSC.CONFIG array is composed of two major sub-arrays, GSC.CONFIG.Port1 and GSC.CONFIG.Port2. Each sub-array contains all the tags necessary to set up and configure the actions of the application serial ports.
  • Page 103 MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform Reference Enhanced Generic ASCII Serial Communication Module User Manual GSC.DATA Array The GSC.DATA array is composed of two major sub-arrays, GSC.DATA.Port1 and GSC.DATA.Port2. Each sub-array contains all the tags necessary to hold incoming and outgoing ASCII string data for the application serial ports. The values in these arrays can be displayed as byte values or ASCII characters.
  • Page 104 Reference MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform User Manual Enhanced Generic ASCII Serial Communication Module The idea is that your application-specific logic will first load the GSC.DATA.PortX.WriteString array with the values or ASCII string character that you wish to have sent. Then, to trigger the transmission, your application-specific logic will load into the GSC.DATA.PortX.WriteLength tag a value equal to the...
  • Page 105 MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform Reference Enhanced Generic ASCII Serial Communication Module User Manual GSC.STATUS Array This tag array holds all the status and error information reported and updated by each input image block. These tags give valuable diagnostic and troubleshooting information and can be used to create application-specific alarm and control logic.
  • Page 106 Reference MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform User Manual Enhanced Generic ASCII Serial Communication Module GSC.CONTROL Array This tag array holds the Boolean tags that allow the ladder logic to request that the module perform a ColdBoot or WarmBoot. When set to a value of 1 by logic, the logic will form a special output data block, which will transfer the reboot request to the module, where it will be executed.
  • Page 107: Add-On-Defined Data Types

    MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform Reference Enhanced Generic ASCII Serial Communication Module User Manual The ladder logic will change and update these tags as it works its way through the ladder process. Your application specific process and control logic can monitor the status or values in these tags as part of you control application;...
  • Page 108 Reference MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform User Manual Enhanced Generic ASCII Serial Communication Module AOI56GSC - Parameters Tab This is the most important of all the tabs. This tab creates the tags and tag arrays needed by the AOI to interface with the rest of the RSLogix 5000 program. It is recommended that you make no changes to the selections and entries on this tab.
  • Page 109 MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform Reference Enhanced Generic ASCII Serial Communication Module User Manual The C tag array is used to receive a copy of the data from the ONNECTION NPUT I/O input image data block and bring that data into the AOI logic for processing.
  • Page 110 Reference MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform User Manual Enhanced Generic ASCII Serial Communication Module AOI56GSC Scan Modes Tab This tab selects the use of available AOI logic options. You will notice the Prescan routine selection is checked. It is recommended that you make no changes to the selections and entries on this tab.
  • Page 111 MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform Reference Enhanced Generic ASCII Serial Communication Module User Manual AOI56GSC Help Tab This tab provides some additional information about the AOI. The information on this tab is limited and not meant to be a full and complete explanation of the AOI and how to use it.
  • Page 112: Using The Optional Add-On Instruction

    Reference MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform User Manual Enhanced Generic ASCII Serial Communication Module Using the Optional Add-On Instruction 4.6.1 Before You Begin  Make sure that you have installed RSLogix 5000 version 16 (or later).  Download the Optional Add-On file MVI56EGSC_Optional_Rung_v1_1.L5X from www.prosoft-technology.com.
  • Page 113: Importing The Optional Add-On Instruction Rung

    MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform Reference Enhanced Generic ASCII Serial Communication Module User Manual 4.6.3 Importing the Optional Add-On Instruction Rung Right-click on an empty rung in the main routine of your existing ladder logic … and choose I MPORT ProSoft Technology, Inc.
  • Page 114 Reference MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform User Manual Enhanced Generic ASCII Serial Communication Module Navigate to the folder where you saved MVI56(E)GSC_Optional_AddOn_Rung_<version #>.L5X and select the file. In the I window, click OK. MPORT ONFIGURATION Page 114 of 140 ProSoft Technology, Inc.
  • Page 115 MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform Reference Enhanced Generic ASCII Serial Communication Module User Manual The Optional Add-On Instruction will be now visible in the ladder logic. Observe that the procedure has also imported data types and controller tags associated to the Optional Add-On Instruction.
  • Page 116 Reference MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform User Manual Enhanced Generic ASCII Serial Communication Module You will notice that new tags have been imported: four MESSAGE tags: MSG, W .MSG, R MSG, and RITE THERNET RITE LOCK LOCK MSG tags.
  • Page 117: Reading Ethernet Settings From The Module

    MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform Reference Enhanced Generic ASCII Serial Communication Module User Manual Select the module to configure the message path. 4.6.4 Reading Ethernet Settings from the Module Expand the MVI56GSCE controller tag and move a value of 1 to...
  • Page 118 Reference MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform User Manual Enhanced Generic ASCII Serial Communication Module The bit will be automatically reset and the current Ethernet settings will be copied to MVI56GSCE controller tag as follows. THERNET To check the status of the message, refer to the R MSG tag.
  • Page 119: Writing The Ethernet Settings To The Module

    MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform Reference Enhanced Generic ASCII Serial Communication Module User Manual 4.6.5 Writing the Ethernet Settings to the Module Expand the MVI56GSCE controller tag. THERNET Set the new Ethernet configuration in MVI56GSCE THERNET ONFIG Move a value of 1 to MVI56GSCE...
  • Page 120: Reading The Clock Value From The Module

    Reference MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform User Manual Enhanced Generic ASCII Serial Communication Module To check the status of the message, refer to the W MSG tag. RITE THERNET 4.6.6 Reading the Clock Value from the Module Expand the MVI56GSCC...
  • Page 121: Writing The Clock Value To The Module

    MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform Reference Enhanced Generic ASCII Serial Communication Module User Manual To check the status of the message, refer to the R MSG tag. LOCK 4.6.7 Writing the Clock Value to the Module Expand the MVI56GSCC controller tag.
  • Page 122: Using The Sample Program - Rslogix 5000 Version 15 And Earlier

    4.7.1 Opening the Sample Program in RSLogix The sample program for your MVI56E-GSC module includes custom tags, data types and ladder logic for data I/O, status and command control. For most applications, you can run the sample program without modification, or, for advanced applications, you can incorporate the sample program into your existing application.
  • Page 123 MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform Reference Enhanced Generic ASCII Serial Communication Module User Manual To determine the firmware version of your processor Important: The RSLinx service must be installed and running on your computer in order for RSLogix to communicate with the processor. Refer to your RSLinx and RSLogix documentation for help configuring and troubleshooting these applications.
  • Page 124 Reference MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform User Manual Enhanced Generic ASCII Serial Communication Module In the Connected To Go Online dialog box, click the G tab. This tab ENERAL shows information about the processor, including the Revision (firmware) version. In the following illustration, the firmware version is 11.32 Select the sample ladder logic file for your firmware version.
  • Page 125: Choosing The Controller Type

    MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform Reference Enhanced Generic ASCII Serial Communication Module User Manual 4.7.2 Choosing the Controller Type The sample application is for a 1756-L63 ControlLogix 5563 Controller. If you are using a different model of the ControlLogix processor, you must configure the sample program to use the correct processor model.
  • Page 126: Select The Slot Number For The Module

    RSLogix will automatically apply the slot number change to all tags, variables and ladder logic rungs that use the MVI56E-GSC slot number for computation. Page 126 of 140 ProSoft Technology, Inc.
  • Page 127: Downloading The Sample Program To The Processor

    MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform Reference Enhanced Generic ASCII Serial Communication Module User Manual 4.7.4 Downloading the Sample Program to the Processor Note: The key switch on the front of the ControlLogix module must be in the REM position.
  • Page 128: Adding The Sample Ladder To An Existing Application

    Enhanced Generic ASCII Serial Communication Module Adding the Sample Ladder to an Existing Application Important: The following steps describe how to install and configure the MVI56E-GSC module with RSLogix 5000 version 15 or older. If you are using RSLogix 5000 version 16, please refer to Sample Add-On Instruction Import Procedure.
  • Page 129 On the Connection tab, set the RPI value for your project. Click OK to confirm. The MVI56E-GSC module is now visible at the I/O Configuration section. To complete the process, perform the following steps in this order: Copy the User-defined Data Types from the sample program.
  • Page 130: Error/Configuration Word

    Invalid Err_ROverflow 4.10 Cable Connections The application ports on the MVI56E-GSC module support RS-232, RS-422, and RS-485 interfaces. Please inspect the module to ensure that the jumpers are set correctly to correspond with the type of interface you are using.
  • Page 131: Ethernet Cable Specifications

    MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform Reference Enhanced Generic ASCII Serial Communication Module User Manual 4.10.1 Ethernet Cable Specifications The recommended cable is Category 5 or better. A Category 5 cable has four twisted pairs of wires, which are color-coded and cannot be swapped. The module uses only two of the four pairs.
  • Page 132: Ethernet Cable Configuration

    Reference MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform User Manual Enhanced Generic ASCII Serial Communication Module 4.10.3 Ethernet Cable Configuration Note: The standard connector view shown is color-coded for a straight-through cable. Crossover cable Straight- through cable RJ-45 PIN RJ-45 PIN...
  • Page 133 MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform Reference Enhanced Generic ASCII Serial Communication Module User Manual RS-232: Modem Connection (Hardware Handshaking Required) This type of connection is required between the module and a modem or other communication device. The "Use CTS Line" parameter for the port configuration should be set to 'Y' for most modem applications.
  • Page 134 Reference MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform User Manual Enhanced Generic ASCII Serial Communication Module RS-232: Null Modem Connection (No Hardware Handshaking) This type of connection can be used to connect the module to a computer or field device communication port.
  • Page 135: Application Port(S)

    MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform Reference Enhanced Generic ASCII Serial Communication Module User Manual 4.10.5 RS-422 The RS-422 interface requires a single four or five wire cable. The Common connection is optional, depending on the RS-422 network devices used. The cable required for this interface is shown below: 4.10.6 RS-485 Application Port(s)
  • Page 136: Db9 To Rj45 Adaptor (Cable 14)

    Reference MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform User Manual Enhanced Generic ASCII Serial Communication Module 4.10.7 DB9 to RJ45 Adaptor (Cable 14) Page 136 of 140 ProSoft Technology, Inc. April 24, 2017...
  • Page 137: Support, Service & Warranty

    Contacting Technical Support ............. 137  LIMITED WARRANTY ................. 138 Contacting Technical Support ProSoft Technology, Inc. is committed to providing the most efficient and effective support possible. Before calling, please gather the following information to assist in expediting this process: Product Version Number...
  • Page 138: Warranty Information

    (location in Sao Paulo) E-mail: brasil@prosoft-technology.com Languages spoken include: Portuguese, English Warranty Information For complete details regarding ProSoft Technology's TERMS & CONDITIONS OF SALE, WARRANTY, SUPPORT, SERVICE, and RETURN MATERIAL AUTHORIZATION INSTRUCTIONS, please see the documents at: www.prosoft-technology.com/legal Documentation is subject to change without notice.
  • Page 139: Index

    MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform Support, Service & Warranty Enhanced Generic ASCII Serial Communication Module User Manual Error/Configuration Word • 106, 130 Ethernet Cable Configuration • 131, 132 Index Ethernet Cable Specifications • 131 Ethernet LED Indicators • 69 Ethernet Performance •...
  • Page 140 Support, Service & Warranty MVI56E-GSC/GSCXT ♦ CompactLogix or MicroLogix Platform User Manual Enhanced Generic ASCII Serial Communication Module RS-232 Application Port(s) • 132 RS-422 • 135 Message timeout used • 83 RS-485 and RS-422 Tip • 135 Monitoring Backplane Information • 62 RS-485 Application Port(s) •...

This manual is also suitable for:

Mvi56e-gscxt

Table of Contents