background image

SYSTEM ARCHITECTURE

SNAP PAC R-Series Controller User’s Guide

16

SYSTEM ARCHITECTURE

Because SNAP PAC R-series controllers are a combination of controller and I/O processor, their architecture is 
more complex than that of devices such as the SNAP EB-series brains, which are I/O processors only. The next 
few pages show the capabilities of this versatile system, starting with the simplest and moving to the more 
complex. Your application may require only some of these capabilities, but as your needs expand, remember 
that SNAP PAC R-series I/O can be used in all the ways shown, 

simultaneously

Understanding the SNAP PAC R-series Controller

The SNAP PAC R-series controller merges two functions that are usually located in separate pieces of hardware: 
input/output processing and flowchart-based control. These two functions are handled by two “sides” of the 
controller, as illustrated below.

The I/O Side of the Controller

The controller reads and writes to the I/O points using its I/O side memory map. This side of the SNAP PAC 
R-series controller is like SNAP EB-series brains.

You can think of the controller’s memory map as a grid of mailboxes, with each mailbox having its own 
memory address. Each mailbox address has a specific purpose. For example, one address holds the state of a 
single digital point; another address holds counter data for the same point. There’s an address that stores the 
controller’s firmware version, one that contains the minimum value of a specific analog point, and many more. 
If you are familiar with programmable logic controllers (PLCs), you’ll see that the memory map is similar to a 
register. 

Write your own software applica-
tion to communicate with the sys-
tem. 

C++ or Active X: 
OptoMMP Com-
munication Toolkit 
and controller’s 
memory map.

Opto 22’s IEEE 
1394-based proto-
col and controller’s 
memory map.

See 

OptoMMP Protocol Guide. 

This task

Can be done using these methods

Details and references for information

Recommended

Alternate

The rack is shown with the SNAP PAC 
R-series controller on the left and the 
input/output modules on the right.

The modules on the rack connect to 
devices in the real world, such as the 
light bulb, to monitor or control them. 

Summary of Contents for SNAP PAC R SERIES

Page 1: ...SNAP PAC R SERIES CONTROLLER USER S GUIDE SNAP PAC R1 SNAP PAC R1 B SNAP PAC R1 FM SNAP PAC R1 W SNAP PAC R2 SNAP PAC R2 FM SNAP PAC R2 W Form 1595...

Page 2: ......

Page 3: ...R2 FM SNAP PAC R2 W Form 1595 180802 August 2018 43044 Business Park Drive Temecula CA 92590 3614 Phone 800 321 OPTO 6786 or 951 695 3000 Fax 800 832 OPTO 6786 or 951 695 2712 www opto22 com Product S...

Page 4: ...tomux and Pamux are registered trademarks of Opto 22 Generation 4 groov Server ioControl ioDisplay ioManager ioProject ioUtilities mistic Nvio Nvio net Web Portal OptoConnect OptoControl OptoDataLink...

Page 5: ...er 2 Installation 7 What You Will Need 7 Installing Hardware 7 Installing Modules on the Rack 7 Removing a Module 9 Installing the Controller 9 What s Next 10 Configuring I O 10 Using PPP Over a Modem...

Page 6: ...s to Host and I O Units 27 Ethernet Link Redundancy 28 Specifications Connectors and Dimensions 29 Specifications for SNAP PAC R1 and R2 Controllers 29 Connectors and LEDs 30 Connectors and LEDs Wired...

Page 7: ...ontroller 56 Pinging the Controller 57 Accessing the Controller with PAC Manager 57 Solving Network Problems 58 Additional Troubleshooting Tools 59 Making Sure the Controller is in Normal Mode 59 TCP...

Page 8: ...SNAP PAC R Series Controller User s Guide vi...

Page 9: ...dustrial controller SNAP PAC R series controllers are well suited to original equipment manufacturers OEMs system integrators and end users in process control discrete manufacturing or hybrid industri...

Page 10: ...y standards are included for backwards compatibility Because wireless functionality is in the PAC itself no additional parts are required within the control system for wireless use All SNAP PAC racks...

Page 11: ...tation is also included PAC Project Professional also includes PAC Manager and adds expanded versions of PAC Control and PAC Display plus two more tools OptoOPCServer software for exchanging data with...

