You are on page 1of 13

Configuring SMC-Flex for Communications over Remote I/O

Network using 20-COMM-R Card
This document is intended to be used for reference purposes only.

Objective:
This document is intended to provide an overview on how to set up and configure a 20-COMM
Remote I/O Adapter with an SMC-Flex to enable communications over a Remote I/O network
using a 1747-SN RIO scanner and a SLC 5/04. This document applies to a 1747-L542 series B,
Rev 3 processor.

Introduction:
The SMC Flex provides advanced communication capabilities that allow it to be started and
stopped from multiple sources as well as provide diagnostic information through the use of
communication interfaces. 20-COMM DPI communication cards can be used with the SMCFlex to allow communication over a wide range of network protocols. For this particular
example we will be setting up an SMC-Flex to communicate over a Remote I/O Network using a
20-COMM-R DPI communications card. Metering and control over the Remote I/O network can
be described through three different setup procedures, one for the SMC-Flex, one for the 20COMM-R and one for the 1747-SN & SLC 5/04. The setup procedures are outlined below. It is
assumed the user is familiar with the application and configuration of the SMC-Flex, 20COMM-R, SLC 5/04, 1747-SN, and associated software.
If the user is unfamiliar with the SMC-Flex, 20-COMM-R, SLC 5/04, or the 1747-SN it is highly
recommended they refer to the following publications and knowledgebase documents for
additional information:
- 150-UM008D-EN-P, SMC-Flex user manual
- - Knowledgebase Document #A47133849, “SMC-Flex communication information
for use with DPI interfaces”
- 20-COMM-UM004C-EN-P, Remote I/O Adapter user manual
- 1747-6.6, Remote I/O Scanner user manual
- 1747-UM011E-EN-P, SLC 500 Modular Hardware Style User Manual
- Knowledgebase Document #G15201, “Things that you should know when doing
block transfer with the 1747-SN”
This document will proceed with the following format:
- Setup Procedure for the SMC-Flex
- Setup Procedure for the 20-COMM-R Remote I/O Adapter
- Setup Procedure for the SLC 5/04 and 1747-SN Remote I/O Scanner

Page 1 of 13

9/15/2005

This will enable communications on port 5 only. For this example programming will be done using DrivesExplorer Lite configuration software. Setting the Logic Mask Enable Port 5 for DPI communications card connection the Logic Mask (parameter #87) must be set to 32 (0010 0000 in binary). 1). Programming of the SMC-Flex can be accomplished through use of the on-board HIM. or DriveExplorer Software (Note: In order to use DriveExplorer you will need a 1203-SSS DPI to RS-232 adapter to connect the SMC-Flex to your computer). If you are using a 20-HIM handheld programmer you will need to set the Logic Mask to 36 (100100 in binary) or 44 (00101100 in binary). 20-HIM-A3). a handheld HIM (e. Page 2 of 13 9/15/2005 . For this example the logic mask is set to 44 enabling two HIMs on ports 2 and 3 and the DPI communication card on port 5.g.Setup Procedure for the SMC-Flex: The following procedure will provide a guideline for configuring the SMC-Flex for Remote I/O network communications.

DataLink In. 2 . This allows the SMC-Flex to be configured to read up to 8 parameters back and write up to 8 different parameters without using an explicit message. The following configuration is used for this example.Current Phase B. and 87 – Logic Mask. 81 – Starts Per Hour. . 76 – Gnd Flt A Enable.Volts Phase C-A . Configuring Datalinks Configure Datalinks for the SMC Flex. Parameters 88…. The SMC-Flex only supports 16-bit Datalinks. 4 .Volts Phase B-C. .Current Phase A. 11 – Power Factor and 12 – Mtr Therm Usage.2). parameters 96…. 47 – Overload Reset. 6 . parameters 88…. 5 . 79 – PTC Enable. 72 – Gnd Flt Enable. Datalink In is used for Block Transfer Write and Datalink Out is used for Block Transfer Read.DataLink Out. 82 – Restart Attempts.103 are used to configure DataLinks.95 are configured to write to parameters 44 – Overload Class. 3 . Page 3 of 13 9/15/2005 .Current Phase C .103 are configured to read back parameters 1-Volts Phase A-B .

The setting of our Remote I/O adapter is now complete. For this example we are set up for Logical rack 0.Setup Procedure for the 20-COMM-R Remote I/O Adapter: The following procedure will provide a guideline for configuring the 20-COMM-R Remote I/O Adapter to communicate over the RIO network. Setting the Rack Size and Baud rate Set the DIP switches on the Remote I/O adapter to the appropriate group. Setting the Logical Rack Address Set the appropriate Rack Address for the 20-COMM-R card.4 kbps on the RIO Network. we are set up for ¼ Rack at Logical Rack 0. Programming of the remote I/O adapter can be accomplished through a handheld HIM (20-HIM-A3) or a 1203-SSS and DriveExplorer Lite software. ¼ Rack. 1). Page 4 of 13 9/15/2005 . Basic setup may also be done using DIP switches and rotary dials located on the 20COMM-R card. See Publication 20COMM-UM004C-EN-P for an illustration and table of the DIP switch settings. rack size and baud rate for the Remote I/O network. 2). Group 4. and 230. For this example we are set up for Group 4.

