Uploaded by spambox5555

GeniusWB Feb2019 ModifyingSLCRIONetwork

advertisement
Modifying a SLC RIO
Network
February 21, 2019
Tim Kraynik
Contents
Agenda
History of the SLC Family & Local IO
Overview of SLC Remote IO and Terminology
1747-SN & ASB Adapters
Modifying a SLC RIO Network
INTERNAL | Copyright ©2019 Rockwell Automation, Inc.
2
The SLC Family
•
Introduced in the early to mid 1990’s
•
Brick/Fixed Style along with modular models which required chassis, power supply and IO modules
•
SLC5/03, SLC5/04 and SLC5/05 still available today – Active Mature
•
Strong Commitment to keep around into the next decade
INTERNAL | Copyright ©2019 Rockwell Automation, Inc.
3
SLC Local I/O
INTERNAL | Copyright ©2019 Rockwell Automation, Inc.
4
Remote I/O
INTERNAL | Copyright ©2019 Rockwell Automation, Inc.
5
Remote I/O Protocols
• SLC controllers can support remote I/O over the following protocols:
• DeviceNet
• ControlNet
• Remote I/O
• There are many I/O devices that support Remote I/O protocol
including:
• 1746/1747 SLC
• PLC5/1771
• 1794 Flex
• 1791 Block I/O
• As well as many Encompass and 3rd party Suppliers
INTERNAL | Copyright ©2019 Rockwell Automation, Inc.
6
1747-AENTR
INTERNAL | Copyright ©2019 Rockwell Automation, Inc.
7
Remote I/O
• Originally designed for Discrete Data transfer (single Word 16 bits)
• Discrete implementation is easier to implement
• Needed a way address specialty modules:
• Analog In/Out, Thermocouple, RTD, High speed Counter
etc…
• Block Transfer Method developed to handle I/O modules that
required multiple words of data transfer
INTERNAL | Copyright ©2019 Rockwell Automation, Inc.
8
Block Transfer Code
INTERNAL | Copyright ©2019 Rockwell Automation, Inc.
9
BTR BTW Instructions
•
•
•
•
•
•
Introduced in 2000
Required processor firmware update (C/4) as well as RSLogix500 (4.10)
Block Transfer could now be done with 1 rung of code
Could be used along with older style code
Firmware kits still available for SLC5/03, SLC5/04 and SLC5/05
Make sure BT data is not referenced multiple times in a program
INTERNAL | Copyright ©2019 Rockwell Automation, Inc.
10
SLC Local I/O Configuration
•
IO configuration needs to match 100% or processor will fault
•
Most discrete modules consume either 1 input or 1 output word
•
Non Discrete modules can use 2-32 words (both input and output)
•
Modules that support multiple Class configs only support Class 1 over Remote IO
•
1747-SN uses 32 Input and 32 Output words
INTERNAL | Copyright ©2019 Rockwell Automation, Inc.
11
SLC Remote IO Configuration
• There are no IO modules configured in regards to RIO
• Only need to configure
• The starting modules Logical Rack number
• The total number of modules to communicate with (Module
Image Size)
INTERNAL | Copyright ©2019 Rockwell Automation, Inc.
12
SLC M Files
• Additional Memory added into the SN module
• 1747-BAS, 1746-HSC, 1747-SDN and 1747-SN support M
Files
• 1747-SN supports 3,300 M File Input and 3,300 Output words
• 1747-SN uses the M files in chunks of 100 words for Block
Transfers
• 1747-SN is limited to 32 block transfers
INTERNAL | Copyright ©2019 Rockwell Automation, Inc.
13
Existing RIO System
INTERNAL | Copyright ©2019 Rockwell Automation, Inc.
14
Checklist for modifying RIO System
•
Identify/Locate all of the existing hardware
•
Identify if the system status
•
Document all of the dip switch settings
•
Identify each hardware’s Logical Address and Starting Group
•
Make a backup copy of the user program including snapshot of G File
•
Identify each hardware’s Logical Address and Starting Group
•
Confirm there is an open spot for new hardware – not just physically
•
Make changes to Dip Switches and G –File Configuration
•
Download any program changes
•
Confirm that the 1747-SN Comms LED is solid green.
INTERNAL | Copyright ©2019 Rockwell Automation, Inc.
15
Determining RIO System Status
INTERNAL | Copyright ©2019 Rockwell Automation, Inc.
16
Document RIO System
• Record all of the dip switches on SN and all Adapters!
Take pictures of each modules settings.
INTERNAL | Copyright ©2019 Rockwell Automation, Inc.
17
1747-SN Dip Switches
• There are only 2 dipswitches on the 1747-SN
• They are used to configure the baud rate
INTERNAL | Copyright ©2019 Rockwell Automation, Inc.
18
1747-ASB Dip Switches
• There are 3 banks of 8 dip switches on the 1747-ASB
INTERNAL | Copyright ©2019 Rockwell Automation, Inc.
19
1747-ASB Switch Bank 1
• Logical Rack #
• 0-3
• Starting Group #
• 0, 2, 4, 6
INTERNAL | Copyright ©2019 Rockwell Automation, Inc.
20
1747-ASB Switch Bank 2
• Baud Rate
• 57.6k
• 115k
• 230k
• Module Image Size
• 2 – 32
• How many slots to enable
• Complimentary
• Hopefully at 0
• Reserved
• NEEDS TO BE SET TO ON
INTERNAL | Copyright ©2019 Rockwell Automation, Inc.
21
1747-ASB Switch Bank 3
•
Specialty Mode
• Enable or Disable Block Transfers
•
Keying
• Save
• Check
•
Addressing Mode
• Single Slot
• ½ Slot
• 2 Slot
INTERNAL | Copyright ©2019 Rockwell Automation, Inc.
22
Addressing Mode
• 16 point Discrete IO
• 8 point Discrete IO
• 32 point Discrete IO
INTERNAL | Copyright ©2019 Rockwell Automation, Inc.
23
Document/Backup RIO System
• Save a backup copy of the RSLogix500 program prior to
making any changes!
• Print screen a shot of the 1747-SN G File configuration
• Double click on IO Configuration in RSLogix500
• Double Click on the 1747-SN module
• Click on Edit G Data
INTERNAL | Copyright ©2019 Rockwell Automation, Inc.
24
G File Configuration
•
•
•
•
•
•
•
•
•
•
•
•
G File defines what the SN module will communicate with
Each Remote Device requires Logical Rack and Group #
A Logic Rack (Full) is a term used to define 8 modules/groups
1747-ASB can be configured for more than 8 modules
More then one Logical Rack needs to be configured
SLC 1747-SN can support up to 4 Logical Racks (0-3)
4 Full Logical Racks would look to comm to 32 modules
Grouping is configured in even pairs
1/2 modules are configured as ¼ rack
3/4 modules are configured as a ½ rack
5/6 modules are configured as ¾ rack
7/8 modules are configured as a full rack
INTERNAL | Copyright ©2019 Rockwell Automation, Inc.
25
Systems Config
INTERNAL | Copyright ©2019 Rockwell Automation, Inc.
26
Systems Config with G File Colored
INTERNAL | Copyright ©2019 Rockwell Automation, Inc.
27
Program Addressing
INTERNAL | Copyright ©2019 Rockwell Automation, Inc.
28
Discrete Addressing
•
Input – I:1.12/00-15
• I for Input
• 1 for the Slot # of the SN module
• 12 for the group position of the module
• 00-15 for the individual bit on the module
•
Output – O:1.12/00-15
• O for Output
• 1 for the Slot # of the SN module
• 12 for the group position of the module
• 00-15 for the individual bit on the module
INTERNAL | Copyright ©2019 Rockwell Automation, Inc.
29
BTR BTW Instructions
INTERNAL | Copyright ©2019 Rockwell Automation, Inc.
30
BTR BTW Execution Examples
INTERNAL | Copyright ©2019 Rockwell Automation, Inc.
31
Configuring Specialty Modules
INTERNAL | Copyright ©2019 Rockwell Automation, Inc.
32
Knowledgebase Help
• 23925 - Quick Start Remote I/O
• 18461 - Examples of Block Transfers using the SLC BTW and BTR Instructions
• 17814 - Block Transfer to 1746-NI8 Analog Input Card
INTERNAL | Copyright ©2019 Rockwell Automation, Inc.
33
Questions?
Thank you for joining:
Modifying a SLC RIO Network webinar
Download