Page 12: ...and learn how to call the API visit developer opto22 com ABOUT THIS GUIDE This guide shows you how to install and use SNAP PAC R series controllers This guide assumes that you have some familiarity wi...

Page 13: ...PAC Manager User s Guide1 1704 Securely accessing data in the PAC via its REST API developer opto22 com Programming your own applications by using either The OptoMMP protocol for memory mapped control...

Page 14: ...to provide the following information about your system to the Product Support engineer Version of this product PC configuration type of processor speed memory operating system Complete description of...

Page 15: ...ng a wired interface Once IP addresses and wireless communication parameters are set the brain can be used wirelessly SNAP PAC R series controller SNAP PAC mounting rack and SNAP I O modules Choose ra...

Page 16: ...or push on the module to snap it into place When positioning modules next to each other be sure to align the male and female module keys shown in the detailed view in the illustration at right before...

Page 17: ...5 or superior solid unshielded twisted pair cable connect the controller in one of the following ways Recommended for initial configuration Connect to a PC directly using an Ethernet crossover cable N...

Page 18: ...controllers purchase OptoOPCServer and see the OptoOPCServer User s Guide form 1439 available with purchase of OptoOPCServer To communicate with controllers using Modbus TCP see the Modbus TCP Protoco...

Page 19: ...ontroller over an Ethernet network Here s how to set up PPP 1 Use PAC Manager to assign an IP address to the SNAP PAC R series controller following the instructions in the PAC Manager User s Guide 2 F...

Page 20: ...ect CD signal or use a custom cable that connects CD to Data Terminal Ready DTR on the controller side 1 Use the following diagram to attach the modem to the controller using the serial connector As s...

Page 21: ...UDP are used with IP Application Layer Because SNAP PAC R series controllers use standard IP for the transport layer many communication options are possible in the application layer After the controll...

Page 22: ...s manufactured after November 2008 include removable storage capability a microSD card slot See page 41 for information on using the card for storage and for loading firmware or PAC Control strategies...

Page 23: ...AC Manager See the PAC Manager User s Guide For Software Development Kit or IEEE 1394 based proto col see OptoMMP Protocol Guide Give technicians an Opto 22 HMI with alarming and trending PAC Display...

Page 24: ...emory map This side of the SNAP PAC R series controller is like SNAP EB series brains You can think of the controller s memory map as a grid of mailboxes with each mailbox having its own memory addres...

Page 25: ...ion included with the SNAP PAC R series controller You create these flowcharts as part of a control strategy and download the strategy to the controller and the controller runs it independently For in...

Page 26: ...e Ethernet network to access data in the controller For descriptions of the Scratch Pad areas bits integers floats and strings see the PAC Manager User s Guide For help in using PAC Control commands t...

Page 27: ...ler which can then read the data deposited in its own Scratch Pad area by the peer The reading and writing of data by peers to the Scratch Pad area must be very carefully coordinated in order to avoid...

Page 28: ...ontroller s file system and FTP see the PAC Control User s Guide and the PAC Manager User s Guide The Complete System When all these capabilities we ve discussed are put together you can see the versa...

Page 29: ...ust be in planning Other Opto 22 controllers can read strategy variable data from the Scratch Pad area Paging Modbus TCP hardware and software File system Enterprise database 3rd party software Intell...

Page 30: ...ion is quick easy to do and provides high speed and high security for a small system The direct connection eliminates other variables that could interfere with communication so you can focus on mainte...

Page 31: ...control applications however the network segment design will depend on the number of hosts the number of data transactions and issues of data security With fewer hosts and fewer data transactions dat...

Page 32: ...arefully before beginning in order to get the best performance from your system Communicating with the System via Modem A fourth way to use a SNAP PAC R series controller is with a modem connection Th...

Page 33: ...scribed in the previous section the PPP serial interface provides a dial up modem link for remotely located control systems The serial interface can also be used to connect a serial device such as a b...

Page 34: ...n a wireless LAN In addition because the Wired Wireless PAC has two wired interfaces plus the wireless one it could segment three networks for example a wired control network a wired enterprise networ...

Page 35: ...Cs running Opto 22 s PAC Display HMI software OptoOPCServer and OptoDataLink Sitting between the two networks the SNAP PAC R series controller segments enterprise traffic from the control network PC r...

Page 36: ...AC R series controllers both have two network interfaces and each PC in this system has two network interface cards NOTE Ifyouneedcontrollerredundancy twocontrollersrunningconcurrently withoneabletota...

