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-091209—December 2009 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...
Page 2
This warranty is limited to the original cost of the unit only and does not cover installation, labor, or any other contingent costs. Opto 22 I/O modules and solid-state relays with date codes of 1/96 or later are guaranteed for life.
Page 4
RS-485 Connections ............. . .18 Wiring the 10-pin Serial Connector on SNAP-PAC-S1 Controllers ......19 Wiring the 7-pin Serial Connector on SNAP-PAC-S2 Controllers .
Page 5
SNAP-PAC-S1 and -FM Connectors, Indicators, and Pinouts ........53 SNAP-PAC-S1-W Connectors and Indicators (Wired+Wireless)....... . . 54 SNAP-PAC-S2 Connectors, Indicators, and Pinouts .
As part of the Opto 22 SNAP PAC System, one of these compact, industrially hardened controllers can handle multiple control, automation, and data acquisition tasks involving digital and analog control, serial string handling, PID, and enterprise connectivity.
Management 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.
This connectivity with legacy serial-based I/O systems, combined with PAC Control Professional software’s ability to import control programs (or strategies) written in OptoControl™ software, provides a migration path to integrate older Opto 22 I/O systems into modern control hardware running on Ethernet networks.
PAC Project Basic is included with SNAP PAC controllers and can also be freely download from the Opto 22 website. www.opto22.com. PAC Project Professional is available for purchase. You can also separately purchase PAC Control Professional, PAC Display Professional, OptoOPCServer, and OptoDataLink as needed.
ARCHITECTURAL DIAGRAMS Basic Control System In this basic system, the SNAP-PAC-S1 controls several SNAP PAC I/O units, some on a wired Ethernet network and some on a serial network. PAC Project Basic is all you need. SNAP PAC EB brains...
CHAPTER 1: OVERVIEW 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.
ARCHITECTURAL DIAGRAMS 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.
CHAPTER 1: OVERVIEW 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...
ARCHITECTURAL DIAGRAMS 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.
Each 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. Opto 22 Redundant Network PC with two NICs running PAC Display Professional...
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.
Start—installing and configuring SNAP PAC S-series controllers. Chapter 3: Maintenance and Troubleshooting—troubleshooting problems while installing or using the SNAP-PAC-S1 controller on an Ethernet or serial network; getting device information, loading new firmware, changing the controller’s IP address, and other maintenance procedures. Appendix A: Technical Specifications—specifications, connectors, indicators, pinouts, and...
FOR HELP For Help If you have problems installing or using a SNAP PAC S-series controller and cannot find the help you need in this guide, contact Opto 22 Product Support. Phone: 800-TEK-OPTO (835-6786) 951-695-3080 NOTE: Email messages and (Hours are Monday through Friday, phone calls to Opto 22 7 a.m.
One or more of the following, depending on your I/O system requirements: – Opto 22 SNAP PAC I/O units on the same Ethernet network as the controller. – For Wired+Wireless PACs, a wireless local area network (WLAN) and Wired+Wireless SNAP PAC I/O units –...
4. 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.
Page 23
IMPORTANT: Do not turn on power to the controller. 7. Before turning on power to the controller, follow steps in Opto 22 form 1704, the PAC Manager User’ s Guide, to assign the controller an IP address. This guide is in Adobe Acrobat PDF format on the CD that came with the controller and is also available from our website, www.opto22.com.
PAC Manager User’ s Guide). 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.
“Assigning Serial Ports on SNAP-PAC-S2 Controllers” on page 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: 1.
INSTALLING AND CONFIGURING THE CONTROLLER Hole Orange Pin 1 Wiring the 7-pin Serial Connector on SNAP-PAC-S2 Controllers Each of the four serial ports on SNAP-PAC-S2 controllers uses a 7-pin pluggable connector supplied with the controller (Eby part number EB1381M-07-500 or equivalent). Using the screws on the side of the connector, insert or remove the wires as needed.
Serial Wiring Diagrams NOTE: SNAP-PAC-S1 controllers only support 2-wire RS-485. Wiring SNAP-PAC-S1 Controllers to a SNAP PAC SB-Series Brain Also see “SNAP-PAC-S1 and -FM Connectors, Indicators, and Pinouts” on page 53 “SNAP-PAC-S1-W Connectors and Indicators (Wired+Wireless)” on page Two-wire Pin 1...
Page 28
INSTALLING AND CONFIGURING THE CONTROLLER Wiring SNAP-PAC-S1 Controllers to a B3000 mistic Brain with an Interrupt Line Pin 1 TX/RX + TX/RX – IRQ + IRQ – Earth GND Wiring SNAP-PAC-S2 Controllers to B3000 mistic Brains with an Interrupt Line...
Page 29
CHAPTER 2: QUICK START Wiring SNAP-PAC-S2 Controllers to a SNAP PAC SB-Series Brain Also see “SNAP-PAC-S2 Connectors, Indicators, and Pinouts” on page 55 “SNAP-PAC-S2-W Connectors and Indicators (Wired+Wireless)” on page Two-wire Pin 1 TX/RX + TX/RX + TX/RX + TX/RX – TX/RX –...
INSTALLING AND CONFIGURING THE CONTROLLER Assigning an IP Address See instructions in Opto 22 form 1704, the PAC Manager User’ s Guide, to assign IP addresses to the SNAP PAC S-series controller using a wired Ethernet connection. SNAP PAC controllers have two independent Ethernet network interfaces, labeled on the top of the controller as ENET1 and ENET2.
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. See the next page for antenna dimensions on the SNAP-PAC-S1-W.
Page 32
INSTALLING AND CONFIGURING THE CONTROLLER SNAP-PAC-S1-W Antenna Dimensions SNAP PAC S-Series User’s Guide...
Page 33
CHAPTER 2: QUICK START 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...
Page 34
INSTALLING AND CONFIGURING THE CONTROLLER SNAP-PAC-S2-W Antenna Dimensions SNAP PAC S-Series User’s Guide...
Save screws. Remove the base plate. Use the four screws to fasten the DIN-rail adapter clip to the bottom of the controller, as shown. Antenna dimensions for the SNAP-PAC-S1-W are on page Optional DIN-rail adapter clip...
Page 36
INSTALLING AND CONFIGURING THE CONTROLLER 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.
PAC Control. You can use the OptoMMP Communication Toolkit or the IEEE 1394-based protocol for writing your applications. Both are explained in Opto 22 form 1465, the OptoMMP Protocol Guide, which also includes complete details of the memory map. Although this guide is written for I/O units, you can use the same information for a SNAP PAC S-series controller.
WHAT’S NEXT? What’s Next? Your controller is now ready for use. • To create PAC Control strategies to run on the controller, see the PAC Control User’ s Guide and the PAC Control Command Reference. Both are available in PDF format on the CD that came with the controller.
“Maintaining the 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.
TROUBLESHOOTING Communicating on a Wired Ethernet Network If you attempt to connect to the controller using its IP address and you cannot, first check the following: • Make sure the controller has been turned on, the STAT LED is lit and not blinking, and the LNK LEDs for the connected Ethernet interfaces are lit.
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.
Analyze Communication Packets If it appears that you have network problems, Opto 22 recommends using the open-source network protocol analyzer (or “packet sniffer”) WireShark (www.wireshark.org) to log and analyze network communication packets on your network.
Page 43
If you are receiving frequent timeout messages from the SNAP PAC S-series controller, you can change the TCP parameters in PAC Manager. 1. Choose Start→Programs→Opto 22→PAC Project Software→PAC Manager. 2. In the PAC Manager main window, click the Inspect button 3.
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). On a SNAP-PAC-S2, there are separate LEDs for Transmit and Receive for each port.
It will retain data for up to one year with the power off. 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.
MAINTAINING THE CONTROLLER NOTE: Because the Status Read area is used for both standalone controllers and Ethernet-based I/O units, some items apply to some devices and not others. The following items do not apply to standalone controllers: Degrees F/C PID Loops Comm Watchdog Time (msec.) Smart Modules Present Scanner Flags...
5.1c and newer, it blinks red/green continuously. Failsafe bootloader mode is a diagnostic mode that you don’t need to access unless you are troubleshooting a problem with Opto 22 Product Support. If your controller restarts in failsafe bootloader mode, cycle power to the device. This performs the simple reset described above and leaves the controller ready to load a new strategy.
MAINTAINING THE CONTROLLER • To update firmware on the controller. The card provides a convenient way to update firmware on non-networked controllers. It’s also useful if PAC Manager is not available to update firmware. • To boot the controller from firmware on the microSD card rather than from the firmware in the controller, for example to test new firmware.
CHAPTER 3: MAINTENANCE AND TROUBLESHOOTING Within the directory, you can create other directories and files as needed, up to a sdcard0 maximum of 512 in the sdcard0 directory. In subdirectories of sdcard0, however, you can include many more files. The total number of files and directories on the micoSD card cannot exceed 65,500. When the card is in the controller, you can access files on the card through PAC Control commands and from a PC using FTP.
Page 50
MAINTAINING THE CONTROLLER 1. Obtain the correct firmware file from our website, www.opto22.com. If you are using Secure Strategy Distribution (SSD), the firmware must have the correct signature. 2. Rename the firmware file to fit the 8 dot 3 filename format (see “Card Type and Format”...
CHAPTER 3: MAINTENANCE AND TROUBLESHOOTING Booting from Firmware on the Card You can also boot the controller from firmware on the card, rather than from the firmware in flash memory, for example to test new firmware before updating it. 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.
MAINTAINING THE CONTROLLER 4. To boot the controller from firmware on the card, turn the controller off and insert the card in the controller’s card slot. Turn the controller back on. (Or insert the card and immediately reset the controller.) If the boot directory exists on the card, the STAT LED blinks green three times, quickly.
Page 53
CHAPTER 3: MAINTENANCE AND TROUBLESHOOTING strategy follows the status of the existing strategy: if the existing strategy was running when the card was inserted, the new strategy will run; otherwise, it will not.) If you use background downloading, the controller will switch to the new strategy when the card is inserted.
MAINTAINING THE CONTROLLER background downloading, and run the new strategy if you set it to autorun. If it’s not set to autorun, you can start the strategy manually. b. Put the card in while the controller is running. The controller will check that the stratregy differs from the existing one, verify signature on an .ssd file, load the strategy, burn it to flash if you told it to, switch to the new strategy if you’re using background downloading, and then run the strategy only if the existing strategy was running when you...
Page 55
CHAPTER 3: MAINTENANCE AND TROUBLESHOOTING If the STAT LED blinks green when the controller starts up, it indicates the following: Number of Speed of Means Blinks Blinks fast Loading firmware (kernel) from Flash memory to SDRAM. fast Default settings have been successfully restored. (Loader versions 5.1n and older) Entering failsafe boot- fast loader mode (see...
Contact Product Support. ENET 2. slow Realtime clock failure Contact Product Support. Serial Port LEDs The S0, S1, and S2 LEDs on a SNAP-PAC-S1 controller indicate serial port operation as follows: • Green—Transmit • Red—Receive • Amber—Transmit and Receive (the LED is actually changing rapidly between green and red,...
(Models manufactured November 2008 and later; requires firmware R8.4 or higher) MicroSD card slot: supports MicroSD card up to 2 GB maximum Backup battery SNAP-PAC-S1: User-replaceable 3.6-volt TL 5242 /W lithium, 10-year minimum power-off data retention (replacement part number: G4BATT32) SNAP-PAC-S2: Rechargeable (recharges whenever the brain has power), 1-year...
Page 58
RTS, CTS) or as RS-485 (2-wire, 4-wire, optional termination, optional biasing); optional mistic signal interrupts I/O unit compatibility Ethernet-based I/O units Opto 22 SNAP PAC R-series, SNAP PAC EB-series, SNAP SIO, SNAP EIO, and SNAP UIO brains Serial-based I/O units SNAP PAC SB-series, Serial B3000, SNAP-BRS, B100/B200, mistic remote...
APPENDIX A: TECHNICAL SPECIFICATIONS SNAP-PAC-S1 and -FM Connectors, Indicators, and Pinouts 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...
SNAP-PAC-S1-W CONNECTORS AND INDICATORS (WIRED+WIRELESS) SNAP-PAC-S1-W Connectors and Indicators (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...
APPENDIX A: TECHNICAL SPECIFICATIONS SNAP-PAC-S2 Connectors, Indicators, and Pinouts Serial activity LEDs Activity LED (Yellow) Link LED (Green) Independent 10/100 Mbps Ethernet Ports 0 - 3 are each software interfaces (RJ-45 connectors) configurable as either RS-232 (TX, RX, COM, DTR, Controller reset button DCD RTS, CTS), or MicroSD card slot...
SNAP-PAC-S2-W CONNECTORS AND INDICATORS (WIRED+WIRELESS) SNAP-PAC-S2-W Connectors and Indicators (Wired+Wireless) Wireless LAN antenna Serial activity LEDs Activity LED (Yellow) Link LED (Green) Independent 10/100 Mbps Ethernet Ports 0 - 3 are each software interfaces (RJ-45 connectors) configurable as either RS-232 (TX, RX, COM, DTR, Controller reset button DCD RTS, CTS), or RS-485 (2-wire, 4-wire,...
Appendix B B: PPP Support in Microsoft Windows Configuring PPP Support in Microsoft Windows Configuring Microsoft Windows Dial-up Networking on Windows XP Use the following settings to configure Windows dial-up networking on any PC that will dial in to the controller. 1.
Page 64
CONFIGURING PPP SUPPORT IN MICROSOFT WINDOWS General Tab Options Tab SNAP PAC S-Series User’s Guide...
Page 65
APPENDIX B: PPP SUPPORT IN MICROSOFT WINDOWS Security Tab Networking Tab SNAP PAC S-Series User’s Guide...
CONFIGURING PPP SUPPORT IN MICROSOFT WINDOWS Advanced Tab Configuring Microsoft Windows Dial-up Networking on Windows NT Use the following settings to configure Windows dial-up networking on any PC that will dial in to the controller. Click Start and choose Programs→Accessories→Dial-Up Networking. Basic Tab Phone Number—Enter the phone number for the modem attached to the controller.
APPENDIX B: PPP SUPPORT IN MICROSOFT WINDOWS – Don't use header compression – Do use default gateway on remote network Script Tab—After dialing: None Security Tab—Accept any authentication including clear text. Configuring Microsoft Windows Dial-up Networking on Windows 2000 Use the following settings to configure Windows dial-up networking on any PC that will dial in to the controller.
Page 68
CONFIGURING PPP SUPPORT IN MICROSOFT WINDOWS Options Tab Security Tab SNAP PAC S-Series User’s Guide...
Page 69
APPENDIX B: PPP SUPPORT IN MICROSOFT WINDOWS Networking Tab Sharing Tab SNAP PAC S-Series User’s Guide...
CONFIGURING PPP SUPPORT IN MICROSOFT WINDOWS Setting Up a Remote Access Server on the PC (Windows 2000 Advanced Server) Use the following steps to set up a remote access server (RAS) on the PC so that the controller can dial in to the PC. Be sure to work closely with your System Administrator. NOTE: Windows 2000 Professional does not support RAS;...
Page 71
APPENDIX B: PPP SUPPORT IN MICROSOFT WINDOWS 5. Click the Authentication Methods button and set the following, and then click OK: 6. Set the IP tab to use either Static address pool or DHCP server. In this example, we used a Static address pool: 7.
Page 72
CONFIGURING PPP SUPPORT IN MICROSOFT WINDOWS The NetBEUI and Event Logging tabs are not relevant to the controller's access. You can set them to any level you wish. Since event logging may be useful for troubleshooting the connection, you may want to set it as follows; but it is not required. To see the log, use the Event Viewer in Administrative tools.
APPENDIX B: PPP SUPPORT IN MICROSOFT WINDOWS 11. Leave the Advanced, IP, and Multilink tabs at their default, which is to default to the server settings. The Dial-in Constraints permit you to set the server-side idle session timeout and max connect times.
Page 74
CONFIGURING PPP SUPPORT IN MICROSOFT WINDOWS 10. Click Start and choose Settings→Control Panel→Services. In the dialog box, scroll down and highlight Remote Access Server. To start the service manually, click Start. To set it to start automatically, click Configure and click Automatic Start. RAS is ready for use.
Need help?
Do you have a question about the SNAP-PAC-S1 and is the answer not in the manual?
Questions and answers