Logic405 Logic405 Automation (Koyo) Model 192 Interfacing-Windows Version ENGINEERING REPORT No: 97-005W Introduction This report describes interfacing the Model 192 Wireless Modem to programmable controllers. These programmable logic controllers () consist of the DL205, DL305 and DL405 family of controllers. The supports NET and K-Sequence communications protocols. This allows the Automation user to enable READ or WRITE message requests to transfer data between s. Once the is configured for Automation protocol, the will read the destination address in the protocol and send the information to the and Automation equipment with that address. The s emulation allows point to multi-point connections with Peer-to-Peer protocol that greatly speeds communication to the remote processors. The can route information through multiple s to extend the range of the network, transparent to the Automation Equipment (Figure 1). Logic405 DL-240 The modem is constantly being integrated into new automation systems. If you do not see an application listed in this report, please call the factory to discuss your application with our engineering staff. Logic405 Logic405 DL-240 Figure 1: Typical System Diagram Figure 2: Installation Diagram 1. Place the Utility CD in your CD-ROM drive. The CD will auto load the Utility Setup window (Figure 3). If the window is not displayed, proceed to step 2, otherwise proceed to step 3. 2. If you have Autorun disabled for you CD-ROM drive, Press the Start button on your Window desktop and select Run. Press the Browse button and select your CD-ROM drive from the list. Doubleclick on the "CDLoader.exe" icon and press the OK button. Your computer will now display the Utility Setup window (Figure 3). 3. The Utility Setup window will allow you to install the Utility Program, view the on-line documentation and install the Adobe Acrobat Reader. The Acrobat Reader is required to view the documentation. To install the Utility program press the Install Utility button on the menu and follow the on-screen instructions to install the program. Installing Utility Software The Utility Software is used for the setup and programming of the. Figure 3: Utility Setup Menu Engineering Report 97-005W Page 1 Revised: 28 June 00
Programming The Software for protocol. This section will guide you through the steps of programming the for your Automation (Koyo) application. This section is written with the assumption that you are familiar with the operation of the and have a layout of your site to write down the addresses. If you are unfamiliar with the operation of the, complete the Starting Out section of the utility. Setup Figure 4: Utility Main Menu This section covers the basics of operating the wireless modem. If this is your first experience with the wireless modems or you are unclear on how to set the frequency, squelch, or test communication, the Starting Out section will guide you through the basics of wireless communication. Note: It is recommended that all new users complete all steps in the Starting Out section before proceeding. An example three node site is shown in Figure 6. The line of site is blocked from the Water Treatment Plant to the Pump House by a large hill. The at the Elevated Tank can be used to digi-repeat information from the Water Treatment Plant to the Pump House transparently to the protocol. This is an example of when the repeater routing would be used. Elevated Tank- / Address 5 RJ-11 Phone Interface RS-232C, 422, and 485 Setup Dip Switches RS-232C, 422, and 485 Input/Output (25 Pin DB ) Water Treatment Plant- / Address 1 Pump House- / Address 2 Figure 6: Simple Repeater Application Antenna (TNC) 12 VDC Input Power (2 Pin Molex) Receive LED Transmit LED Antenna (TNC-R) T/E LED Link Connect/Disconnect Auto Connect Enable Serial Port Framing Error Reset Switch 12 VDC Input Power (2 Pin Molex) RS-232/422/485 Setup Switches Power LED IR Port POWER +12 VDC Phone Modem Interface RS-232, 422 and 485 Input/Output (25 Pin DB ) Figure 5: Panel Configurations This section contains example site layouts with repeaters. All diagrams and input examples, throughout this section, pertain to these example site layouts. When the utility prompts you for information on your site, use the example site layout information to help describe the terms used in the utility. 1. Select Programming from the main menu (Reference Figure 4). This section of the Utility will allow you to develop a list of software commands to program for emulation. 2. From the Programming menu select (Figure 7). 3. Select from the Manufacturer list and press the Continue button. The Programming window will be displayed. Engineering Report 97-005W Page 2 Revised: 28 June 00
Figure 7: Programming 4. The first step is the Master/Remote Configuration (Step 1 Mater/Remote Configuration). Any / pair in the network that has the ability to initiate communication to other s needs to be defined as an master. This command does not limit the to a Master-Slave relationship, but it will instruct the to read the destination address from the message block. If the is initiating communication to more than one in the network, select YES. If the is only responding to a message, Select NO. 5. The remaining three steps to the configuration will now be displayed (Figure 8). The second section (Step 2 - Addressing) will program the address to the. Enter the address of the and. The address of the and should be the same. If programming a remote or a point-to-point network, you will be requested to input a Destination / address, type in the address where the will send the data. Example: Refer to Figure 6. If you were programming the for the Pump House (Address 2), your destination address would be 1 (Water Treatment Plant). 6. The next section (Step 3 Are Repeaters Needed?) screen asks if repeaters are needed. Look at your site layout and determine if the site you are programming will be using repeaters. If repeaters are required, select Yes and proceed to step 7, otherwise proceed to step 9. 7. The repeater configuration will be different for the Master and Remote locations in a network. If you are programming an configured as a Master (answering Yes in Section 1 of the configuration), the Repeater Routing window will be displayed (Figure 9). Proceed to Step 8 for help on configuration. If you are programming an configured as a Remote (answering No in Section 1 of the configuration), you will be asked for the repeater address(es) used to send data to the destination. Input the repeater addresses and proceed to step 9. Example: Refer to Figure 6. If you were programming the for the Pump House (Address 2), your 1 st Repeater address would be 5 (Elevated Tank). Your configuration for this station would look like Figure 9. Figure 9:Sample Repeater Routing 8. You will need to configure the repeater routing table for the Master only. The Master is the connected to the that is initiating communication to remote s through other remote stations. Do not program the repeater configuration in the repeating s or the remote s. If you are programming a remote station in a repeater network, a repeater station or not using repeaters in your network and have arrived at routing section by mistake, press the Done button Figure 8: Configuration Window Engineering Report 97-005W Page 3 Revised: 28 June 00
Figure 10: Example 1, Route 1 and start again at Step 4 in this Engineering Report to correct the error. Refer to the following examples for help in completing the repeater routing table: Example 1: Let s start with a very easy repeater routing table. Figure 6 has only 1 repeater route with a repeater address of 5. Type the address of the repeater in the first block of the repeater routing table (Figure 10). The / that will use repeater address 5 has an address of 2. Type 2 in the first block of addresses using this route (Figure 7), leaving the second address field blank. Because this is the only address that uses address 5 as a repeater, press the Done button and then key to end the repeater routing and proceed to step 9. Note: A repeater route consists of any in the network that repeats information to another modem. Look in Figure 11 and note that four of the s will relay the radio signal for other s (addresses 3, 5, 20 and 40). These are the repeater routes. A total of four repeater routing screens will need to be completed for this site. Route 1: To complete the first repeater routing screen, refer to Figure 11 and find repeater address 5 and the / addresses that use this route (addresses 25-28). Type 5 in the first repeater block. Note: addresses are input to the Addresses Using This Route section in blocks of two numbers. The two numbers represent a range of addresses for a given route. The numbers could be input to cover a range of addresses (such as 25,28 contain all addresses from 25 through 28) or input to cover a single address (such as 25,25 would only attach address 25 to this route). Each of these groups of two numbers with a comma take up one memory location. The maximum number of memory locations for any is 16. When possible, try and group as many addresses together as you can to save available memory locations. Type 25 in the first block of address and 28 in the second block of addresses to cover the range of addresses 25 through 28. Press the Add This Route To Command List button (Figure 12). Example 2: Figure 11 shows a complex, 16 node site with four (4) repeater routes. This example will illustrate the terms used throughout the utility and how they correspond to the stations in your site. 42 35 30 2 4 21 Route 2 1 Master Station Route 3 40 Route 4 20 41 3 Route 1 5 26 28 25 27 Figure 12: Example 2, Route 1 Route 2: Refer to Figure 11 and find route 2. This route has a repeater address of 3 and addresses 20 through 21 use this route. Note: Although address 20 is a repeater for another route, it requires an address and needs to be counted. Type 3 in the first repeater block, 20 in the first address field and 21 in the second (Figure 13). Press Figure 11:Example 2 Diagram Engineering Report 97-005W Page 4 Revised: 28 June 00
Figure 13: Example 2, Route 2 the Add This Route To Command List button to load the third repeater route screen. Route 3: Refer to Figure 11, route 3 and notice there are two repeaters in this route (addresses 3 and 20). A repeater route always follows the address path from the master station. The first repeater address from the master in this route is address 3. Type 3 in the first repeater block. The second repeater from the master is address 20. Type 20 in the second repeater block. Addresses 40 through 42 use this route. Type 40 in the first address field, 42 in the second (Figure 14) and press the Add This Route To Command List button to load the third repeater route screen. Figure 15: Example 2, Route 4 repeater block. (Figure 15). Notice that the two addresses that use this repeater route are not sequential, by putting 31 in the first block and 34 in the second would allocate addresses 31-34 to this route. In this example we will input each address separately. On the first line type 30 and on the second line type 35. This is the final route. Press the Done button to end the routing section. 9. The final section (Step 4 - Information) will gather information about the configuration. Select the method data transfer and the method of error detection that is configured in the serial device. 10. Press the Add Configuration to Command List button at the bottom of the window to complete the configuration. 11. You will now be returned to the Programming screen and the software commands for the configuration will be listed in the Command List. From the Programming screen you can save the software commands to a file for later use, a remote modem or the connected modem. On the menu select File>Save Program to Modem>To Connected (Figure 16). This will save your Figure 14: Example 2, Route 3 Route 4: This fourth route uses a total of three repeaters. Follow the address route from the master and notice that the first repeater is address 3. Type 3 in the first repeater block. The second address from the master in this route is address 20. Type 20 in the second repeater block. The third repeater address from the master is address 40. Type 40 in the third Figure 16: Save To Connected Engineering Report 97-005W Page 5 Revised: 28 June 00
Setup Program to your s non-volatile memory. After the program has been saved you will see a window that states the download is complete, press the OK. Note: The specific program you are saving will be displayed on the right hand side of the screen in the Command List box. You can save these parameters to disk for later use. 12. Set last switch on the RS-232 Setup Switch (Figure 5 - #2 on the 2-switch models and #8 on the 8-switch models) to ON and reset the. The last switch enables the Auto-Connect feature of the. Configure the RS-232 Setup Switch to the parameters that match the port. Note: When the is powered up the T/E will blink at a two per second rate. When the modem has a valid connection, the T/E light will go solid. 12. Interface the to the Automation (Koyo) controller using one of the cables listed in Figures 21-27. Several sample configurations and command list are included at the end of this report (Figures 28-29). Not every configuration can be listed. If you have a question as to your specific application, please contact the factory for customer assistance. 14. Repeat these steps for all s in your site. Ensure that each has a different address and all s are on the same operating frequency. Set the receiver squelch to as high a setting that will keep the RX led (Front panel of the ) off during periods of no transmission. Grouping The modem has the ability to allow multidropped s to share one modem. This is a special setup of the modem called Grouping. The Utility uses the same repeater routing tables as those setup for repeaters (See Step 7 for repeater Figure 18: Grouping Example, Route 1 explanation), but uses the asterisk (*) character to define a group of address. One repeater routing table can be used for both a repeater address and a group. Example: Figure 17 contains two groups of s that are multi-dropped from two s, one of which is using a repeater. We will need to complete two repeater routing tables in the Master (Figure 17) for this application. When programming the third section of the configuration window (Step 3- Are Repeaters Needed?), select Yes. The repeater routing window will be displayed. There are no repeaters in Group 1 (Route 1), so leave the repeater address fields blank. Enter the first address of the group in the first block and the last address in the second block. Click on the Group block to select these addresses as a group (Figure 18). Group 2 (Route 2) uses address 5 as a repeater and has addresses 10-14 in a group. Type 5 in the first repeater address block, 10 in the first address block, 14 in the second address block and select Group (Figure 19). Press Done to load this information in the command list and exit this section. Group 1 Master Address 1 Group 2 Address 10 RS-485 or equivalent Address 5 Address 5 Address 6 Address 7 Address 10 Address 11 Address 12 Address 13 Address 14 RS-485 or equivalent Figure 17: Sample Grouping Configuration Figure 19: Grouping Example, Route 2 Engineering Report 97-005W Page 6 Revised: 28 June 00
Programming Notes Listed below are the discrete commands that are enabled in the when the Automation command is enabled: GE_CTRL = CCM Programs the following commands. DISACK = ON Disables the return acknowledge from the TERMC = ON Enables the termination control timer TERMT = 10 Sets the termination control timer value in milliseconds TYPSYS = OFF Disables system and error messages XSFLOW = OFF Software flow control disabled The following commands are adjusted during the setup of the modem for AUTOMATION (Koyo) communications protocol. For a complete description of each command and its use in the system, refer to the user's manual. ADDress XXX SETCon XXX _MAST On/Off ROUTe (l#,r1,r2,r3) APPendru (l#,r#,a1,a2,g) GE_CTRL XXX = Sets the unique address of the (The XX specifies an Octal address) = Sets the setconnect address = The will read the destination address from the message block = Configures the routes for repeating and grouping. l#=route memory location, r1-3=addresses for repeater routing = Sets the address range for the ROUTe command. l#=address range memory location, r#= route number this address range is using, a1-a2=numerical range of addresses, g= If a group, this will be an asterisk = Enables GE emulation in the following conditions CCM = emulation enabled OFF = Disables GE Fanuc protocol and sets all values in the to factory default. RS-232/422/485 Setup Baud Rate Select Auto Connect Switch 1 2 3 Switch 8 19200 Off Off Off Enabled On 9600 On Off Off Disabled Off 4800 Off On Off 2400 On On Off 1200 Off Off On 600 On Off On Data Bits Switch 4 5 6 7 Data Format Off Off Off Off 7,N,1 On Off Off Off 7,N,2 Off On Off On 7,O,1 On On Off On 7,O,2 Off On Off Off 7,E,1 On On Off Off 7,E,2 Off Off On Off 8,N,1 On Off On Off 8,N,2 Off On On On 8,O,1 On On On On 8,O,2 Off On On Off 8,E,1 On On On Off 8,E,2 Figure 20: RS-232/422/485 Setup Personal Computer TXD 3 RXD 2 RTS 7 CTS 8 SIG GND 5 DCD 1 9-Pin Female 4 RTS 5 CTS 8 DCD /PC Interfacing To 9 Pin DB ( Part Number AA061) Figure 21: Interface Cable CPU 9-Pin Engineering Report 97-005W Page 7 Revised: 28 June 00
Note: The is configured at the factory for19,200 bps on the RS-422/485 interface. Any other baud rate requires internal jumper configuration. Please contact EST Customer Support at 509-735-9092 for instruction. DL 440 CPU Port 2 TXD 2 RTS 4 CTS 5 4 RTS 5 CTS DSR 6 6 DSR SIG GND 7 DCD 8 8 DCD To CPU Port 2 ( Part Number AA06) Figure 22: : Interface Cable (Port 2) Port 1 TXD 2 SIG GND 4 13 14 15 YPO 1 CTS YOM 7 8 15-Pin Male To CPU Port 1 ( Custom Cable) 1 SHIELD Figure 25: Interface Cable DL240 D3-232-DCU TXD 2 RTS 4 CTS 5 4 RTS 5 CTS DSR 6 6 DSR SIG GND 7 DCD 8 8 DCD To Serial Communications Module D3-232 ( Part Number AA06) DL240 Ports 1& 2 TXD 4 SIG GND 1 FCC-68 6-Contact (RJ12) Interfacing To DL240 ( Custom Cable) Figure 26: Interface Cable DL340 Figure 23: Interface Cable (Port 1) D4-DCM TXD 2 RTS 4 CTS 5 4 RTS 5 CTS SIG GND 7 To Serial Communications D4-DCM ( Custom Cable) DL340 CPU Ports 1& 2 TXD 4 SIG GND 1 FCC-68 4-Contact (RJ11) Interfacing To DL340 ( Custom Cable) Figure 27: Interface Cable Serial Communication Module D3-232-DCM Figure 24: Interface Cable Serial Communication Module D3-232-DCM Engineering Report 97-005W Page 8 Revised: 28 June 00
Logic 450 Programming Software OR Logic 450 Logic 450 Example Program for FA ADD 20 SETC 30 GE_CTRL CCM:SA Last Bit(2 or8)-on Reset Set Factory Default Set Address to 20 Enable Setconnect Set to GE protocol and save RS-232 Setup Switch Hardware Reset Example Program for FA ADD 30 SETC 20 GE_CTRL CCM:SA Last Bit(2 or8)-on Reset Set Factory Default Set Address to 30 Enable Setconnect Set to GE protocol and save RS-232 Setup Switch Hardware Reset Figure 28:Typical Point to Point Program PC Running MMI Software Logic 450 Port 1 or 2 or with DCM-4 Add 10 Add 10 OR Add 1 450 Logic DL240 Port 1 or 2 Logic450 Logic 450 DL240 Port 1 or 2 Master Remotes Example Program for FA ADD 1 _MAST ON GE_CTRL CCM:SA Last Bit(2 or8)-on Reset Set Factory Default Set Address to 1 Enable Master Set to GE protocol and save RS-232 Setup Switch Hardware Reset Example Program for FA ADD XX SETC 1 GE_CTRL CCM:SA Last Bit(2 or8)-on Reset Set Factory Default Set Address Enable Setconnect Set to GE protocol and save RS-232 Setup Switch Hardware Reset Figure 29: Application Using HMI Software or to Poll Remote Stations Engineering Report 97-005W Page 9 Revised: 28 June 00