Page 37: ...rity Frequency 802 11a Frequency 802 11b g Transmit Power Antenna Connector Roaming Wireless LAN interface with separate IP address Infrastructure Ad Hoc 802 11i AES Compatible with WPA2 Personal TKIP...

Page 38: ...before July 1 2007 have a user replaceable 3 volt CR2032 Lithium battery typical service life with power off 5 years 2 Connecting to a serial device requires configuration in PAC Manager PAC Control h...

Page 39: ...y LNK Link established with Ethernet network STAT Startup status control program operational status MicroSD card access 232 RS 232 serial activity WLAN Wireless LAN status The WLAN LED replaces the PP...

Page 40: ...CTORS AND DIMENSIONS SNAP PAC R Series Controller User s Guide 32 Dimensions The basic dimensions are the same for all SNAP PAC R series controllers See the following page for antenna dimensions on Wi...

Page 41: ...res To configure digital point features see the PAC Control User s Guide Or PAC Manager User s Guide if you are not using PAC Control As noted below some features require PAC Control Latches When the...

Page 42: ...ecified interval A digital square wave is a specific pattern of on and off states repeated continuously Digital totalizing Tracks the total amount of time that a digital input point is on or the total...

Page 43: ...ue Analog totalizing For an analog input a totalizer accumulates readings by sampling the input point at set intervals and storing the total value for example to determine total flow based on a varyin...

Page 44: ...ops configure them in PAC Control or PAC Manager and use PAC Control tuning tools for ease in debugging See the PAC Control User s Guide form 1700 for more information Additional Features For informat...

Page 45: ...Digital totalizing1 3 Pulse generation N pulses continuous square wave on pulse and off pulse 3 Analog I O point features Thermocouple linearization 32 bit floating point for linearized values Minimu...

Page 46: ...ssages Data logging in the controller I O point data mirroring and memory map copying Realtime clock RTC Mounting rack SNAP PAC racks B series Number of modules per mounting rack 4 8 12 or 16 4 8 12 1...

Page 47: ...kup Battery The SNAP PAC R series controller has a rechargeable battery that receives charging current whenever the controller has power It will retain data for up to three years with the power off NO...

Page 48: ...er restarts If a microSD card is present and contains config uration firmware and or strategy files Files on the microSD card overwrite what is in flash memory and other files in flash memory are not...

Page 49: ...poses To store data or files which you can access using PAC Control commands or an FTP client PAC Manager cannot be used to access data because it cannot see the card s directory To quickly commission...

Page 50: ...runs firmware on card To go back to older firmware remove card and cycle power again Try out new strategy without replacing current strategy4 In advance Controller1 or PC with card reader Use PAC Cont...

Page 51: ...directories and create or add files For a card formatted with FAT16 you can have up to 512 files or directories in the root directory and each subdirectory can have up to 65 534 files Cards formatted...

Page 52: ...see Read Number from I O Unit Memory Map in the PAC Control Command Reference form 1701 3 In PAC Manager open the Inspect window for the controller Click Other and choose Generic Read Write from the p...

Page 53: ...xample a SNAP PAC S1 W must be replaced by a SNAP PAC S1 W and it must have minimum firmware R9 0a and loader 6 0a See page 44 to check versions CAUTION Use the commissioning card only to replace a co...

Page 54: ...ne Download File from the pop up menu The file is created in the same folder as the strategy with a cdf extension and a filename consisting of the strategy s name and the control engine s name for exa...

Page 55: ...SNAP PAC S1 W must be replaced by a SNAP PAC S1 W Has minimum firmware R9 0a and minimum loader R6 0a To check firmware and loader versions in PAC Manager see page 44 You can download new firmware fr...

Page 56: ...re file renamed R2 R9 0a 3 Copy the firmware file to a blank card If you don t have a blank card delete the following directories and their contents if they appear on the card You can write to the car...

Page 57: ...een and then immediately release the button Firmware is updated and saved to flash memory If IP address configuration or strategy files are on the card they are also saved to flash memory When finishe...

Page 58: ...tainsmorethanone thewrong firmware may be loaded 5 If the card contains a command file or any other firmware files delete them 6 To boot the controller from firmware on the card turn the controller of...

