Download Print this page
Fuji Electric OPC-G1-ETH Instruction Manual
Fuji Electric OPC-G1-ETH Instruction Manual

Fuji Electric OPC-G1-ETH Instruction Manual

Multiprotocol ethernet interface

Advertisement

Quick Links

Multiprotocol Ethernet Interface
Thank you for purchasing the OPC-G1-ETH Multiprotocol Ethernet Interface.
This product is designed to connect the FRENIC-Mega series of inverters to Ethernet
communication networks. Please read this instruction manual thoroughly in order to become
familiar with the proper interface handling, installation and usage procedures.
Improper handling may inhibit correct operation or cause premature interface failure.
Please deliver this instruction manual to the end user of the interface, and retain it in an
accessible location.
For inverter usage instructions, please refer to the applicable FRENIC-Mega inverter instruction
manual.
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
OPC-G1-ETH
Instruction Manual

Advertisement

loading
Need help?

Need help?

Do you have a question about the OPC-G1-ETH and is the answer not in the manual?

Questions and answers

Summary of Contents for Fuji Electric OPC-G1-ETH

  • Page 1 Instruction Manual OPC-G1-ETH Multiprotocol Ethernet Interface Thank you for purchasing the OPC-G1-ETH Multiprotocol Ethernet Interface. • This product is designed to connect the FRENIC-Mega series of inverters to Ethernet communication networks. Please read this instruction manual thoroughly in order to become familiar with the proper interface handling, installation and usage procedures.
  • Page 2 Printed in U.S.A. ©2011 Fuji Electric. All rights reserved Fuji Electric reserves the right to make changes and improvements to its products without providing notice. Notice to Users PRODUCTS ARE NOT AUTHORI ZED FOR USE AS CRITICAL COMPONENTS I N LIFE-SUPPORT DEVICES OR SYSTEMS.
  • Page 3: Safety Precautions

    Preface Thank you for purchasing the OPC-G1-ETH Multiprotocol Ethernet Interface. This instruction manual has been prepared to help you connect your FRENIC-Mega inverter to a variety of Ethernet control networks. This instruction manual does not contain inverter usage instructions. Please refer to this instruction manual in conjunction with the FRENIC-Mega Instruction Manual (INR-SI47-1457-E) in order to become familiar with the proper handling, installation and operation of this product.
  • Page 4: Installation And Wiring

    Installation and wiring • To avoid electrical shock, remove all power from the inverter and wait at least five minutes prior to starting installation. Additionally, confirm that the DC link bus voltage as measured between the P (+) and N (-) terminals is less than 25 VDC. •...
  • Page 5 Maintenance, inspection, and parts replacement • To avoid electrical shock, remove all power from the inverter and wait at least five minutes prior to starting inspection. Additionally, confirm that the DC link bus voltage as measured between the P (+) and N (-) terminals is less than 25 VDC. •...
  • Page 6 − TABLE OF CONTENTS −     PRE-OPERATION INSTRUCTIONS ............. 8     Product Overview ....................8     Unpacking and Product Confirmation ..............9     1.2.1 Shipment Confirmation ....................... 9     1.2.2 Component Overview....................... 10     LED Indicators .......................
  • Page 7     5.5.3 Timeout Configuration ...................... 32     5.5.4 Submitting Changes ......................33     5.5.5 Reinitialize Prompt ......................33     EtherNet/IP Tab ..................... 34     5.6.1 Information Window ......................34     5.6.2 Device Identification ......................34  ...
  • Page 8: Troubleshooting

        8.2.4 ControlLogix Example: I/O Messaging ................66     8.2.5 ControlLogix Example: Generic Default I/O Add-On Instruction ........69     8.2.6 ControlLogix Example: AC/DC Drive Profile Add-On Instruction ........71     8.2.7 Explicit Messaging Tag Reference ................... 73  ...
  • Page 9 USB 2.0 port with mini-B connector provides composite USB device functionality. USB connection allows for product identification and firmware updating. Additionally, the OPC-G1-ETH enumerates as a standard USB mass storage device (“flash drive”) for configuration file copying and web page customization.
  • Page 10 Check the enclosed items. Confirm that the correct quantity of each item was received, and that no damage occurred during shipment. • OPC-G1-ETH interface board (see Figure 1). • Two M3 x 6mm mounting screws (see Figure 2). Figure 2: Qty. 2 M3 x 6mm...
  • Page 11 Port 1 Ethernet jack MAC Address Positioning notch Module Status and Network Status LEDs Standoff mounting hole Figure 3: OPC-G1-ETH Component Overview (Front Side) Inverter control board connector USB port Port 2 Link/Activity and Speed LEDs Port 1 Link/Activity and Speed LEDs...
  • Page 12 Port 1 and Port 2 Ethernet Jacks Either jack can freely be used star topology networks (with external swich). In linear topologies, a series of OPC-G1-ETH cards can be connected together by daisy-chaining one of the ports to the next inverter in line.
  • Page 13 1.3 LED Indicators 1.3.1 Network Status LED • Conforms to the prescribed “network status LED” behavior as dictated in the EtherNet/IP specification, Volume 2, Chapter 9. 1.3.2 Module Status LED • Conforms to the prescribed “module status LED” behavior as dictated in the EtherNet/IP specification, Volume 2, Chapter 9.
  • Page 14 Remove the front cover from the inverter to expose the control printed circuit board (control PCB). As shown in Figure 5, there are three option connection ports (A-port, B-port and C-port). The OPC-G1-ETH card is mechanically keyed for, and can only be installed into, the A-port (bottom- most) position.
  • Page 15 Rest the left-hand side of the interface card on the control PCB’s A-port mounting support. Align the positioning notch on the interface card with the A-port positioning key, and then slide the interface card to the left to engage the key into the notch. Refer to step in Figure 6.
  • Page 16 3 INVERTER FUNCTION CODE SETTINGS Depending on the desired operation of the overall application, the inverter function codes listed in Table 2 are important for proper operation of the end-to-end communication system. Although there may be many other function codes that will require configuration for your specific application, it is important to understand the manner in which the following function codes will impact successful control of the inverter.
  • Page 17 3.2 Inverter Reaction to Network Timeout Conditions Function codes o27 and o28 specify the inverter’s reaction when a network timeout occurs. Table 3 lists the settings for o27 and o28. Table 3: Inverter Reaction to Network Timeout Conditions (Function Codes o27 and o28) o27 Value o28 Value Inverter reaction when a timeout occurs...
  • Page 18 The Fuji Finder setup will install all required files and USB device drivers. Note that the Fuji Finder program should be installed before connecting any OPC-G1-ETH devices to the computer’s USB port, as the program contains product-specific USB drivers that must be installed on the computer prior to initial connection of the target device.
  • Page 19 Select the install folder Select the folder where you want the Fuji Finder to be installed (Figure 9). Figure 9: Installation Folder Selection Screen Confirm and click “Next” to start installation (Figure 10) Figure 10: Installation Confirmation Screen CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net...
  • Page 20 Wait while the configuration utility is being installed (Figure 11) Figure 11: Installation Progress Screen If you are prompted by the operating system during this stage that it can’t verify the publisher of this driver software, choose “Install this driver software anyway”. Installation complete Click “Close“...
  • Page 21 USB driver when an OPC-G1-ETH card is connected via USB. Note that the Fuji Finder application must be installed prior to connecting an OPC-G1-ETH card to the PC: the PC will not be able to automatically install the USB driver until the Fuji Finder installation is complete.
  • Page 22 Select Recommended Install Accept the default action (Figure 14). Figure 14: Select Install Type Screen The Wizard Will Search for the Appropriate Driver (Figure 15) Figure 15: Searching for Driver CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net...
  • Page 23 The device driver has been successfully installed (Figure 16). Click Finish to close the wizard. Figure 16: USB Driver Installation Complete Screen Because the OPC-G1-ETH interface card is a USB composite device (which is to say that it presents multiple virtual representations to the computer), after the vendor-specific USB driver has been installed as detailed above, Windows will then additionally identify the device as a USB mass storage device (also known as a “flash drive”...
  • Page 24 Figure 18. Figure 18: Windows 7 USB Driver Successful Installation Because the OPC-G1-ETH interface card is a USB composite device (which is to say that it presents multiple virtual representations to the computer), after the vendor-specific USB driver has been installed as detailed above, Windows will then additionally identify the device as a USB mass storage device (also known as a “flash drive”...
  • Page 25 4.3 Overview The “Fuji Finder” application is a simple Windows PC program, which when executed discovers all OPC- G1-ETH cards on the current Ethernet subnet, regardless of whether or not their network parameters are currently compatible with the subnet upon which they reside. The utility is also used to update firmware. These functions are accessed via two tabs available on the Finder application main program window (refer to Figure 20 and Figure 21.) Figure 20: Fuji Finder Ethernet tab...
  • Page 26 4.4 Ethernet Tab All devices discovered on the current Ethernet subnet can be organized in ascending or descending order by clicking on the desired sort header (Product, IP Address, MAC Address or Application Firmware). The buttons on the left side of the window perform the following actions: Update IP Settings: Allows configuration of the static IP parameters.
  • Page 27: Embedded Web Server

    5 EMBEDDED WEB SERVER 5.1 Overview The interface contains an embedded web server (also known as an HTTP server), which allows users to access the inverter’s internal data in a graphical manner with web browsers such as Microsoft Internet Explorer or Mozilla Firefox. In this way, the inverter can be monitored, configured and controlled from across the room or from across the globe.
  • Page 28 5.2 Page Select Tabs The web interface is subdivided into several different “tabs” of associated information, much the same as how folders in a filing cabinet are arranged. Refer to Figure 23. To change tabs, just click on the tab you wish to view.
  • Page 29 Control Functions of Frequency: C function codes are available. Motor 1 Parameters: P function codes are available. Motor 2 Parameters: A function codes are available. Motor 3 Parameters: b function codes are available. Motor 4 Parameters: r function codes are available. High Performance Functions: H function codes are available.
  • Page 30 Some items to keep in mind when interacting with the Function Code List are: • When entering new function code values, be sure that the number being entered is appropriate for the currently-selected radix (refer to section 5.3.5): for example, an entered value of “1000” in hexadecimal is equal to 4096 in decimal.
  • Page 31 5.4 BACnet Tab The BACnet tab provides for the configuration of the device on a BACnet/IP network. Refer to Figure 29. Figure 29: BACnet Tab 5.4.1 Information Window Figure 30 shows the Information Window, which is located in the upper-right hand corner of the BACnet tab.
  • Page 32 5.4.3 Submitting Changes Whenever either of the BACnet configuration elements (Device Name or Device ID) has been changed, the “submit” button located in the left-hand portion of Figure 32: Submit BACnet Changes the web page must be clicked in order to write these settings to the interface card’s filesystem.
  • Page 33 5.5 Config Tab The Config tab provides access to various configuration items. Refer to Figure 34. Figure 34: Config Tab 5.5.1 Information Window Figure 35 shows the Information Window, which is located in the upper-right hand corner of the Config tab. This window displays various informational messages regarding the status of the configuration parameters (loading or submitting).
  • Page 34 There are two separate elements that comprise the timeout configuration (refer to Figure 37): • The timeout time • The timeout configuration array The timeout time is a 32-bit unsigned value. This time setting is used by certain protocols in order to determine abnormal loss-of-communications conditions and, optionally, to trigger a timeout processing event.
  • Page 35 5.6 EtherNet/IP Tab The EtherNet/IP tab provides access to configuration items related to communication on an EtherNet/IP network. Refer to Figure 39. Figure 39: EtherNet/IP Tab 5.6.1 Information Window Figure 40 shows the Information Window, which is located in the upper-right hand corner of the EtherNet/IP tab.
  • Page 36 5.6.3 Run/Idle Flag Behavior EtherNet/IP clients (such as PLCs) have the option of adding a 32-bit “run/idle” header to all class 1 (I/O) data packets sent to devices. Bit 0 of this header is called the “run/idle flag” by the EtherNet/IP specification, and is intended to signify Figure 42: Run/Idle Flag Behavior Selection when the client is in a “running”...
  • Page 37 controller may request larger consumed and/or produced data sizes, but all unreferenced consumed data will be ignored, and all unreferenced produced data will contain dummy “0” values). The first word (two bytes) of consumed data will be written to function code S06 (operation command register) and the second word will be written to function code S05 (frequency command).
  • Page 38 5.7 Modbus Tab The Modbus tab provides access to configuration items related to communication on a Modbus/TCP network. Refer to Figure 45. Figure 45: Modbus Tab 5.7.1 Information Window Figure 46 shows the Information Window, which is located in the upper-right hand corner of the Modbus tab.
  • Page 39 5.7.3 Register Remap Configuration At times, it may be convenient to access inverter registers (function codes) in bulk Modbus transactions. This may be especially true in situations where it is desired to access certain registers that are natively non-contiguous. For example, if it were desired to read the inverter’s operating frequency (function code M09, register 2058), DC link bus voltage (function M21, register 2070), and operation status (function code M14, register 2063), this could be accomplished in two different ways: Implement three separate Modbus read transactions, each one reading one register only, or...
  • Page 40 5.7.4 Submitting Changes Whenever the Modbus configuration has been changed, the “submit” button located on the right-hand portion of the web page must be clicked in order to write these settings to the interface card’s filesystem. Refer to Figure 49. Figure 49: Submit Configuration Changes 5.7.5 Reinitialize Prompt Refer to section 5.4.4.
  • Page 41 5.8 Alarm Tab The Alarm tab provides a configurable mechanism by which the interface card can autonomously monitor any available inverter function code and send emails to up to four recipients when a certain condition is detected. The alarm conditions have both value and time constraints, and can be configured to retrigger at a fixed interval as long as the alarm condition continues to be satisfied.
  • Page 42 5.8.2 Email Configuration In order for an alarm trigger to successfully send a notification email, some network settings must first be configured properly (refer to Figure 52). DNS Servers: Enter the dotted-decimal IP addresses of the primary and secondary DNS servers which will be used to resolve the configured SMTP server name.
  • Page 43 5.8.3 Alarm Configuration The interface supports twenty independently-configurable alarms. As shown in Figure 54, each alarm has a variety of configuration elements, which will be explained further below. Figure 54: Alarm Configuration Box Alarm Selection: This drop-down box allows the selection of one of the twenty available alarms. When an alarm is selected, that alarm’s current configuration parameters will be populated in the alarm configuration box.
  • Page 44 If this check box is checked, then as long as the alarm condition continues to be evaluated as “true”, subsequent email transmissions will be automatically retriggered every indicated number of minutes for a maximum of the indicated number of times. If at any time during the subsequent transmissions the alarm condition is evaluated as “false”, then the alarm will be reset and email transmissions for this alarm will stop (until the next time the alarm is triggered, of course).
  • Page 45 5.9 Dashboard Tab The Dashboard Tab provides access to a virtual keypad, as well as a variety of gauges, meters and graphs that can be configured to provide an at-a-glance graphical overview of critical application variables in real-time. A total of 10 gauge windows are available (two at a time), and each gauge window can be configured to display any scanned function code’s value via one of six different gauge types.
  • Page 46 5.9.2 Virtual Keypad A “virtual keypad” is displayed on the left-hand side of the dashboard tab, and acts as an interface for several useful pieces of control and monitor information. For an overview of the virtual keypad interface, refer to Figure 58. Note that it is recommended to suspend all external protocol-based communications with PLC’s, etc when using the virtual keypad, as other protocols may simultaneously be writing to the inverter’s frequency command and operation command word, resulting in seemingly unpredictable behavior.
  • Page 47 • REV: sets bit #1 (“REV”) and clears bit #0 (“FWD”) in the operation command word (function code S06). • STOP: clears both bit #0 (“FWD”) and bit #1 (“REV”) in the operation command word (function code S06). • RESET: writes a value of “1” to function code S14 (alarm reset command). This will reset a faulted inverter regardless of the current operation command mode (H30, Y98 etc.) Note that if the inverter was running (the “FWD”...
  • Page 48 Max Value: The gauge’s maximum indicated value. Similar to the Min Value attribute, negative values can be used if desired. Indicated value characteristics can even be inverted by setting the Max Value attribute to a value less than the Min Value attribute. Update Button: Clicking the update button will apply the current configuration attribute settings to the gauge.
  • Page 49 Pos/Neg Meter: Refer to Figure 64. Similar to the “meter” gauge, this type of meter also implements a common panel meter-type display format, but in this instance the indicated value can be positive or negative (two’s complement interpretation). In other words, raw function code values of 0..0x7FFF equate to 0..32767 , and values of...
  • Page 50 At times, it may be convenient to zoom in on a particular gauge or meter in order to more clearly see the indicator, or to fill the computer screen with a particular gauge’s image. This can be easily accomplished with the web browser’s Flash Player plug-in by right- clicking on the gauge and selecting the desired zoom level (refer to Figure 67).
  • Page 51 5.10 Customizing the Embedded Web Server 5.10.1 Customization Overview It is possible for end-users to customize the embedded web server in order to create their own application-specific or corporate “look and feel”. Knowledge of authoring dynamic web content is required. Using windows explorer, it is possible to load customized web server content into the “WEB” folder on the interface card’s file system (refer to section 7.2).
  • Page 52 5.10.3 XTPro Web Browser-Based Implementation A representative implementation based upon using a web browser as the client is detailed in Figure 69. In this scenario, the client application is developed by using an active web server authoring tool (such as Adobe Flash®).
  • Page 53 <ref>Pr_2</ref> XML socket (port 2000) <val>123</val> </xresp> Figure 70: HMI-Based Implementation 5.10.5 XTPro Supported Commands For a summary of XTPro commands which are supported on the OPC-G1-ETH, refer to Table 4. Table 4: Supported XTPro Commands Command Supported Notes noop Supports XTPro specification version 1 “reference”...
  • Page 54 6 FUNCTION CODE NUMBERING AND BEHAVIOR 6.1 Register Numbers All accessible inverter function codes can be referenced by their Modbus register indexes, as defined in the RS-485 User’s Manual (MEH448), section 3 (Table 3.2). These same register numbers are used when accessing function codes via certain Ethernet protocols (i.e.
  • Page 55 Table 5: Function Code-to-Register Conversion Examples Function Code Group Group Example Number Code Name Fundamental F07 (acceleration time 1): (0 x 256) + 7 + 1 = 8 Functions Extension Terminal E98 (terminal [FWD] function): (1 x 256) + 98 + 1 = 355 Functions Control C20 (jogging frequency): (2 x 256) + 20 + 1 = 533...
  • Page 56 6.2 Scanned Function Codes The interface card provides network access to the specified list of function codes contained in the frenicMegaParam.xml file located in the “WEB” folder of the interface card’s file system. These function codes are constantly being “scanned” by the interface card, which is to say that they are constantly being read and/or written (as applicable), and their current values are therefore mirrored in the interface card’s internal memory.
  • Page 57 Table 7: Structure of “Operation status” (Function code M14) CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net...
  • Page 58 7 FILE SYSTEM & FIRMWARE Overview The interface card’s on-board filesystem is used to store files for use by the application firmware. Currently, the application firmware’s main use of the filesystem is to store XML-encoded configuration files and the embedded web server. The XML-encoded configuration files dictate the characteristics of the various protocols and features.
  • Page 59 7.2 Windows Explorer To use Microsoft Windows Explorer, first open either “Windows Explorer” or “My Computer”. Refer to Figure 71. Note that the indicated procedure, prompts and capabilities outlined here can vary depending on such factors as the installed operating system and service packs. The interface card will typically be displayed as a removable medium such as a Removable Disk.
  • Page 60 7.3 Loading New Application Firmware The interface card’s embedded firmware resides in flash memory that can be updated in the field. Firmware updates may be released for a variety of reasons, such as custom firmware implementations, firmware improvements and added functionality as a result of user requests. Additionally, it may be necessary to load different firmware onto the unit in order to support various protocols.
  • Page 61 8 PROTOCOL-SPECIFIC INFORMATION This section will discuss topics that are specific to each of the supported protocols. 8.1 Modbus/TCP 8.1.1 Overview The interface card supports Schneider Electric’s Modbus/TCP protocol, release 1.0. The interface is conformance class 0 and partial class 1 and class 2 compliant, and allows up to 8 simultaneous Modbus/TCP client connections (sockets).
  • Page 62 • If the drive is configured to cause a trip (section 3.2), a Modbus TCP socket must first be successfully established before the trip can be cleared. 8.1.2 Coil & Discrete Input Mappings The Modbus/TCP driver provides read/write support for coils (0X references) and read-only support for discrete inputs (1X references).
  • Page 63 The interface card supports the EtherNet/IP protocol, as administered by the Open DeviceNet Vendor Association (ODVA). • This product has been self-tested by Fuji Electric and found to comply with ODVA EtherNet/IP Conformance Test Software Version A-5. • I/O connection sizes for assembly instances 100 and 150 are adjustable between 0 and 64 bytes (32 function codes max @ 2 bytes per function code = 64 bytes).
  • Page 64 8.2.2 ODVA AC/DC Drive Profile The interface card supports the ODVA AC/DC drive profile. No special EtherNet/IP configuration of the interface card is required when using the AC/DC drive profile: all that is needed is that the controller must target either assembly instances 20 & 70 or 21 & 71 in its connection parameters. The AC/DC drive profile implementation provides support for several required CIP objects, which are specified in Table 9.
  • Page 65 NetCtrl: Not used (value is ignored). NetRef: Not used (value is ignored). Speed Reference: Inverter speed reference in RPM. Maps to function code S05 (frequency command). The speed reference component of the AC/DC drive profile output instances is always in units of RPM. Therefore, the interface card applies the RPM-to-Hz conversion indicated in Equation 5 in order to determine the appropriate frequency command value (in units of Hz) to be written to function code S05.
  • Page 66 Drive State: Indicates the current state of the Control Supervisor Object state machine. Refer to the ODVA EtherNet/IP specification (object library) for detailed information on the Control Supervisor Object state machine. Speed Actual: Inverter operating speed in RPM. Maps to function code M09 (output frequency). The speed actual component of the AC/DC drive profile input instances is always in units of RPM.
  • Page 67 Switch to online mode. Right click on the 1756-ENBT/A module in the I/O Configuration and choose “Properties”. Select the Port Configuration tab from the Module Properties dialog box. Confirm that the IP Address, Subnet Mask and Gateway Address fields are configured correctly. The IP Address must match the IP Address entered when the new module was first created.
  • Page 68 Right click on the 1756-ENBT/A node under the I/O Configuration in the controller organizer view and choose “New Module…” Choose “Generic Ethernet Module” in the Select Module dialog box and click “OK”. Refer to Figure Figure 78: Adding a New Generic Ethernet Module The module properties dialog box will open (refer to Figure 79).
  • Page 69 array is defined as shown in Figure 43, with two relevant function codes (M14 and M09). We therefore set the Input Size to 2. Output: The Output Assembly is the collection of command & configuration data that is sent as an output from the PLC and consumed by the interface card.
  • Page 70 We can directly interact with these tags in order to control and monitor the inverter. In Figure 83, for example, we can see that the first 16-bit word of output data (Fuji_Inverter:O.Data[0]) has been set to a hexadecimal value of 0x0001. Referring back to Figure 43, we can see that the first element of the consumed data configuration references function code S06, which is the inverter’s operation command register.
  • Page 71 Create the tags in Figure 85. Figure 85: Create Generic Default AOI Tags Double click “MainRoutine” under Tasks …MainTask …MainProgram in the controller organizer view. Right click on the first ladder logic rung in the MainRoutine window and select “Add Ladder Element...”...
  • Page 72 Figure 87: Configure Generic Default AOI The program is now complete. Save, download and run the program. 8.2.6 ControlLogix Example: AC/DC Drive Profile Add-On Instruction The AC/DC drive profile add-on instruction is a simple interface to command and monitor the inverter. It is based on the assembly instances 21 &...
  • Page 73 Figure 89: AC/DC Drive Profile Add-On Instruction Double click “Controller Tags” in the controller organizer view and select the “Edit Tags” tab at the bottom. Create the tags in Figure 90. Figure 90: Create AC/DC Drive Profile AOI Tags Double click “MainRoutine” under Tasks …MainTask …MainProgram in the controller organizer view.
  • Page 74 Edit the add-on instruction according to Figure 92. Figure 92: Configure AC/DC Drive Profile AOI The program is now complete. Save, download and run the program. 8.2.7 Explicit Messaging Tag Reference When class 3 (explicit messaging) connections are used, function code contents are read from and written to the interface card via EtherNet/IP by reference to “tag names”.
  • Page 75 In a similar manner, to write data to the interface card, the application PLC program must reference a “destination element” to which to start writing and the “number of elements” to write. Again, the “destination element” will be a tag name constructed according to the naming convention shown above. Whether reading or writing, the “number of elements”...
  • Page 76 Add a MSG instruction to the main program. Double click “MainRoutine” under Tasks …MainTask …MainProgram in the controller organizer view. Right click on the first ladder logic rung in the MainRoutine window and select “Add Ladder Element...” The “Add Ladder Element” window appears.
  • Page 77 Figure 98: MSG Instruction Configuration “Configuration” tab settings: Change the “Message Type” to “CIP Data Table Read”. In the "Source Element” field, enter the read tag you wish to access (refer to section 8.2.5.) In this example, we will be reading a total of 21 function codes beginning at function code M01 (per-unit frequency reference –...
  • Page 78 after every transmission. For efficiency, it is recommended to enable “Cache Connections”. Figure 100: Setting the Communication Path Click “OK” to close the MSG Configuration dialog. At this stage, MainRoutine should look like Figure 101. Figure 101: MainRoutine Assign a tag to the XIO element. Double-click on the XIO element located to the left of the MSG block.
  • Page 79 Figure 102: Configure XIO Element Figure 103: Complete Program Figure 104: Viewing the Function Code Values CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net...
  • Page 80 8.2.9 ControlLogix Explicit Messaging Example: Read a Single Function Code The configuration and execution for reading a single function code is in general identical to that required for reading a block of function codes as detailed in section 8.2.8. The only difference is in the configuration of the MSG instruction.
  • Page 81 8.2.11 ControlLogix Explicit Messaging Example: Reading and Writing Often times, applications may need to both read data from and write data to the inverter. At a minimum, this will require two MSG instructions and two message controller tags. Figure 107 shows an example of three MSG instructions, one for reading and two for writing (the inverter’s frequency command and operation command word).
  • Page 82 8.3 Allen Bradley CSP 8.3.1 Overview Ethernet-enabled Allen-Bradley legacy PLCs (such as the PLC5E and SLC-5/05 series) use a protocol called CSP (Client Server Protocol) to communicate over the Ethernet network. The flavor of CSP used by these PLCs is also known as “PCCC” (Programmable Controller Communication Commands) and “AB Ethernet”.
  • Page 83 Table 13: Examples of EtherNet/IP-Style Bulk Access via File N60 Start Target Function Max Number of Offset/Element Code of Configuration Accessible Elements Array The application PLC program uses a MSG instruction that is configured with a “Data Table Address” from which to start the access and a “Size in Elements” which determines the number of items to access (read or write).
  • Page 84 8.3.3 SLC-5/05 Example: Read a Register Block This example program will show how to continuously read a block of registers from the inverter with a single MSG instruction. Only one read request is outstanding at any given time. Run RSLogix 500, and create a new configuration.
  • Page 85 Figure 111: MSG Instruction Selection Figure 112: XIO Instruction Selection Configure the MSG instruction. Set the “Read/Write” field to “Read”, “Target Device” field to “PLC5”, “Local/Remote” field to “Local”, and “Control Block” to “N20:0”. Upon hitting the <ENTER> key while in the “Control Block” entry box, the MSG Properties dialog box should appear (or it can be opened by clicking on the “Setup Screen”...
  • Page 86 Figure 113: MSG Configuration, "General" Tab Figure 114: MSG Configuration, "MultiHop" Tab Figure 115: PLC Program after MSG Instruction Configuration CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net...
  • Page 87 Assign a tag to the XIO element. Double-click on the XIO element located to the left of the MSG block. Type in N20:0/15 (MSG instruction’s enable bit). This configuration causes the MSG instruction to automatically retrigger itself when it completes. While this is acceptable for the purposes of this example, it can produce high network utilization.
  • Page 88 Figure 118: Read the Inverter’s Output Frequency Register 8.3.5 SLC-5/05 Example: Multiple MSG Instructions At times, reading from different groups of registers may be necessary. For example, a specific application may require some registers located in various disjoint locations in the register map. To accomplish this task efficiently, multiple MSG instructions can be implemented in the PLC program.
  • Page 89 8.3.6 SLC-5/05 Example: Reading and Writing Often times, applications may need to both read data from and write data to the inverter. At a minimum, this will require two MSG instructions and two message control files. Figure 120 shows an example of two MSG instructions, one for reading and one for writing.
  • Page 90 Firmware Revision: V1.020 BACnet Protocol Revision: Product Description: The Fuji Electric FRENIC-Mega series is a family of high-performance multifunctional inverters. Other features include ROHS compliance, built-in EMC filter, and long-life design. BACnet Standard Device Profile (Annex L): BACnet Operator Workstation (B-OWS)
  • Page 91 LonTalk, (Clause 11), medium: ______ Other: ______ Device Address Binding: Is static device binding supported? (This is currently for two-way communication with MS/TP slaves and certain other devise.) Networking Options: Router, Clause 6 - List all routing configurations Annex H, BACnet Tunneling Router over IP BACnet/IP Broadcast Management Device (BBMD) Does the BBMD support registrations by Foreign Devices? Character Sets Supported:...
  • Page 92 Object Types/Property Support Table Table 14: BACnet Object Types /Properties Supported Object Type Property Binary Binary Analog Analog Device Input Output Input Output Object Identifier Object Name Object Type System Status Vendor Name Vendor Identifier Model Name Firmware Revision Appl Software Revision Protocol Version Protocol Revision Services Supported...
  • Page 93 8.4.2 Supported Objects Table 15: Binary Input Object Instance Summary Active/ Instance ID Object Name Description Inactive Text FWD_ROT_STATUS Forward rotation status forward/off REV_ROT_STATUS Reverse rotation status reverse/off EXT_STATUS DC injection braking braking/off INVERTER_SHUTDOWN Inverter shutdown on/off BRAKING Braking braking /off DC bus voltage normal on/off TORQUE_LIMITING...
  • Page 94 Table 16: Binary Output Object Instance Summary Active/ Instance ID Object Name Description Inactive Text FWD_ROT_CMD Forward rotation command forward/off REV_ROT_CMD Reverse rotation command reverse/off General purpose input on/off General purpose input on/off General purpose input on/off General purpose input on/off General purpose input on/off...
  • Page 95 8.4.3 Supported Object Details Binary Input Objects BI1 ..Indicates whether the inverter is running forward. Corresponds to function code M14, bit 0. BI2 ..Indicates whether the inverter is running reverse. Corresponds to function code M14, bit 1. BI3 ..Indicates DC injection braking or pre-exciting. Corresponds to function code M14, bit 2. BI4 ..
  • Page 96 9 TROUBLESHOOTING Although by no means exhaustive, Table 19 provides possible causes behind some of the most common errors experienced when using the interface card. Table 19: Troubleshooting Problem Symptom Solution • Confirm that the interface card connector is No communications properly seated.