1704 PAC Manager Users Guide
1704 PAC Manager Users Guide
PAC MANAGER
USER’S GUIDE
Wired+Wireless controllers and brains are licensed under one or more of the following patents: U.S. Patent No(s). 5282222,
RE37802, 6963617; Canadian Patent No. 2064975; European Patent No. 1142245; French Patent No. 1142245; British Patent
No. 1142245; Japanese Patent No. 2002535925A; German Patent No. 60011224.
Opto 22 FactoryFloor, groov, groov EPIC, groov RIO, mobile made simple, The Edge of Automation, Optomux, 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, OptoDisplay, OptoEMU, OptoEMU Sensor,
OptoEMU Server, OptoOPCServer, OptoScript, OptoServer, OptoTerminal, OptoUtilities, PAC Control, PAC Display, PAC
Manager, PAC Project, PAC Project Basic, PAC Project Professional, SNAP Ethernet I/O, SNAP I/O, SNAP OEM I/O, SNAP PAC
System, SNAP Simple I/O, SNAP Ultimate I/O, and Wired+Wireless are trademarks of Opto 22.
ActiveX, JScript, Microsoft, MS-DOS, VBScript, Visual Basic, Visual C++, Windows, and Windows Vista are either registered
trademarks or trademarks of Microsoft Corporation in the United States and other countries. Linux is a registered
trademark of Linus Torvalds. ARCNET is a registered trademark of Datapoint Corporation. Modbus is a registered trademark
of Schneider Electric, licensed to the Modbus Organization, Inc. Wiegand is a registered trademark of Sensor Engineering
Corporation. Allen-Bradley, CompactLogix, ControlLogix, MicroLogix, SLC, and RSLogix are either registered trademarks or
trademarks of Rockwell Automation. CIP and EtherNet/IP are trademarks of ODVA. Raspberry Pi is a trademark of the
Raspberry Pi Foundation. The registered trademark Ignition by Inductive Automation® is owned by Inductive Automation
and is registered in the United States and may be pending or registered in other countries. CODESYS® is a registered
trademark of 3S-Smart Software Solutions GmbH.
groov includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit. (http://www.openssl.org)
All other brand or product names are trademarks or registered trademarks of their respective companies or organizations.
Opto 22
Your Edge in Automation.
Chapter 1: Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
About this Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
Related Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2
For Developers: SNAP PAC REST API. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Product Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Opto 22 Processor Comparison Chart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
• If you are using groov EPIC or groov RIO, do not use PAC Manager. Instead, use groov Manage or PAC
Control. For details, see the following:
• groov EPIC User’s Guide (form 2267)
• groov RIO User’s Guide (form 2324)
• PAC Control User’s Guide (form 1700)
• Allen-Bradley: If you are using SNAP PAC EB brains or SNAP PAC controllers with Allen-Bradley Logix
PLC systems, do not use PAC Manager. Instead, use the EtherNet/IP Configurator. For details, see the
EtherNet/IP for SNAP PAC Protocol Guide (form 1770). Both the software and the guide are
available on our website, www.opto22.com.
PAC Manager is available for download from our website, www.opto22.com.
Contents
This guide assumes that you have some familiarity with TCP/IP, UDP/IP, and Ethernet networking. If you are not
familiar with these subjects, we strongly suggest you consult commercially available resources to learn about
them before attempting to use these systems.
This user’s guide includes the following sections:
Chapter 1: Introduction—Information about the guide and how to reach Opto 22 Product Support. Also
includes product comparison charts.
Chapter 2: Configuring Devices—How to assign an IP address to your hardware, how to configure I/O units
and I/O points, how to use I/O point features such as counters, watchdogs, and analog scaling; and how to
send configuration data to I/O units.
Chapter 3: Configuring Optional Functions—Information on configuring security, communication
protocols like SNMP and PPP, streaming, the Scratch Pad area, and other optional functions.
Chapter 4: Setting Up Events and Reactions—If you are not using PAC Control, information on configuring
local reactions to local events.
Chapter 5: Reading and Writing to Specific Devices—How to read data directly from a specific controller
or I/O unit or write directly to a controller, brain, or I/O points.
Chapter 6: Maintaining Devices—Changing IP addresses, upgrading firmware, and working with files on
the device.
Chapter 7: Troubleshooting—Tips for resolving difficulties you may encounter while working in PAC
Manager.
Appendix A: Menus—Describes the PAC Manager menu commands.
Appendix B: Dialog Boxes—Describes the features of PAC Manager dialog boxes.
Related Documentation
You may also need some of the following documentation, depending on the system you are using and how
you expect to communicate with it:
Opto 22
To use this See this
form #
SNAP PAC R-Series Controller User’s Guide 1595
SNAP PAC R-series controllers
OptoMMP Protocol Guide 1465
SNAP PAC S-Series Controller User’s Guide 1592
SNAP PAC S-series controllers
OptoMMP Protocol Guide 1465
SoftPAC Software-based Controller for PC-based Control
SoftPAC controllers 2020
Data Sheet
SNAP PAC Brain User’s Guide 1690
SNAP PAC EB and SB brains
OptoMMP Protocol Guide 1465
PAC Control User’s Guide 1700
PAC Control strategies PAC Control Command Reference 1701
PAC Control Commands Quick Reference Card 1703
Serial communication modules SNAP Serial Communication Module User’s Guide 1191
High-density digital modules SNAP High-Density Digital Module User’s Guide 1547
All forms are available for download from our website, www.opto22.com. The easiest way to find one is to
search on the form number.
PRODUCT SUPPORT
If you have problems installing or using PAC Manager and cannot find the help you need in this guide or on
our website, contact Opto 22 Product Support.
Phone: 800-TEK-OPTO
(800-835-6786 toll-free in the U.S. and Canada)
951-695-3080
Monday through Friday,
7 a.m. to 5 p.m. Pacific Time
Email: [email protected]
When calling for technical support, you can help us help you faster if you provide the following information to
the Product Support engineer:
• 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:
– For groov EPIC processors and groov RIO modules: available in groov Manage by clicking Info and
Help > About.
– For SNAP controllers and brains: available in PAC Manager by clicking Tools > Inspect.
• Specific error messages you received.
• Version of your computer’s operating system.
• For PAC Control, PAC Display, OptoOPCServer, or PAC Manager, you may be requested to provide
additional information, such as log or dump files. You can find these files in a support files sub-folder:
a. On your Windows Desktop, double-click the PAC Project 10.4 folder.
b. Double-click Support Files.
c. Double-click on the appropriate shortcut to open the sub-folder containing the requested files.
Note: PAC Control, PAC Display, OptoOPCServer, and PAC Manager create appropriate sub-folders when they
create diagnostic log or dump files. If they have not created these files, the sub-folder may not exist; in this case,
the shortcut will not work.
SNAP-PAC-EB2-FM
SNAP-PAC-R1-FM
SNAP-PAC-EB1
SNAP-PAC-EB2
SNAP-PAC-SB1
SNAP-PAC-SB2
SNAP-PAC-R1-B
FEATURE
SNAP-PAC-R1
SNAP-PAC-R2
SNAP-PAC-S1
SNAP-PAC-S2
(Obsolete)
SoftPAC
SNAP-PAC-EB1-FM
SNAP-PAC-EB2-FM
SNAP-PAC-R1-FM
SNAP-PAC-EB1
SNAP-PAC-EB2
SNAP-PAC-SB1
SNAP-PAC-SB2
SNAP-PAC-R1-B
FEATURE
SNAP-PAC-R1
SNAP-PAC-R2
SNAP-PAC-S1
SNAP-PAC-S2
(Obsolete)
SoftPAC
TCP/IP, UDP/IP
EtherNet/IP™ (Allen-Bradley® RSLogix® sys-
tems and others)
Modbus®/TCP (slave)d
OPC driver support f f
RESTful API
Protocols HTTP/HTTPS
OptoMMP memory-mapped protocol g
SNMP (network management)
FTP server, file system
FTP client
SMTP (email client with authentication and
attachments)
SNAP-PAC nodes for Node-RED; RESTful API
Direct access to hard drive & network drives (Dropbox®, etc.)
a
Realtime clock
h
Backup battery (recharges when brain has power)
a
Physical RAM (MB) 32 16 16 16
RAM available for Strategy (MB) 64 16 4 -- --
Battery-backed RAM (MB) 8 8 2 -- --
Flash memory (MB) i 16 8 8 8
a
Removable data storage (microSD card slot) 32 GB max.k 32 GB max.k
a
32-bit processor
Floating-point unit (FPU) a
5.0 to 5.2 5.0 to 5.2
8–32 VDCl
a 5.0 to 5.2 VDC VDC VDC
Power requirements 10 W–11.3 W
@ 1.2–1.5 A @ 750 mA– @ 750 mA–
max
1.0 A 1.0 A
Operating Temperature in degrees C a -20 to 60 -20 to 60 -20 to 60 -20 to 60
Storage Temperature in degrees C -40 to 85 -40 to 85 -40 to 85 -40 to 85
a
Humidity (non-condensing) 0–95% 0–95% 0–95% 0–95%
SNAP PAC EB brains
SNAP PAC SB brains
Compatible
SNAP PAC R-series controllers
I/O unitsn
groov EPIC processors
groov RIO modules
Combination controller and I/O processor
Mounts on SNAP PAC I/O mounting rack n/a n/a
Mounts on SNAP B-series I/O mounting rack n/a n/a
Maximum number of modules allowed on largest rack:
n/a n/a o o p p
Any mix of 16 digital, 16 analog, and 8 serial
SNAP-PAC-EB1-FM
SNAP-PAC-EB2-FM
SNAP-PAC-R1-FM
SNAP-PAC-EB1
SNAP-PAC-EB2
SNAP-PAC-SB1
SNAP-PAC-SB2
SNAP-PAC-R1-B
FEATURE
SNAP-PAC-R1
SNAP-PAC-R2
SNAP-PAC-S1
SNAP-PAC-S2
(Obsolete)
SoftPAC
Input latching
On/off status
Watchdog timer
High-speed counting (up to 20 kHz)q
Quadrature countingr
Digital I/O point
features On-pulse & off-pulse measurementq n/a n/a
Frequency & Period measurementq
TPO (time-proportional output)
Digital totalizingq
Pulse generation (continuous square wave, N
pulses, on-pulse, off-pulse)
Thermocouple linearization (32-bit floating point
for linearized values)
Minimum/maximum values
Offset and gain
Scaling
Analog I/O point TPO (Time-proportional output)s
n/a n/a
features
Output clamping
Filter weight
Watchdog timer
Analog totalizingt
Rampingt
PID logic (maximum 96 PID loops per controller or brain)
Data logging
Digital events, alarm events, serial events u u
n/a
Event messaging
UDP streaming of I/O data to host
I/O point data mirroring and memory map copying
a As provided by the Microsoft Windows computer the software runs on. n For compatibility with legacy Opto 22 hardware, see form
b SoftPAC cannot communicate through serial ports on the PC. #1693.
c Serial ports are software configurable for RS-232 or RS-485. o SNAP-PAC-R1s with serial numbers lower than 600,000,
d PAC firmware >=R9.4b, 8 max connections. Lower firmware, 2 max connections. and all SNAP-PAC-R1-Bs: limited to eight 4-point digital
f Available with OptoOPCServer and PAC Control, through a SNAP PAC controller. modules per rack.
g SoftPAC includes Status Read, Status Write, and Scratch Pad memory map areas. p Not supported: serial, motion control, Profibus, & Wie-
h Models manufactured before August 2007 and S1s with serial numbers 625653 gand modules.
and lower have user-replaceable backup batteries. See original user’s guide. q Four-channel modules only; not high-density modules.
i Flash memory function implemented via a file; size is limited only by disk space. r Requires a SNAP-IDC5Q quadrature input module.
k PAC firmware 9.4a and loader 6.1a or higher. S-series with microSD & manufac- s Requires a SNAP analog TPO module (SNAP-AOD-29).
ture date older than 06/14 supports max. 2 GB microSD. t Requires a SNAP PAC controller and PAC Control com-
l Units with serial numbers lower than 500,000 have an 8–24 VDC input voltage mands.
rating. Verify voltage on the unit’s faceplate before applying power. u Does not support serial events.
INTRODUCTION
Follow the steps in this chapter to assign IP addresses to Opto 22 devices on an Ethernet network. (Addressing
information for SNAP PAC SB serial brains is set on the brain itself. For details, see the SNAP PAC Brains User's
Guide, form 1690.) This chapter also includes steps for configuring I/O unit points and features. I/O points must
be configured before you can read or write to them.
This chapter assumes that you have already installed the hardware and software according to steps in the
device’s user’s guide. (See “Related Documentation” on page 3.)
If you are using a wireless or modem connection, or if you are using event messages, email, streaming, the
Scratch Pad area for peer-to-peer communication, or SNMP for communicating with enterprise management
systems, also see Chapter 3, which shows you how to set up these optional functions. All this information goes
in the configuration file that PAC Manager uploads to I/O units.
SNAP I/O can be configured in PAC Manager and imported into PAC Control.
SNAP and mistic I/O can also be configured in PAC Control.
For most I/O units, if you are already in PAC Control, configuration is easier there and you can use the loopback
IP address for SNAP PAC R-series I/O units controlling themselves. However, some functions for I/O units
cannot be configured in PAC Control.
If you use PAC Manager, you can save your configuration to a file, load it to multiple I/O units at once, and use
it for referencing points in OPC. However, you cannot use the loopback address in PAC Manager.
Choose your configuration tool based on what you need to do:
Use PAC Control for I/O configuration if Use PAC Manager for SNAP I/O configuration if
• You have only one I/O unit or I/O unit configurations • You have multiple I/O units whose configurations
are different. are exactly the same or similar.
• The strategy will run on SNAP PAC R-series I/O • You are using a modem connection (PPP) or SNMP.
units that are controlling themselves using the • You are using event messages or email.
loopback IP address, 127.0.0.1 • You are configuring events and reactions on the I/O
• You are using an Ethernet network for unit in addition to strategy logic.
communications (or using a SNAP PAC controller • You are not using PAC Control.
with an SB brain).
• The strategy handles all logic; you are not also
configuring events and reactions on I/O units.
Whichever tool you use for configuring I/O, be aware of the impact if you later change configuration. For
example, if you configure I/O in PAC Manager, and then download the configuration file to I/O units, and then
later add a point in PAC Control, remember that your configuration file won’t contain the new point.
ASSIGNING AN IP ADDRESS
NOTE: If you are using redundant controllers with the SNAP PAC Redundancy Option Kit and PAC Project Professional
R9.1, do not use PAC Manager to assign IP addresses. Instead, use the PAC Redundancy Manager.
About IP Addresses
Each Ethernet-based device (controller or brain) ships from the factory with a unique hardware Media Access
Control (MAC) address and with a default IP address of 0.0.0.0, which is invalid. Each device must have a valid
IP address and subnet mask so that it can communicate on the network.
Assigning IP Addresses
SNAP PAC controller, must be assigned a unique, static IP address. If the network you’re using has a
Dynamic Host Configuration Protocol (DHCP) server, either assign a static IP address before connecting the
device to the network (preferred), or disable the server. (These servers may respond to BootP requests and
assign a dynamic address.)
Wired+Wireless models: These devices have a wireless LAN interface as well as wired interfaces, but they
send a BootP request only on the wired interface. First, follow the steps below to connect to them over a wired
network and assign their primary IP address. Later, you can configure the wireless interface.
TIP: If you are adding an I/O segment to an existing Ethernet network, your network administrator must provide
For multiple devices, static IP addresses and subnet masks for the I/O units. If you are creating an independent, dedicated Ethernet
see page 15. network just for I/O, you can choose your own addresses.
1. Make sure that the Opto 22 hardware is installed according to directions in its user’s guide, and that the
PAC Manager software is installed on the computer.
2. Make sure you know the IP address, subnet mask, and MAC address for each device that will receive an IP
address.
Menu bar
Toolbar
1 Click the Windows Search button and type PAC Manager 10.4.
The Assign IP Address dialog box opens. Any Opto 22 Ethernet-based devices without IP addresses that
are on the computer’s network segment appear in the list of units requesting IP addresses.
7. Enter the IP Address and the Subnet Mask for the device. If the device will be communicating with a
device on another subnet, enter the Gateway (router) address. If it will communicate only on the local
subnet, leave the gateway address all zeros (0.0.0.0).
Leave the DNS address at 0.0.0.0 and the Host Name field blank.
WARNING! Each device on your network, including computers, routers, controllers, brains, and so on, must
have a unique IP address. Failure to assign unique IP addresses may cause catastrophic network or hardware
failures. If you don’t know which IP addresses are safe to use, check with your system administrator.
8. When the IP address, subnet mask, and other fields are correct, click OK.
The new IP address information appears in the upper list in the dialog box, and the device’s status
changes to Mapped. The address information also appears in the lower list to show that this device has
been mapped to this address.
The address is saved to flash memory, and the status changes to IP Address Assigned.
– Once a device’s status becomes Assigned or Static, you can no longer change its IP address
information from this dialog box. To change the address, use Tools > Change IP Settings. (For details,
see page 199.)
– If the device’s status changes from Mapped to IP Address Assigned, and then back to Mapped, and
the STAT LED on the device continues to flash (instead of steadily glowing green) this means the IP
address was not successfully assigned. This often happens when you try to assign the IP address by
using a wireless connection, rather than a wired connection. Connect to the device with a cable and
try again, and verify that you’ve performed all of the checks listed in “Assigning IP Addresses to SNAP
PAC” on page 10.
10. To verify that the IP address has been assigned successfully, highlight the device in the upper list and click
Test.
A command prompt window opens and the IP address is automatically tested using the PING command.
You should see a reply similar to the following:
If you don’t see a reply, make sure the subnet mask you’ve assigned matches the subnet mask on your
computer.
11. For future reference, write the IP address next to the MAC address on the white sticker provided on the
device.
12. Repeat steps 6 through 11 for any other devices in the list that you are responsible for.
13. To save the list of IP address and MAC address mappings (the lower list in the dialog box) for future
reference, click the Save List button. Navigate to the folder where you want to save the file, enter a
filename, and then click Save.
The address information is saved. You can load this information into PAC Manager later if you need to see
it.
What’s Next?
• For a SNAP PAC R-series controller, continue to page 19 to assign an IP address to Ethernet 2.
– For a Wired+Wireless model, configure the wireless LAN interface (page 23). Then continue with
“Creating an I/O Unit Configuration File” on page 27.
• For a Wired+Wireless EB brain, configure the wireless LAN interface on page 23. Then continue with
“Creating an I/O Unit Configuration File” on page 27.
• For a SNAP PAC EB brain, continue with “Creating an I/O Unit Configuration File” on page 27.
• For a SNAP PAC S-series controller, choose from the following:
– To set up security on the wired network, see page 78.
– To assign an IP address to Ethernet 2 on a wired network, see page 19.
– (Wired+Wireless models only) To configure the wireless LAN interface, see page 23.
• To create PAC Control strategies to run on the controller, see the PAC Control User’s Guide (form 1700).
Information on peer-to-peer communication using the Scratch Pad area of the controller can be found in
the PAC Control User’s Guide; see the “peer-to-peer communication” in the index. See also the PAC Control
Command Reference (form 1701).
• To work with the controller’s file system, microSD card, and FTP, see page 215.
If you are an OEM, integrator, or customer who has a large number of Opto 22 devices to work with at once,
you may find it easier to first create a file of MAC-to-IP address mappings, and then assign IP addresses from
the file.
2. Before installing the Opto 22 devices, open PAC Manager. (For instructions, see the footnote on page 11.)
3. From the Tools menu, click Assign IP Address.
The Assign IP Address dialog box opens.
The upper section of this dialog box lists all Opto 22 devices on the same network that send a BootP or
DHCP broadcast while the dialog box is open. When you are ready to assign IP addresses, this is where
you do so. For now, ignore anything that appears here.
The lower section shows the contents of a mapping file you create, either while assigning actual
addresses or in advance of assigning them. This file can be saved, changed, and reloaded at a later time
for reference or to quickly assign addresses using the upper section—but the actual addresses on
devices cannot be assigned or changed here. The important thing to remember about this lower section
is that the list does not necessarily reflect actual addresses on devices. The IP addresses in the list may not
have been assigned yet, or a device’s address might have been changed at some point and the list not
updated.
4. In the lower section of the dialog box, click Add.
5. For the first Opto 22 device, type the correct MAC address (the first six digits are entered for you; they are
the same for all Opto 22 devices). Enter the IP address and subnet mask. Enter the Gateway address if
needed. Leave the DNS address at 0.0.0.0 and the Host Name field blank.
6. Double-check all numbers. When all are correct, click OK.
The device’s address information is listed in the lower section of the dialog box.
7. Click Add again and add additional addresses until all of them are listed in the lower section.
8. Double-check the addresses. If one is incorrect, click it to highlight it, click Modify, and make the
necessary changes.
9. To save the mapping file, click Save List. In the Save dialog box, navigate to the folder where you want to
place the file, enter a filename, and click Save.
The .map file is saved as a simple text file. This allows it to be modified in text editors such as Notepad.
10. Continue with the next section to assign the addresses.
NOTE: BootP broadcasts cannot get through a firewall in the computer where PAC Manager is running. Make sure
any firewall in the computer is disabled before you try to assign IP addresses. Firewalls in a router should not be a
problem.
1. IMPORTANT: Disable all DHCP servers on the Ethernet network you are using to assign IP addresses.
If a DHCP server is enabled on the network, it may assign IP addresses before PAC Manager has a chance
to do so. If that happens, turn off power to the devices, disable all DHCP servers, and turn the devices
back on. They should broadcast again.
2. Make sure that each Opto 22 device is installed according to directions in its user’s guide. Make sure the
computer you use is on the same network segment as the devices.
3. Turn on all the Opto 22 devices.
4. If PAC Manager isn’t already open, start it. (For instructions, see the footnote on page 11.)
5. In the PAC Manager menu bar, click ToolsAssign IP Address.
6. If the .map file you want does not appear in the lower section of the Assign IP Address dialog box, click
Load List, locate the file, and open it.
The Opto 22 devices begin to appear in the upper section of the dialog box. IP address information from
the map file is copied to the corresponding MAC address in the upper section, and the status of each
device changes to Mapped.
7. Check the address information. If anything is incorrect, double-click the device in the lower list and
change it. Click Save List to save the change to the file.
The change is automatically made to the upper section.
8. When all addresses are correct, click Assign All.
The address is saved to flash memory, and the status changes to Static IP.
The devices now have their IP addresses. If you need to change an address, use ToolsChange IP Settings
(see page 199). To assign an IP address to Ethernet 2 on a SNAP PAC controller, see the steps in the next
section.
For Wired+Wireless models, see page 23 to configure the wireless LAN interface.
SNAP PAC R-series and S-series controllers have two independent Ethernet network interfaces, labeled on the
top of the controller as Ethernet 1 and Ethernet 2. The controller sends its initial BootP request from Ethernet 1,
and the IP address you assign to the controller is for this primary interface. To communicate through Ethernet
2, you must assign it a separate IP address following the steps below.
IMPORTANT: The two Ethernet interfaces will work only if they are on separate IP subnets, so the control engine can
clearly determine where to direct communication. (The subnet masks can be the same or different, but when you
perform a logical AND on the IP address and subnet mask for each interface, the two results must be different.) For
example:
Ethernet 1 Ethernet 2
IP Address: 192.168.0.12 10.0.0.5
Subnet Mask: 255.255.255.0 255.255.255.0
NOTE: If you need to configure or modify settings for the network interface cards on your computer, you must be
logged in with administrative rights.
1. If PAC Manager isn’t already open, start it. (For instructions, see the footnote on page 11.)
2. In the PAC Manager main window, click the Inspect button .
The Inspect window opens.
– If you haven’t used the Inspect window before, the window will not show any data.
– If you have used the Inspect window before, the last device you inspected is shown in the Device
Name field, and current Status Read information appears in the window.
– If you have configured other devices, they are listed in alphabetical order in the drop-down list.
– If you have configured six or more devices, the Inspect window provides two additional features:
Next and Back navigation buttons (to navigate back and forth through the alphabetized list of
devices), and a list of the five most recently inspected devices (displayed at the top of the
drop-down list).
3. In the Device Name field, type the name for the SNAP PAC controller (or choose it from the drop-down
list). If the controller has not been defined in PAC Manager, the Add New Device dialog box appears.
Choose Direct Connection to Ethernet Device and enter the IP address of the primary Ethernet interface
(Ethernet 1). Leave the Ethernet port at 2001 unless you have changed it on the controller.
4. Click Status Read.
Status information for the controller is shown in the window. Scroll down till you see ETHERNET 2
Interface. If the IP address for Ethernet 2 has not been assigned yet, the IP address information will show
all zeros.
Secondary IP address
information
5. Click Status Write. Scroll down to see all the IP address fields for Ethernet 2.
Ethernet 2 IP
address fields
Restart command
6. Click the Value field for IP Address under Ethernet 2 Interface and type in the IP address. Enter the
Ethernet 2 Subnet Mask the same way. If necessary, change the Gateway. Leave the DNS as is.
7. When all the secondary IP address fields are correct, click Apply.
The information is sent to the SNAP PAC, but it cannot communicate on the Ethernet 2 interface until it is
restarted.
8. In the Operation Commands section, highlight Restart Device from powerup. Then click Send Command.
The SNAP PAC is restarted.
9. Check to make sure the controller is back on line by clicking Status Read again. Click OK at the message.
Scroll down a little to see all the IP address information for Ethernet 2.
Ethernet 1 IP address
information
Ethernet 2 IP address
information
10. To verify that the secondary IP address (Ethernet 2) is also communicating, make sure Ethernet 2 is
attached to the correct network. On a computer on the same subnet as Ethernet 2, open the PAC
Manager Inspect window. Enter the Ethernet 2 IP address (or a different name) in the Device Name field
and click Status Read.
The controller now shows the same information, but through the secondary interface:
Ethernet 1 IP address
information
Ethernet 2 IP address
information
NOTE: If you need to configure or modify the settings for the network interface cards on your computer, you must be
logged in with administrative rights.
1. If PAC Manager isn’t already open, start it. (For instructions, see the footnote on page 11.)
2. In the PAC Manager main window, click the Inspect button .
The Inspect window opens.
– If you haven’t used the Inspect window before, the window will not show any data.
– If you have used the Inspect window before, the last device you inspected is shown in the Device
Name field, and current Status Read information appears in the window.
– If you have configured other devices, they are listed in alphabetical order in the drop-down list.
– If you have configured six or more devices, the Inspect window provides two additional time-saving
features: Next and Back navigation buttons (to navigate back and forth through the alphabetized list
of devices), and a list of the five most recently inspected devices (displayed at the top of the
drop-down list).
3. In the Device Name field, type the device’s name or IP address (or choose it from the drop-down list).
4. Click Wireless LAN and choose Wireless LAN Configure from the popup menu.
5. In the WLAN Enable line, click the arrow next to Disabled and choose Enable.
6. Leave WLAN Logging disabled and Rx Inactivity Timeout at the default of 300.
7. Under Network Block Configuration, enter the IP address and subnet mask for the wireless network.
Remember that it must be on a separate network segment from the wired interfaces on the device.
8. If necessary, enter the Primary and Secondary Gateway addresses. Leave the Primary and Secondary DNS
fields blank.
9. Type in the name of the wireless network (SSID).
11. From the drop-down list, choose the security used on the wireless network.
Additional fields appear.
12. Choose the Network Key Input Type, either Hexadecimal or ASCII (WEP is normally Hex; WPA and WPA2
are normally ASCII).
13. Enter the Network Key (the password for the network).
This field will show the password when you enter it; however, if you inspect the device later, the field will
show only asterisks.
14. When all fields are complete, click Apply.
15. At the message asking whether you want to restart the device, click Yes.
The configuration information is sent to the device and stored to flash memory, and the device is
restarted. The WLAN LED turns orange to indicate that the interface is searching for or authenticating the
wireless network. Once the network is found, the LED turns solid green.
16. To see connection status and signal strength, click the View Status button. (You can also see this screen
by clicking Wireless LAN > Wireless LAN Status.)
Before you create a control strategy using PAC Control, or before you read or write to I/O units, you need to
configure the I/O points and features the strategy or other application will use. You can use PAC Manager to
copy a configuration or to configure all points, save the configuration to a file, and then upload the
configuration to one I/O unit or to several at once. You do not need to be attached to the I/O unit while you
are creating the configuration file and configuring its points.
NOTE: If you are using OPC to communicate with the I/O unit, you can use the configuration file (tag file) that PAC
Manager produces as an easy way to reference points for OPC. For details, see the OptoOPCServer User’s Guide
(form 1439, available with the purchase of PAC Project Professional or OptoOPCServer).
Configuration tree
You can expand and collapse the folders to see or hide the I/O units and points in them. Closing the
configuration tree is the same as closing the configuration file.
4. To save the configuration file, click the Save button (or in the menu bar, click FileSave).
5. Once the file is saved, continue with “Adding an I/O Unit” on page 32.
Source
Destination
Save To I/O Unit Image File. Enter the name of the I/O image file you want to write to, or click the browse
button to find the file.
Create New I/O Unit: Select this option to copy all the point information from a brain to create a new I/O
unit in PAC Manager. You will be prompted to enter an I/O unit name. For more information, see
“Creating a New I/O Unit from an Existing One” on page 29.
5. When the destination is correct, click Send, Save, or Create depending on the destination type.
A success message appears when the operation has completed.
The Create New I/O Unit option on the I/O Unit Import/Copy dialog box allows you to create a new I/O unit by
importing point information from the flash memory of an existing I/O unit directly into the tree structure of a
configuration file (also known as a tag database). You can then configure, add, or delete points in the new I/O
unit just as you would with an I/O unit created from scratch.
1. Make sure to save the existing I/O unit’s configuration information to flash memory. See “Saving
Configuration to a Device’s Flash Memory” on page 190.
2. Open an existing configuration file on the File menu, or create a new one. For information, see “Creating
a New Configuration File” on page 28.
3. In the PAC Manager menu bar, click ToolsImport/Copy I/O Unit.
4. For the Image Source, choose Existing I/O Unit Flash Memory.
5. Enter the IP address of the existing I/O unit, and click Read.
A success message appears when the data has been read. Click OK.
6. For the destination, choose Create New I/O Unit, and click Create.
Click Create
7. In the Add I/O Unit dialog box that appears, enter a name for the new I/O unit, and click OK.
The new I/O unit is added to the open tag database and a success message appears. Click OK.
8. Close the I/O Unit Import/Copy dialog box.
9. Expand the new I/O unit to see the imported points.
10. Before you can save the new I/O unit, the digital points must be assigned specific modules as follows:
a. Right-click a digital point and select Configure from the popup menu.
b. Double-click a generic digital module.
Generic digital
module
c. In the Edit Module dialog box, select a digital module to match the existing I/O unit, and then click
OK.
d. Repeat steps b and c for each generic module on the new I/O unit.
e. Close the Configure I/O Points dialog box.
11. Save the new I/O unit.
• You cannot save changes you make in PAC Manager back to the strategy file. Instead, you save them to a
configuration file, which can then be imported into PAC Control.
Follow these steps to create a configuration file from an existing strategy:
1. In PAC Control, open the strategy that contains the I/O units whose configurations you want to export.
2. In the configuration tree, right-click the I/O Units folder and choose Export from the pop-up menu.
3. In the Export I/O Units to an Opto Tag Database dialog box, navigate to the location where you want to
save the configuration file. Enter a name for the file, and click Save.
4. If PAC Manager isn’t already open, start it. (For instructions, see the footnote on page 11.)
5. In the PAC Manager main window, click the Open button or click FileOpen.
6. In the Open Tag Database dialog box, locate the file you just saved and open it.
Configuration tree
7. Expand the I/O Units folder in the configuration tree to see the units and points that are already
configured.
8. Continue with the next section to add or change I/O units.
An I/O unit consists of a SNAP I/O mounting rack, plus the I/O processor (brain or on-the-rack controller) and
I/O modules mounted on it. Racks used with SNAP PAC I/O units can hold up to 16 modules.
You must add an I/O unit before you can configure its modules and points.
1. Make sure the configuration file is open. On the configuration tree, double-click the I/O Units folder to
open the Configure I/O Units dialog box:
2. To configure a new I/O unit, click Add or double-click anywhere in the box below any listed units.
The Add I/O Unit dialog box appears.
A
B
C
D
E
F
G
3. For a SNAP PAC SB brain, skip to step 5. For an Ethernet-based unit, complete the fields as follows:
A—Name. Enter a name for the I/O unit. The name must start with a letter and may contain letters,
numbers, and underscores. Spaces are converted to underscores.
C—Type. Select the type of I/O unit from the drop-down list.
E—Port. Specify the communication port to use (2001, unless you have changed it for security
purposes according to instructions starting on page 78).
G—Secondary. If it’s a SNAP PAC R-series I/O unit with a secondary IP address, enter the secondary IP
address.
H—Watchdog. Select whether you want a Watchdog on the unit. The default is No (disabled). If you
select Yes, a new field appears; enter the Watchdog timeout value in seconds. The default timeout is 0.5
seconds. For information on watchdogs, see page 74.
4. The Address List area shows IP addresses of the I/O units that should receive this configuration. If this is
the only I/O unit to receive the configuration, don’t add any addresses here. However, if you have I/O
units that are exactly alike, list all of them here. That way you can download the configuration file to all
the I/O units at once.
a. To add an IP address, click Add.
In the dialog box, you can add a single IP address or a range of addresses.
A
B
C
F G
D
E
A—Name. Enter a name for the I/O unit. The name must start with a letter and may contain letters,
numbers, and underscores. Spaces are converted to underscores.
C—Type. Select the type of I/O unit from the drop-down list.
E—Connection. Choose whether you are connecting to the SB brain through a SNAP PAC controller or
directly from the computer (for more information, see “Connecting with a SNAP PAC SB Brain” on
page 27).
F—Ethernet Passthrough.
– Enter the controller’s IP address. Leave the port at 2001 unless you have changed it.
– Enter the controller’s serial port where the brain is connected. On a SNAP-PAC-S1, it’s Serial 2.
On a SNAP-PAC-S2, it could be any port.
– The baud rate on the controller must match the rate set on the brain.
– Enter the serial address of the brain.
G—Serial Direct.
– Enter the serial port on the computer where the brain is connected. The baud rate on the
controller must match the rate set on the brain.
– Enter the serial address of the brain.
H—Watchdog. Select whether you want a Watchdog on the unit. The default is No (disabled). If you
select Yes, a new field appears; enter the Watchdog timeout value in seconds. The default timeout is 0.5
seconds. For information on watchdogs, see page 74.
6. When information in the Add I/O Unit dialog box is complete, click OK.
The new I/O unit appears in the Configure I/O Units dialog box.
7. Continue with the next section, “Configuring I/O Modules and Points.”
Once you have added an I/O unit, you can configure its modules and points. See the following pages for
configuration steps. For motion control modules (such as SNAP-SCM-MCH16), see the SNAP PAC Motion
Control User’s Guide (form 1673).
Use the following steps to configure digital points on all digital modules supported by the brain or
on-the-rack controller.
1. In the Configure I/O Units dialog box, make sure the I/O unit for the point you are adding is highlighted.
Click the I/O Points button.
The Configure I/O Points dialog box appears. The dialog box shown here is for a SNAP I/O unit.
2. Double-click the number that represents the digital module’s position on the rack. (For help, see the
diagrams starting on page 155.)
3. For a SNAP I/O unit, choose the module type and then the exact module part number from the list.
4. Click OK.
5. Back in the Configure I/O Points dialog box, click the plus sign next to the new module to expand it.
Notice that the module icon is color-coded to reflect the type of module being configured: white for
digital DC input, red for digital DC output, yellow for digital AC input, and black for digital AC output.
Module icon
Points
A
B
A—Name. Enter a name for the point. The name must start with a letter and may contain letters,
numbers, and underscores. Spaces are converted to underscores.
C—Type, Module. For a SNAP I/O unit, the type and module are already filled in for you.
D—Features. To use a feature of the module, choose it from the drop-down list. (See “Using I/O Point
Features” on page 71 for explanations of point features. Note that some features, such as pulsing and
totalizing, can be configured in PAC Manager but require PAC Control to use them.)
E—Watchdog. (Output modules only) To configure a status the point should be set to if the
Watchdog timer on this I/O unit expires, click Yes and choose On or Off from the drop-down list.
8. When you have completed the fields, click OK.
The new point appears in the list.
9. To configure more digital points, repeat the steps. To configure analog points, see page 41.
Use the following steps to configure digital points on all G4 or Quad Pak digital modules supported by the
G4EB2 brain. The G4EB2 replaces a 32-channel brain in a mistic or Pamux system with an
Ethernet-based 32-channel digital brain that uses OptoMMP protocol. The G4EB2 brain is functionally similar
to a SNAP-PAC-EB2 brain without analog I/O functionality. Input and output modules can be placed in any
order.
1. In the Configure I/O Units dialog box, highlight the digital I/O unit the points are on, and click I/O Points.
The Configure I/O Points dialog box appears.
Points that have not been configured yet show as Not Used.
2. Double-click the channel number for the point you want to add.
The Add Digital Point dialog box appears.
A
B
C
D
E
A—Name. Enter a name for the point. The name must start with a letter and may contain letters,
numbers, and underscores. Spaces are converted to underscores.
E—Features. To use a feature of the module, choose it from the drop-down list. (See “Using I/O Point
Features” on page 71 for explanations of point features. Note that some features, such as pulsing and
totalizing, can be configured in PAC Manager but require PAC Control to use them.)
F—Watchdog. (Output modules only) To configure a status the point should be set to if the Watchdog
timer on this I/O unit expires, click Yes and choose On or Off from the drop-down list.
4. When you have completed the fields, click OK.
The new point is added.
3. Click OK.
4. In the Configure I/O Points dialog box, click the plus sign next to the new module to expand it. Notice
that the module icon is color-coded to reflect the type of module being configured: blue for analog
input, green for analog output.
Module icon
Points
A
B
E
D
F
A—Name. Enter a name for the point. The name must start with a letter and may contain letters,
numbers, and underscores. (Spaces are converted to underscores.)
C—Type, Module. For a SNAP I/O unit, the type and module are inserted for you, but you may be able
to choose a different range or module from the drop-down list.
D—Units, Scale. Units and scaling for this module. See “Using Custom Scaling” on page 43.
E—Scaling Default. To return the units, zero-scale value, and full-scale value to the defaults for the
module, click Default.
F—Scaling Custom. To assign custom units and values to the module, click Custom. For example, you
could scale the voltage range of a -10 to +10 VDC module to be interpreted as engineering units of liters
per second instead of volts. See “Using Custom Scaling” on page 43.
G—Watchdog. (Outputs only.) To configure a value this point should be set to if the Watchdog timer
on this I/O unit expires, click Yes and enter the value.
7. When you have completed the fields, click OK.
The new point is added. This image shows a SNAP I/O unit.
Analog modules can be set to show something other than the actual inputs or outputs. For example, you
could scale the readings of a -10 to +10 VDC input point to measure its input as zero liters per second when
the real-world reading is zero VDC, and 1000 liters per second when the real-world reading is five VDC.
Thermocouple values are not linear and cannot be scaled.
NOTE: Custom scaling has no effect on the resolution or accuracy of the module.
1. In the Add Analog Point dialog box, click the Custom button in the Scaling area to open the Scale Analog
Readings dialog box.
D
E
A—Scaled Units. Enter new engineering units for the module. The example uses liters per second.
B—Actual Lower Value. Enter the actual real-world lower value that the scaled lower value
corresponds to. Note that inputs typically have under-range capability, which means you can specify a
lower actual value that is less than the zero-scale value. Outputs do not have under-range capability.
C—Scaled Lower Value. Enter the new scaled lower value. This value can be any floating point value.
D—Actual Upper Value. Enter the actual real-world upper value that the scaled upper value
corresponds to. For inputs, you can specify an upper actual value greater than the full-scale value.
E—Scaled Upper Value. Enter the new scaled upper value. For outputs, this value can be any floating
point value greater than the scaled lower value. For inputs, it can be greater than or less than the scaled
lower value. This example uses 1000, which scales the output to 1000 liters per second when its actual
reading is 5 VDC.
3. Click OK.
The new custom-scaled units appear in the Add Analog Point dialog box.
Custom Module’s
scale scale
(Liters/sec) (VDC)
Possible low
–2000 –10
value for module
–1000 –5
Upper & lower 0 = 0
values entered
in dialog box 1000 = 5
Possible high
2000 10
value for module
This section describes how you can manually set offset and gain or have them automatically calculated and
set for you.
NOTE: You must use the manual method (page 47) if:
Save the configuration to flash so that it is not lost when power is turned off. Since each calibration is for a specific
point on a specific I/O unit, the result cannot be saved to the configuration file and cannot be sent to any other I/O
unit.
First, calculate offset, and then calculate gain. The offset must be calculated at the signal corresponding to
zero engineering units (EU), and the gain must be calculated at the signal corresponding to the point’s
maximum input range value (or, for inverted scaling, the point’s minimum input range value—in inverted
scaling, the lower scaled value is greater than the upper scaled value).
1. In the Configure I/O Points dialog box, highlight the analog input point you want to calibrate.
2. Click the Calibrate button in the lower-right corner of the dialog box.
(Not applicable to SB brains) RS-232 and RS-485/422 serial communication modules do not require
configuration unless you need to change communication parameters such as port numbers or baud rates.
Because these serial modules require no configuration, they do not appear in the Configure I/O Points dialog
box in PAC Manager; you have to remember which positions on the I/O unit are filled with serial modules. For
more information on these modules, see the SNAP Serial Communication Module User’s Guide (form 1191).
Default port numbers are shown on page 156. Default communication parameters are:
• 1 start bit (not configurable)
• 9600 baud
• No parity
• 8 data bits
• 1 stop bit
• No handshaking
• Send a test message when the module is turned on.
• SNAP-SCM-232: No flow control
• SNAP-SCM-485-422: 2-wire mode
Port numbers and all parameters except the last two (flow control and 2- or 4-wire mode) can be changed in
the I/O unit’s configuration file using the following steps. For flow control and 2- or 4-wire mode, see the steps
on page 49.
1. With the configuration file open, right-click the name of the I/O unit the serial module is on. From the
pop-up menu, choose Configure.
The Configure I/O Units dialog box opens.
Modules
button
2. Make sure the correct I/O unit is highlighted. Click the Modules button and choose Serial Modules from
the pop-up menu.
3. Click the status cell for the module number and port number whose parameters you want to change.
From the pop-up menu, choose Enabled.
The Status changes to Enabled.
4. To change a communication parameter, click the cell you want to change within the highlighted line.
Choose from the drop-down list, if there is one, or type the new value in the cell.
NOTE: The start bit is not configurable. To set flow control and 2- or 4-wire mode, see the steps on page 49.
NOTE: EOM (end-of-message) characters apply only when using the serial module port with serial events (see
page 140). The device can check any one of up to four characters as the EOM indicator, and you enter them in
the field in hex. Example: 0x0D0A0000 looks for a 13 (hex 0D) or 10 (hex 0A).
5. When you have finished changing parameters for serial modules, click OK to close the dialog box and
return to configuring I/O units.
IMPORTANT: If you have changed a TCP port number, you must save the change to flash and restart the I/O unit
when you send the configuration data to the I/O unit (see page 69).
IMPORTANT: You can configure flow control on a SNAP-SCM-232 and 2- or 4-wire mode on a SNAP-SCM-485-422
using PAC Manager. However, these configurations cannot be saved to the configuration file. The I/O unit that
contains the serial module must be on the same network as your computer, and the configuration is sent directly to
the I/O unit.
– If you have used the Inspect window before, the last device you inspected is shown in the Device
Name field, and current Status Read information appears in the window.
– If you have configured other devices, they are listed in alphabetical order in the drop-down list.
– If you have configured six or more devices, the Inspect window provides two additional time-saving
features: Next and Back navigation buttons (to navigate back and forth through the alphabetized list
of devices), and a list of the five most recently inspected devices (displayed at the top of the
drop-down list).
2. In the Device Name field, type the name of the I/O unit (any unique name, usually the name configured
in PAC Control) or choose it from the drop-down list. (You can also enter the IP address.) Then click
Refresh.
If the I/O unit has not been defined in PAC Manager, the Add New Device dialog box appears. Choose
Direct Connection to Ethernet Device and enter the IP address of the device. Leave the Ethernet port at
2001 unless you have changed it on the device.
3. Click the Communications button and choose Serial Modules from the pop-up menu.
Information from the I/O unit is displayed in the window.
4. Click the Serial Module Number drop-down list and choose the module’s position number on the rack to
see the module’s communication parameters.
5. To change a parameter, click its value in the Value column and choose from the drop-down list or enter a
new value.
NOTE: This is the only way to change hardware flow control for a SNAP-SCM-232 or 2- or 4-wire mode for a
SNAP-SCM-485-422. You can also change other parameters in this dialog box if necessary. However,
parameters changed in this dialog box are NOT saved to the configuration file.
6. When you have finished changing parameters for this module, click Apply.
The configuration changes are sent to the I/O unit.
Modules
button
2. Make sure the correct I/O unit is highlighted. Click the Modules button and choose Wiegand Modules
from the pop-up menu.
3. In the Number field, choose the Wiegand module’s position from the drop-down list. Click to put a check
mark in the Used box.
4. If you need to change port numbers, enter the new numbers for each port in the TCP port Number fields.
5. Click the Format/Value cell, and from the drop-down list, choose a standard data format (shown by its
total data length) or choose C for custom.
NOTE: O is the 37-bit Opto 22 format used in a sample PAC Control strategy available for use with Wiegand
modules. For details, see the SNAP Serial Communication Module User’s Guide (form 1191).
6. Change the following fields if necessary to match your Wiegand hardware device:
Data Length—total length of data in the transmission
Site Position—first bit of the site code
Site Length—length of the site code, in bits
Badge Position—first bit of the badge code (should be the next bit after the site code)
Badge Length—length of the badge code, in bits
7. When data for both ports is correct, repeat from step 3 for additional Wiegand modules.
8. When all Wiegand modules are configured, click OK to close the dialog box and return to configuring I/O
units.
IMPORTANT: If you changed a TCP port number, you must save the change to flash and restart the I/O unit when you
send the configuration data to the I/O unit (see page 69).
9. When you are ready to send all configuration data to the I/O unit, see “Sending Configuration Data to the
I/O Unit” on page 69.
PAC-R
Configuring Profibus Modules
EB
UIO
1. With the configuration file open, right-click the name of the I/O unit the Profibus module is on. From the
EIO pop-up menu, choose Configure.
The Configure I/O Units dialog box opens.
Modules
button
2. Make sure the correct I/O unit is highlighted. Click the Modules button and choose Profibus Modules
from the pop-up menu.
3. In the Number field, choose the Profibus module’s position from the drop-down list. Click to put a check
mark in the Used box.
4. If you need to change port numbers, enter the new numbers for each port in the TCP port Number field.
5. Change the Baud Rate and EOM Character List fields if necessary to match your Profibus devices. Choose
whether to have the module automatically send a Test Message when turned on (the default is Yes).
6. When data is correct, repeat from step 3 for additional Profibus modules.
7. When all Profibus modules are configured, click OK to close the dialog box and return to configuring I/O
units.
IMPORTANT: If you have changed a TCP port number, you must save the change to flash and restart the I/O unit
when you send the configuration data to the I/O unit (see “Sending Configuration Data to the I/O Unit” on page 69).
Modules
button
2. Make sure the correct I/O unit is highlighted. Click the Modules button and choose SSI Modules from the
pop-up menu.
3. In the Number field, choose the SSI module’s position from the drop-down list. Click to put a check mark
in the Used box.
4. Configure all parameters for each port used. See the SNAP SSI (Serial Synchronous Interface) Module User’s
Guide (form 1931) to obtain the data for these fields. For each port, choose Enabled in the Enable
Scanning field.
5. Repeat for additional SSI modules.
6. When all SSI modules are configured, click OK to close the dialog box and return to configuring I/O units.
7. When you are ready to send all configuration data to the I/O unit, see “Sending Configuration Data to the
I/O Unit” on page 69.
change the IP Port Number, Baud Rate, Data Masks, or Filters for the SNAP-SCM-CAN2B serial module.
However, the settings in your strategy will override the settings in PAC Manager for each module.
1. With the configuration file open, double-click the I/O Units folder.
The Configure I/O Units dialog box opens.
Modules
button
2. Highlight the I/O unit the CAN module is on. Click the Modules button and choose CAN Modules from
the pop-up menu.
Information from the I/O unit is displayed in the window.
3. Click the CAN Module number dropdown list and choose the module’s position number on the rack to
see the module’s communication parameters.
CAN module
number
To change the Baud Rate on a SNAP-SCM-CAN2, choose from the drop-down list
To change the Filter or Data Mask values, see the next section below.
5. When you have finished changing parameters for this module, click OK.
6. Repeat the previous step for additional CAN modules.
7. When all CAN modules are configured, click OK to close the dialog box and return to configuring I/O
units.
8. When you’re finished configuring I/O units, close the dialog box. Choose File > Save to save the
configuration file.
9.
The filters and data masks for each CAN2B module are normally configured in a PAC Control strategy using the
sample subroutines provided in the CAN RX/TX Integration Kit for PAC Project, part number
PAC-INT-CAN-RXTX. You can also use PAC Manager to configure these settings. However, the filter and data
mask settings in your PAC Control strategy will override the settings in PAC Manager for each module.
In PAC Manager the Data Masks and Filters are all set to 0 by default, which means that all CAN packets will be
received. If you want the SNAP-SCM-CAN2B module to provide filtering, then configure the Data Masks and
Filters.
Always start with the highest priority mask and filter, Data Mask 0 and Filter 0. Mask 0 uses Filter 0 and Filter 1,
in that order. Then Data Mask 1 uses Filters 2–5, in that order.
Masks and filters each consist of 32 bits; in PAC Manager these are entered in hex. The mask determines how
broadly or narrowly the filter will be applied, that is, which bits of the CAN ID to pay attention to when
deciding to accept or reject a CAN packet. The following table shows how the mask and filter work together.
Mask Bit Filter Bit CAN ID Bit Accept/Reject
0 X* X* Accept
1 0 0 Accept
1 0 1 Reject
1 1 0 Reject
1 1 1 Accept
* X = Don't Care
The configuration examples below show how to build the masks and filters.
These examples assume you are using module firmware 2.0b or higher.
Example 1
Suppose many CAN frames are placed on the bus at regular intervals (in no particular order). Some are
standard CAN frames; others are extended CAN frames. You are interested in only one frame, an extended CAN
frame with an Arbitration ID of: 0x14613A2C
This is the only frame you want to capture. How do you configure the Mask and Filter fields to capture it?
Parameter Value Description
A mask with all bits set means the module should consider each bit of the arbitra-
Mask 0 0x1FFFFFFF
tion ID for acceptance. This makes the filter more stringent.
Since this is an extended CAN frame, you want the filter to apply to extended
CAN frames received. So bitwise OR the Arbitration ID with the Extended ID
Filter 0 0x54613A2C
Enable (EXIDE) flag. This flag tells the brain that the filter should apply to
extended CAN frames. The value of this flag is 0x40000000.
Filter 1 0x0 Not used, since you are interested in only one CAN frame.
Mask 1 0x0 Not used
Filters 2 - 5 0x0 Not used
Here are representations of the 32-bit mask and the 32-bit filter for this example:
Mask 0
Bits: 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Bit values: 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Mask in hex: 1 F F F F F F F
Filter 0
For data in an extended frame, set the EXIDE flag, which is bit 30. The Arbitration ID of 0x14613A2C
becomes 0x54613A2C when bit 30 is set:
EXIDE flag
Not used
Not used
Arbitration ID
Bits: 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Bit values: 0 1 0 1 0 1 0 0 0 1 1 0 0 0 0 1 0 0 1 1 1 0 1 0 0 0 1 0 1 1 0 0
Filter in hex: 5 4 6 1 3 A 2 C
Example 2
Building on Example 1, suppose now you decide that in addition to the extended CAN frame with Arbitration
ID 0x14613A2C you also want to capture a standard CAN frame with Arbitration ID 0x1EC.
For this second frame you have two options:
• You could put the standard frame at Filter 1 so that both frames are using Mask 0.
• You could use a different mask, Mask 1, and use Filter 2.
In either case you need to map the 11-bit (standard) Arbitration ID to the 32-bit value the module is
expecting. The module expects the 11-bit standard ID to be in bits 28–18 of the 32-bit filter. So, in terms of
math: mask the desired 11-bit Arbitration ID with 0x7FF and then left-shift by 18 bits: ((11-bit
Arbitration ID) & 0x7FF)<<18
Using Mask 0. Mask 0 is already considering each bit in the Arbitration ID, and since we only want to look at
these two CAN frames, we could use Filter 1.
Parameter Value Description
A mask with all bits set means the module should consider each bit of the arbitra-
Mask 0 0x1FFFFFFF
tion ID for acceptance. This makes the filter more stringent.
Since this is an extended CAN frame, you want the filter to apply to extended
Filter 0 0x54613A2C
CAN frames received. So bitwise OR the Arbitration ID with the EXIDE flag.
Value of standard Arbitration ID filter after mapping it to its 32-bit value. Do not
set the EXIDE flag. In this case the lower 18 bits (the extended arbitration bits)
Filter 1 0x07B00000
are excluded from the acceptance check, even though the mask would indicate
otherwise, since this is a standard CAN frame filter.
Mask 1 0x0 Not used
Filters 2 - 5 0x0 Not used
Using Mask 1. If Mask 0 were less stringent (fewer set bits) so it would not cause acceptance of just the
0x1EC Arbitration ID, then you could use the Mask 1 and Filter 2.
Parameter Value Description
A Mask with much less stringent acceptance criteria. The set mask bits are used
Mask 0 0x1C63FFFF
in the comparison with the filter, while the cleared bits are “Don't Care.”
Since this is an extended CAN frame, we want the filter to apply to extended
CAN frames received. So bitwise OR the Arbitration value with the EXIDE flag.
Filter 0 0x54613A2C (Depending on the Arbitration IDs of other CAN frames on the bus, other
extended CAN frames will also be accepted, for example 0x15613A2C,
0x16613A2C, 0x17613A2C, 0x14713A2C, and so on.)
Filter 1 0x0 Not used
A mask stringent on the standard arbitration bits but allowing all the extended
Mask 1 0x1FFC0000
arbitration bits.
Value of standard Arbitration ID filter after mapping it to its 32-bit value. Do not
Filter 2 0x07B00000
set the EXIDE flag. This filter captures only the 0x1EC standard CAN frame.
Filter 3 - 5 0x0 Not used
Modules
button
2. Make sure the correct I/O unit is highlighted. Click the Modules button and choose HART Modules from
the pop-up menu.
3. In the Number field, choose the HART module’s position from the drop-down list. Click to put a check
mark in the Used box.
4. Configure all parameters for each port used.
– Port Number: If you need to change port numbers, enter a new number for each port in the Port
Number field.
– Primary Master: 0 = Secondary Master, 1 = Primary Master
A master is a device that is in control of the HART Bus. Either master (Primary or Secondary) can
initiate a transaction with a slave field device attached to the bus.
If you want a permanent master connected to the HART bus, use Primary Master = 1. This allows you
to temporarily attach another master device to configure a device or troubleshoot the HART bus.
– Retry Limit: 0, 1, 2, 3, 4, or 5
If the module does not receive a valid message from the slave device it is talking to, it will
automatically send up to the configured number of retries until it gets a valid response. If it does get
a valid response after the maximum number of retries, it will report back that an error occurred.
– Burst Message: 0 = Don't report burst messages, 1 = Report burst messages
A burst message occurs in a special mode where one slave device on the HART Bus is periodically
sending data without a request generated by a master device. Burst messages can be retrieved
using the Receive HART Burst Response command in your PAC Control strategy. For more
information, see the Analog group of commands in the PAC Control Command Reference (form
1701).
– Promiscuous Mode: 0 = Don't report other master requests/responses, 1 = Report other master
requests/responses.
When enabled (1), the module reports transactions initiated by the other master on the bus,
including requests generated by the other master and responses to those requests by the addressed
slave. You can retrieve Promiscuous Mode messages using the Receive HART Burst Response
command in your PAC Control strategy. For more information, see the Analog group of commands
in the PAC Control Command Reference (form 1701).
– Preambles Count: 5 to 20
Preamble characters are sent with every message to indicate that data is about to be transmitted.
The default of 5 should work in most situations. However, you might need to increase the number if
the slave device requires more preamble characters, which is generally true of older HART devices
and can be determined using HART command 0.
5. Repeat the previous step for additional HART modules.
6. When all HART modules are configured, click OK to close the dialog box and return to configuring I/O
units.
7. When you are ready to send all configuration data to the I/O unit, see “Sending Configuration Data to the
I/O Unit” on page 69.
3. Highlight the point you want to move and click Move To.
4. In the Points area of the Move Point To dialog box, highlight the location you are moving the point to.
Then click OK.
You return to the Configure I/O Points dialog box, and the point has been moved.
What is a PID?
PID loops (or simply PIDs) are used to drive an input (process variable) toward a particular value (the setpoint)
and keep the input very close to that value by controlling an output. For example, consider temperature
control, where the input is a measurement of ambient temperature, the setpoint is the desired temperature,
and the output is a heater. A PID will use a mathematical formula (algorithm) that controls the output to
maintain a desired temperature, efficiently adjust to changes in setpoint, and compensate for changes in load,
such as the influx of cold air. In this example, a temperature sensor (analog input), a thermostat (analog input),
and a heater control (analog output) are components of one system, controlled by a PID loop.
This guide assumes that you are already familiar with using PIDs. PID calculations are complex and the physical
qualities of systems suitable for PID control differ greatly. This guide includes only basic information for
configuring PIDs on SNAP PAC I/O units.
SNAP PAC R-series I/O units support 96 PID loops per I/O unit; SNAP PAC EB and SB I/O units support 32 PID
loops per I/O unit. These PIDs can control isolated systems or be part of cascaded systems where one loop
controls the setpoints or input variables of others.
NOTE: On SNAP PAC R-series, PID loops run on the I/O side, independent of any PAC Control strategy. Once it starts
running, a PID continues running until the I/O unit loses power or the PID is set to Manual. If you subsequently
download a different strategy to the control engine, you’ll receive an error message (-700) reminding you that a PID
loop is still running and that it may conflict with the new strategy. To turn off the PID loop, use Inspect mode in PAC
Manager to change the PID’s algorithm to None.
Each PID must be configured with essential parameters and then individually tuned for efficiency. You can
configure PIDs through either PAC Manager or PAC Control. For tuning PIDs, it’s easier to use the graphic
tuning tools in PAC Control. (For details, see the PAC Control User’s Guide, form 1700.)
If you are not using PAC Control, it is possible to configure and tune PIDs through the I/O unit’s memory map.
The memory map is in the OptoMMP Protocol Guide (form 1465).
For additional help with PIDs, see the OptoTutorial: SNAP PAC PID (form 1641).
Algorithm Choices
When you configure a PID loop, choose one of these algorithms2:
• Velocity (Type C)
• ISA
• Parallel
• Interacting
Velocity (Type C) is typically used to perform velocity control. The ISA, Parallel, and Interacting algorithms are
derived from the article “A Comparison of PID Control Algorithms” by John P. Gerry in Control Engineering
2 The following obsolete algorithms support PID loops configured before PAC Project R9.5. For details, see the Opto 22
(March 1987). These three equations are the same except for the tuning coefficients; converting from one
equation to another is merely a matter of converting the tuning coefficients.
Key to Terms Used in Equations
Derivative tuning parameter. In units
Process variable; the input to the
PV TuneD of seconds. Increasing magnitude
PID
increases influence on output.
SP Setpoint Output Output from the PID
InLo, The Error (PV – SP) from the previ-
Range of the input Err_1
InHi ous scan
Integrator. Anti-windup is applied
OutLo,
Range of the output Integral after the output is determined to be
OutHi within bounds.
Proportional tuning parameter. PV from the previous scan and the
Gain PV1, PV2
Unitless. May be negative. scan before that.
Integral tuning parameter. In units
Actual scan time (time since previ-
TuneI of seconds. Increasing magnitude ScanTime
ous scan)
increases influence on output.
PID Loops
button
2. Make sure the correct I/O unit is highlighted. Click the PID Loops button.
A
B
C D
E
F
G
H
I
N
K
O
L
M P
C—Input. Select the type of input: I/O Point, Host, or PID Output.
– If the PID’s process variable comes from an I/O point on the same unit, select I/O Point. Choose the
point from the drop-down list or type a point name to configure a new point.
– If the PID’s process variable comes from a PAC Control strategy, select Host. Enter an initial value for
the input.
– If the PID’s process variable is the output of another PID on this I/O unit (a cascading control loop),
select PID Output. Choose the PID from the drop-down list.
D—Square Root. (Optional) If you chose I/O Point or PID for step C, check this box if the error should be
calculated based on the square root of the process variable (applies to flow control systems where volumetric
flow is proportional to the square root of a signal from a flow transducer).
E—Low/High Range. Set the valid range of the process variable by entering the low range and the high
range. (See J for optional responses to out-of-range input.)
F—Setpoint. Choose the source for the setpoint: I/O Point, Host, or PID Output.
– To control the setpoint using a device such as a potentiometer, select I/O Point; choose an I/O point
from the drop-down list or type a new point name.
– To control the setpoint using PAC Control or PAC Display, select Host and enter an initial value.
– If another PID loop will control the setpoint, select PID Output and choose the PID from the
drop-down list.
G—Output. Choose the destination for the PID output: I/O Point or Host. (To use the output for controlling
the setpoint or input of another PID, choose Host.)
H—Lower/Upper Clamp. Enter upper and lower clamp values to prevent the output from exceeding a
desirable range. These values should equal the range of the output point, if used. Or choose values to make
sure that the output device doesn’t shut off (for example, keeping a circulation pump running regardless of
the PID output) or that the output never reaches a destructively high setting (for example, keeping a motor
below maximum).
I—Min/Max Range. (Optional) Enter minimum and maximum change values. The output won’t respond
until the minimum change is reached (for example, you may not want a heater to turn on to correct a 1
degree error). Maximum change prevents too drastic a change in output (for example, you could limit the
increase in a pump’s output to prevent pipe breakage). The default for both minimum and maximum is zero,
which disables the feature.
J—Output Options. Choose how the PID should respond if the input goes out of range. If no boxes are
checked, the PID will freeze output at the current value. To have PAC Control logic or an operator respond,
check Switch to manual mode. To force the output to a specific value, check Force output and type the output
values. NOTE: If both boxes are checked (forced output and manual mode), the output will be forced and the PID put
into manual mode; but if the PID is already in manual mode, the output will not be forced.
K—Algorithm. Choose algorithm: Velocity-Type C, ISA, Parallel, or Interacting. See page 64 for more
information.
L—Mode. Choose Mode. Auto activates the PID. Manual requires that PAC Control logic or an operator
control the PID output.
M—Scan Rate. Enter a scan rate to determine how often the input is scanned and the controller output is
calculated. Minimum value is 0.001 (1 millisecond). Scan time should be greater than system lag (the time it
takes for the controller output to have a measurable effect on the system). Also consider other PIDs and tasks
on the I/O unit competing for processing power.
N—Gain. Enter a positive or negative value for Gain. Heating systems usually require a negative value and
cooling systems a positive value. NOTE: Gain is usually refined during the tuning process.
O—Fd Fwd Initial and Fd Fwd Gain. (Optional) Enter Feed Forward Initial and Feed Forward Gain values
if you need to offset the controller output in your application. These values are constants that are multiplied
and added to the controller output; often they are not used in PIDs.
P—Tune I, Tune D. (Optional) Enter Integral and Derivative settings if you know the desirable settings.
However, Integral and Derivative are not essential to basic configuration and are better determined in the
tuning process.
5. Click OK.
PID loops
The list on the left shows all the I/O units in this configuration file. (In the case of an SB I/O unit, there is
only one.) When you click a unit, the Address List shows the serial address or IP addresses for all I/O units
associated with the highlighted unit. This is the address list you set up in the Add I/O Unit dialog box,
shown on page 33.
2. Highlight the I/O unit configuration(s) you want to send.
3. Highlight the IP addresses to receive the I/O unit configuration.
If you don’t highlight any addresses, the configuration will be sent to the entire list.
NOTE: If you highlighted more than one unit configuration, each unit configuration will automatically be sent
to all the IP addresses associated with it.
6. Click Send.
The configuration data is sent to the I/O units whose IP addresses you chose.
2. In the Send Configuration dialog box, highlight the I/O unit configuration and addresses for the I/O units
you want to clear.
3. Click Clear Flash.
Configuration data in flash memory is cleared.
G4EB2—Any digital input can be used as a counter. Counters must be configured. They start as soon as they
are configured and can be Started, Stopped, Read, and Read & Cleared.
Use PAC Control digital point commands to work with counters.
If your encoder device has an index feature, you can use two separate digital input points as indexes, one for
each axis. The index automatically resets the count, and it shows what the count was when the index was
triggered. Counts are sometimes lost, due to noise or encoder problems, for example; with the index, you can
see whether the count varies too much.
Unipolar and bipolar points are scaled in the same way, with the lowest reading reflecting the low scale and
the highest reading reflecting the high scale. Here are two examples:
Actual reading 0 mA 20 mA -5 V 0V +5 V
NOTE: With PAC firmware version 8.1 and higher, you can also use inverted scaling. For example:
0 mA 20 mA
742 fpm -27 fpm
Save the configuration to flash so that it is not lost when power is turned off. Since each calibration is for a specific
point on a specific I/O unit, the result cannot be saved to the configuration file and cannot be sent to any other I/O
unit.
First, calculate offset, and then calculate gain. The offset must be calculated at the signal corresponding to
zero engineering units (EU), and the gain must be calculated at the signal corresponding to the point’s
maximum input range value (or, for inverted scaling, the point’s minimum input range value—in inverted
scaling, the lower scaled value is greater than the upper scaled value).
For details, see “Calibrating Offset and Gain Using the Default Method” on page 174.
If you don't have access to a calibrator, or if the point uses inverted scaling and your device has PAC firmware
R9.5b or lower, see “Calculating Offset and Gain Using the Two-Point Method” on page 176.
If you are using Modbus/TCP, you will need to calculate the offset and gain yourself. Then you can write offset
and gain values to the I/O unit. For details, see page 45Calibrating Offset and Gain.
This graph shows the effect of filter weights (W) 2, 5, and 10 on a step input signal:
Y = (X-Y)/W + Y
Filter Response for Different values of 'W'
1
Input
2
0
5
1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41
10
-1
-2
-3
-4
A filter weight of zero turns off the calculation. Values less than or equal to 0.5 are changed to zero, since those
values would cause an unstable signal.
Filtering is applied to values that are in engineering units, including minimum and maximum values. Filtering
does not apply to values that are in counts. Set filter weight when configuring the analog point. Use the PAC
Manager Inspect window to set filter weight (see “Configuring I/O Modules, Points, and Features” on
page 157). If you are using PAC Control, you can also set filter weight in your control strategy using the
command Set Analog Filter Weight.
INTRODUCTION
Chapter 2 showed you how to configure I/O unit points and features. This chapter includes instructions for
setting up the following optional functions:
Sending event messages via email, SNMP, a stream packet, or a serial module page 92
Using the Scratch Pad area for peer-to-peer data sharing page 102
Using PPP for communicating via modem with the device page 123
In most cases, you use the same configuration file in PAC Manager to set up optional functions as you did to
configure I/O units, so the complete configuration information can be uploaded to I/O units all at once.
Preventing Access. For example, suppose you want to prevent any device from accessing a controller using
FTP. To do so, you would change the port number for the FTP protocol from the default of 21 to zero. Since
zero is an invalid port, no device could access the controller using FTP.
Limiting Access. If you wanted to limit FTP access, you could change the port number from 21 to a
non-reserved number between 1 and 65,535 (see list of reserved port numbers, below). If you change the
number, anyone (or any application) that needs to access the controller using FTP can do so by adding the
changed port number to the controller’s IP address. For example, if the controller’s IP address is 10.22.56.3 and
the port number is changed to 85, you would enter the following to access the controller:
10.22.56.3:85
If you change port numbers, do not use any number in the following list. These numbers are reserved for
Opto 22 firmware:
Port Used by Port Used by
20 FTP 2222 EtherNet/IP (UDP for I/O)
21 FTP 22000 Reserved
25 SMTP 22001 PAC Control/ioControl Host
67 BootP Server 22002 PAC Control Background Downloading
68 BootP Client 22003 Reserved
161 SNMP 22004 PAC Control User Chart
162 SNMP Traps 22005 PAC Control User Chart
502 Modbus/TCP 22500–22531 Serial Communication Modules
2001 OptoMMP Host 23567 PAC Controller Redundancy
2002 OptoControl Peer 44818 EtherNet/IP (TCP & UDP Explicit messages)
2003 OptoControl Peer 50000–50999 PAC controller internal use
For more information, see “Configuring Ethernet Security on an I/O Unit” on page 82 or “Configuring Ethernet
Security on a Standalone Controller” on page 85.
1. In PAC Manager, click Tools > Inspect, or click the Inspect button .
2. In the Inspect Opto 22 Device window, enter the IP address for the R- or S-series controller you want to
configure, or select it from the list.
3. Click the Communications button, and then choose Network Security from the pop-up menu.
4. In the WEB SERVER section:
a. Change the default value of TCP Listen Port (address 0xFFFF F03A 0014).
Typically, port 443 is used for HTTPS, and port 80 is used for HTTP.
b. Verify the value of HTTPS (address 0xFFFF F03A 007C).
– For HTTPS, the value should be Enabled.
– For HTTP, change the value to Disabled.
5. To immediately enable the HTTP/HTTPS server feature, reboot the controller so that the changes take
effect.
Send Command
Once you’ve configured the PAC as a server, the next step is to use a browser (for example, Google Chrome™ or
Microsoft Internet Explorer®) to access the PAC and set up the administrator password and API accounts. After
that, authorized users can use the SNAP PAC REST API to access data in the controller. For details, see
developer.opto22.com.
2. In the Device Name field, type the name or IP address of the controller (or choose it from the drop-down
list).
3. Click Communications and choose Network Security from the submenu. Scroll down till you see
ETHERNET/IP.
4. In the Value column, click the down arrow and choose Disabled.
To enable EtherNet/IP again, choose Enabled.
5. Click Apply to send the configuration change to the device.
6. Click Status Write. In the Operations Commands section, highlight Store configuration to flash. Click Send
Command.
7. In the same section, highlight Restart Device from powerup. Click Send Command.
The change is stored to flash memory and the device restarts.
2. In the Open Tag Database dialog box, navigate to the configuration file and double-click it to open it.
3. In the configuration tree, right-click the name of the I/O unit on which you want to set up security and
choose Configure from the pop-up menu.
Communications
button
4. Click the Communications button and choose Network Security from the pop-up menu.
5. If there is no check mark in the Used box, click the box to place a check mark there.
6. To limit access to a specific protocol, change the Port number in the Value column.
CAUTION: If you change the Control Engine port to zero, a strategy that is already in the control engine will
still run, but PAC Display, PAC Control, and other hosts will not be able to communicate with it. See “Protecting
a PAC Control Strategy from Interference” on page 81.
7. To use the built-in HTTP/HTTPS server on a SNAP PAC R-series or S-series controller, see “Configuring the
PAC as an HTTP/HTTPS Server” on page 79.
8. To set up an FTP login, enter the Username and Password to be required from anyone who uses FTP to
access the device.
9. To limit access to specific computers, set up to ten filter addresses and filter masks.
The filter address is the IP address that is allowed to access the I/O unit; the filter mask indicates a range of
allowed addresses. If only one IP address may access the I/O unit, enter 255.255.255.255 for the filter
mask. If a range of IP addresses may access the I/O unit, enter a mask that reflects the subnet range.
For example, if only IP address 1.2.3.4 may access the I/O unit, enter 1.2.3.4. as the filter address and
255.255.255.255 as the filter mask. If any IP address that starts with 1.2.3 may access the I/O unit, enter
1.2.3.4 (or 1.2.3.1, or any address in the range) as the filter address and 255.255.255.0 as the filter mask.
NOTE: For troubleshooting purposes, you can use the Broadcast Filter value to temporarily turn off incoming
broadcasts to the I/O unit. Normally you would NOT want to do this; a BootP response, for example, is an
incoming broadcast.
When you are ready to upload the configuration file to the I/O unit, see “Sending Configuration Data to the I/O
Unit” on page 69.
– If you have configured six or more devices, the Inspect window provides two additional time-saving
features: Next and Back navigation buttons (to navigate back and forth through the alphabetized list
of devices), and a list of the five most recently inspected devices (displayed at the top of the
drop-down list).
2. In the Device Name field, type the name or IP address of the controller (or choose it from the drop-down
list).
3. Click Communications and choose Network Security from the submenu.
4. To limit access to a specific protocol, change the Port number in the Value column.
CAUTION: If you change the Control Engine port to zero, a strategy that is already in the control engine will still
run, but PAC Display, PAC Control, and other hosts will not be able to communicate with it. See “Protecting a PAC
Control Strategy from Interference” on page 81.
5. To set up an FTP login, enter the Username and Password to be required from anyone who uses FTP to
access the device.
6. To limit access to specific computers, set up to ten filter addresses and filter masks.
The filter address is the IP address that is allowed to access the controller; the filter mask indicates a range
of allowed addresses. If only one IP address may access the controller, enter 255.255.255.255 for the filter
mask. If a range of IP addresses may access the controller, enter a mask that reflects the subnet range.
For example, if only IP address 1.2.3.4 may access the controller, enter 1.2.3.4. as the filter address and
255.255.255.255 as the filter mask. If any IP address that starts with 1.2.3 may access the controller, enter
1.2.3.4 (or 1.2.3.1, or any address in the range) as the filter address and 255.255.255.0 as the filter mask.
NOTE: For troubleshooting purposes, you can use the Broadcast Filter value to temporarily turn off incoming
broadcasts to the controller. Normally you would NOT want to do this; a BootP response, for example, is an
incoming broadcast.
7. When all the values are correct, click Apply to send the configuration to the controller. If you changed a
port number, also restart the controller:
a. Click the Status Write button in the upper left.
b. In the Operation Command list, highlight Restart Device from powerup.
c. Click Send Command.
The device is restarted and a Success message appears.
Note that SNAP PAC brains cannot save logged data if power to the unit is cycled.
2. In the Open Tag Database dialog box, navigate to the configuration file and double-click it to open it.
3. In the configuration tree, right-click the name of the I/O unit on which you want to set up data logging
and choose Configure from the pop-up menu.
Others
button
4. Click the Others button and choose Data Logging from the pop-up menu.
Since emails
include values
from all memory
map addresses set
up for data
logging, entries in
this section apply
to all data logging
points.
5. Choose the lowest empty Log Point number from the drop-down list and click to put a check mark in the
Used box.
NOTE: To reduce scanning time, the I/O unit stops scanning log points when it reaches an unused data logging
number. Make sure you use these numbers in order, starting with the lowest.
6. (Not applicable to SB brains) To have the data log emailed, click the Value column cell and enable email.
Also enter the number of data entries in the log you want each email message to contain.
A maximum of 140 log entries can go in each email. Remember that email applies to all points that are
logged, since all the data goes into one file.
7. In the Value column, click the cell and then enter the Scratch Pad On mask and Off mask to trigger this
data log point. Also enter the memory map address of the data you want to log and choose the format of
data in that address. Finally, enter how often data should be logged for this address, in milliseconds (to
log data just once, enter 0).
8. When all values are correct, click OK. Repeat from step 5 for additional log points.
9. Remember to also configure email to indicate where the data log should be sent. See page 100.
10. Configure other optional functions, or return to the PAC Manager main window and click the Save button
to save the configuration file.
IMPORTANT: If you have changed the data logging interval, you must save the configuration file to flash
memory and restart the I/O unit for the configuration to take effect.
When you are ready to upload the configuration file to the I/O unit, see page 69.
1. To view logged data, click the Inspect button in the PAC Manager main window.
2. In the Device Name field, enter the name of the I/O unit or choose it from the drop-down list.
Click Data Log and choose Data Logging Samples from the pop-up menu.
– If you have configured other devices, they are listed in alphabetical order in the drop-down list.
– If you have configured six or more devices, the Inspect window provides two additional time-saving
features: Next and Back navigation buttons (to navigate back and forth through the alphabetized list
of devices), and a list of the five most recently inspected devices (displayed at the top of the
drop-down list).
2. In the Device Name field, type the name (or IP address) of the I/O unit or choose it from the drop-down
list. Click Status Write.
3. In the Operation Commands list, scroll down and click to highlight Clear Data Logging Samples. Click
Send Command.
The data log is cleared and a Success message appears.
If you are NOT using a PAC Control strategy or are using a PAC Manager version less than R9.0, you cannot configure
event messages in a configuration file. You must configure them using Inspect mode. See page 142.
Follow these steps to configure up to 128 event messages for use with a PAC Control strategy.
1. In PAC Manager, click the Open button (or in the menu bar, click FileOpen).
2. In the Open Tag Database dialog box, navigate to the configuration file and double-click it to open it.
3. In the configuration tree, right-click the name of the I/O unit on which you want to set up event
messages and choose Configure from the pop-up menu.
For a SNAP PAC S-series or SoftPAC controller, if it does not already appear in the list, add it as an I/O unit
of the type Generic OptoMMP Device with the loopback address (127.0.0.1).
Events
button
4. Click the Events button and choose Event Messages from the pop-up menu.
A
B
D
H
B—Message Text. For an email or serial message, and optionally for an SNMP message, enter the
message text. Message text is not sent in the streaming packet.
C—Message text is limited to 127 characters. You can place data from the I/O unit’s memory map into
the message by using a plugin (see page 95). If you are sending a serial message, make sure the text is
formatted so the serial device that receives it will understand it.
D—Scratch Pad. To trigger bits in the Scratch Pad, enter the On and Off masks to set.
E—Streaming. To send a stream of data as the message, choose Enabled from the drop-down list.
Enter how often in seconds to send the stream (0 sends it only once).
F—E-mail. To send an email message, choose Enabled from the drop-down list. Enter how often in
seconds to send the email (0 sends it only once).
G—Serial Module. To send a message through a serial module to a serial device, choose Enabled from
the drop-down list. Enter a mask representing the modules and ports to receive the message.
H—Mem Map Copy Configuration. To copy memory map data, see page 109.
I—SNMP Trap. To send an SNMP trap as the message, choose Enabled from the drop-down list. Enter
how often to send the trap (0 sends it only once). Also enter the trap type (determined by your SNMP
management software). If you are using SNMP with outgoing PPP and want the trap stored in the I/O
unit until the next communication, set Priority to Low. If you want the I/O unit to immediately dial out
and send the trap, set Priority to High.
NOTE: SNMP messages must be acknowledged. If the Period is set to more than zero, the alarm will continue to
be sent until the trap is acknowledged and the Scratch Pad trigger is reset to zero.
In PAC Control, you can use the command Set I/O Unit Event Message State to build the acknowledgment into
the flowchart logic.
In PAC Manager, you can acknowledge the trap and reset the Scratch Pad by using InspectEventsEvent
Messages (change State to Acknowledged and reset Scratch Pad bits).
10. Configure other optional functions, or return to the PAC Manager main window and click the Save button
to save the configuration file.
When you are ready to upload the configuration file to the I/O unit, see “Sending Configuration Data to the I/O
Unit” on page 69.
USING PLUGINS
Several plugins are available for use in event messages and memory map copying. The following table guides
you in using them.
To do this Use this plugin In these places See
Include the pattern string from a
$!_str_ Serial messages page 92
serial communication module.
NOTE: For email messages, message text including plugins must be 127 bytes (characters) or less. The message length
after all plugins have been expanded into their data values must be 255 bytes or less.
Examples
Including Data from Memory Map Addresses
For the complete list of memory map addresses, see the appendix in the OptoMMP Protocol Guide
(form 1465).
Here are a couple of examples:
To include the on/off state of a switch on module 0, point 3, you would put this in the message:
$!D_F08000C0_
To include the temperature of an ICTD input on module 4, point 0, you would use:
$!F_F0A00400_
Sending Binary Data in Event Messages
To send binary data in the text of an event message, begin with &#x and end with _. You can include any
number of ASCII hex digits up to the 127-byte limit for the message field. You can also include multiple &#x
plugins. This plugin is resolved after all other plugins have been resolved, and only just before sending the
contents of the message field out of the specified serial ports. Examples:
To include an embedded null (one binary character):
�_
To include a number of binary characters:
�_
CONFIGURING SNMP
(Not available on SB brains) The Simple Network Management Protocol (SNMP) is used to communicate
with an SNMP-based enterprise management system, such as Computer Associates’ Unicenter®,
Hewlett-Packard’s OpenView®, or IBM’s Tivoli®, over Ethernet. These enterprise management systems can
manage analog, digital, or serial devices through a SNAP PAC controller or I/O unit just as they manage
computer equipment on the Ethernet network.
SNMP Traps
You can set up the controller or I/O unit to send messages to the management system in the form of SNMP
traps. The device can send three kinds of traps:
• Authentication trap—sent when a host requests data that is outside its access permissions
• Cold start trap—sent whenever the I/O unit is turned on
• Exception trap—sent in reaction to an event; an exception trap is a type of event message.
Authentication and cold start traps can be enabled using the steps in this section. To configure exception
traps, see “Configuring Event Messages” on page 92.
3. In the configuration tree, right-click the name of the I/O unit on which you want to set up SNMP and
choose Configure from the pop-up menu.
For a SNAP PAC S-series or SoftPAC controller, if it does not already appear in the list, add it as an I/O unit
of the type Generic OptoMMP Device with the loopback address (127.0.0.1).
Communications
button
4. Make sure the correct I/O unit is highlighted in the list. Click the Communications button and choose
SNMP from the pop-up menu.
A F
B G
C H
A—SysName. Enter the name assigned to the I/O unit as a managed node within the SNMP
management system.
C—SysContact. Enter the ID of the contact person for the I/O unit.
D—Community Groups. To set up the Community Groups you need, highlight a line in the list. Click
the String cell within the line and type the name of the group. Then click in the Read, Write, and Trap cells
and choose Yes or No from the drop-down list to indicate whether that group has privileges to read,
write, and receive traps.
E—Management Hosts. To set up Management Hosts, highlight a line in the list. Start with hosts on
the local network first, because the system sends messages to hosts in numeric order. Click the
Community String cell and enter the name of the community group the host belongs to. Click the Host IP
Address cell and enter its IP address, including the dots (for example, 10.192.55.60).
F—Version. From the drop-down list, choose the version of SNMP you are using.
G—Destination Port. 162 is the default port for SNMP traps. If you know that your application will use
a different port, enter the number of that port here.
H—Authentication/Cold Start Trap. To enable authentication or cold start traps, click the box to
check it.
6. When all fields are correct, click OK.
IMPORTANT: For the configuration to take effect, you must upload the configuration file to the I/O unit, save it
to flash memory, and restart the I/O unit.
7. Configure other optional functions, or return to the PAC Manager main window and click the Save button
to save the configuration file.
When you are ready to upload the configuration file to the I/O unit, see “Sending Configuration Data to the I/O
Unit” on page 69.
2. To add a DNS server address or to change the Retries or Timeout, click the appropriate value in the Value
column. When you have finished changing values, click Apply.
3. When you have finished changing values, click Apply.
The values are sent to the controller and stored to flash memory. Then you are prompted to restart the
controller.
4. Restart the controller to use the new configuration.
CONFIGURING EMAIL
(Not available on SB brains) You can send an email message or page someone in response to an event. Follow
the steps in this section to set up email parameters. See “Configuring Event Messages” on page 92 to set up
the message itself.
1. In PAC Manager, click the Open button (or in the menu bar, click FileOpen).
2. In the Open Tag Database dialog box, navigate to the configuration file and double-click it to open it.
3. In the configuration tree, right-click the name of the I/O unit on which you want to set up email and
choose Configure from the pop-up menu.
For a SNAP PAC S-series or SoftPAC controller, if it does not already appear in the list, add it as an I/O unit
of the type Generic OptoMMP Device with the loopback address (127.0.0.1).
Communications
button
4. Make sure the correct I/O unit is highlighted in the list. Click the Communications button and choose
E-mail from the pop-up menu.
A
B
C
D
E
A—IP Address. Enter the IP address and port number of the Simple Mail Transfer Protocol (SMTP)
server the I/O unit will use to send email. You should be able to get this information from your network
administrator.
B—Timeout. Enter the length of time in milliseconds the I/O unit should wait for a response from the
email server. The default is 30,000.
C—From. Enter a valid email address that will identify the I/O unit to the person who receives the email.
D—To. Enter the email address of the person who will receive the email.
E—Subject. Enter a phrase that will indicate the purpose of the email to the person receiving it. Note
that this subject line applies to all email messages sent by this I/O unit. Plugins can be used in this field.
For example, if a similar email will be sent at intervals (such as an email of the data log), you can use the
seqid plugin to put a sequence number at the end of each subject line. This plugin is in this format:
$!_seqid_
So, for example, if you enter Process Data Log $!_seqid_ in the subject field, the first
email message will have a subject line of Process Data Log 0, the next message will have a
subject line of Process Data Log 1, and so on. For information on other plugins, see “Using
Plugins” on page 95.
6. When all fields are correct, click OK.
IMPORTANT: For the configuration to take effect, you must upload the configuration file to the I/O unit, save it
to flash memory, and restart the I/O unit.
7. Configure other optional functions, or return to the PAC Manager main window and click the Save button
to save the configuration file.
When you are ready to upload the configuration file to the I/O unit, see “Sending Configuration Data to the I/O
Unit” on page 69.
3. If you are using a SNAP PAC S-series or SoftPAC controller, configure an I/O unit to represent the controller
for Scratch Pad purposes. Configure this I/O unit as a Generic OptoMMP Device, using the loopback
address (127.0.0.1). (Do not add any points or configure other features.)
4. In the configuration tree, right-click the name of the I/O unit on which you want to configure the Scratch
Pad and choose Configure from the pop-up menu.
Scratch Pad
button
5. Make sure the correct I/O unit is highlighted in the list. Click the Scratch Pad button and choose Bits,
Integers, Floats, or Strings from the pop-up menu.
1. For each integer you want to use, click to put a check mark in its box in the Used column. Click the cell in
the Value column and enter the initial value.
2. Repeat for each integer. When all integers have been set, click OK.
CONFIGURING STREAMING
(Not available on SB brains) Most Ethernet communication involves the two-step process of request and
response. A faster way of getting information from the I/O unit, however, is by streaming data. Streaming does
not use TCP/IP; it uses the User Datagram Protocol (UDP/IP) instead.
NOTE: Because Modbus/TCP runs on TCP, not UDP, streaming data via Modbus/TCP is not possible. However, you can
stream to a non-Modbus host at the same time you are using the Modbus/TCP protocol for another purpose.
Streaming is a fast way to get continuous data from the I/O unit and is ideal for data acquisition applications.
When it streams, the system sends data at regular intervals to specified IP addresses. You set up the interval,
the IP addresses to receive the data, and (optionally) the port number. The system sends the data at the
specified interval. The communication is one-way; the system does not wait for a response.
CAUTION: If you stream to multiple IP addresses, and one or more of the streaming targets is either offline or not
running the application that receives the stream, delays may occur. If a target is offline, the I/O system will stop
streaming while it tries to resolve the IP address. If the application is not running on the computer that receives the
stream, the computer will send the I/O system an error message; if the stream occurs frequently, the additional error
messages can slow down the network.
Streaming involves two steps: setting up parameters on the I/O unit for streaming, and receiving data in your
application. Follow the steps in this section to set up the parameters. For information on receiving data in your
application, see the OptoMMP Protocol Guide (form 1465).
1. In PAC Manager, click the Open button (or in the menu bar, click FileOpen).
2. In the Open Tag Database dialog box, navigate to the configuration file and double-click it to open it.
3. In the configuration tree, right-click the name of the I/O unit on which you want to set up streaming and
choose Configure from the pop-up menu.
Communications
button
4. Make sure the correct I/O unit is highlighted in the list. Click the Communications button and choose
Streaming from the pop-up menu.
A
B E
F
C
D
A—Enable Streaming. To enable streaming, choose Yes from the drop-down list.
B—Enable I/O Mirroring. I/O mirroring is a separate function. It’s generally not a good idea to use
both streaming and mirroring on the same I/O unit. See “Mirroring I/O Point Data” on page 107 for more
information.
C—Interval. Enter how often in milliseconds you want the I/O unit to send the streamed data. If you
are configuring streaming to use only as an event message, set the streaming interval to 0. Zero means
that the stream will be sent only once.
D—Use Default Streaming Area. To stream all addresses in the Streaming section of the I/O unit’s
memory map, click Use Default Streaming Area. For more information, see the memory map appendix in
the OptoMMP Protocol Guide (form 1465). (Note that the Streaming section does not include data from
high-density digital modules.)
To stream only part of the Streaming section, or to stream a different part of the memory map, click
Specify Streaming Area. Enter the starting address in the Memory Map Address field (the address must be
entered in hex), and enter the size in bytes of the data to stream in the Size Of Data field.
E—Port. Enter the port on the computers or devices that receive the streamed data. Your application
must refer to this port number. Use the default of 5001 unless you know it is already being used for
another purpose.
F—Stream Target. Enter the IP addresses of up to eight devices to receive the streamed data.
6. When all fields are correct, click OK.
7. Configure other optional functions, or return to the PAC Manager main window and click the Save button
to save the configuration file.
When you are ready to upload the configuration file to the I/O unit, see “Sending Configuration Data to the I/O
Unit” on page 69.
3. In the configuration tree, right-click the name of the I/O unit on which you want to set up mirroring and
choose Configure from the pop-up menu.
Communications
button
4. Make sure the correct I/O unit is highlighted in the list. Click the Communications button and choose
Streaming from the pop-up menu.
A
B D
E
A—Enable Streaming. Streaming is a separate function. It’s generally not a good idea to use both
streaming and mirroring on the same I/O unit. See “Configuring Streaming” on page 104 for more
information.
B—Enable I/O Mirroring. To enable mirroring, choose Yes from the drop-down list.
D—Port. Enter the port number. This is the primary port number used to communicate with the I/O
unit. The default shown is 5001; enter 2001 instead. (Exception: if you changed the MMP port for security
reasons, use the number you changed it to.)
E—Stream Target. Enter the IP address of the I/O unit to receive the mirrored data.
CAUTION: Since all digital and analog points are mirrored, make sure that the points on the second I/O unit are
configured to accept the values that will be written to them.
A
B
B—Message Text. In the Message Text section, enter a plugin containing a memory map address to
write from (the source address), in the following format:
$!B_F0B00000_
Data
$! indicates the start of the plugin Address _ indicates the end of the plugin
format
C—MemMap Copy Destination. In the MemMap Copy Destination area, choose Enabled from the
drop-down list. Enter the Memory Map Address you are copying to (the destination address) as an
eight-digit hex number (the last eight digits of the address, for example, F0B00040). In the Period field,
enter how often to send the data, in milliseconds.
Since the points you are copying to are on the same I/O unit, type 0.0.0.0 for the IP Address, and
ignore the TCP port field.
A
B
B—Message Text. In the Message Text section, enter a plugin containing a memory map address to
write from (the source address), in the following format:
$!B_F0B00000_
Data
$! indicates the start of the plugin Address _ indicates the end of the plugin
format
C—MemMap Copy Destination. In the MemMap Copy Destination area, choose Enabled from the
drop-down list. Enter the Memory Map Address you are copying to (the destination address) as an
eight-digit hex number (the last eight digits of the address, for example, F0B00040). In the Period field,
enter how often to send the data, in milliseconds.
Also enter the IP Address and TCP port for the I/O unit whose point you are copying to (the destination
system). TCP port is usually 2001.
3. When all fields are correct, click OK.
4. Configure other optional functions, or return to the PAC Manager main window and click the Save button
to save the configuration file.
When you are ready to upload the configuration file to the I/O unit, see “Sending Configuration Data to the I/O
Unit” on page 69.
2. In the Open Tag Database dialog box, navigate to the configuration file and double-click it to open it.
3. In the configuration tree, right-click the name of the I/O unit on which you want to change Modbus float
format and choose Configure from the pop-up menu.
For a SNAP PAC S-series or SoftPAC controller, if it does not already appear in the list, add it as an I/O unit
of the type Generic OptoMMP Device with the loopback address (127.0.0.1). (Do not add any points.)
Communications
button
4. Click the Communications button and choose Modbus from the pop-up menu.
5. Click to place a check mark in the Used box. In the Value column, click the value shown for float format.
Choose the format you want from the drop-down list.
NOTE: Word swapped is still Big Endian, but places the most significant bit in the most significant register.
4. Click the Advanced button to see the rest of the dialog box.
5. To convert an I/O unit memory map address to a Modbus Unit ID and Register Address, type the last
eight digits of the I/O unit’s memory map address in the MemMap Address field.
Make sure there are no spaces in the address (for example, type F0300020).
6. Click the right-arrow button .
The equivalent Modbus address appears. Note that the Modbus numbers are decimal.
Memory map
address (in hex)
Equivalent Modbus
address (decimal)
7. To convert from Modbus to a memory map address, type the Unit ID and Register Address and click the
left-arrow button.
The equivalent memory map address appears.
1. In PAC Manager, click the Open button (or in the menu bar, click FileOpen).
2. In the Open Tag Database dialog box, navigate to the configuration file and double-click it to open it.
3. In the configuration tree, right-click the name of the I/O unit on which you want to set the time and date
and choose Configure from the pop-up menu.
Others
button
4. Click the Others button and choose Date and Time from the pop-up menu.
5. Click to put a check mark in the Used box. Enter the correct time and date values in the Value column.
Click OK.
6. Configure other optional functions, or return to the PAC Manager main window and click the Save button
to save the configuration file.
When you are ready to upload the configuration file to the I/O unit, see “Sending Configuration Data to the I/O
Unit” on page 69.
Follow steps in the next section for on-the-rack controllers; see page 120 for standalone controllers.
3. In the configuration tree, right-click the name of the I/O unit on which you want to configure direct serial
communications and choose Configure from the pop-up menu.
Communications
button
4. Click the Communications button and choose Communication Port Control from the pop-up menu.
Because a configuration file could be built for any controller or brain PAC Manager supports, this window
shows the possible ports and settings for all devices. Only a few apply to R-series PACs.
5. If there is no check mark in the Used box, click the box to place a check mark there.
Ports shown in the window are as follows:
– Port 0 = RS-232 connector on controller’s top
– Ports 1, 2, and 3 = Not used on the R-series controller
6. If Port 0 is used for modem communication, do the following:
a. In the Value field for Control Function for Communication Port 0, choose PPP from the drop-down
list.
b. In the Logging for Communication Port field, leave logging Disabled unless you are troubleshooting
serial communication (see page 229).
NOTE: Logging adds significant overhead to serial communication; do not enable it unless you need to.
7. If Port 0 is directly connected to a serial device, do the following:
a. In the Control Function for Communication Port 0 value field, choose None from the drop-down list.
b. In the Logging for Communication Port field, leave the value field set to Disabled.
Although you can use this log file for troubleshooting, when the control function is set to None, the
log file logs only characters received by the PAC Control strategy. It is better to have PAC Control log
the data rather than using the log file. The log file adds significant overhead to communication. (For
more about the log file, see page 229.)
c. In the Mode for Communication Port 0 field, leave the value set to RS232. (The R-series controller
does not support RS-485.)
8. When you have finished configuring the port, click OK.
9. Configure other optional functions, or return to the PAC Manager main window and click the Save button
to save the configuration file.
When you are ready to upload the configuration file to the I/O unit, see “Sending Configuration Data to the I/O
Unit” on page 69.
– If you have configured six or more devices, the Inspect window provides two additional time-saving
features: Next and Back navigation buttons (to navigate back and forth through the alphabetized list
of devices), and a list of the five most recently inspected devices (displayed at the top of the
drop-down list).
2. In the Device Name field, type the name (or IP address) of the controller (or choose it from the
drop-down list). Click Communications and choose Communication Port Control from the submenu.
The Inspect window shows the ports and features that apply to the controller you’re inspecting. The
example above is for a SNAP-PAC-S2, which has four ports. The following table shows how ports are
labeled on the top covers of S1 and S2 controllers.
Port = SNAP-PAC-S1 = SNAP-PAC-S2
0 S0 Serial 0
1 S1 Serial 1
2 S2 Serial 2
7. Click the Status Write button on the left side of the Inspect window. In the Operation Command list,
highlight Store configuration to flash.
CONFIGURING PPP
Use this section only if you have SNAP PAC R-series I/O units installed at remote locations or in other places
where an Ethernet network is not available, and you are using modems to communicate between the device
and a computer. You can set up communication so that the device can dial in to a computer, so that
computers can dial into the device, or both.
NOTE: If you are using PPP with a SNAP PAC S-series controller, see instructions in the controller user’s guide.
IMPORTANT: After you have followed the steps in this section to configure PPP on the I/O unit, see the I/O unit’s user’s
guide for information on attaching the modem to the system and setting up Windows dial-up networking or remote
access server on the computer.
2. In the Open Tag Database dialog box, navigate to the configuration file and double-click it to open it.
3. In the configuration tree, right-click the name of the I/O unit on which you want to set up PPP and
choose Configure from the pop-up menu.
Communications
button
4. Make sure the correct I/O unit is highlighted in the list. Click the Communications button and choose PPP
from the pop-up menu.
B
C
E
F
A—Local IP Address. Enter the Local IP Address for the PPP interface on the I/O unit. Enter the local Subnet
Mask only if you are using classless IP addressing. If you are not using classless IP addressing, leave the Subnet
Mask at zero, and the I/O unit will calculate the subnet mask.
IMPORTANT: The network address for the PPP interface must be different from the network ID for the Ethernet
interface. (The network address is obtained by ANDing the IP address and the subnet mask.)
B—Max Authentication Retries. Enter the maximum number of times a login/password combination
can be retried.
C—Connection Timeout and Echo Request. Change these values if necessary to establish and
maintain the connection.
D—Modem Initialization String. Change the modem initialization string, listen string, and hangup
string if necessary. Make sure you use the setting to ignore DTR signal in the modem initialization string:
The default modem initialization string is AT&D0^M~~~~
Consult the command reference that came with your modem to determine the correct initialization
command strings. A sample modem initialization string might look like this:
AT&F^M~~AT&D0&K0^M~~AT&W0^M~~AT&Y0^M~~
The &F command sets the modem back to factory defaults. The ^M tells the Ethernet I/O unit to insert a
carriage return. The ~ tells it to insert a 500ms pause. The &W0 writes the current settings to NVRAM profile 0
on the modem. The &Y0 instructs the modem to use NVRAM profile 0 after resetting.
This initialization string is just a sample; command strings for your modem may differ.
E—Outgoing PPP. If the I/O unit will send outgoing calls, complete the Outgoing PPP section:
• Choose Enabled from the drop-down list.
• In the Use Local IP Address field, choose Yes to have the I/O unit use the Local IP Address you entered for
the PPP link; choose No to have the remote device assign the I/O unit an IP address for the PPP link. The
default is No.
• If you want the I/O unit to use the device the I/O unit is calling as the default gateway for all
communication, choose Yes for Set As Default Gateway. The default is No.
• Enter the Login and Password the I/O unit should use for authentication when it calls the remote device.
• In the Phone number field, enter the number the modem should dial for outgoing calls from the I/O unit.
Change the following fields if necessary:
• Inactivity Timeout—If the I/O unit sends no packets and receives no packets for this number of seconds
after the PPP session is negotiated, the modem will hang up. The default is 30.
• Max Connect Time—The maximum amount of time in seconds an outgoing PPP connection can stay
connected after successful negotiation. Default is zero, which disables the timer.
• Max Dial Retries—The number of times the I/O unit will redial if the first attempt fails. Default is zero.
• Retry Interval—The number of seconds the I/O unit will wait before trying to redial after the first attempt
fails. Default is zero.
• Disable Time—If the maximum connect time or maximum number of retries has been reached, the
outgoing PPP dialer waits this number of seconds before doing anything. Default is zero.
• PPP Link Always Connected—If you want outgoing PPP to always be connected, so there is no need for
the I/O unit to dial out, check this box.
F—Incoming PPP. If the I/O unit will receive incoming calls via modem, complete the Incoming PPP
section:
• Choose Enabled from the drop-down list so the modem will listen for incoming calls.
• If you want the I/O unit to use the device calling the I/O unit as the default gateway for all
communication, choose Yes for Set As Default Gateway. The default is No.
• Change the Inactivity Timeout if necessary. The default is 30.
• Enter the Login and Password the I/O unit should accept for incoming calls.
• In the Remote IP Address field, enter the IP address the I/O unit should give to devices that dial into the
I/O unit and ask for an address. This address must be on the same subnet as the local IP address.
• Enter a modem listen string to make sure the modem automatically answers calls. The default modem
listen string is ATS0=1^M~ , which instructs the modem to answer any incoming calls on the first ring.
Again, refer to your modem’s command reference for the correct listen string.
6. When all fields are correct, click OK.
IMPORTANT: For the configuration to take effect, you must upload the configuration file to the I/O unit, save it
to flash memory, and restart the I/O unit.
NOTE: If the serial port you are using for PPP was previously used for a direct connection with a serial device, you
must use PAC Manager’s Inspect window to reset the port configuration from None to PPP. See page 118 for
more information.
7. Configure other optional functions, or return to the PAC Manager main window and click the Save button
to save the configuration file.
When you are ready to upload the configuration file to the I/O unit, see “Sending Configuration Data to the I/O
Unit” on page 69. For information on attaching the modem to the system and setting up Windows dial-up
networking or a remote access server, see the SNAP Ethernet-Based I/O Units User’s Guide (form 1460) or the
SNAP PAC R-Series Controller User’s Guide (form 1595).
INTRODUCTION
Events and reactions are automatic responses to conditions monitored by SNAP PAC I/O units. The monitored
conditions, called events, and the responses to them, called reactions, can be simple or complex. An example
of a simple event/reaction is turning on a fan in response to a rise in temperature. Complex event/reactions
may involve multiple events and multiple reactions, with a time delay in between. For example, you could set
up a temperature limit as an event that triggers a warning light, and a higher temperature limit as an event
that sets off an audible alarm and sends an email message.
CAUTION: Event/reactions you set up using these instructions in this chapter operate on the I/O side of a SNAP PAC
R-series controller, independently of any PAC Control strategy running on the processor’s control side. If you are using
PAC Control with a SNAP PAC R-series I/O system, do not use this chapter. Instead, use the flowchart logic in the PAC
Control strategy to handle reactions to events. The only reason you might set up event/reactions that operate
independently on the I/O side of the controller would be a need for very fast reactions. If that is the case, be very careful
that the event/reactions you set up do not conflict with PAC Control logic.
The chapter introduces you to the Scratch Pad and other basic event/reaction concepts. It also shows you how
to use PAC Manager to configure the following:
• Digital event/reactions (see page 131)
• Alarm event/reactions (see page 137)
• Serial or Wiegand event/reactions (see page 140)
• Event messages (see page 142)
EVENT/REACTION CONCEPTS
This section describes using the Scratch Pad to track events and alarms, and types of events, alarms, and
reactions.
The following contain Scratch Pad areas within their memory maps.
When Scratch Pad bits are used to track events and alarms, the 64 bits in the mask do not represent channel
numbers. Instead, they represent whatever you decide they should be. For example, you might decide that
bit 1 in the Scratch Pad will indicate a temperature level in Vat #12 (if the temperature reaches 48 °C, bit 1 is
turned on). Bit 2 might indicate the status of Pump A (if the pump is off, the bit is off; if the pump is on, the bit
is on).
Because you can use Scratch Pad bits to keep track of events and alarms, you can set up reactions based on a
variety of conditions. In the example above, you could set up a reaction on an EB brain that sends a stream
packet if bit 1 is on and bit 2 is off.
Scratch Pad bits are really a way to set up cascading events and reactions (that is, a series of events and
reactions dependent on each other). For example, the first event in the cascade could be the temperature in
Vat #12 reaching 40 degrees, and the reaction to it is setting Scratch Pad bit 1. The second event in the
cascade is that Scratch Pad bit #1 is set, and the reaction to that is some other action. A cascade of any number
of events and reactions can be configured, as needed.
USING EVENT/REACTIONS
(Does not apply to groov I/O units.) Event/reactions are available on SNAP PAC R-series, SNAP PAC EB and SB
brains, SNAP Ultimate, and SNAP Ethernet I/O units. SNAP Simple I/O units and E1 and E2 brain boards do not
have event/reaction capability.
CAUTION: Event/reactions occur on the I/O side of a SNAP PAC R-series or SNAP Ultimate controller, independently
of any PAC Control strategy running on the control side. If you are using PAC Control, it is best to use flowchart logic
to handle reactions to events. If you do set up event/reactions, be very careful that they do not conflict with PAC
Control logic.
The event or reaction can consist of one or a combination of the following. The reaction can take place
immediately or after a delay.
Events:
• On/off state of a digital channel on a 4-channel module
• State of on-latch or off-latch for a digital channel on a 4-channel module
• On/off state of a digital channel on an HDD (high-density digital) module
• State of an on-latch or off-latch fora digital channel on an HDD module
• High or low value of an analog channel (in engineering units)
• Number on a digital counter or high or low number on a quadrature counter
• Analog channel value or quadrature counter that is outside allowable range
• State of a bit in the Scratch Pad bits area
• State of a bit in the Scratch Pad integer 64 area
• Specific string received by a serial module
Reactions:
• Turn on/off digital channel
• Clear on-latch or off-latch
• Copy data from one memmap location to another
• Log data
• Turn on or off a bit in the Scratch Pad bits area
• Turn on or off a bit in the Scratch Pad integer 64 area
• Send a stream packet
• Send an email message
• Send a string through a serial module to a serial device
• Send an SNMP trap
Note that the memory map section formerly called Timers, which provided digital events with a delay
between an event and the reaction to it, has been expanded in firmware 8.1 to include additional options
such as latches and HDD modules. All new digital events should be configured in Digital Events - Expanded to
take advantage of the new flexibility.
Digital events you already configured still exist in Digital Events - Old. Timers you already configured still exist
in Digital Events - Expanded.
The following table details steps for configuring events and reactions. See page references for more. A
flowchart following the table summarizes Alarm and Serial event and reaction configuration.
Event Reaction Configuration Steps See
Turn digital point on/off (on
Configure Digital Events - Expanded page 131
same I/O unit)
Turn digital point on/off (on dif- 1. Configure Digital Events - Expanded—set Scratch Pad bit
page 131
ferent I/O unit) 2. (Email message only) Configure Email
page 100
OR (Streaming only) Configure Streaming
If digital point is on/off page 104
Log data (SNMP only) Configure SNMP
page 96
OR 3. (Except data logging) Configure Event Messages—send
Copy memory map data message or data
page 92
OR (Data logging) Configure Data Logging and configure
page 87
Send message (stream, e-mail, Email (optional)
page 100
serial, or SNMP trap).
1. Configure Alarm Events (high alarm or low alarm)—set
Turn digital point on/off (on
Scratch Pad bit page 137
same I/O unit).
2. Configure Digital Events - Expanded—turn on/off point page 131
1. Configure Alarm Events (high alarm or low alarm)—set
Scratch Pad bit
If analog point value (Engi- Turn digital point on/off (on dif- 2. (Optional for a delay) Configure Digital Events - page 137
neering Units) goes above ferent I/O unit) Expanded— use the alarm Scratch Pad bit as the event,
or below a specified value OR set the time delay, and set a Scratch Pad bit after the page 131
OR Copy memory map data delay page 100
If digital counter reaches a OR 3. (Email message only) Configure Email page 104
specified value Log data (Streaming only) Configure Streaming page 96
OR (SNMP only) Configure SNMP
Send message (stream, email, 4. (Except data logging) Configure Event Messages—send page 92
serial, or SNMP trap). message or data based on alarm bit or delay bit page 87
(Data logging) Configure Data Logging based on alarm bit page 100
or delay bit and configure Email (optional)
1. Configure Alarm Events (deviation alarm)—set Scratch
Turn digital point on/off (on
Pad bit page 137
same I/O unit)
2. Configure Digital Events - Expanded—turn on/off point page 131
1. Configure Alarm Events (deviation alarm)—set Scratch
Pad bit
Turn digital point on/off (on dif- page 137
If analog point value (Engi- ferent I/O unit) 2. (Optional for a delay) Configure Digital Events -
neering Units) or quadrature Expanded— set time delay and set a Scratch Pad bit after
OR page 131
counter goes outside an the delay
Copy memory map data page 100
allowable range 3. (Email message only) Configure Email
OR page 104
(Streaming only) Configure Streaming
Log data page 96
(SNMP only) Configure SNMP
OR
4. (Except data logging) Configure Event Messages—send
Send message (stream, email, page 92
message or data immediately or based on delay bit
serial, or SNMP trap). page 87
(Data logging) Configure Data Logging immediately or
page 100
based on delay bit and configure Email (optional)
The following flowchart summarizes Alarm and Serial event and reaction configuration.
Scratch Pad when the temperature reaches 78° F (see “Configuring Alarms and Reactions” on page 137). Then
you would set up a digital event/reaction to turn on a fan when that Scratch Pad bit is on.
NOTE: If you want to turn on or off digital points that are located on a different I/O unit, you can do so by using the
memory map copying feature. See “Copying Memory Map Data” on page 109 for details.
For the event: The table below shows possible triggers for the event, in the form of four masks. You can
configure only Trigger #1, only Trigger #2, or both. If you configure both, both must be true for the event to be
true. Choose the trigger(s) you want to use; then set up the masks.
Trigger #1 Trigger #2
On mask Off mask On mask Off mask
Digital Point State Digital Point State Digital Point State Digital Point State
Digital Point On Latch Digital Point On Latch Digital Point On Latch Digital Point On Latch
Digital Point Off Latch Digital Point Off Latch Digital Point Off Latch Digital Point Off Latch
HDD Point State HDD Point State HDD Point State HDD Point State
HDD Point On Latch HDD Point On Latch HDD Point On Latch HDD Point On Latch
HDD Point Off Latch HDD Point Off Latch HDD Point Off Latch HDD Point Off Latch
Scratch Pad Bits Scratch Pad Bits Scratch Pad Bits Scratch Pad Bits
Scratch Pad Integer 64 Scratch Pad Integer 64 Scratch Pad Integer 64 Scratch Pad Integer 64
For the reaction: This table shows possible reactions, again in the form of four masks. You can configure
only Reaction #1, only Reaction #2, or both. When the event occurs, all configured reactions will take place.
Choose the reaction(s) you want to occur, and then set up the masks.
Reaction #1 Reaction #2
On mask Off mask On mask Off mask
Digital Point States Digital Point States Digital Point States Digital Point States
Clear Digital Point On/Off Clear Digital Point On/Off Clear Digital Point On/Off Clear Digital Point On/Off
Latches Latches Latches Latches
HDD Point States HDD Point States HDD Point States HDD Point States
Clear HDD Point On/Off Latches Clear HDD Point On/Off Latches Clear HDD Point On/Off Latches Clear HDD Point On/Off Latches
Scratch Pad Bits Scratch Pad Bits Scratch Pad Bits Scratch Pad Bits
Scratch Pad Integer 64 Scratch Pad Integer 64 Scratch Pad Integer 64 Scratch Pad Integer 64
NOTE: Trigger #1 does NOT control Reaction #1; Trigger #2 does not control Reaction #2. Instead, all the masks work
as a group. All the event masks must be a match for the I/O unit to set the reaction(s), and if the event occurs, any
and all reactions will be set. If it doesn’t matter whether a specific point or bit is on or off, leave its value at zero in both
the on mask and the off mask.
When you configure events and reactions, the masks are in hex notation. If you are setting up a Digital On
mask for points 0–7, for example, you might do so as follows:
Module position: 1 0
Point number: 3 2 1 0 3 2 1 0
State: On – On On – – – On
Binary notation: 1 0 1 1 0 0 0 1
Hex notation: B 1
For more information on mask data format, see page 195. See the following pages for a step-by-step example
to set up event/reactions.
You can also configure the I/O unit to send a message as a reaction to digital events. See page 92.
For example, suppose you have set up an event/reaction to turn on a light when a door is open. As soon as the
event occurs (the door opens), the I/O unit sends the reaction (turn on the light).
When the door is shut, the I/O unit stops turning on the light, but it does NOT turn the light off. To turn off the
light when the door is shut, you need to set up a second event/reaction.
Suppose the input for the door’s status is on point 0 on the module in position 0, and the output for the light
is on point 1 on the module in position 1. Here are the two event/reactions to turn on the light when the door
is open, and turn off the light when the door is shut:
Event #0: IF Mod 0 Pt 0 (Door) is OFF (Open)
Reaction #0: THEN Turn Mod 1 Pt 1 (Light) ON
Since this example is a simple one-to-one correspondence, it is pretty easy to set up.
1. If PAC Manager isn’t already open, start it. (For instructions, see the footnote on page 11.)
2. Click the Open button or choose FileOpen.
3. In the Open Tag Database dialog box, navigate to the configuration file and double-click it to open it.
4. In the configuration tree, right-click the name of the I/O unit on which you want to set up digital events
and choose Configure from the pop-up menu.
Events
button
5. For processors with firmware 8.1 or higher, click the Events button and choose Digital Events - Expanded
from the pop-up menu.
If your processor has firmware 8.0 or lower, expanded digital events are not available; choose Digital
Events - Old. Choices are more limited with older firmware; see tables on page 73.
IMPORTANT: If you configured digital events in a version of PAC Manager prior to 8.1, you will find them in
Digital Events - Old. If you configured timed events in a PAC Manager version prior to 8.1, you’ll see them here in
Digital Events - Expanded.
6. In the drop-down list, choose the lowest unused Event Number. Click to place a check mark in the Used
box.
NOTE: To reduce scanning time, the I/O unit stops scanning digital events when it reaches an unused event.
Make sure you use event numbers in order, starting with the lowest.
7. Configure the Event by clicking in the Value column and entering a value or choosing from the
drop-down list.
a. Choose Enabled.
b. Choose which digital data to use as the trigger; in this example it is Digital Point State.
c. Leave the Digital ON mask all zeros. Enter the Digital OFF mask for the open door.
Remember that the masks are in hex notation. Here’s how you might figure out the Digital ON mask
to turn on the light:
Module position: 15 1 0
Digital point: 3 2 1 0 3 2 1 0 3 2 1 0
State: -- -- -- -- -- -- On -- -- -- -- --
Binary notation: 0 0 0 0 0 0 1 0 0 0 0 0
Hex notation: 0 2 0
You don’t need to enter anything for Trigger #2, because the open door is the only dependency for
this event.
d. If you want a delay between the event and the reaction, enter the delay in milliseconds.
8. Configure the Reaction.
a. Choose whether the reaction should occur once or continuously; for this example, it’s continuously.
b. Choose the digital data and/or Scratch Pad bits to use for the reaction, and enter the masks.
Here’s how the Event and Reaction sections might appear for the door/light example.
Reaction: Digital
ON mask—turn
on light at mod 1
pt 1.
9. Now choose Event Number 1 from the drop-down list and click Used. In the Event and Reaction sections,
enter the Digital ON mask for the closed door and the Digital OFF mask to turn off the light.
Event: Digital ON
mask— door on
mod 0 pt 0 is
closed.
Reaction: Digital
OFF mask—turn
off light at mod 1
pt 1.
11. Configure other event/reactions, or return to the PAC Manager main window and click the Save button
to save the configuration file.
• High-limit alarm—sets a fixed upper limit. If the analog value or counter is higher than the high limit,
the reaction occurs.
• Low-limit alarm—sets a fixed lower limit. If the analog value or counter is lower than the low limit, the
reaction occurs.
would turn the bit on even though it was already on. When the temperature fell back below 70°, the I/O unit
would not return the fan bit to its pre-alarm condition (on); it would turn the bit off.
Events
button
2. Click the Events button and choose Alarm Events from the pop-up menu.
3. In the drop-down list, choose the Alarm Number you want to use (by default, it is the same number as
the point the alarm will monitor). Click Used.
The alarm number can be any unused number, but it is best to use the point number, since by default
that point’s memory map address and value are shown in the Value Being Alarmed field.
If you need to set two or more alarms on the same point, however, you can do so. For additional alarms,
choose a different alarm number, configure the alarm, and enter the memory map address for the point
in the Advanced Value Selection section. (A complete list of memory map addresses is in the OptoMMP
Protocol Guide, form 1465.)
4. Find the section for the type of alarm you want to use (deviation, high, or low). In the Value column, click
the Enable/Disable Alarm cell and choose Enabled from the drop-down list. Click in other cells to set
deviation or alarm limits. For high and low alarms, also set the deadband for the limit.
A deadband is an allowable variation in the limit to account for signal noise. If the signal fluctuates
slightly, the deadband limit keeps the I/O unit from sending out another alarm.
5. For each alarm, also configure the reaction in two parts:
– Scratch Pad bits that should be turned on
– Scratch Pad bits that should be turned off
See “The Scratch Pad” on page 127.
6. (Optional) If you are setting two or more alarms on the same point, use the Advanced Value Selection
area to enter the memory map address for the point to monitor, and indicate whether the value on that
point is a float.
7. Repeat from step 3 for additional alarms. When you have finished configuring alarms, click OK.
Events
button
2. Click the Events button and choose Serial Events from the pop-up menu, or if you are configuring events
for a Wiegand serial communication module, choose Wiegand Events.
The example above shows the Configure Serial Events dialog box; the Wiegand Events dialog box is
similar.
3. In the drop-down list, choose the lowest unused Event Number. Click Used.
NOTE: To reduce scanning time, the I/O unit stops scanning serial events when it reaches an unused event. Make
sure you use event numbers in order, starting with the lowest.
4. In the Event section, enter a mask in hex notation indicating the serial ports to monitor.
The I/O unit monitors all ports set as “on” bits in the mask (on = 1; off = 0). If the string is received from
any of those serial ports, the event triggers the reaction. For example, suppose you have serial modules in
positions 1 and 2 on the rack. (Other kinds of modules are in positions 0 and 3.) The following table
shows how you might figure out the mask to monitor three of these serial ports:
Module position: 3 2 1 0
Serial port: – – B A B A – –
Default TCP port number: – – 22505 22504 22503 22502 – –
Monitor? (Y or N): – – Y N Y Y – –
Mask (binary notation): 0 0 1 0 1 1 0 0
Mask (hex notation): 2 C
The complete hex mask you would enter to monitor these ports is: 0000002C.
5. Enter the pattern string the event should match.
The string is limited to 40 characters. Wildcards (* and ?) can be used.
6. In the Reaction section, do any or all of the following:
a. To send text in an SNMP trap or a one-time email message, complete the Resulting string field.
If you send a string, it is limited to 126 characters. You can place data from the serial module or the
I/O unit’s memory map into the string by using any or all of the following plugins:
For example, a resulting string that includes the pattern string, the serial port that sent it, and the
text Overload would look like this:
$!_str_ $!_port_ Overload
b. To send an SNMP trap, also enter how often in seconds to send the trap (use zero to send it only
once), and enter the trap type. Remember to configure email (page 100).
Trap types are determined by your SNMP management system.
c. To send a one-time email notification, also enable E-mail Message. Make sure to configure email
(page 100).
To send multiple emails, don’t enable email here. Instead, turn on a Scratch Pad bit (step e) and set
up the email when you configure event messages (page 92).
d. To send a serial message out a serial port, don’t put the message here. Instead, turn on a Scratch Pad
bit (step e) and set up the serial message when you configure event messages (page 92).
e. To set Scratch Pad bits, enter masks for the bits to turn on and the bits to turn off when the serial
event occurs.
7. Repeat from step 3 for other serial events and reactions. When you have finished configuring serial
events and reactions, click OK.
8. Click the Save button to save the configuration file.
– If you have configured other devices, they are listed in alphabetical order in the drop-down list.
– If you have configured six or more devices, the Inspect window provides two additional time-saving
features: Next and Back navigation buttons (to navigate back and forth through the alphabetized list
of devices), and a list of the five most recently inspected devices (displayed at the top of the
drop-down list).
2. In the Device Name field, type the name (or IP address) of the I/O unit (or choose it from the drop-down
list).
3. Click Events and choose Event Messages from the submenu.
4. From the drop-down list, choose the lowest unused message number.
Unused message numbers have no asterisk.
5. For an email or serial message, or optionally for an SNMP message, enter the message text.
Message text is not sent in the streaming packet. Message text is limited to 127 characters. You can place
data from the I/O unit’s memory map into the message by using a plugin (see page 95). If you are
sending a serial message, make sure the text is formatted so the serial device that receives it will
understand it.
6. Enter two masks indicating the Scratch Pad on and off bits that should trigger the message.
For help in figuring out the masks, see “Digital Point and Scratch Pad Masks” on page 132.
7. Streaming section: To send a stream of data as the message, choose Enabled from the drop-down list.
Enter how often in seconds to send the stream (0 sends it only once).
For information on streaming, see page 96.
8. E-mail section: To send an email message, choose Enabled from the drop-down list. Enter how often in
seconds to send the email (0 sends it only once).
9. Serial Module section: To send a message through a serial module to a serial device, choose Enabled from
the drop-down list. Enter a mask representing the modules and ports to receive the message.
Information in “Configuring Serial or Wiegand Events and Reactions” on page 140 may be helpful.
10. SNMP section: To send an SNMP trap as the message, change Disabled to Enabled. Enter how often to
send the trap (0 sends it only once). Also enter the trap type (determined by your SNMP management
software). If you are using SNMP with outgoing PPP and want the trap stored in the I/O unit until the next
communication, set Priority to Low. If you want the I/O unit to immediately dial out and send the trap, set
Priority to High.
For information on SNMP, see page 96.
NOTE: SNMP messages must be acknowledged. You can do so in your application or in PAC Manager’s Inspect
window: in the Message section, change the State to Acknowledge and click Apply.
11. Memmap Copy Destination section: To copy memory map data, complete this section using information
from “Copying Memory Map Data” on page 109.
12. When all fields are correct, click Apply.
13. Repeat from step 4 to configure additional event messages.
14. For each type of message you configure, make sure you also set up basic configuration:
15. When you have finished configuring all event messages and any additional configuration required for
them, in the PAC Manager Inspect window, make sure the IP address shown is the correct one. Then click
the Status Write button in the upper-left part of the window.
IMPORTANT: For the following configurations, you must also restart the unit for configuration to take effect:
Changes in TCP port for serial modules SNMP configuration
Email configuration PPP configuration
Data logging interval
18. If you have configured any of these items, in the Operation Commands list, highlight Restart I/O Unit
from powerup. Click Send Command.
The I/O unit is restarted and a success message appears.
INTRODUCTION
This chapter shows you how to read and write to a SNAP PAC controller or I/O unit directly by using PAC
Manager’s Inspect window. In addition to reading and writing specific values, you can configure points and
functions using the steps in this chapter. However, these configurations cannot be saved to a
configuration file.
Because all reads and writes using the steps in this chapter are sent directly to the controller or I/O unit, the
device you are reading from or writing to must be on the same network as your PC or laptop computer. For a
SNAP PAC SB brain, you can read or write to the brain through a SNAP PAC S-series controller, or you can
connect the computer directly to the brain using a PCI-AC48 adapter card and a serial cable. For more
information on these connections, see the SNAP PAC Brains User’s Guide (form 1690).
CAUTION—If you are using PAC Control: When you read and write to specific devices using the instructions in this
chapter, the reads and writes occur independently of PAC Control strategy logic. If you are using PAC Control, you
normally use the flowchart logic in the PAC Control strategy to read and write to the I/O unit. It’s not a problem to
read directly, but if you use the instructions in this chapter t to write to an I/O unit, be very careful that your actions
do not conflict with PAC Control logic.
As you use PAC Manager’s Inspect window, you’ll notice that the starting memory map address for each item
is shown. This can be a handy way to determine addresses you need for programming or configuration. You
can also highlight an address and right-click it to copy it; then you can paste it where you are using it.
You can also copy and paste part or all of the data you read in the Inspect window. Just highlight the data you
want to copy and use standard Microsoft® Windows® commands such as Ctrl+C to copy the data, and Ctrl+V
to paste it into a text, email, or other file.
– If you have configured other devices, they are listed in alphabetical order in the drop-down list.
– If you have configured six or more devices, the Inspect window provides two additional time-saving
features: Next and Back navigation buttons (to navigate back and forth through the alphabetized list
of devices), and a list of the five most recently inspected devices (displayed at the top of the
drop-down list).
3. In the Device Name field, type the name (or IP address) of the controller or I/O unit (or choose it from the
drop-down list). Click Status Read.
Scroll down to see all of the information. Data is current as of the date and time shown in the Status field
at the top right corner of the window. (Note that date and time are from the computer, not from the I/O
unit.) To update data, click the Refresh button. See the next two pages for help in interpreting data.
Description Explanation
Since a powerup clear (PUC) is automatically sent by the device whenever it is turned
Powerup Clear Flag PUC needed
on, this value should show PUC Received.
Busy Flag Zero means the device is not busy and can process your requests.
Revision number of the device’s loader. The loader is like a basic input/output system
Loader Version
(BIOS).
Memory Map Version Revision number of the device’s memory map
(PAC-R and PAC-S only) Whether the PAC booted from its Flash memory or from a
Current Boot Device
microSD card
Description Explanation
Firmware Version
Firmware Version Date Revision number of the device’s firmware, and the date and time of the revision
Firmware Version Time
Unit Type Hex code indicating the device type.
Unit Description Part number of the device (brain or controller)
I/O Unit Hardware Revision (Month)
I/O Unit Hardware Revision (Day) Version date of the device’s hardware
I/O Unit Hardware Revision (Year)
(Applicable to rack-mounted controllers and brains manufactured starting in 2016.)
Revision number of the I/O coprocessor firmware. If the value is 0 (zero) or A0.0a,
I/O Coprocessor Firmware Version
your device does not have an I/O coprocessor.
For more information, see the SNAP PAC I/O Coprocessor Firmware Readme.
Installed Ram Number of bytes of RAM in the device
Product Serial Number (SB brains only) Barcoded product number inside the brain
Address (SB brains only) Current serial address of the brain
Baud Rate (SB brains only) Current baud rate of the brain
(SB brains only) A serial transmission error; normally zero. If it’s not zero, verify baud
Number of Framing Errors
rate or check for noise on the serial bus.
(SB brains only) Normally zero. Any value other than zero indicates that serial charac-
Number of FIFO Overrun Errors
ters are being dropped.
(SB brains only) A value of 1 indicates that Communication Error Blink Codes are
Communications Debug Flag
enabled. See the brain user’s guide for details.
Unique hardware Media Access Control (MAC) identifier for the device, assigned at
MAC Address
the Opto 22 factory. MAC addresses for all Opto 22 devices start with 00-A0-3D.
IP Address
IP address, subnet mask, and default gateway for the device on the Ethernet network.
Subnet Mask
You assign these numbers; see page 8.
Gateway
DNS or Name Server Not currently used; leave at 0.0.0.0
(SNAP PAC controllers only) Unique hardware Media Access Control (MAC) identifier
Ethernet 2 MAC Address
for the second Ethernet interface on the device.
Ethernet 2 IP Address
(SNAP PAC controllers only) IP address, subnet mask, and default gateway for the
Ethernet 2 Subnet Mask second
Ethernet interface on the device. You assign these numbers; see page 19.
Ethernet 2 Gateway
Ethernet 2 DNS (SNAP PAC controllers only) Not currently used; leave at 0.0.0.0
(Wired+Wireless devices only) Unique hardware Media Access Control (MAC) identi-
Wireless LAN MAC Address
fier for the device’s wireless LAN interface.
WLAN IP Address
WLAN Subnet Mask (Wired+Wireless devices only) IP address, subnet mask, and gateways for the wire-
WLAN Primary Gateway less LAN interface on the device. You assign these numbers; see page 23.
Description Explanation
A value of 0 (the normal setting) means the device sends a request (a BootP or DHCP
request) for an IP address only if its IP address is 0.0.0.0. A value of 1 means the
Always BootP/DHCP On Powerup
device sends a BootP or DHCP request every time it is turned on. See page 8 for more
information.
Whether temperatures on the I/O unit are handled in Fahrenheit or Celsius. Set when
Degrees F/C1
you configure the I/O unit (page 32). Celsius is the default.
If the I/O unit has a watchdog, the watchdog timeout in milliseconds. Set when you
Comm Watchdog Time (msec)1
configure the I/O unit (page 32). Default is 0 (no watchdog).
Only for SNAP PAC analog input modules that return 16-bit values. If a value goes out
Out of Range Value (16-bit) of range, this number appears as the value. Default is -32,768. Can be changed; see
page 152.
Only for SNAP PAC analog input modules that return 32-bit values, such as the
SNAP-AIRATE-HFi and SNAP-AIRTD-8U modules. If a value goes out of range, this
Out of Range Value (32-bit)
number appears as the value. Default is -2147483648. Can be changed; see
page 152.
Shows scanner and control engine options. Value can be any of the following or a
combination of them, in hex. See “Scanner Flags” for more information.
1 = Alarms are being processed in the digital scanner rather than the analog scanner.1
2 = Analog/HDD scanner is disabled. (Disables scanning of high-density digital mod-
Scanner Flags
ules as well as analog modules.)1
4 = Digital scanner is disabled.1
8 = (applies to all standalone and on-the-rack controllers) PAC Control engine is
stopped.
Shows the number of times the processor (brain or on-the-rack controller) has
4-Channel Digital Scan Count1 scanned the digital points for 4-channel digital modules on the I/O unit. Can be used
for benchmarking.
Shows the number of times the processor has scanned the analog and high-density
Analog & High Density Dig Scan Count1
digital module points on the I/O unit. Can be used for benchmarking.
Milliseconds since the last time the device was turned on. Value rolls over after
Milliseconds Since Powerup
4,294,967,295 ms, which is equal to 49.71 days.
Time since the device was last turned on. Time is shown in the format
Elapsed Time Since Powerup
days:hh:mm:ss
TCP Minimum RTO (msec.)
TCP Initial RTO (msec.)
TCP communication settings; see page 227.
TCP Retransmits
TCP Idle Session Timeout (msec.)
TCP Idle Session Timeout Count Number of times the device closed the session because it was idle.
Ethernet Errors: Late Collisions
Ethernet Errors: Excessive Collisions Values other than 0 may indicate network problems. See page 229.
Ethernet Errors: Others
Mask in hex showing location of analog, serial, and high-density digital modules on the
Smart Modules Present1 rack. Module 15 is in bit position 15; module 0 is in bit position 0. (For help in under-
standing masks, see “Mask Data” on page 195.)
Maximum number of PID loops possible on the device (96 on PAC-R, EB, and SB
PID Loops Supported
brains). See page 64.
Description Explanation
Number of 4-channel digital modules supported (0, 8, or 16).
Added in PAC firmware 8.1; older firmware doesn’t include this address. Useful for
SNAP-PAC-R1 and SNAP-PAC-R1-B.
Digital Modules Supported Due to B-series rack limitations, R1-Bs support 4-channel I/O
modules only in the first 8 rack positions.
R1s with serial numbers below 600,000 support 8 digital modules in the first 8 rack
positions; newer R1s support 16.
Indicates that a smart module has been added, removed, or reset. (ARCNET is used
on the rack for communication between the processor and analog, serial, or high-den-
Arcnet Reconfigs Detected1
sity digital modules.) NOTE: If the rack contains only 4-channel digital modules, ignore
this value.
Arcnet Reconfigs Initiated by I/O Unit1 Error on the rack’s ARCNET bus. Not a concern unless it happens frequently.
Arcnet Transmit Attempts Since Powerup1
Arcnet ACKs1
Arcnet Timeouts1 Refers to the ARCNET bus on the rack. May be useful in troubleshooting communica-
Arcnet Other (node not found, etc.)1 tion to analog, serial, or high-density digital modules.
– If you have configured six or more devices, the Inspect window provides two additional time-saving
features: Next and Back navigation buttons (to navigate back and forth through the alphabetized list
of devices), and a list of the five most recently inspected devices (displayed at the top of the
drop-down list).
2. In the Device Name field, type the name of the device (or choose it from the drop-down list).
Items that can be changed are listed in the upper section of the dialog box. To change one, click its Value
field and either choose from the drop-down list or enter the new value as described below:
Always BootP/DHCP on Powerup (All devices): If you change this field to Yes, the current IP address
becomes temporary and the device will send a BootP broadcast the next time it is turned on. If you
change this field to No, the current IP address is saved to flash memory and becomes a static IP address.
Degrees F/C and Comm Watchdog Time (I/O units only): Changes settings for the whole I/O unit.
IMPORTANT: Set Degrees F/C before configuring temperature inputs. If some inputs are already
configured, reset their Upper and Lower Scaled Units after changing Degrees F/C.
TCP settings: CAUTION: Before changing TCP settings, see page 227.
Digital Feature Scan Interval and Max Analog and High Density Digital Scan Interval (I/O units
only): Default is 1000 milliseconds for analog and 1 milliseconds for digital. You can decrease the scan
interval (to make it scan more frequently) to make sure the scanner isn’t slowed or stopped by heavy
communication on the network. You can also shut down the scanner immediately by changing its scan
interval value to -1 (does not require restarting the I/O unit). As of PAC firmware version 8.1, analog
modules with more than 4 points are scanned no faster than every 30 milliseconds, and analog modules
with four or fewer points are scanned no faster than every 6 milliseconds, to maintain synchronization
with the module. Note that scan interval changes revert to default values when power is lost, unless you
save your changes to flash.
Out of Range Value (16-Bit) and Out of Range Value (32-Bit): Set the value that an analog input
module returns when a signal is above or below a defined range. If the default out-of-range value is
potentially a valid in-range value, you can enter a different value to indicate an out-of-range condition.
Most SNAP analog input modules use the 16-bit out-of-range value, which has a default value of -32,768.
Analog input modules that return a 32-bit value (such as the SNAP-AIRATE-HFi and SNAP-AIRTD-8U
modules) use the 32-bit out-of-range value, whose default value is -2147483648.
Scanner Flags: To change the way scanners work or stop/start the control engine, enter one or a
combination of the following values in hex.
– (I/O units only) To process alarms in the digital scanner rather than the analog scanner, enter 1.
SNAP PAC mounting racks can hold up to 4, 8, 12, or 16 Opto 22 SNAP I/O modules. Point features and
modules supported vary by processor; see the processor’s data sheet for specifications.
Each module contains 1 to 32 channels (points), depending on the module. Examples of modules are shown
in the following diagram.
Channels: 3 2 1 0
Channels
7 6 5 4 3 2 1 0
:
Channels: 1 0
Module position 14, serial:
Ports: B A
Serial Modules
NOTE: Serial modules cannot be used with SNAP PAC SB brains.
SNAP-SCM-232, SNAP-SCM-485, SNAP-SCM-485-422, and SNAP-SCM-W2 modules each have two serial ports,
A and B. Profibus modules (SNAP-SCM-PROFI) have one serial port.
To establish an Ethernet connection between the SNAP PAC I/O unit and a serial module, you use the IP
address of the I/O unit the module is on, plus the TCP port number for the module’s serial port. The following
table shows default port numbers for each port in each position on the largest rack. For a Profibus module, use
the Port A port number.
Module Module
Port TCP port Number Port TCP port Number
Position Position
A 22500 A 22516
0 8
B 22501 B 22517
A 22502 A 22518
1 9
B 22503 B 22519
A 22504 A 22520
2 10
B 22505 B 22521
A 22506 A 22522
3 11
B 22507 B 22523
A 22508 A 22524
4 12
B 22509 B 22525
A 22510 A 22526
5 13
B 22511 B 22527
A 22512 A 22528
6 14
B 22513 B 22529
A 22514 A 22530
7 15
B 22515 B 22531
These port numbers can be changed if necessary. See page 47 for instructions.
2. In the Device Name field, type the name (or IP address) of the I/O unit (or choose it from the drop-down
list). Click Point Config.
Module position numbers are shown near the top of the page; point numbers for multi-point modules
are shown below. For more information on locating modules and points, see “Referencing I/O Points” on
page 155.
3. Click the module position and the point number you want to view or configure.
4. Choose or enter the following as necessary for the point.
a. Choose the point type from the drop-down list.
For help, see “Point Type Configuration Tables” on page 160 and “Using I/O Point Features” on
page 71.
b. Configure digital input counters in the Point Feature field as shown below:
0x00000004 Simple quadrature counter input (requires SNAP quadrature input module)
0x00000041 Quadrature counter input with index (requires SNAP quadrature input module)
c. For automatic reaction to analog or digital watchdogs, enable the watchdog and enter the value
that the output point should be set to if the watchdog is tripped.
d. (Analog points only) To set offset and gain for the point manually, enter values in those fields. (To
have the processor compute offset and gain, see “Calibrating Offset and Gain Using the Default
Method” on page 174.)
e. (Analog points only) Set upper and lower scaled units, filter weight, and upper and lower clamps as
necessary. (For help, see “Using I/O Point Features” on page 71.)
5. When all lines are correct, click Apply to send the configuration to the I/O unit.
All other points on the same module are automatically configured with the same features and the same
point name.
6. Click another point on the same module and change its point name and features as necessary.
7. Repeat steps for each module you need to configure.
To save configuration to flash memory, see “Saving Configuration to a Device’s Flash Memory” on
page 190.
Use this data for configuring point types and features (see page 157). If a module has multiple listings, the
default point type is shaded.
Channels per Module
Channel Type (Dec)
Default Unit of
Measurement
Underrange
Overrange
Low Scale
Full Scale
Part Number &
Description
Default Unit of
Measurement
Underrange
Overrange
Low Scale
Full Scale
Part Number &
Description
Default Unit of
Measurement
Underrange
Overrange
Low Scale
Full Scale
Part Number &
Description
SNAP-AIPM-3 (channels 2, 6 & 10) 82 52 49 ** True power n/a n/a n/a n/a
SNAP-AIPM-3 (channels 3, 7 & 11) 83 53 49 ** Volt/Amps n/a n/a n/a n/a
SNAP-AIPM-3 (channels 12 & 13) 86 56 49 ** True power n/a n/a n/a n/a
SNAP-AIPM-3V (channels 0, 4 & 8) 100 64 48 ** AC VRMS 0.0 0 300 330
SNAP-AIPM-3V (channels 1, 5 & 9) 89 59 48 ** VAC from CT 0.0 0 0.333 0.366
SNAP-AIPM-3V (channels 2, 6 & 10) 90 5A 48 ** True power n/a n/a n/a n/a
SNAP-AIPM-3V (channels 3, 7 & 11) 90 5A 48 ** Volt/Amps n/a n/a n/a n/a
SNAP-AIPM-3V (channels 12 & 13) 184 B8 48 ** True power n/a n/a n/a n/a
SNAP-AIRATE: Rate (Frequency) 69 45 69 2 Hz 0.0 0.0 25000.0 27500.0
SNAP-AIRATE-HFi: Rate (0.1 s data
68 44 2B 2 Hz 2 2 500,000 500,000
freshness)
SNAP-AIRATE-HFi: Rate (1 s data
69 45 2B 2 Hz 20 20 500,000 500,000
freshness)
SNAP-AIRTD: 100 Ohm Pt 3-wire 10 0A 10 2 Degrees C -200.0 -200.0 850.0 850.0
SNAP-AIRTD: 100 Ohm Ni 3-wire 46 2E 10 2 Degrees C -60.0 -60.0 250.0 250.0
SNAP-AIRTD: 0–400 Ohms, Lead
15 0F 10 2 Ohms 0 0 400 440
Compensated
SNAP-AIRTD: 120 Ohm Ni 3-wire 48 30 10 2 Degrees C -80.0 -80.0 260.0 260.0
SNAP-AIRTD-10: 10 Ohm Cu 3-wire 14 0E 0E 2 Degrees C -180.0 -180.0 260.0 260.0
SNAP-AIRTD-10: 0–25 Ohms, Lead
15 0F 0E 2 Ohms 0 0 25 27.5
Compensated
SNAP-AIRTD-1K: 1000 Ohm Pt 3-wire 92 5C 0F 2 Degrees C -200.0 -200.0 850.0 850.0
SNAP-AIRTD-1K: 1000 Ohm Ni 3-wire 93 5D 0F 2 Degrees C -60.0 -60.0 250.0 250.0
SNAP-AIRTD-1K: 1000 Ohm Ni 3-wire 94 5E 0F 2 Degrees F -50.0 -50.0 275.0 275.0
SNAP-AIRTD-1K: 0–4000 Ohms, Lead
15 0F 0F 2 Ohms 0 0 4000 4400
Compensated
SNAP-AIRTD-8U: 0–8000 Ohms - Fixed 155 9B 55 8 Ohms 0 0 8000 8800
SNAP-AIRTD-8U: 1000 Ohm Ni 3-wire @
182 B6 55 8 Degrees F -46 -46 148.9 148.9
70° F
SNAP-AIRTD-8U: 1000 Ohm Ni 3-wire @
181 B5 55 8 Degrees C -40 -40 135 135
0 °C
SNAP-AIRTD-8U: 1000 Ohm Pt @ 0 °C 180 B4 55 8 Degrees C -200 -200 850 850
SNAP-AIRTD-8U: 120 Ohm Ni @ 0 °C 179 B3 55 8 Degrees C -80 -80 260 260
SNAP-AIRTD-8U: 100 Ohm Ni @ 0 °C 178 B2 55 8 Degrees C -60 -60 250 250
SNAP-AIRTD-8U: 100 Ohm Pt @ 0 °C 177 B1 55 8 Degrees C -200 -200 850 850
SNAP-AIRTD-8U: 10 Ohm Cu 176 B0 55 8 Degrees C -60 -60 355 355
SNAP-AIRTD-8U: 0–8000 Ohms - Auto 171 AB 55 8 Ohms 0 0 8000 8800
SNAP-AIRTD-8U: 0–4000 Ohms - Auto 170 AA 55 8 Ohms 0 0 4000 4400
SNAP-AIRTD-8U: 0–2000 Ohms - Auto 169 A9 55 8 Ohms 0 0 2000 2200
Default Unit of
Measurement
Underrange
Overrange
Low Scale
Full Scale
Part Number &
Description
Default Unit of
Measurement
Underrange
Overrange
Low Scale
Full Scale
Part Number &
Description
Default Unit of
Measurement
Underrange
Overrange
Low Scale
Full Scale
Part Number &
Description
Default Unit of
Measurement
Underrange
Overrange
Low Scale
Full Scale
Part Number &
Description
Use this data for configuring point types and features (see page 157).
Default Unit of
Measurement
Underrange
Overrange
Low scale
Full scale
Part Number &
Description
– If you have configured other devices, they are listed in alphabetical order in the drop-down list.
– If you have configured six or more devices, the Inspect window provides two additional time-saving
features: Next and Back navigation buttons (to navigate back and forth through the alphabetized list
of devices), and a list of the five most recently inspected devices (displayed at the top of the
drop-down list).
2. In the Device Name field, type the name (or IP address) of the I/O unit (or choose it from the drop-down
list). Click PID and choose PID Loops from the submenu.
3. From the drop-down list, choose the PID loop number you want to configure, view, or change.
Existing PID loops are indicated by an asterisk (*) next to the number.
4. To configure or change the PID, click inside the cell in the Value column and type the new value or
choose it from a drop-down list, if one is available. When you have finished making changes, click Apply
to send them to the I/O unit.
NOTE: If you are using PAC Control, it is easiest to tune PID loops in your PAC Control strategy running in Debug
mode. For details, see the PAC Control User’s Guide (form 1700).
For information on memory map addresses and what they contain, see the OptoMMP Protocol Guide (form
1465).
– If you have configured other devices, they are listed in alphabetical order in the drop-down list.
– If you have configured six or more devices, the Inspect window provides two additional time-saving
features: Next and Back navigation buttons (to navigate back and forth through the alphabetized list
of devices), and a list of the five most recently inspected devices (displayed at the top of the
drop-down list).
2. In the Device Name field, type the name (or IP address) of the I/O unit (or choose it from the drop-down
list).
3. Click Digital Point or Analog Point, depending on the type of point you want to read or write to. For
digital points, see “Reading and Writing to Digital Points.” For analog points, see page 173.
Here’s an example showing a SNAP digital input point. Module position numbers are shown near the top of
the Inspect Opto 22 Device window, with the point numbers for each module listed just below the position
number. For more information on locating modules and points, see “Referencing I/O Points” on page 155.
This example shows an analog input point. Module position numbers are shown near the top of the Inspect
Opto 22 Device window, with the point numbers for each module listed just below the position number. For
more on locating modules and points, see “Referencing I/O Points” on page 155.
You adjust an analog point’s offset and gain to ensure that the measured values are accurate.
This section describes how to have the offset and gain automatically calculated and set for you.
NOTE: See “Calculating Offset and Gain Using the Two-Point Method” on page 176 if:
IMPORTANT: To calibrate the point, the I/O unit must be turned on and attached to the network, and you must
have access to the I/O unit in order to use the calibrator. For points on a SNAP PAC SB-series brain, connect directly via
serial or through the controller via Ethernet. (See page 27 for details.)
Save the configuration to flash so that it is not lost when power is turned off. Since each calibration is for a specific
point on a specific I/O unit, the result cannot be saved to the configuration file and cannot be sent to any other I/O
unit.
First, calculate offset, and then calculate gain. The offset must be calculated at the signal corresponding to
zero engineering units (EU), and the gain must be calculated at the signal corresponding to the point’s
maximum input range value (or, for inverted scaling, the point’s minimum input range value—in inverted
scaling, the lower scaled value is greater than the upper scaled value).
1. In Inspect mode, click the Analog Point button.
2. Click the module and analog input point you want to calibrate.
Module
Point
Offset and
Gain buttons
3. On the analog input point, use a calibrator to input the signal that corresponds to zero Engineering Units
(EU).
Example 1:SNAP-AIV (-10 to +10 VDC) configured with default scaling
zero EU = 0 VDC
Example 2: SNAP-AIV (-10 to +10 VDC) configured with custom scaling
Actual Scaled
Units VDC PSI
Lower -10 0*
Upper +10 100
*Zero EU is 0 PSI, which corresponds to a -10 VDC field signal
5. Use the calibrator to input the signal corresponding to the maximum input range value—or for inverted
scaling, to the minimum input range value—for the configured point type.
(In inverted scaling, the lower scaled value is greater than the upper scaled value.)
For precise values, refer to the configured Point Type or see the module's data sheet.
Example:
SNAP-AIV module; Point Type of -10 to +10 VCD:
Maximum Input Range Value = +10 VDC
For inverted scaling, Minimum Input Range Value = -10 VDC
6. Click the Calc and Set Gain button.
NOTE: To store offset and gain values permanently, you must save the change to flash when you send the
configuration data to the I/O unit (see page 69).
You adjust an analog point’s offset and gain to ensure that the measured values are accurate.
• Offset represents the low scale offset from the correct value.
• Gain represents the slope of the scaling equation.
The two-point method allows you to use any real-world range of Engineering Units to calculate offset and
gain. Use this method when it isn’t convenient or possible to input a signal that equates to either the
zero-scale or full-scale engineering units for a module’s point type. Also, you must use the two-point method
if the analog point you're calibrating uses inverted scaling and you're using PAC firmware R9.5b or lower. (PAC
firmware R9.5c and higher can automatically calculate offset and gain for analog points that use inverted
scaling.)
When using the two-point method, choose two points that are as far apart as possible.
1. If it isn’t already open, open the Inspect Opto 22 Device window for the point you want to calibrate (Tools
> Inspect | Analog Point button).
2. Click the Two-Point Method button in the Offset and Gain area in the bottom-right corner of the Write
Area.
NOTE: You may have to scroll down to see the button.
3. Use a calibrator to input a signal corresponding to the low end of the desired range.
For example, a SNAP-AIV module has a range of –10 to +10 VDC, so you might choose a range of 1.0 to
8.0 if it’s convenient. In that case, you would use the calibrator to input a low end of 1.0 VDC on the input
point.
NOTE: For best results, choose two points that are as far apart as possible.
4. Note the signal’s value on the calibrator and type this value in the Expected Value field.
Expected Value
Read button
5. Click the Read button to read the value that the input point is returning in response to this signal. This
value appears in the Actual Value field.
6. Use the calibrator again to input a signal corresponding to the high end of the desired range.
Using the SNAP-AIV example in step 2, for the high end you would use the calibrator to input 8.0 VDC on
the input point.
7. Type the Expected Value for the high-end value, and then click Read.
8. Click the Calculate button to calculate the offset and gain.
9. Click Send Values to send the offset and gain to the device.
10. Save the settings to flash memory to make sure that the data is not lost when power to the device is
turned off. See “Saving Configuration to a Device’s Flash Memory” on page 190.
– If you have configured other devices, they are listed in alphabetical order in the drop-down list.
– If you have configured six or more devices, the Inspect window provides two additional time-saving
features: Next and Back navigation buttons (to navigate back and forth through the alphabetized list
of devices), and a list of the five most recently inspected devices (displayed at the top of the
drop-down list).
2. In the Device Name field, type the name (or IP address) of the I/O unit (or choose it from the drop-down
list). Click Digital Bank or Analog Bank.
See also:
Remember that values for points on high-density digital modules are not included.
You can copy part or all of the data in this window and paste it into another file, such as a text file or email. Just
highlight what you want to copy, right-click it, and choose Copy from the pop-up menu (or use Ctrl+C). To
highlight all data in the window, right click in the window and choose Select All.
Data Formats. Most digital bank data is in the form of a mask. For example, the State of Digital Points value
shown in the previous figure is this mask:
0x00000000 0000000C
This mask shows, in hex, the state of all 64 possible points (maximum rack of 16 modules with four points per
module). The lowest points are on the right:
Hex: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 C
Binary: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 1100
Points: 3-0 3-0 3-0 3-0 3-0 3-0 3-0 3-0 3-0 3-0 3-0 3-0 3-0 3-0 3-0 3-0
Modules: 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
In this case, all points are OFF except for points 2 and 3 on the module in position 0, which are ON. For more
help in interpreting bank data, see page 196.
Bank counter data, however, uses unsigned 32-bit integers; for help in interpreting counter data, see page 196.
For help in interpreting analog point data, see “IEEE Float Data” on page 197.
2. In the Inspect Opto 22 Device window, type the Device Name (or IP address) of the I/O unit (or choose it
from the drop-down list). Click High Density.
3. Click the module number for the point you want to read or write to.
For an input module, the current states and latches appear, both as bitmasks in hex and individually for each
point. Counter values appear in the Counter column.
To clear latches for a point, highlight the point number and click the Clear On-Latch or Clear Off-Latch button.
To clear the counter for a point, highlight the point and click the Clear Counter button.
The change is immediately sent to the I/O unit, and the window is updated.
For an output module, the current states appear, as bitmasks in hex and for each point.
To turn a point on or off, highlight the point number and click the Turn On or Turn Off button.
The change is immediately sent to the I/O unit, and the window is updated.
2. In the Inspect Opto 22 Device window, type the IP address of the I/O unit (or choose it from the
drop-down list). Click Scratch Pad and then choose the area you want from the pop-up menu.
The Scratch Pad bits window shows you the current state of the Scratch Pad bits (as of the Status date and
time) and the current On and Off masks. You can change any of these masks by clicking its cell in the Value
column and typing in the new mask, then clicking Apply.
Scratch Pad Floats are used as the example here, but integers and strings are similar. Current values are shown
as of the Status date and time. To update values, click Refresh.
The Select All and Unselect All buttons control the check marks in the Apply column boxes. The Clear All
button puts all values at zero.
1. To change a value in Scratch Pad integers, floats, or strings, click the cell in the Value column and type the
new value.
A check mark appears in the Apply column box. If you do not want to send a value, click the box to
uncheck it.
2. Click the Apply button to write the new values to the Scratch Pad.
All the checked items are changed.
Data Logging
Data logging is normally configured in a configuration file (see page 87), but you can change it in the Inspect
window. Remember that changes made here cannot be saved to a configuration file, however. To change
configuration, with the I/O unit’s IP address in the Inspect window, click Data LogData Logging Configure.
For help, see the information in the steps on page 87.
To read the data in a data log you have set up, use PAC Manager’s Inspect window. See instructions on
page 89. To clear all data from a data log, see page 90.
– If you have configured six or more devices, the Inspect window provides two additional time-saving
features: Next and Back navigation buttons (to navigate back and forth through the alphabetized list
of devices), and a list of the five most recently inspected devices (displayed at the top of the
drop-down list).
2. In the Device Name field, type the name (or IP address) of the I/O unit (or choose it from the drop-down
list). Click PID and choose PID Loops from the submenu.
3. From the drop-down list, choose the PID loop number you want to configure, view, or change.
Existing PID loops are indicated by an asterisk (*) next to the number.
4. To configure or change the PID, click inside the cell in the Value column and type the new value or
choose it from a drop-down list, if one is available. When you have finished making changes, click Apply
to send them to the I/O unit.
NOTE: If you are using PAC Control, it is easiest to tune PID loops in your PAC Control strategy running in Debug
mode. For details, see the PAC Control User’s Guide (form 1700).
For information on memory map addresses and what they contain, see the OptoMMP Protocol Guide (form
1465).
This event’s
configuration data is
shown here.
In addition, you can read or write to any memory map address by clicking OtherGeneric Read/Write. See
the memory map appendix in the OptoMMP Protocol Guide (form 1465) to make certain you have the correct
address before making any changes.
Saving configuration data to the controller or I/O unit’s flash memory makes sure that the data is not lost
when power to the device is turned off.
If you are using a configuration file (as in most of Chapters 2, 3, and 4), you can choose to save configuration
data to flash memory when the file is loaded to the I/O unit. However, if you are writing configuration directly
to the device (as in this chapter), you’ll need to follow these steps to save to flash.
Note that this command saves to flash the things you can configure in PAC Manager. It does not affect a PAC
Control strategy, which is saved to flash via PAC Control or PAC Terminal.
CAUTION: If you are using PAC Manager R9.0a or higher, PAC firmware R9.0a or higher, and loader version 6.0 or
higher, and if a controller has a microSD card installed and the card already contains configuration data, that data
will be overwritten. See the controller user’s guide for complete information about microSD.
The configuration data is stored to flash memory and a Success message appears.
Restarting the device is just like turning the power off and then turning it back on again. This command can
be used for both I/O units and controllers. For an I/O unit, if configuration data has not been saved to flash
memory, restarting resets points to their defaults.
For some configurations to take effect, the device must be restarted. A SNAP PAC controller must be restarted
after you configure its secondary IP address, for example. For an I/O unit, if you are using a configuration file (as
in most of Chapters 2, 3, and 4), you can choose to restart the unit when the file is loaded to the I/O unit and
saved to flash memory. However, if you are writing configuration directly to the I/O unit (as in this chapter),
after you store to flash, you need to follow these steps to restart it.
1. In the PAC Manager main window, click the Inspect button .
2. In the Device Name field, type the name (or IP address) of the device, or choose it from the drop-down
list. Click Status Write.
3. In the Operation Command list, highlight Restart Device from powerup.
Resetting the device to defaults erases configuration information from the device’s flash memory. (It does not
erase IP address settings nor PAC Control strategy files in a controller.) Resetting also does the following:
• If the device has PAC firmware R9.0a or higher and loader R6.0 or higher and a microSD card is present,
resetting erases PAC firmware, strategy, and IP address and configuration data from the card (does not
erase other data files or I/O coprocessor firmware)
• Clears all point configuration and features, such as offsets and gains, custom scaling, latches, counters,
and minimum/maximum data
• Turns off digital outputs and defaults all digital points to inputs
The powerup clear command clears a flag that indicates the I/O unit has lost and then regained power.
Normally a powerup clear command is automatically sent, so normally you won’t need to use this command.
If you receive a powerup clear error message, however, you can use PAC Manager to send the command. Note
that a power loss means that any configuration data not stored to the I/O unit’s flash memory has been lost.
1. In the PAC Manager main window, click the Inspect button .
2. In the Device Name field, type the name (or IP address) of the device. Click Status Write.
3. In the Operation Command list, highlight Send powerup clear.
4. Click Send Command.
The powerup clear is sent, and a Success message appears.
SNAP PAC S-series and R-series controllers manufactured from November 2008 to the present have a microSD
card slot that accommodates cards up to 2 GB. These cards can be used to log data, of course, but they can
also be used as a kind of boot disk for the controller, so that you can replace a failed controller with a new one
by simply putting the prepared microSD card into the new controller, turning the controller on, and
connecting it to the network. The new controller boots from the card and configures itself; you can then use
the controller’s Reset button to save the data on the card to flash memory.
Before using the card or any of these commands, be sure to read the section on microSD in the Maintenance
chapter of the controller user’s guide. A few steps are repeated here for convenience, but the user’s guide has
the complete information.
Three types of information can be put on the card to use it as a boot disk:
• PAC firmware files
• Strategy files
• Configuration data
Configuration data includes all current configurations (those that can be done in PAC Manager) plus the
controller’s IP address and IP settings. The steps below show only how to add configuration data; see the
controller user’s guide to add firmware and strategy files.
removed. Cycling power does not do this. Instead, follow the steps in the Maintenance chapter (microSD
section) of your controller’s user’s guide.
– Clear “Digital Events - Expanded” configuration (Clears digital events in PAC firmware 8.1 and higher.
For PAC firmware 8.0 and older, clears Timers configuration.)
– Clear “Digital Events - Old” configuration (Clears digital events in PAC firmware 8.0 and older.)
– Clear Alarm Events configuration
– Clear PPP configuration
– Clear E-mail configuration
– Clear PID Loops configuration
– Clear Data Logging Samples
4. With the command you want highlighted, click Send Command.
The command is sent immediately to the I/O unit, and you see a Success message.
Mask Data
Some data is in the form of a 32-bit or 64-bit mask—four or eight addresses, each holding eight bits. Each bit
in the mask contains the data for one thing in a group: one channel, one module, one Scratch Pad bit, etc.
For example, most high-density digital module data (for both groov and SNAP) and most SNAP digital bank
data is in this form (groov I/O units and groov RIO modules do not support banks). For example, to read the
state of SNAP digital channels in a bank, you would read the eight bytes starting at FFFFF0400000.
Here’s how the data would be returned:
The most significant byte is at the lowest address. For module 0, channel 0, for example, you might receive the
following data:
The 32-bit integer for this reading would be 16 BB 18 87 (most significant byte at lowest address). This hex
figure correlates to the decimal value 381,360,263.
Remember that if you are processing this data using a Little Endian computer (such as an Intel-based PC), you
must convert the data from the Big Endian format in order to use it. Little Endian format is the opposite of Big
Endian; Little Endian places the most significant byte at the highest address.
(Does not apply to groov I/O or groov RIO modules, which have more than 4 channels.) For consistency in
starting addresses, data for individual digital channels has a length of four bytes. However, only the least
significant bit contains the data you’re looking for.
For example, to read the state of channel 0 on module 0, you would start with address FFFFF0800000. Data
would be returned as follows:
For more information on floats and issues that may arise in their use, see the Using Floats Technical Note (form
1755) available on our website, www.opto22.com.
INTRODUCTION
This chapter includes step-by-step procedures for maintaining controllers and brains, including:
• Viewing and changing IP addresses (below).
• Loading new firmware (page 201).
To find out the current brain firmware version, see “Getting Device and Firmware Information—
Individual Device” on page 224.)
• Maintaining files (page 215).
For other maintenance tasks, such as resetting the device to factory defaults or handling a device whose IP
address you don’t know, see the controller or brain user’s guide.
CHANGING IP ADDRESSES
If you need to change an IP address or subnet mask on an Ethernet-based device, you can do so using PAC
Manager. You must know the current IP address in order to change it. The white sticker on the device may
show the IP address. If not, see the device’s user guide for instructions.
• SNAP PAC controllers and brains
• E1 and E2 brain boards
• SNAP Simple I/O brains
• SNAP Ultimate and SNAP Ethernet brains with firmware version R5.0 or higher
1. If PAC Manager isn’t already open it, start it. (For instructions, see the footnote on page 11.)
3. In the Current IP Address field, type the IP address of the device whose address you want to view or
change. Click Read Current Settings to see the current subnet mask, gateway address, and DNS address.
4. To change the IP address, subnet mask, or other addresses, enter the new numbers. Make sure you have
typed everything correctly. When everything is correct, click Change IP Settings.
After you confirm the change, a message appears stating that the change was successful and that the
device will restart. Restarting may take 10 to 20 seconds to complete. When you see the following
indicator, the device is ready for use with its new address:
– The SNAP-PAC-S1’s, SNAP-PAC-R1’s, and SNAP-PAC-R1-B’s STAT LED shows solid green or solid
orange when viewed from the top (green means a strategy is running; orange means no strategy is
running).
– The SNAP-PAC-EB1’s or SNAP-PAC-EB2’s STAT LED shows solid green.
Remember to write the IP address on the sticker or white area on the device.
All SNAP PAC controllers and brains1, and SNAP serial communication modules, contain firmware.
If a new version of the firmware is released or if the firmware should become damaged, you can use PAC
Manager to load new firmware to the device.
Typically, firmware files are created for a specific series of products (for example, firmware for the R1 series,
which includes SNAP-PAC-R1, -R1-B, and obsolete R1-FM controllers). Firmware files have the file extension
“.bin.” Sometimes we package firmware files for multiple series of products in a zip file. If you’ve downloaded a
firmware zip file from our website, you’ll need to unzip it to access the individual .bin files.
To get the newest firmware file, you can use the Get Latest Firmware feature in PAC Manager (or any browser
like Google Chrome, Mozilla Firefox, and Microsoft Edge) to download the firmware from Opto 22’s website2.
If your SNAP PAC controller has a microSD card slot, you can copy the necessary .bin files to the microSD card,
and then load the firmware from the card. This method can be easier if your PAC isn’t networked. (For
instructions to load firmware from a microSD card, see the controller user's guide.)
Typically, PAC software requires a matching (or higher) version number of controller firmware. This is because
the firmware must be able to support new features in the software. It’s usually OK to have controller firmware
that is newer (that is, has a higher version number) than the version of PAC software you have. There can be
exceptions, however—such as when a change in the firmware requires a matching change in the software.
PAC Control keeps track of the dependencies between different versions of controller firmware and software,
and will display a warning when the controller firmware is lower than the minimum version number
recommended for your software. (The warning is displayed in PAC Control when you try to go into Debug
mode to download a strategy.)
The steps to load new firmware depend on the type of device you have, and whether the device’s current
firmware is damaged.
• To load firmware for SB brains, see page 205.
• To load firmware for serial communication modules, see page 208.
• For all other controllers and brains (including SNAP Ultimate brains with firmware R5.0 or higher), see
page 202.
• To load I/O coprocessor firmware, see page 209.
• To replace damaged firmware (indicated by three slow red blinks of the STAT LED after powerup), see
page 212.
1 In addition, rack-mounted controllers and brains manufactured starting in 2016 may contain an I/O coprocessor,
which has its own firmware. For details, see page 209.
2 To download previous versions of Opto 22 firmware and software, go to our FTP site at
ftp://ftp.opto22.com/Public_Folders_(Unsecured)/Archives_(Software_and_Firmware)/
3 I/O coprocessor firmware is not cleared when you update controller or brain firmware. For details, see page 209.
If the IP address you want isn’t displayed, click Add, and then enter a device’s IP address or host name, or
a range of consecutive IP addresses.
You can change the amount of seconds PAC Manager waits before verifying the devices have restarted.
8. If you have changed the OptoMMP port (see page 78), enter the correct port number in the Port field.
9. CAUTION: Loading firmware erases the current firmware in the selected device. You cannot undo
the erase. Make sure you’ve highlighted the IP addresses you want to update, and not others by
accident. For details, see “Firmware Loading’s Effect on Data in the Device” on page 201.
To load the firmware, click Execute.
The file is loaded to the SNAP devices, and progress is shown in the Results area.
When the file has completed loading and the devices are restarted, a “Success” message is displayed in the
Results area.
Troubleshooting
• If, during the firmware update process, a Timeout error message appears in the Results area, you can try
temporarily disabling any firewalls on the computer running PAC Manager.
Firewalls, such as the ones that come with some anti-virus software programs and the built-in firewall in
Windows, can prevent PAC Manager from receiving FTP communications from the controller, which will
result in a timeout error. (Firewalls in a router shouldn't be a problem.)
You can reenable the firewalls after loading the firmware.
• If disabling firewalls is not an option, you can try
– Connecting the PC directly to the controller or brain.
– Configuring a firewall exception for PAC Manager.
To configure a firewall exception in your system's anti-virus software, see the manufacturer's
instructions.
To configure a firewall exception in Windows, see page 10.
• If you’re using EB brains in a daisy-chain or multi-dropped configuration, you must update their firmware
one device at a time. This is because, after the firmware update, network communication is disrupted
when each brain in the chain is restarted.
• You may encounter an issue if you’re updating an R-series controller that has PAC firmware R9.2c or lower.
This issue is resolved, and details are available on our website, OptoKnowledgeBase article KB82101
http://www.opto22.com/site/knowledgebase/kb_view_article.aspx?aid=2059
• You may encounter an issue in either of these situations:
– You’re updating an R-series controller with a microSD card slot and PAC firmware R9.5a or lower.
(Wireless controllers are not affected.)
– A microSDHC card is inserted in your R-series controller when you’re updating PAC firmware R9.5a or
lower. (Wireless controllers are not affected.)
These issues have been resolved. For details, see our website:
– OptoKnowledgeBase article KB86172
http://www.opto22.com/site/knowledgebase/kb_view_article.aspx?aid=2962
– OptoKnowledgeBase article KB86180
http://www.opto22.com/site/knowledgebase/kb_view_article.aspx?aid=2945
Before beginning, make sure you have an Internet connection to obtain the firmware. Also, choose how you
will connect to the SB brain (for more information, see the brain user’s guide):
• Through the S-series controller—see steps in “Installing SB Firmware Through the Controller,” below.
• Directly from the PC to the brain (requires a PCI-AC48 adapter card in the PC)—see “Installing SB
Firmware Directly from PC to Brain” on page 207.
2. In the PAC Manager menu bar, click ToolsInstall Firmware via Ethernet.
3. Click Install Firmware Through Ethernet Passthrough Connection, and then click OK.
4. In the Controller section, enter the IP address of the controller. Leave the Port at 2001 unless you have
changed it. Choose the serial port on the controller that the brain is connected to, and make sure the
baud rate matches that on the brain. Change Timeout and 2-Wire if necessary.
5. In the Opto 22 device section, choose the type of SB brain and enter its serial address.
6. Click the blue Get Latest Firmware link.
The link opens your browser and takes you to the Firmware Downloads section of our website,
www.opto22.com
7. Choose the firmware for your part number from the list and download it to your PC.
If you have any difficulty obtaining or loading new firmware, contact Opto 22 Product Support.
8. Click the browse button and locate the firmware file you just downloaded. Double-click the
filename.
This method requires a serial connection from the brain to the PC, via an RS-485 converter such as an Opto 22
PCI-AC48 adapter card.
1. If PAC Manager isn’t already open it, start it. (For instructions, see the footnote on page 11.)
2. In the PAC Manager menu bar, click ToolsInstall Firmware via Serial Connection.
4. In the Computer section, choose the COM port the brain is connected to. Make sure the baud rate
matches that on the brain. Change the Timeout if necessary.
5. In the Opto 22 Device section, choose the type of SB brain and enter its serial address.
The SNAP PAC I/O coprocessor is a programmable chip that can be updated in newer Opto 22 rack-mounted
controllers and brains. It replaces an older, obsolete chip. The change has no effect on function or
performance.
The new programmable chip is included in Opto 22 rack-mounted controllers and brains, starting with the
date codes listed below.
NOTE: For devices manufactured during the month and year listed, use PAC Manager to find out if your device has
an I/O coprocessor. (For details, see page 210.)
As of November 14, 2017, the following products manufactured with I/O coprocessors had firmware R3.0a.
You do not need to update the firmware in these products. Note that these products are all obsolete as of
2023:
• SNAP-PAC-EB1
• SNAP-PAC-EB1-FM
• SNAP-PAC-EB1-W
• SNAP-PAC-SB1
• SNAP-PAC-SB2
A device's manufacturing date code can rule out whether the device has an I/O coprocessor, but to know for
certain, you can inspect the device in PAC Manager.
Using the Manufacturing Date Code
If your device is easily accessible, you can visually check its manufacturing date code to see when it was
manufactured. If it was manufactured before the dates listed in the table on page 209, it doesn't have a chip
that can be updated.
A number in the Value field means the device has an I/O coprocessor.
Your device's number may be different.
I/O coprocessor firmware updates are posted on the Opto 22 website. To successfully load the I/O coprocessor
firmware, you must have both:
• PAC Manager R9.5a or higher
• PAC Firmware R9.5a or higher in the device that you're updating
If your device has PAC firmware R9.4c or lower and you aren't ready to upgrade to a newer version of PAC
firmware, follow these steps:
1. Temporarily load PAC firmware R9.5a (or higher).
2. Follow the instructions below to load the I/O coprocessor firmware.
3. Load your previous version of PAC firmware (to overwrite the higher version you installed in step 1).
Previous versions of software and firmware are available from our FTP site:
ftp://ftp.opto22.com/Public_Folders_(Unsecured)/Archives_(Software_and_Firmware)/
Sometimes we provide firmware files for multiple series of products in a zip file. If you’ve downloaded a
firmware zip file from our website, you’ll need to unzip it to access the individual .bin files.
To load the I/O coprocessor firmware:
CAUTION: Updating the I/O coprocessor firmware will reboot your controller or brain.
It will not overwrite your configuration data, but the reboot will cause accumulated data (such as counts from
analog and digital totalizers) to be reset.
1. In PAC Manager, open the I/O Unit Maintenance window (Tools > Maintenance).
2. In the Command list, select Install I/O Coprocessor Firmware.
3. Click the Browse button, and then navigate to the folder containing the firmware files.
4. Select the firmware file for your controller or brain, and then click Open.
NOTE: If your device is wireless, select the file for the comparable controller or brain. For example, if you have a
SNAP-PAC-R1-W, select the file for the R1 controller, SNAP-PAC-R1-IO-Coprocessor-R3.0a.bin.
4. If PAC Manager isn’t already open it, start it. (For instructions, see the footnote on page 11.)
5. In the PAC Manager menu bar, click ToolsInstall Firmware via Failsafe Bootloader Mode. Click OK at the
message about products it can be used with.
6. Choose one:
– For a SNAP PAC controller or EB brain, click the Ethernet tab and continue with step 7.
– For an SB brain, if you’re connecting to the brain through the S-series controller, click the Ethernet
Pass-Through tab and skip to step 8.
– For an SB brain, if you’re connecting serially from the PC to the brain, click the Serial Direct tab and
skip to step 9.
7. For a controller or EB brain, enter the IP address and subnet of the PC (not the controller or brain). Choose
the controller’s or brain’s device type from the drop-down list. Skip to step 10.
8. For an SB brain using Ethernet Pass-Through, do the following:
– In the Controller section, enter the IP address of the controller. Leave the Port at 2001 unless you
have changed it. Choose the serial port on the controller that the brain is connected to, and make
sure the baud rate matches that on the brain.
– In the Opto 22 device section, choose the type of SB brain and enter its serial address. Skip to
step 10.
9. For an SB brain using Serial Direct, do the following:
– In the Computer section, choose the COM port the brain is connected to. Make sure the baud rate
matches that on the brain.
– In the Opto 22 device section, choose the type of SB brain and enter its serial address. Go on to
step 10.
10. Click the blue Get Latest Firmware link.
The link opens your browser and takes you to the Firmware Downloads section of our website,
www.opto22.com
11. Choose the firmware for your part number from the list and download it to your PC.
If you have any difficulty obtaining or loading new firmware, contact Opto 22 Product Support.
12. Click the browse button and locate the firmware file you just downloaded. Double-click the
filename.
The path and filename appear in the Filename field.
13. When all the fields are correct, click Start Update.
Progress is shown in the lower part of the window. When the process is complete, either repeat from
step 7 for another device, or click Done.
The device is now ready to use.
6. Click Execute.
7. (Optional) Repeat steps 2–6 if you have additional certificates to install.
8. Select the Save Files To Flash command, and then click Execute.
9. Restart the SNAP PAC device to activate the certificates.
MAINTAINING FILES
The memory in a SNAP PAC controller or brain includes a substantial area available for file storage:
SNAP-PAC-S1 SNAP-PAC-S2
SNAP-PAC-S1-FM* SNAP-PAC-S2-W* 2.5 MB
SNAP-PAC-S1-W
SNAP-PAC-R1
SNAP-PAC-R2
SNAP-PAC-R1-B
SNAP-PAC-R2-FM* 2.0 MB
SNAP-PAC-R1-FM*
SNAP-PAC-R2-W*
SNAP-PAC-R1-W*
SNAP-PAC-EB1* SNAP-PAC-EB2*
SNAP-PAC-EB1-FM* SNAP-PAC-EB2-FM* 2.0 MB
SNAP-PAC-EB1-W* SNAP-PAC-EB2-W*
In addition, beginning in early 2009, microSD slots were added to S-series and R-series PACs for removable
storage up to 2 GB.
In the file storage area or on a suitable removable disk, you can store any types of files. These files can be
sorted into directories or folders just as they can on a PC, and they are available for use within a PAC Control
strategy or an application you develop. For example, the SNAP device can read the files, add data to them, and
even send data from them via FTP to another device on the network.
For managing general data files on a microSD card, see instructions in the Maintenance chapter of the
controller user’s guide. Do not use PAC Manager for general microSD file management. However, you can use
PAC Manager for some functions related to firmware, strategy, and configuration files on the card. See “Using
microSD Commands” on page 192.
To use PAC Control strategy logic to create and manage files, see “Communication Commands” in
Chapter 10 of the PAC Control User’s Guide.
• Newer versions of Windows Explorer can be used for FTP operations with a single controller or I/O unit.
It’s easy to drag and drop files and folders to the device, and you can see the complete file structure. You
may find that data isn’t always refreshed correctly.
• Other FTP software products you can download may be more reliable than Windows Explorer; they
also may give you extra features like communication details, which are useful for debugging. Some may
not support filenames with spaces or other specific characters. They work with one device at a time.
• You can also use a command prompt for FTP, again with one device at a time.
• Note that FTP cannot be used through a firewall in the PC. Make sure any firewall in the computer is
disabled before you try to work with files. Firewalls in a router should not be a problem, however.
Keep the following limitations in mind as you work with files on controllers and I/O units:
When using the SNAP device as an FTP server, for example with an FTP client such as CuteFTP, you can use an
anonymous login. The device ignores any user ID or password.
CAUTION: Make sure you save files to flash memory if needed. If power to the controller or I/O unit is turned off, files
are destroyed unless they have been saved to flash. (Does not apply to files in removable storage.)
3. In the Command list, highlight Upload File To I/O Unit. Click the browse button and locate the
source file you want to load.
4. In the Destination field, type the filename as you want it to appear on the SNAP PAC device.
The filename can be the same or different from the source filename. You can specify a path on the device
using the separator / For example, to place the file Product Categories.txt into the folder Products, you
would type: Products/Product Categories.txt If the folder does not exist, it is created.
5. If the IP address(es) of the device(s) you want to load the file to appear in the IP Addresses list, skip to
step 7. (Or, if you have previously saved a list of IP addresses, click Load to load the saved list.) If the
address(es) you need don’t appear in the list, click Add.
The file is loaded to the I/O units, and a Success message appears in the Results area.
3. In the Filename field, enter the filename (and path, if any) of the file on the controller or I/O unit.
For example: Products/Product Categories.txt
4. In the Destination field, enter the path and filename where you want the file to go (or click the browse
button to locate the path, then type in the filename).
The filename can be the same or different from the source filename.
5. In the IP Addresses list, highlight the IP address of the SNAP PAC device you are downloading the file
from. (If it does not appear, click Add to add it to the list.)
6. Click Execute.
The file is loaded from the device, and a Success message appears in the Results area.
Reading Filenames
You can use PAC Manager to read and list the names of all files and folders in the root of the controller or I/O
unit. Note that files located inside folders (or folders inside folders) are not listed, even though they are there.
PAC Manager will not show any files on a microSD card. You can use a standard FTP software program to see
them.
1. In the PAC Manager main window, click the Maintenance button .
2. In the Command list, highlight Read Filenames On I/O Unit.
3. In the IP Addresses list, highlight the IP address of the SNAP PAC device you are reading. (If it does not
appear, click Add to add it to the list.)
4. Click Execute.
The list of root file and folder names appears in the Results area.
The listing shows the file or folder name, the file’s size in bytes (or <DIR> for folders), and the date and
time it was placed there (in the format YYYY/MM/DD hh:mm:ss).
3. In the IP Addresses list, highlight the IP address(es) of the device(s) you want the command to apply to. (If
the correct IP addresses are not shown, click Add to add an address or group of addresses, or if you have
saved a list of IP addresses, click Load to load the saved list.)
CAUTION: Make sure you have chosen the correct command and the devices you want to affect. You cannot
undo these commands.
4. Click Execute.
The command is executed and a Success message appears in the Results area.
INTRODUCTION
If you are having difficulty using PAC Manager, here are some suggestions that may help. In addition, make
sure to check the Troubleshooting section in the device’s user’s guide. If you cannot find the answers you need
in these guides, contact Opto 22 Product Support. For contact information, see page 4.
Keep this window open on your screen when you call Product Support.
NOTE: Because the Status Read area is used for both standalone controllers and I/O units, some items apply to some
devices and not others. The following items do not apply to standalone controllers:
PAC Manager displays a Diagnostic Messages button (yellow exclamation mark) on the Status Read page
when any of the following conditions are detected:
• The OptoMMP port is not set to the default value of 2001.
• The Modbus port is not set to the default value of 502.
• The SNMP port is not set to the default value of 161.
• The FTP server port is not set to the default value of 21.
• The Control Engine port is not set to the default value of 22001.
• This device is set to Always BootP on Powerup.
• The I/O coprocessor firmware in this device needs to be updated.
• The analog and high density digital scanner is turned off.1
• The digital 4-channel scanner is turned off.1
If you see the button, click it and read the diagnostic messages. They may help you solve problems or provide
useful information when you call Product Support.
2. In the PAC Manager menu bar, click ToolsFind Opto 22 MMP Devices.
3. Click Find.
PAC Manager discovers all Ethernet-based Opto 22 memory-mapped devices on the network and lists
their MAC addresses, IP addresses, firmware versions, and unit types.
TCP Settings
Retransmit timeout (RTO) refers to the length of time the controller waits while communicating before timing
out. The RTO is determined by the controller’s TCP/IP stack, and the stack continually recalculates the RTO
based on recent network traffic. If the network becomes busier, for example, the stack automatically adjusts
the RTO to a higher value.
If the TCP/IP stack times out while trying to transmit data, it doubles the current RTO and tries again. This
process continues for five retries; after that, the device stops trying and sends a timeout message.
If you are receiving frequent timeout messages from the device, you can change the TCP parameters in PAC
Manager.
1. Start PAC Manager:
Click the Windows Search button and type PAC Manager 10.4.
2. In the PAC Manager main window, click the Inspect icon .
3. In the Device Name field, type the name or IP address of the controller.
Then, click Status Write.
If you set these fields too 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.
Ethernet Errors
All three of these items should have a value of zero. If any of these items has a value other than zero, you
may have a network problem.
4. Find the port you’re troubleshooting. In its Logging For Communication Port # field, click Disabled and
change it to Enabled.
Logging begins immediately.
In the log file, full duplex serial communication is transformed into a single stream using these rules:
• Data bytes are not transformed in any way. The binary data byte is logged.
• A direction byte is prepended to every data byte: 0 = outgoing, 1 = incoming.
• The data stream is terminated by a null character (ASCII 0x00).
The maximum log file size is 16 kb. When it reaches the end, the log stream wraps to the beginning of the file.
To locate the oldest data in a wrapped file, search for a null character in place of a 1 or 0; since the null
terminates the log data stream, the next logged data byte is the oldest data byte in the file. If the null
character is at the end of the file, the file has not wrapped.
If the file already exists, new data is appended to the end of it.
The log file looks similar to this:
FILE MENU
New. Displays the Create New Tag Database dialog, allowing you to specify the name and location of a new
tag database. If changes to the current configuration have not been saved, you will be asked if you wish to
save those changes before proceeding. Only one configuration may be open at a time.
Open. Displays the Open Tag Database dialog, allowing you to open a previously created tag database. If
changes to the current configuration have not been saved, you will be asked if you wish to save those changes
before proceeding. Note that only one configuration may be open at a time.
Close. Closes the current configuration. If changes to the configuration have not been saved, you will be
asked if you wish to save those changes.
Save. Displays the Save Tag Database dialog, allowing you to save your configuration to disk.
Save As. Displays the Save Tag Database As dialog, allowing you to define a new name and/or location for
the current configuration.
(Recent Tag Databases). The four most recently opened Tag Databases are listed below Save As on the
File menu. Selecting any of them is equivalent to choosing Open Tag Database from the File menu and
entering the tag database name.
Exit. Closes the current configuration file and exits PAC Manager. If changes to the current configuration have
not been saved, you will be asked if you wish to save those changes before exiting PAC Manager.
EDIT MENU
Cut. Has no current functionality.
Copy. Available when an I/O Unit is highlighted in the tree view. When selected, the highlighted I/O Unit will
be copied to the clipboard.
Paste. Pastes an I/O Unit from the clipboard into the strategy tree. This item is enabled only when an I/O Unit
has been previously copied to the clipboard.
TOOLS MENU
Select menu items in the Tools menu to inspect and manage SNAP PAC controllers and brains, including
configuring IP addresses, installing firmware, and exchanging files.
Send Configuration to I/O Unit. After you have finished configuring I/O units and saved the
configuration file, you must load the configuration file into the I/O unit’s memory. This menu item opens the
Send Configuration To I/O Unit dialog box.
Inspect. Opens the Inspect Opto 22 Device window. Select this menu item to view and change I/O and other
configuration settings for a specific SNAP PAC controller or brain.
IMPORTANT: Configuration changes made to the I/O Unit in the Inspect window are not saved in the PAC Manager
configuration file.
Maintenance. Displays the I/O Unit Maintenance window. Select this menu item to upgrade firmware,
exchange files, and manage items in flash memory.
Assign IP Address. Displays the Assign IP Address dialog. Select this menu item to see all Opto 22 Ethernet
devices that are broadcasting DHCP or BootP requests. You can then assign IP addresses to these devices and
test the addresses to confirm proper communication.
Change IP Settings. Displays the Change IP Settings dialog box. Select this menu item to change the IP
address and related network settings on a SNAP PAC controller or brain.
Install Firmware via Ethernet. Opens the Maintenance dialog box, which is used to download new
firmware to SNAP PAC controllers and brains.
Install Firmware via Serial Connection. Launches the application OptoFlash-ENET, which is used to
download new firmware to SNAP Ethernet and SNAP Simple brains via a serial connection. See the online help
included with OptoFlash-ENET for more information.
Install Firmware via Failsafe Bootloader Mode. Provides a way to install firmware when the firmware
in the device is damaged. See “Replacing Damaged Firmware” on page 212.
Import/Copy I/O Unit. Displays the Inspect Opto 22 Device window. This dialog enables you to save an I/O
unit’s flash memory image to a file on your hard disk. This image file can then be used to configure another I/O
unit. Configuration information can also be read directly from an I/O unit and sent directly to another I/O unit,
or imported into PAC Manager to create a new I/O unit configuration that can be expanded upon.
Modbus Calculator. Converts an I/O unit memory map address to a Modbus Unit ID and Register Address.
See “Determining Modbus Unit ID and Register Address” on page 114.
Find Opto 22 MMP Devices. Displays a dialog box you can use to find the MAC and IP addresses (see
“Find Opto 22 MMP Devices” on page 257) of all Opto 22 memory-mapped devices on the Ethernet network.
VIEW MENU
Toolbar. Toggles the display of the toolbar.
HELP MENU
Help Topics. Opens the PAC Manager Help file’s index of topics.
Opto 22 on the Web. Provides links to downloads, product support, and the Opto 22 website.
About PAC Manager. Provides general information about PAC Manager, including the version number and
copyright information.
Name. Type in a name for the I/O point. The name must start with a letter and may contain letters, numbers,
and underscores (spaces are converted to underscores).
Type. When the channel can be configured as either an input or an output, select the type from the
drop-down list.
Module. Select the I/O module or point type from the drop-down list. All available modules of the type
specified will be included.
Units. Each analog module has a default set of units. These units are displayed in this field. If you assign
custom units to the module (by clicking the Custom button), the custom units will appear here instead.
Zero Scale. The module’s default zero-scale value appears here. This can be changed to a custom value (by
clicking the Custom button).
Full Scale. The module’s default full-scale value appears here. This can be changed to a custom value (by
clicking the Custom button).
Default button. Click here to return the units, zero-scale value, and full-scale value to the defaults for the
module. This is useful if you have assigned custom units and values through the Custom button that you now
wish to ignore.
Custom button. Click here to display the Scale Analog Readings to assign custom units, zero-scale, and/or
full-scale values to the module. For example, you could change the voltage range of a 0–10 VDC module to be
interpreted instead as a pressure range of 20–200 psia.
Watchdog. Click No (the default) to disable a watchdog on this point, or click Yes to enable the watchdog
(available for outputs only). If you select Yes, a new field will appear to allow you to define the value to be
assigned to the output should the watchdog be triggered. Enter a value between the zero-scale and full-scale
values (described above).
A watchdog is triggered if no communication activity is detected on the bus for the amount of time specified
in the Watchdog field of this point’s I/O unit.
Name. Type in a name for the I/O point. The name must start with a letter and may contain letters, numbers,
and underscores (spaces are converted to underscores).
Type. When the channel can be configured as either an input or an output, select the type from the
drop-down list.
Module. Select the I/O module or point type from the drop-down list. All available modules of the type
specified will be included.
Features. Click here to view and select from the available features for the I/O point you are configuring.
Features are available only if you are adding a point to a multifunction I/O unit. By default no feature is
selected.
For inputs, depending on the module and I/O unit, you may be able to configure the module as a counter,
on-pulse, off-pulse, frequency, period, on-time totalizer, off-time totalizer, or quadrature counter feature. You
may be able to configure an output module as a time-proportional output (TPO).
Watchdog. This field, which appears only if you enable the watchdog, also has only two values. Click the
field and select On or Off from the drop-down list. Remember, watchdogs are available only for output
modules.
Message Name. Type in a descriptive name for this event message. The message name is not sent to the
I/O Unit. It is used only within PAC Manager to differentiate event messages from one another.
Message Text. For e-mail, serial, and SNMP event messages, type in the text to be sent as the message. For
MemMap Copying, this field holds the Source Memory Map address or the Source Data. Plugins can be used
in the message text. The text limit is 127 characters.
Streaming. To have the I/O Unit periodically stream data back to a PC, select Enabled from the drop-down
list. You must first use Configure Streaming to set the host(s) to receive the streamed data.
Period (sec). Enter the interval in seconds at which streaming should take place. A value of 0 means that
data will be streamed only once.
E-mail. To have the I/O Unit send the Message Text using e-mail, select Enabled from the drop-down list. You
must first use Configure E-mail to set the e-mail address that will receive the Message Text.
Period (sec). Enter the interval in seconds at which the e-mail should be sent. A value of 0 means that
the e-mail message will be sent only once.
Serial Module. To have the I/O Unit send the Message Text as a string through a serial communication
module, select Enabled or Disabled from the drop-down list and enter the string to send in the Message Text
area. You must first use Configure Serial Modules to set serial modules and their ports.
Serial Ports Mask. Enter a mask representing the serial modules and ports to send the message
through. Bits 0-31 correspond to ports 0-31.
SNMP Trap. To have the I/O Unit send the Message Text as an SNMP trap, select Enabled from the
drop-down list. You must first use Configure SNMP Agent to set up SNMP system variables, community
groups, and management hosts.
Period (sec). Enter the interval in seconds at which to send the SNMP trap. A value of 0 means that the
trap will be sent only once.
Trap Type. Enter the trap type required by your SNMP management software. Refer to the
documentation for your SNMP management software for information on determining the required
SNMP trap type.
Priority. If you are using SNMP with an outgoing PPP (modem) connection and want the SNMP trap
stored in the I/O Unit until the next communication, set Priority to Low. If you want the I/O Unit to
immediately dial out and send the trap, set Priority to High.
MemMap Copy Destination. To change the state of a digital point on a different I/O Unit, or to copy data
from one memory map address to another, select Enabled from the drop-down list and complete the
MemMap Address, IP Address, Period (msec), and IP Port fields for the location the data is being copied to. In
the Message Text area, enter the source data or memory map location data is being copied from.
MemMap Address. Enter the destination memory map address in hexadecimal. You do not have to
include the leading FFFF.
Period (msec). Enter the interval in milliseconds at which the MemMap copy should take place. A value
of 0 means that the copy will be done only once.
IP Address. Enter the IP address of the destination I/O Unit. Use 0.0.0.0 if copying to an address on the
same I/O Unit.
IP Port. Enter the IP port of the destination I/O Unit. This field is ignored if copying to the same I/O Unit.
ADD/EDIT IP ADDRESS
Use this dialog box to add an IP Address or a range of IP Addresses that will all receive this I/O unit
configuration. Usually these are I/O units that are exactly alike. Also use this dialog box to modify a single IP
address.
Address. Type in a valid Memory Map Address. The address must be in hexadecimal and correspond to a
valid write area in the device’s Memory Map. Use the OptoMMP Protocol Guide (form 1465) as a reference.
Value. Type in the value to send to the above address. The value may be in hexadecimal (integer types only)
or decimal. For hex, precede the value with 0x. (Based on this convention, PAC Manager will remember if your
value is in hex or decimal.)
that the output never reaches a destructively high setting (for example, keeping a motor below
maximum).
9. (Optional) Enter minimum and maximum change values. The output won’t respond until the
minimum change is reached (for example, you may not want a heater to turn on to correct a 1 degree
error). Maximum change prevents too drastic a change in output (for example, you could limit the
increase in a pump’s output to prevent pipe breakage). The default for both minimum and maximum is
zero, which disables the feature.
10. Choose how the PID should respond (output options) if the input goes out of range. If no boxes are
checked, the PID will freeze output at the current value. To have PAC Control logic or an operator respond,
check Switch to manual mode. To force the output to a specific value, check Force output and type the
output values. NOTE: If both boxes are checked (forced output and manual mode), the output will be forced
and the PID put into manual mode; but if the PID is already in manual mode, the output will not be forced.
11. Choose algorithm: Velocity, ISA, Parallel, Interacting. See also “Algorithm Choices” on page 64.
12. Choose mode. Auto activates the PID. Manual requires that PAC Control logic or an operator control the
PID output.
13. Enter a scan rate to determine how often the input is scanned and the controller output is calculated.
Minimum value is 0.001 (1 millisecond). Scan time should be greater than system lag (the time it takes for
the controller output to have a measurable effect on the system). Also consider other PIDs and tasks on
the brain competing for processing power.
14. Enter a positive or negative value for Gain. Heating systems usually require a negative value and cooling
systems a positive value. NOTE: Gain is usually refined during the tuning process.
15. (Optional) Enter Feed Forward Initial and Feed Forward Gain values if you need to offset the
controller output in your application. These values are constants that are multiplied and added to the
controller output; often they are not used in PIDs.
16. (Optional) Enter Integral (Tune I) and Derivative (Tune D) settings if you know the desirable settings.
However, Integral and Derivative are not essential to basic configuration and are better determined in the
tuning process.
17. Click OK.
• Ethernet Port: Use the default of 2001 for Ethernet Port unless you have changed it.
• Controller Serial Port: Enter the controller’s serial port where the brain is connected. On a SNAP-PAC-S1, it’s
Serial 2. On a SNAP-PAC-S2, it could be any port.
• Controller Baud Rate: The baud rate on the controller must match the rate set on the brain.
• Serial Device Address: Enter the serial address of the brain.
• 2-Wire RS-485: Check this box for a 2-wire RS-485 connection. SNAP-PAC-S1 controllers support only
2-wire RS-485. SNAP-PAC-S2 controllers support 2-wire or 4-wire RS-485.
ASSIGN IP ADDRESS
Use this dialog box to assign IP addresses to Opto 22 devices, either by listening for devices sending DHCP or
BootP broadcasts, or by first creating a list of mappings.
NOTE: In order to assign IP addresses, you must be logged in with administrator rights.
See also “Assigning an IP Address” on page 8, especially “Checking Network Setup and PC.”
Each device ships from the factory with a unique MAC address (printed on a label on the device) and a default
IP address of 0.0.0.0, which is invalid. SNAP PAC controllers and EB-series brains, SNAP-LCE, SNAP Ultimate,
SNAP Ethernet, and SNAP Simple I/O send out a BootP broadcast when first turned on. E1s and E2s send out a
DHCP broadcast. In most cases, you must give each of these devices a fixed, static IP address. See also
“Assigning IP Addresses to SNAP PAC” on page 10.
Assigning IP Addresses to SNAP PAC
If your network has a DHCP server, either assign a static IP address before connecting the device to the
network (preferred), or disable the server. Note the MAC address of each device that needs an IP address, and
turn on the device(s).
NOTE: SNAP PAC controllers have two separate Ethernet network interfaces. Each interface has a separate MAC
address and therefore takes a separate IP address. Only ENET1 sends a BootP request. Once you have assigned this
primary IP address, you can assign the secondary address using the Inspect Opto 22 Device window.
IMPORTANT: The two Ethernet interfaces will work only if they are on separate network segments, so the control
engine can clearly determine where to direct communication. For example:
ENET1 ENET2
The first Ethernet interface, ENET1, sends a BootP broadcast and is assigned an IP address just like other Opto
22 devices (see “Assign IP Address” on page 243).
To assign an IP address to ENET2, follow these steps:
1. Make sure that ENET1 has already received an IP address.
2. In the PAC Manager main window, click the Inspect button.
3. In the Inspect window, enter the IP address for ENET1 and click Status Read. Status information for the
controller appears in the window. If the secondary IP address has not been assigned yet, the secondary IP
address information will show all zeros.
4. Click Status Write. Enter the IP address information for ENET2 in the Value column in the Secondary IP
Address, Secondary Subnet Mask, and (if necessary) Secondary Default Gateway fields. Click Apply. The
information is sent to the SNAP PAC, but it cannot communicate on the secondary interface until it is
restarted.
5. In the Operation Commands section, highlight Restart Device from powerup. Then click Send Command.
The SNAP PAC controller is restarted. You can check to make sure the controller is back on line by clicking
Status Read again and making sure the secondary IP address information is shown. To verify communication,
open PAC Manager on a PC that is on the same network segment as the secondary IP address, and use the
Inspect window to check status.
CONFIGURE E-MAIL
You can send an email message or page someone in response to an event. Use this dialog box to set up email
parameters. See “Configure Event Messages” on page 245 to set up the message itself.
IP Address and Port. Enter the IP address and port number of the Simple Mail Transfer Protocol (SMTP)
server the I/O unit will use to send email. You should be able to get this information from your network
administrator.
Timeout. Enter the length of time in milliseconds the I/O unit should wait for a response from the email
server. The default is 30,000.
From. Enter a valid email address that will identify the I/O unit to the person who receives the email.
To. Enter the email address of the person who will receive the email.
Subject. Enter a phrase that will indicate the purpose of the email to the person receiving it. Note that this
subject line applies to all email messages sent by this I/O unit. Plugins can be used in this field. For example, if
a similar email will be sent at intervals (such as an email of the data log), you can use the seqid plugin to put a
sequence number at the end of each subject line. This plugin is in the format:
$!_seqid_
So, for example, if you enter Ultimate Data Log $!_seqid_ in the subject field, the first email message will have
a subject line of Ultimate Data Log 0, the next message will have a subject line of Ultimate Data Log 1, and so
on. For information on other plugins, see “Using Plugins” on page 95.
IMPORTANT: For the configuration to take effect, you must upload the configuration file to the brain, save it to flash
memory, and restart the brain.
– If you have configured other devices, they are listed in alphabetical order in the drop-down list.
– If you have configured six or more devices, the Inspect window provides two additional time-saving
features: Next and Back navigation buttons (to navigate back and forth through the alphabetized list
of devices), and a list of the five most recently inspected devices (displayed at the top of the
drop-down list).
2. In the Device Name field, type the name (or IP address) of the I/O unit (or choose it from the drop-down
list).
3. Click Events and choose Event Messages from the submenu.
4. From the drop-down list, choose the lowest unused message number.
Unused message numbers have no asterisk.
5. For an email or serial message, or optionally for an SNMP message, enter the message text.
Message text is not sent in the streaming packet. Message text is limited to 127 characters. You can place
data from the I/O unit’s memory map into the message by using a plugin (see page 95). If you are
sending a serial message, make sure the text is formatted so the serial device that receives it will
understand it.
6. Enter two masks indicating the Scratch Pad on and off bits that should trigger the message.
For help in figuring out the masks, see “Digital Point and Scratch Pad Masks” on page 132.
7. Streaming section: To send a stream of data as the message, choose Enabled from the drop-down list.
Enter how often in seconds to send the stream (0 sends it only once).
For information on streaming, see page 96.
8. E-mail section: To send an email message, choose Enabled from the drop-down list. Enter how often in
seconds to send the email (0 sends it only once).
9. Serial Module section: To send a message through a serial module to a serial device, choose Enabled from
the drop-down list. Enter a mask representing the modules and ports to receive the message.
Information in “Configuring Serial or Wiegand Events and Reactions” on page 140 may be helpful.
10. SNMP section: To send an SNMP trap as the message, change Disabled to Enabled. Enter how often to
send the trap (0 sends it only once). Also enter the trap type (determined by your SNMP management
software). If you are using SNMP with outgoing PPP and want the trap stored in the I/O unit until the next
communication, set Priority to Low. If you want the I/O unit to immediately dial out and send the trap, set
Priority to High.
For information on SNMP, see page 96.
NOTE: SNMP messages must be acknowledged. You can do so in your application or in PAC Manager’s Inspect
window: in the Message section, change the State to Acknowledge and click Apply.
11. Memmap Copy Destination section: To copy memory map data, complete this section using information
from “Copying Memory Map Data” on page 109.
12. When all fields are correct, click Apply.
13. Repeat from step 4 to configure additional event messages.
14. For each type of message you configure, make sure you also set up basic configuration:
15. When you have finished configuring all event messages and any additional configuration required for
them, in the PAC Manager Inspect window, make sure the IP address shown is the correct one. Then click
the Status Write button in the upper-left part of the window.
IMPORTANT: For the following configurations, you must also restart the unit for configuration to take effect:
Changes in TCP port for serial modules SNMP configuration
Email configuration PPP configuration
Data logging interval
18. If you have configured any of these items, in the Operation Commands list, highlight Restart I/O Unit
from powerup. Click Send Command.
The I/O unit is restarted and a success message appears.
I/O Unit. Displays the I/O unit on which I/O points are being configured.
Type. Displays the type of I/O Unit for which points are going to be added. This field is for display purposes
only and cannot be modified.
Add. To add I/O points to a SNAP I/O Unit, you must first add a SNAP module to the I/O Unit, then add I/O
points to that module.
To add a SNAP module to an I/O Unit
Highlight the location where the module will be added and click the Add button. In the Add Module
dialog that appears, select the type of module (Analog Input/Output or Digital Input/Output) and the
name of the SNAP module you are configuring. Click OK.
To add an I/O point to a SNAP module
Double-click a SNAP module in the list to see the point locations it contains. Highlight the location where
the point will be added and click the Add button. Depending on whether the I/O point being added is
analog or digital, enter configuration information for the new I/O point in either the Add/Edit Analog
Point or Add/Edit Digital Point.
Modify. To change an existing SNAP module or I/O point, highlight the item in the list and click the Modify
button. Change configuration information for the SNAP module or I/O point in the Add Module dialog, the
Add/Edit Analog Point or the Add/Edit Digital Point as necessary.
Delete. To delete an existing SNAP module or I/O point, highlight the item in the list and click Delete. Before
deleting a SNAP module, you must first delete all I/O points associated with that module. When deleting I/O
points, note that only points having a reference count of zero can be deleted.
Move To. To move an I/O point to an empty channel on another (or the same) I/O Unit, highlight the point,
click Move To, and use the Move Point To to move the point. If the I/O point is referenced in a PID loop or
event/reaction, you can move the point only within the same I/O unit, not to another unit.
Expand All/Collapse All. To view or hide all I/O points in a SNAP I/O unit, click the Expand All button or the
Collapse All button.
I/O Unit. Displays the I/O unit on which I/O points are being configured.
Type. Displays the type of I/O Unit for which points are going to be added. This field is for display purposes
only and cannot be modified.
Add. Points that have not been configured yet show as Not Used. Double-click the channel number for the
point you want to add. Enter configuration information for the new I/O point. See “Configuring Digital Points
for a G4EB2” on page 39.
Modify . To change an existing point, highlight the item in the list and click the Modify button. See
“Configuring Digital Points for a G4EB2” on page 39.
Delete. To delete an existing point, highlight the item in the list and click Delete. When deleting I/O points,
note that only points having a reference count of zero can be deleted.
Move To. To move an I/O point to an empty channel on another (or the same) I/O Unit, highlight the point,
click Move To, and use the Move Point To to move the point. If the I/O point is referenced in a PID loop or
event/reaction, you can move the point only within the same I/O unit, not to another unit.
To resize the dialog box, move the mouse near any edge until the pointer turns into a two-way arrow, then
click and drag the border in any direction. To resize a column, click and drag the column dividers in the list
header, or double click the divider to expand the column just wide enough to display the longest item in the
column.
To configure a new I/O unit, click Add or double-click anywhere in the list box below any configured units.
The Add/Edit I/O Unit dialog box will appear.
To change an I/O unit in the list, highlight it and click Modify and change the unit’s settings in the Add/Edit
I/O Unit dialog box.
To remove an I/O unit in the list, highlight it and click Delete. Only I/O units with a reference count of zero
can be deleted.
To add or modify I/O points for the highlighted I/O unit, click I/O Points. The Configure I/O Points dialog box
will appear.
To copy and save I/O Unit configurations, click Import/Copy and select I/O units in the I/O Unit
Import/Copy dialog box that appears.
To configure additional items, click the buttons shown below:
Click PID Loops to configure proportional-integral derivative (PID) loops on SNAP PAC brains or R-series
controllers.
• Click Modules and select a module type:
– Serial Modules
(see “Configuring RS-232 and RS-485/422 Serial Communication Modules” on page 47)
– Wiegand Modules
(see “Configuring Wiegand Modules” on page 52)
– Profibus Modules
(see “Configuring Profibus Modules” on page 54)
– Motion Modules
(see the SNAP PAC Motion Control User’s Guide, form 1673)
– SSI Modules
(see “Configuring SSI (Serial Synchronous Interface) Modules” on page 55)
– CAN Modules
(see “Configuring CAN Modules” on page 56)
– HART Modules
(see “Configuring HART Modules” on page 60)
• Click Events and select an event to define or an event message to send as a reaction to an event.
• Click Scratch Pad to view and configure bitmask, integer, float, and string memory areas of a SNAP PAC
controller or brain.
NOTE: If you are using the Scratch Pad on a SNAP PAC S-series controller, you must first configure an I/O unit to
represent the controller. Configure this I/O unit as a Generic OptoMMP Device, using the IP address for the
controller. (Do not add any points or configure other features.)
• Click Communications and select the type of communication to configure, for example, PPP, Modbus,
Security, Streaming, and so on.
• Click Others to configure date and time, data logging, or I/O unit options you want to have saved in the
configuration file.
The Memory Map Values List displays the Address, Value and Type of each Memory Map Value. The Address is
always represented in hexadecimal (hex). The Value field can contain hex or decimal values (integer types
only). If the value is in hex it is preceded by 0x. The Type field can be either 4-byte Int, 8-byte Int, Float, or
String.
• To add a new Memory Map Value, click Add to open the Add/Edit Memory Map Values dialog box.
• To change an existing Memory Map Value, highlight it and click Modify.
• To delete an existing Memory Map Value, highlight it and click Delete. To highlight more than one, hold
down the Ctrl key and click additional items in the list.
CONFIGURE PPP
Local IP Address. Enter the Local IP Address for the PPP interface on the I/O unit. Enter the local Subnet
Mask only if you are using classless IP addressing. If you are not using classless IP addressing, leave the Subnet
Mask at zero, and the I/O unit will calculate the subnet mask.
IMPORTANT: The network address for the PPP interface must be different from the network ID for the Ethernet
interface. (The network address is obtained by ANDing the IP address and the subnet mask.)
Max Authentication Retries. Enter the maximum number of times a login/password combination can be
retried.
PPP Link Always Connected. If you want outgoing PPP to always be connected, so there is no need for
the I/O unit to dial out, check this box.
Modem Initialization String. Change the modem initialization string and modem hangup string if
necessary. Make sure you use the setting to ignore DTR signal in the modem initialization string:
Outgoing PPP. If the I/O unit will send outgoing calls, complete the Outgoing PPP section:
Choose Enabled from the drop-down list.
In the Use Local IP Address field, choose Yes to have the I/O unit use the Local IP Address you entered for the
PPP link; choose No to have the remote device assign the I/O unit an IP address for the PPP link. The default is
No.
If you want the I/O unit to use the device the I/O unit is calling as the default gateway for all communication,
choose Yes for Set As Default Gateway. The default is No.
Enter the Login and Password the I/O unit should use for authentication when it calls the remote device.
In the Phone number field, enter the number the modem should dial for outgoing calls from the I/O unit.
Change the following fields if necessary:
• Inactivity Timeout—If the I/O unit sends no packets and receives no packets for this number of seconds
after the PPP session is negotiated, the modem will hang up. The default is 30.
• Max Connect Time—The maximum amount of time in seconds an outgoing PPP connection can stay
connected after successful negotiation. Default is zero, which disables the timer.
• Max Dial Retries—The number of times the I/O unit will redial if the first attempt fails. Default is zero.
• Retry Interval—The number of seconds the I/O unit will wait before trying to redial after the first attempt
fails. Default is zero.
• Disable Time—If the maximum connect time or maximum number of retries has been reached, the
outgoing PPP dialer waits this number of seconds before doing anything. Default is zero.
Incoming PPP. If the I/O unit will receive incoming calls via modem, complete the Incoming PPP section:
Choose Enabled from the drop-down list so the modem will listen for incoming calls.
If you want the I/O unit to use the device calling the I/O unit as the default gateway for all communication,
choose Yes for Set As Default Gateway. The default is No.
Change the Inactivity Timeout if necessary. The default is 30.
Enter the Login and Password the I/O unit should accept for incoming calls.
In the Remote IP Address field, enter the IP address the I/O unit should give to devices that dial into the I/O
unit and ask for an address. This address must be on the same subnet as the local IP address.
Enter a modem listen string to make sure the modem automatically answers calls. The default modem listen
string is ATS0=1^M~ , which instructs the modem to answer any incoming calls on the first ring. Again, refer
to your modem’s command reference for the correct listen string.
Modules
button
2. Make sure the correct I/O unit is highlighted. Click the Modules button and choose Profibus Modules
from the pop-up menu.
3. In the Number field, choose the Profibus module’s position from the drop-down list. Click to put a check
mark in the Used box.
4. If you need to change port numbers, enter the new numbers for each port in the TCP port Number field.
5. Change the Baud Rate and EOM Character List fields if necessary to match your Profibus devices. Choose
whether to have the module automatically send a Test Message when turned on (the default is Yes).
6. When data is correct, repeat from step 3 for additional Profibus modules.
7. When all Profibus modules are configured, click OK to close the dialog box and return to configuring I/O
units.
IMPORTANT: If you have changed a TCP port number, you must save the change to flash and restart the I/O unit
when you send the configuration data to the I/O unit (see “Sending Configuration Data to the I/O Unit” on page 69).
Status. To enable a port on a serial module, select the appropriate row and click the Status column. A
drop-down list is displayed with the choices Enabled, Disabled, and Clear. Choosing Enabled activates the
entire row and assigns default values to each column. Choosing Disabled deactivates the row but doesn’t
change any values in the other columns. Choosing Clear deactivates the row and clears all the other columns.
Only the columns that are Enabled will be sent to the I/O unit.
Module. The module location on the SNAP I/O rack. This value cannot be changed.
Port. The serial module port being configured. Each serial module has two ports, A and B. This value cannot
be changed.
IP Port. The IP Port number for access to the serial port. The default value that appears should work for most
IP communication, and changing this value shouldn’t be necessary. If the IP port number is changed, however,
the I/O unit must be restarted for the change to take effect.
Parity. Choose None, Odd, Even, Mark or Space from the drop-down list. The default is None.
EOM Chars. Enter hexadecimal values representing the End Of Message characters that the I/O Unit should
be looking for. The default is 0D0A, which is the ASCII representation for carriage return and linefeed. A
maximum of eight hexadecimal digits may be entered.
Test Message. Select Yes in the drop-down list if you want the I/O Unit to send a test message on powerup.
Select No if no test message is desired. The default value is Yes.
SysContact. Enter the ID of the contact person for the I/O unit.
Community Groups. To set up the Community Groups you need, highlight a line in the list. Click the String
cell within the line and type the name of the group. Then click in the Read, Write, and Trap cells and choose
Yes or No from the drop-down list to indicate whether that group has privileges to read, write, and receive
traps.
Management Hosts. To set up Management Hosts, highlight a line in the list. Start with hosts on the local
network first, because the system sends messages to hosts in numeric order, and it stops sending messages
when it finds a host that it cannot connect to. Click the Community String cell and enter the name of the
community group the host belongs to. Click the Host IP Address cell and enter its IP address, including the
dots (for example, 10.192.55.60).
Version. From the drop-down list, choose the version of SNMP you are using.
Destination Port. 161 is the default port for SNMP communications. If you know that your application will
use a different port, enter the number of that port here.
Authentication/Cold Start Trap. To enable authentication or cold start traps, click the box to check it.
CONFIGURE STREAMING
Enable Streaming. To enable streaming, choose Yes from the drop-down list.
Enable I/O Mirroring. I/O mirroring is a separate function. It’s generally not a good idea to use both
streaming and mirroring on the same I/O unit. See “Mirroring I/O Point Data” on page 107 for more
information.
Interval. Enter how often in milliseconds you want the I/O unit to send the streamed data. If you are
configuring streaming to use only as an event message, set the streaming interval to 0. Zero means that the
stream will be sent only once.
Use Default Streaming Area. To stream all addresses in the Streaming section of the I/O unit’s memory
map, click Use Default Streaming Area. For more information, see the memory map appendix in the OptoMMP
Protocol Guide (form 1465). (Note that the Streaming section does not include data from high-density digital
modules.)
To stream only part of the Streaming section, or to stream a different part of the memory map, click Specify
Streaming Area. Enter the starting address in the Memory Map Address field (the address must be entered in
hex), and enter the size in bytes of the data to stream in the Size Of Data field.
IP Port. Enter the IP port on the PCs or devices that receive the streamed data. Your application must refer to
this port number. Use the default of 5001 unless you know it is already being used for another purpose.
Stream Target. Enter the IP addresses of up to eight devices to receive the streamed data.
1. With the configuration file open, right-click the name of the I/O unit the Wiegand module is on. From the
pop-up menu, choose Configure. The Configure I/O Units dialog box opens.
Modules
button
2. Make sure the correct I/O unit is highlighted. Click the Modules button and choose Wiegand Modules
from the pop-up menu.
3. In the Number field, choose the Wiegand module’s position from the drop-down list. Click to put a check
mark in the Used box.
4. If you need to change port numbers, enter the new numbers for each port in the TCP port Number fields.
5. Click the Format/Value cell, and from the drop-down list, choose a standard data format (shown by its
total data length) or choose C for custom.
NOTE: O is the 37-bit Opto 22 format used in a sample PAC Control strategy available for use with Wiegand
modules. For details, see the SNAP Serial Communication Module User’s Guide (form 1191).
6. Change the following fields if necessary to match your Wiegand hardware device:
Data Length—total length of data in the transmission
Site Position—first bit of the site code
Site Length—length of the site code, in bits
Badge Position—first bit of the badge code (should be the next bit after the site code)
Badge Length—length of the badge code, in bits
7. When data for both ports is correct, repeat from step 3 for additional Wiegand modules.
8. When all Wiegand modules are configured, click OK to close the dialog box and return to configuring I/O
units.
IMPORTANT: If you changed a TCP port number, you must save the change to flash and restart the I/O unit when you
send the configuration data to the I/O unit (see page 69).
9. When you are ready to send all configuration data to the I/O unit, see “Sending Configuration Data to the
I/O Unit” on page 69.
1. Leave the MMP Port at 2001 unless you have changed it for security purposes.
2. Adjust the Timeout if necessary for your network. Timeout is in milliseconds.
3. Click Find. All the Opto 22 MMP devices on your network are listed. The total number of devices is shown
in the Devices Found field.
4. If you want to copy device information to the clipboard, click Copy.
To use the Inspect Opto 22 Device window, enter the IP address of the device (or choose it from the
drop-down list). Then click the button on the left that corresponds to what you want to do:
Status Read. See basic information about a SNAP PAC controller or brain. See “Interpreting Status Data” on
page 149.
Status Write. Send commands to a device (such as Store configuration to flash), change the unit’s basic
configuration (such as whether degrees are shown in F or C), or assign the second IP address on a SNAP PAC
controller (see “Assign Secondary IP Address” on page 243).
Wireless LAN. Choose to configure a wireless LAN or view a wireless LAN’s status. See “Configuring Wireless
LAN Communication (Wired+Wireless Models Only)” on page 23.
Point Config. Configure I/O points. See “Configuring Analog and Digital Points and Features” on page 158.
Digital Bank, Analog Bank. Read I/O points. See “Reading Analog and Digital Banks” on page 178.
Digital Point, Analog Point. Read or write to individual I/O points. See “Reading and Writing to Points” on
page 170.
High Density. Read or write to SNAP high-density digital points. See “Reading and Writing to SNAP
High-Density Digital Points” on page 181.
System. Read or change the date and time. See “Reading System Date and Time” on page 184.
Scratch Pad. Read or write to Scratch Pad Bits, Integers, Floats, and Strings. See “Reading and Writing to the
Scratch Pad Area” on page 184.
Data Log. Configure data logging and read the log. See “Data Logging” on page 186.
PID. Configure PID loops. See “Configuring, Viewing, or Changing PID Loops” on page 168.
Events. Read current events and change events; configure event messages. See “Configuring Event
Messages” on page 142.
Communications. Display information about and configure security, protocols, communication ports, and
a variety modules including serial modules (RS-232, RS-485/422, Wiegand, Profibus, Motion, SSI, CAN, and
HART modules). For information on how to configure these modules, see “Configuring I/O Modules and
Points” on page 36.
Other. Read or write to any address in the device’s memory map. For a complete list of memory map
addresses, see the OptoMMP Protocol Guide (form 1465).
Existing I/O Unit Flash Memory. Choose an existing I/O unit. If you want to add or modify an I/O unit,
click Options. For help, see “Add/Modify New Device” on page 241.
Previously Saved I/O Unit Image File. Select this option and enter the filename of a flash memory
image file that you want to copy to another I/O unit. You can also click the Browse button at the end of the
filename field and locate the image file using the standard File Open dialog box.
Read. After selecting an Image Source option, click Read to read a flash memory image from an I/O unit or an
existing flash memory image file. Note that the dialog box does not close when you click this button.
Send Image To I/O Unit Flash Memory. Select this option and enter an I/O unit's IP address to copy the
selected flash memory image source to that unit.
Save To I/O Unit Image File. Select this option and enter the name of a file that will store the flash
memory image. You can also click the Browse button at the end of the filename field and specify the name
and location of the image file using the standard File Save dialog box.
Create New I/O Unit. Select this option to create a new I/O unit in PAC Manager using the selected flash
memory image source. Since the source image does not contain an I/O unit name, you will be prompted to
enter one. For more information, see “Creating a New I/O Unit from an Existing One” on page 29.
Send/Save/Create. After selecting an Image Destination option, click this button to copy the image source
to an I/O unit, save the image source to a file, or create a new I/O unit in PAC Manager. Note that the dialog
box does not close when you click this button, so you can repeat the Read-Send/Save/Create cycle as needed.
MOVE POINT TO
Use this dialog to move an I/O point from one I/O unit to a location on another (or the same) I/O unit.
The I/O Units list displays all I/O units that are compatible with the point being moved. The current I/O unit is
highlighted. The Points list displays all I/O points on the highlighted I/O unit. Currently configured I/O points
are in gray text, and open channels are marked Unused.
1. Select an open channel on the current I/O unit or select another I/O unit (if available) from the I/O units
list and select one of its channels as the destination channel.
2. Click OK to move the I/O point to the specified channel.
Scaled Units. Type the name of the new engineering units (EU) for the module here. (Simply delete the
default scale and type a new scale—for example, PSI.) As soon as you press Tab or click outside this field, the
name of the new EU appears in the protected (grayed-out) Scaled columns in the Lower Value and Upper
Value areas of the dialog box.
Actual Lower Value. Provide the actual real-world lower value that you wish the scaled lower value to
correspond to. By default, the zero-scale value appears.
Note that inputs typically have under-range capability, which means you can specify a lower actual value less
than the zero-scale value. Outputs do not have under-range capability.
Actual Units. The actual units of the module appear here. They are displayed for reference only and cannot
be changed.
Scaled Lower Value. Type in the new scaled lower value here. This can be any floating point value.
Scaled Units. The name of the new units you typed in the Scaled Units field (above) appear here.
Actual Upper Value. Provide the actual real-world upper value that you wish the scaled upper value to
correspond to. By default, the full-scale value appears.
Note that inputs typically have over-range capability, which means you can specify an upper actual value
greater than the full-scale value. Outputs do not have over-range capability.
Actual Units. The actual units of the module appear here. They are displayed for reference only and cannot
be changed.
Scaled Upper Value. Type in the new scaled upper value here. This can be any floating point value, as long
as it is greater than the scaled lower value.
Scaled Units. The name of the new units you typed in the Scaled Units fields (above) appear here.
– PPP configuration
– Data logging interval
Clearing Flash. To erase the flash memory of all highlighted I/O units in the list, click Clear Flash. Click
Details to show or hide the Status Area, which displays the results of the last Send or Clear Flash operation.
A B
accessing data log, 89 bootloader mode, for loading firmware, 212
address, assigning IP address, 8
to multiple devices, 15
alarm C
clearing configuration, 194 CA root certificate, 214
configuring, 138, 188 calibrating analog point, 45, 72, 174
description, 137 CAN modules
trigger, 137 configuring, 56
types, 137 cascading events and reactions, 128
algorithms for PIDs, 64 changing
analog bank I/O points automatically, 107
data format, 197 IP address, 199
reading, 178 clamping analog output point, 72, 75
analog module data format, 198 clearing
analog point configuration, 194
average filter weight, 72, 75 configuration data from flash memory, 70
bipolar, 74 data log, 90
calibrating, 45, 174 file from I/O unit, 220
clamping, 72, 75 files from flash memory, 220
configuring, 41, 157 resetting to defaults, 191
features, 74 communicating with I/O unit
gain, 72 assigning IP address, 8
maximum value, 72 monitoring communication, 74
minimum value, 72 communicating with processor
minimum/maximum value, 75 IP address, 8
offset, 72 communication
offset and gain, 45, 75, 174 dial-up, 123
reading, 173 modem, 123
scaling, 43, 72, 74 PPP, 123
unipolar, 74 serial, 118
viewing data, 157 wireless, 23
watchdog, 72, 74 community groups, 97
writing to, 173 configuration data on microSD card, 192
assigning IP address, 8, 15 configuration file, 27
average filter weight, 72, 75 adding analog point, 41
adding digital point, 36
adding I/O unit, 32