Page 59: ...lag after download Autorun works if you insert the card and then turn on the controller it has no effect if you insert the card when the controller is already turned on If the controller is already tu...

Page 60: ...e new strategy if you re using background downloading and runs the new strategy if you set it to autorun If it s not set to autorun you can start the strategy manually using PAC Control or PAC Termina...

Page 61: ...that one or more flowcharts are running When the STAT LED steadily glows orange it means the controller is on and either There isn t any strategy in the controller or The strategy in the controller i...

Page 62: ...in chapter 6 of the PAC Manager User s Guide form 1704 4 slow Invalid MAC address or hardware revision Contact Product Support 5 slow Fatal error Firmware or hardware problem Check the power supply an...

Page 63: ...evice and firmware information at hand before you call us 1 Choose Start Programs Opto 22 PAC Project PAC Manager 2 In the PAC Manager main window click the Inspect button 3 In the Device Name field t...

Page 64: ...et mask SNAP PAC R series controllers come from the factory with a default IP address of 0 0 0 0 which is invalid The default subnet mask is 255 255 255 0 To assign an IP address and subnet mask see t...

Page 65: ...the computer Follow the directions beginning on page 39 to check the IP address and subnet mask on the controller and change them if necessary If you see the message No response from host check the fo...

Page 66: ...Cable connectors are firmly inserted The switch has power Switch LEDs indicate that the connection is up Neither the PC nor the controller uses the switch s uplink port The SNAP PAC R series controll...

Page 67: ...ion services but many network hardware manufacturers do Contact the manufacturer of your Ethernet network hardware to have them diagnose fix and certify your network If you continue to have problems c...

Page 68: ...low you may not be able to communicate with the device at all even through PAC Manager to fix the settings Then you would have to reset the controller to factory defaults 4 Change these four fields as...

Page 69: ...side typically from overvoltage or overcurrent resulting from overvoltage Unlike output modules an input module s LED normally will not function as expected when the module has failed Q I have an inp...

Page 70: ...inate state when there is no voltage across the module It may turn on for up to a half cycle if it suddenly receives power The pilot circuit realizes that the module is on but cannot turn it off until...

Page 71: ...Keep in mind that unless you purchase an isolated module the channels on a SNAP input or output module are not isolated from one another Make certain that any transducers or equipment that these modul...

Page 72: ...TROUBLESHOOTING I O MODULES FREQUENTLY ASKED QUESTIONS SNAP PAC R Series Controller User s Guide 64...

Page 73: ...ring information on modules see the data sheet and the installation or user s guide for your specific products SNAP MOUNTING RACKS CAUTION Makesureyouareusingthecorrectrackforyourcontroller Usingthewr...

Page 74: ...C offers DC to DC power In general we recommend you use an independent isolated regulated power supply locally with each rack Local isolated supplies offer these advantages Short supply conductors whi...

Page 75: ...other 4 channel digital input and output modules except mechanical relay outputs not high density digital modules 0 050 SNAP mechanical power relay output modules 0 160 SNAP AICTD AICTD 4 analog inpu...

Page 76: ...between the two terminals marked AC Connect the ground terminal to ground 5 For the SNAP PS5 24DC illustrated below Using the removable input power connector on top of the power supply apply 24 volts...

Page 77: ...Guide 69 SNAP PS24 In this diagram the SNAP PS24 power supply supplies power directly to the input module The SNAP PS5 supplies power to the rack SNAP PS24U Here the SNAP PS24U power supply supplies...

Page 78: ...SNAP POWER SUPPLIES SNAP PAC R Series Controller User s Guide 70...

Page 79: ...ial 2 35 simultaneous 14 wireless LAN 2 with controller 13 with enterprise systems 19 computer connecting directly to controller 22 configuring I O points 10 modem communication 11 PPP 11 connecting t...

Page 80: ...3 LED descriptions 30 network problems 58 Product Support 5 high speed counters 34 I I O 2 3 I O modules installing 7 removing 9 I O point features 33 installing controller quick start 7 controller on...

Page 81: ...ble storage 41 removing I O modules 9 replacing controller 45 RESET button 40 59 RESTful API 4 restore default settings 40 retransmit timeout RTO 59 RS 232 port 30 S scaling 34 Scratch Pad areas 19 sd...

Page 82: ...SNAP PAC R Series Controller User s Guide 74...

Reviews: