Page 1
SNAP PAC S-SERIES CONTROLLER USER’S GUIDE SNAP-PAC-S1 SNAP-PAC-S2 SNAP-PAC-S1-FM SNAP-PAC-S1-W SNAP-PAC-S2-W Form 1592-180803—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 Support Services 800-TEK-OPTO (835-6786) or 951-695-3080 Fax: 951-695-3017 Email: support@opto22.com Web: support.opto22.com...
Page 2
Specifications are subject to change without notice. Opto 22 warrants all of its products to be free from defects in material or workmanship for 30 months from the manufacturing date code. This warranty is limited to the original cost of the unit only and does not cover installation, labor, or any other contingent costs.
As part of the Opto 22 SNAP PAC System, one of these compact, industrially hardened controllers can handle multiple control, automation, and data tasks involving digital and analog control, serial string handling, PID, and enterprise connectivity.
Protocol) lets the network monitor the PAC just as it would monitor network computer hardware. • FTP can be used to manipulate files and data in the PAC’s file system. • OptoMMP is an open, documented protocol used by all Opto 22 Ethernet-based controllers and brains. ™ Wired+Wireless Communication SNAP-PAC-S1-W and SNAP-PAC-S2-W controllers add wireless capability to communications.
The combination of Ethernet (both wired and wireless) and serial network interfaces gives SNAP PAC S-series controllers the ability to control current and many legacy Opto 22 I/O units. All S1s have one RS-485 port, and S2s can be configured with up to four.
If you’re a developer who’d like to use PAC Control strategy tags in communications with other devices, the Opto 22 SNAP PAC REST API is a secure and powerful way to do just that. The API is available in SNAP PAC...
Dual independent Ethernet interfaces, for example, let you configure a network for link redundancy or segmented networking. A PPP serial interface provides a dial-up modem link for remotely located control systems, while two-wire RS-485 support integrates existing Opto 22 mistic serial-based I/O units into contemporary Ethernet-based systems.
ARCHITECTURAL DIAGRAMS Segmented Wired Networks The following diagram shows Opto 22 I/O units connected together over an Ethernet network and controlled by a SNAP PAC S-series controller running a PAC Control strategy. The controller is also connected to a larger, separate enterprise Ethernet network to provide data to two PCs running PAC Display HMI software and OptoOPCServer.
CHAPTER 1: OVERVIEW Wired and Wireless Networks The network shown in this diagram requires a Wired+Wireless S-series controller (SNAP-PAC-S1-W or SNAP-PAC-S2-W). The PAC runs a PAC Control strategy and controls remote I/O units via a wireless access point. The controller is also connected to a separate, wired enterprise network through one of its wired Ethernet network interfaces.
Connections to Legacy Serial-based I/O Units In the following diagram, a SNAP PAC S-series controller is connected to Opto 22 legacy serial-based I/O units over an RS-485 serial network. The controller is also connected to a larger, separate enterprise Ethernet network to provide process data to a PC running Opto 22’s PAC Display HMI software.
CHAPTER 1: OVERVIEW SNAP-PAC-S2 Connections to Serial-based I/O Units The following diagram shows a SNAP-PAC-S2 controller connected to multiple Opto 22 serial-based I/O units over two RS-485 serial networks, a remote a SNAP Ethernet-based I/O unit over a modem using the Point-to-Point Protocol (PPP), and a serial-based industrial scale.
PC has two network interface cards (NICs), and the SNAP PAC S-series controller and the I/O units (SNAP-PAC-R1 and -R2 controllers) have two network interfaces as well. For an example of controller redundancy, see the following page. Opto 22 Redundant Network PC with two NICs running PAC Display Professional...
SNAP-PAC-S1-W controllers). As you can see, one advantage of an Opto 22 redundant system is that it uses standard PACs, standard cabling, and standard I/O. Another advantage is that either controller can act as the active or backup controller; you can switch their roles at any time for maintenance, for example.
ARCHITECTURAL DIAGRAMS Remote Host and I/O Unit Connections Using PPP For remote monitoring and control, you can use a SNAP PAC S-series controller to connect to a remote host such as a PC or to a SNAP Ethernet-based I/O unit using a dial-up link. For this use, the controller communicates using the Point-to-Point Protocol (PPP) over a modem.
Here's a brief list of documents you may find helpful. You can also download other documents, samples files, software utilities, technical notes, integration kits, and much more from the Opto 22 website. TIP: To find other documents on our website, try searching on the form number.
A screen capture of the Help > About dialog box showing software product and version (available by clicking Help > About in the application’s menu bar). • Opto 22 hardware part numbers or models that you’re working with. • Firmware version (available in PAC Manager by clicking Tools > Inspect).
Opto 22 recommends that the SNAP PAC S-series controller be powered with an Opto 22 SNAP-PS24 or SNAP-PS24U power supply. In place of one of these power supplies, Opto 22 recommends an 8-32 VDC linear supply with adequate current ratings for the load. For more information on power requirements, see...
With the power supply off or unplugged, connect the power supply to the controller. CAUTION: Reversing wire polarity may cause damage to your controller. This damage is not covered by Opto 22’s warranty. If you are not certain about the polarity of the wires on your power supply, check with a meter.
PAC Manager User’s Guide, form 1704.) Note that the controller cannot make a direct RS-232 serial connection with an Opto 22 I/O unit; however, it is possible to connect to an Opto 22 I/O unit that supports PPP communications. Attaching a Modem to the Controller To work properly with the SNAP PAC S-series controller, a modem must be able to store settings in non-volatile RAM (NVRAM) and default to those settings on reset.
RS-485 Connections You can use an RS-485 serial port on a SNAP PAC S-series controller to connect to Opto 22 I/O units on a two-wire, RS-485 serial network. These I/O units include SNAP PAC SB-series brains, serial B3000 brains, and mistic remote bricks such as the G4D16R, G4D32RS, and the G4A8R.
CHAPTER 2: QUICK START Wiring the 10-pin Serial Connector on SNAP-PAC-S1 Controllers Serial ports1 and 2 on SNAP-PAC-S1 controllers share a 10-pin pluggable connector (Phoenix Contact, part number FK-MC 0.5 - 2.5, supplied with the controller). When inserting and removing wire leads into this connector, do the following: Completely depress the small orange tab for the Hole...
RS-232 AND RS-485 SERIAL NETWORKING Guidelines for Grounding SNAP PAC Brains and Controllers Power supply side: The DC output of the power supply to the I/O unit (or controller) should be "floating,” which means the negative output terminal is not tied to ground. RS-485 serial cable side: Connect the signal common from the controller to the signal common on each of the I/O units using an insulated wire that is part of the serial cable.
CHAPTER 2: QUICK START CONNECTORS, INDICATORS, AND PINOUTS SNAP-PAC-S1 and SNAP-PAC-S1-FM Controller reset button Activity LED (Yellow) DIP switches for RS-485 serial link Link LED (Green) Bias Termination Independent 10/100 Mbps Ethernet Port 2 for RS-485 serial interfaces (RJ-45 connectors) communications (pins 1–5 of pluggable 10-pin connector) MicroSD card slot...
CONNECTORS, INDICATORS, AND PINOUTS SNAP-PAC-S1-W (Wired+Wireless) Wireless LAN antenna Activity LED (Yellow) Controller reset button DIP switches for RS-485 serial link Link LED (Green) Bias Termination Independent 10/100 Mbps Ethernet Port 2 for RS-485 serial interfaces (RJ-45 connectors) communications (pins 1–5 of pluggable 10-pin connector) Port 1 for RS-232 serial MicroSD card slot...
CONNECTORS, INDICATORS, AND PINOUTS SNAP-PAC-S2-W (Wired+Wireless) Wireless LAN antenna Serial activity LEDs Activity LED (Yellow) Link LED (Green) Ports 0 - 3 are each software Independent 10/100 Mbps Ethernet configurable as either interfaces (RJ-45 connectors) RS-232 (TX, RX, COM, DTR, DCD RTS, CTS), or RS-485 (2-wire, 4-wire, optional Controller reset button...
Wiring a PAC S1 Controller to B3000 mistic Brains with an Interrupt Line TX/RX + TX/RX – IRQ + IRQ – Chassis GND B3000 B3000 PAC S1 NOTE: To set bias and termination on a B3000-B, see Opto 22 form 1927, Configuring the B3000-B. SNAP PAC S-Series User’s Guide...
PAC S2 SERIAL WIRING DIAGRAMS PAC S2 SERIAL WIRING DIAGRAMS Make sure to verify the location of pin 1, which is indicated on the controller with a label or a small triangle. To be certain of pin 1’s locations, insert the connector into the controller and then mark the location of pin 1 on the connector itself.
CHAPTER 2: QUICK START PAC S2 Controller to G4 mistic Bricks To locate pin 1 on the PAC S2, see page See also, “Connectors, Indicators, and Pinouts” on page PAC S2 to SBTA TX + IRQ + IRQ – SBTA connected to a G4 mistic brick PAC S2 PAC S2 to G4TERMR or G4TERML...
ASSIGNING AN IP ADDRESS PAC S2 Controller to PAC SB-Series Brains To locate pin 1 on the PAC S2, see page See also, “Connectors, Indicators, and Pinouts” on page Two-wire TX/RX + TX/RX + TX/RX + TX/RX – TX/RX – TX/RX –...
CHAPTER 2: QUICK START ASSIGNING SERIAL PORTS ON SNAP-PAC-S2 CONTROLLERS See instructions in the PAC Manager User’s Guide (form 1704), to configure serial ports for SNAP-PAC-S2 controllers. Each of the four serial ports on a SNAP-PAC-S2 can be configured either as an RS-232 serial port or an RS-485 serial port.
MOUNTING THE CONTROLLER MOUNTING THE CONTROLLER The SNAP PAC S-series controller can be panel mounted or mounted on a DIN rail. DIN-rail mounting requires an adapter clip, part number SNAP-PSDIN (not included). Panel Mounting and Dimensions SNAP-PAC-S1, SNAP-PAC-S1-FM, SNAP-PAC-S1-W Use two screws on each side of the SNAP-PAC-S1 controller to mount it to a panel.
Page 38
MOUNTING THE CONTROLLER SNAP-PAC-S2 and SNAP-PAC-S2-W Use one screw on each side of the SNAP-PAC-S2 controller to mount it to a panel. See the next page for antenna dimensions on the SNAP-PAC-S2-W. SNAP PAC S-Series User’s Guide...
MOUNTING THE CONTROLLER DIN-Rail Mounting and Dimensions SNAP-PAC-S1, SNAP-PAC-S1-FM, and SNAP-PAC-S1-W DIN-rail mounting requires an adapter clip, part number SNAP-PSDIN (not included). For DIN-rail mounting, remove the four screws that fasten the panel mounting base plate to the controller. Save screws. Remove the base plate.
Page 41
CHAPTER 2: QUICK START DIN-Rail Mounting and Dimensions (continued) SNAP-PAC-S2 and SNAP-PAC-S2-W DIN-rail mounting requires an adapter clip, part number SNAP-S2DIN (not included). For DIN-rail mounting, remove the four screws that fasten the panel mounting base plate to the controller. Save screws. Remove the base plate.
PAC Control User’s Guide (form 1700) and PAC Control Command Reference (form 1701). Both are available for download from the Opto 22 website at www.opto22.com. • To securely access data from I/O points and variables in the PAC’s control strategy, visit developer.opto22.com, where you’ll find instructions to set up the PAC’s HTTP/HTTPS server and...
Controller” on page TROUBLESHOOTING If you encounter a problem while installing or using the SNAP PAC S-series controller, check the information in this section. To contact Opto 22 Product Support, see “For Help” on page Checking Power When troubleshooting any problem with your controller, first check that the required power is correctly supplied.
If there are recurring problems in communicating with the controller, check your network. The wires, switches, and other parts in your Ethernet network are not part of the Opto 22 hardware, but any problems in your network may affect communication with Opto 22 products.
Have Your Network Certified If you suspect network problems, you may need to have your network professionally certified. Opto 22 does not offer network validation or certification services, but many network hardware manufacturers do. Contact the manufacturer of your Ethernet network hardware to have them diagnose, fix, and certify your network.
Page 46
Choose Start Programs Opto 22 PAC Project Software PAC Manager. In the PAC Manager main window, click the Inspect icon In the IP Address field, type the IP address of the controller. Click Status Write. CAUTION:...
CHAPTER 3: MAINTENANCE AND TROUBLESHOOTING Communicating on a Serial Network If a SNAP PAC S-series controller fails to connect using either an RS-232 serial interface for PPP host communication or an RS-485 serial interface for I/O unit communication, check the following: Indicators—Depending on the port(s) being used on a SNAP-PAC-S1 controller, LED S0, S1, or S2 should be red (for receive data) and green (for transmit data).
10 years. Replacement part number is G4BATT32. Getting Device and Firmware Information If you need to contact Opto 22 Product Support for assistance in using a controller, it is helpful to have device and firmware information at hand before you call.
Depending on the type of reset you need, press and hold down the reset button as described below. DO NOT hold the button down too long. NOTE: Do not reset the brain to hardware test mode unless Opto 22 Product Support tells you to. Reset type...
MAINTAINING THE CONTROLLER Reset type How to use the reset button What happens Notes Controller restarts. Any files, strategy, archived strategy, and persistent To recover, restore to fac- Press and hold until LED starts variables in RAM and flash memory are erased. I/O tory defaults as described Hardware test mode blinking orange rapidly and con-...
CHAPTER 3: MAINTENANCE AND TROUBLESHOOTING MicroSD/SDHC Card Uses Note minimum requirements in the table above. The card can be used for several purposes: • 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.) •...
MAINTAINING THE CONTROLLER To do this When Put card in... Use this method See pg Use PAC Control to make controller download PC with card In advance (.cdf) file; then use Windows Explorer to copy reader .cdf file to the card. Update non-net- worked controller Insert card into controller and cycle power.
CHAPTER 3: MAINTENANCE AND TROUBLESHOOTING When the card is in the controller, you can access files on the card through PAC Control commands and from a PC using FTP. Use PAC Control commands just as you would with any other file in the controller’s file system. For help, see “Using the Control Engine’s File System”...
(form 1789). For firmware, see “Loading New Firmware” on page 44. Contact Opto 22 Product Support with any questions. Replacing a Controller A microSD/SDHC card can be used to quickly commission a replacement controller in the unlikely event that an existing controller fails. The card rapidly configures the replacement with the original controller’s IP address, firmware, configuration, and strategy.
Page 55
CHAPTER 3: MAINTENANCE AND TROUBLESHOOTING c. In the Operation Command list, highlight Store configuration and IP settings to microSD. d. Click Send Command. The controller’s IP settings and all configuration data are saved to the card in a file located at /sdcard0/opto22/config/config.cfg.
Page 56
MAINTAINING THE CONTROLLER – Otherwise, compile the strategy as a Control Engine Download file (.cdf ) by right-clicking the name of the control engine in the Strategy Tree and choosing Compile Control Engine 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 example, MyStrategy.MyEngine.cdf ).
CHAPTER 3: MAINTENANCE AND TROUBLESHOOTING • Has minimum firmware R9.0a and minimum loader R6.0a. To check firmware and loader versions in PAC Manager, see page 47. You can download new firmware from our website; if you need a newer loader, contact Product Support.
MAINTAINING THE CONTROLLER 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: /sdcard0/strategy /sdcard0/boot /sdcard0/opto22/config You can write to the card in one of two ways: either use your PC to FTP files to the card in the controller, or use a card reader with your PC and simply copy files with Windows Explorer.
Page 59
CHAPTER 3: MAINTENANCE AND TROUBLESHOOTING Locate the firmware file you wish to boot from. (Firmware below R9.4a only): Rename the file to fit the 8 dot 3 filename format (see “Card Type and Format” on page 44). Recommended naming scheme: where: PPP-TMM.mmb = controller type (R1, R2)
MAINTAINING THE CONTROLLER flash memory, use PAC Manager’s Inspect window to check the Status Read area. See the PAC Manager User’s Guide for instructions. Updating, Running, or Testing a Strategy The card can also be used to update, run, or test a PAC Control strategy. This ability is useful when the controller is not on the network or PAC Control isn’t available.
Page 61
CHAPTER 3: MAINTENANCE AND TROUBLESHOOTING IMPORTANT: You must retain the correct file extension (.cdf or .ssd). Create a directory on the card in the root and name it: strategy Remember, if you are looking at the card in the controller, you create the directory in the strategy directory.
MAINTAINING THE CONTROLLER Disabling or Enabling Firmware and Strategy Updates Via the Card If you do not want anyone to be able to update firmware or strategies using a microSD/SDHC card, you can disable this feature in the controller. (Enabled is the default.) In PAC Manager, open the Inspect window for the controller.
CHAPTER 3: MAINTENANCE AND TROUBLESHOOTING If the STAT LED blinks red and green alternately, it indicates the following: Number of Speed of Means Blinks Blinks (Loader versions 5.1c and newer) Entering fail-safe bootloader mode. (See (continuous) fast “Resetting the Controller” on page 43.) If the STAT LED is blinking red, it indicates the following: Number of...
MAINTAINING THE CONTROLLER • Amber—Transmit and Receive (the LED is actually changing rapidly between green and red, which appears amber) Each serial port on a SNAP-PAC-S2 has two green LEDs to indicate Transmit and Receive activity for that port. WLAN LED (Wired+Wireless Models Only) The WLAN LED on a SNAP-PAC-S1-W or SNAP-PAC-S2-W indicates wireless LAN status and activity: Color of Means...
A: Technical Specifications ® Processor 266 MHz 32-bit ColdFire 5475 with integrated floating-point unit (FPU) SNAP-PAC-S1 and SNAP-PAC-S2 Total RAM: 32 MB Total RAM for PAC Control Strategies: 16 MB Battery-backed RAM: 8 MB RAM File Storage: 2.5 MB Flash File Storage: 4 MB Memory SNAP-PAC-S1-W and SNAP-PAC-S2-W Total RAM: 128 MB...
Page 66
SNAP-PAC-S1 RS-232 serial: Two RS-232 serial ports (one DB-9 and one pluggable connec- tor); one port has full handshaking. PPP is supported only on port 0. Buffer size: 512 bytes each for RX and TX. RS-485 serial: One RS-485 serial port (pluggable connector); two-wire RS-485;...
Need help?
Do you have a question about the SNAP PAC S Series and is the answer not in the manual?
Questions and answers