DPI I/O Config under the 20-COMM Remote I/O parameter set. You can access the 20-COMM Remote I/O parameter set using a 1203-SSS and DrivesExplorer Lite or an external HIM. Setting DPI I/O Configuration for Datalinks Set up the Remote I/O adapter to allow Datalinks.4 kbps an 82 ohm terminating resistor must be used. Note: For a network operating at 230. 4).3). To enable each of the Datalinks use parameter 12. For this example the following configuration is used. Remote I/O wiring configuration Also shown below is an example of connecting a 3-pin Plug and resistor to the Remote I/O cable on the 20-COMM-R card. Page 5 of 13 9/15/2005 . This enables control and metering of the SMC-Flex through the Logic Status and Logic Command word along with enabling all 4 Datalinks.

Page 6 of 13 9/15/2005 . See parameter 1:5.Note: Reset the 20-COMM-R adapter module to ensure that the programmed settings take effect.9 below.

This will allow us to configure the I/O cards and Scanners located in the Rack. Setting up I/O Configuration Set up the I/O configuration for the SLC 5/04 using the I/O configuration screen. You can use the “Read IO Config” button to automatically detect the cards in the Rack. Programming of the SLC 5/04 can be accomplished using RSLogix 500. 2).Setup Procedure for the SLC 5/04 and 1747-SN Remote I/O Scanner: The following procedure will provide a guideline for configuring the SLC 5/04 and 1747-SN Remote I/O Scanner to properly interface and communicate with the SMC-Flex over the RIO network. 1). Page 7 of 13 9/15/2005 .5 kbps by setting DIP 1 to off and DIP 2 to on. The baud rate of the RIO network is set using DIP switches located on the 1747-SN Scanner. Setting the Baud Rate Hard set the baud rate on the 1747-SN Scanner to 230.

Scanned Input Words: 32 .G File Length: 3 Page 8 of 13 9/15/2005 .M1 Length: 3300 . .Scanned Output Words: 32 .Interrupt Service Routine (ISR) #: 0 .After the cards in the rack have been configured go into the Advanced I/O Configuration screen by clicking the “Adv Config” button and configure the following.M0 Length: 3300 .

Group 4. Configure the G file to match the configuration set for the Remote I/O adapter. Configuring the G File The G file is used to configure the scanners I/O image file. The scanners G file configuration is based on the devices you have on the Remote I/O Network. Page 9 of 13 9/15/2005 . The 1747-SN Remote I/O Scanner is now setup to communicate with our Remote I/O adapter and the SMC-Flex. The G file configuration consists of setting logical device starting addresses and logical device image size of each physical device/adapter with which the scanner communicates.3). For this example set the G File configuration at Logical Rack 0. ¼ Rack Device #1 – IO words 4 + 5.

It will also be assumed that the user is familiar with Block Transfer Read and Block Transfer Write concepts and functionality.4). Ladder Logic – Setting up Block Transfer Read and Block Transfer Write The following section will assume the user is familiar with PLC Ladder Logic programming using RSLogix 500 software. The Ladder Logic seen is to be used for reference purposes only. Ladder Logic Programming Example for Block Transfer Write: Page 10 of 13 9/15/2005 .

The parameters indicated in red and the values being written are as follows: Parameter 44: Overload Class – 1 = Class 10 Parameter 47: Overload Reset . Page 11 of 13 9/15/2005 . The data being written to these parameters is located to the immediate right of the parameters in red.1 = Reset Parameter 72: Gnd Flt Enable .1= Enabled Parameter 81: Starts Per Hour .36 = HMI on port 2 and DPI communications on port 5 Datalink In D2 = Parameter 87 ‘Logic Mask’ writes a value of 36.Example of Data File N10 (dec) used for BTW: The SMC Flex parameters being written to are indicated in red.2 = 2 Restart Attempts Per hour Parameter 87: Logic Mask .1 = Enabled Parameter 76: Gnd Flt A Enable .4 = 4 Starts Per hour Parameter 82: Restart Attempts . Refer back to the SMCFlex Setup Procedure – Configuring Datalinks.1 = Enabled Parameter 79: PTC Enable .

Ladder Logic Programming Example for Block Transfer Read: Page 12 of 13 9/15/2005 .

The values being read / monitored for these parameters is located to the immediate right of the parameters in red. The parameters being read / monitored are as follows: Parameter 1: Volts Phase A-B Parameter 2: Volts Phase B-C Parameter 3: Volts Phase C-A Parameter 4: Current Phase A Parameter 5: Current Phase B Parameter 6: Current Phase C Parameter 11: Power Factor Parameter 12: Mtr Therm Usage Datalink Out B1 = Parameter 3 ’Volts Phase C-A’ reads a value of 232 Page 13 of 13 9/15/2005 .Example of Data File N11 (dec) used for BTR: The SMC Flex parameters being read / monitored are indicated in red. Refer back to the SMC-Flex Setup Procedure – Configuring Datalinks.