OPTO 22 SNAP-LCM4 User manual

SNAP-LCM4 User’s Guide i
SNAP-LCM4
USER’S GUIDE
Form 1122-191204—December 2019
43044 Business Park Drive • Temecula • CA 92590-3614
Phone: 800-321-OPTO (6786) or 951-695-3000
Fax: 800-832-OPTO (6786) or 951-695-2712
www.opto22.com
Product Support Services
800-TEK-OPTO (835-6786) or 951-695-3080
Fax: 951-695-3017
Email: [email protected]
Web: support.opto22.com

SNAP-LCM4 User’s Guide
ii
SNAP-LCM4 User’s Guide
Form 1122-191204—December 2019
Copyright © 1998–2019 Opto 22.
All rights reserved.
Printed in the United States of America.
The information in this manual has been checked carefully and is believed to be accurate; however, Opto 22 assumes no
responsibility for possible inaccuracies or omissions. Specifications are subject to change without notice.
Opto 22 warrants all of its products to be free from defects in material or workmanship for 30 months from the
manufacturing date code. This warranty is limited to the original cost of the unit only and does not cover installation, labor,
or any other contingent costs. Opto 22 I/O modules and solid-state relays with date codes of 1/96 or later are guaranteed
for life. This lifetime warranty excludes reed relay, SNAP serial communication modules, SNAP PID modules, and modules
that contain mechanical contacts or switches. Opto 22 does not warrant any product, components, or parts not
manufactured by Opto 22; for these items, the warranty from the original manufacturer applies. These products include,
but are not limited to, the OptoTerminal-G70, OptoTerminal-G75, and Sony Ericsson GT-48; see the product data sheet for
specific warranty information. Refer to Opto 22 form number 1042 for complete warranty information.
Opto 22 FactoryFloor, Cyrano, Optomux, and Pamux are registered trademarks of Opto 22. Generation 4, ioControl,
ioDisplay, ioManager, ioProject, ioUtilities, mistic, Nvio, Nvio.net Web Portal, OptoConnect, OptoControl, OptoDisplay,
OptoENETSniff, OptoOPCServer, OptoScript, OptoServer, OptoTerminal, OptoUtilities, SNAP Ethernet I/O, SNAP I/O, SNAP
OEM I/O, SNAP Simple I/O, SNAP Ultimate I/O, and SNAP Wireless LAN I/O are trademarks of Opto 22.
ActiveX, JScript, Microsoft, MS-DOS, VBScript, Visual Basic, Visual C++, and Windows are either registered trademarks or
trademarks of Microsoft Corporation in the United States and other countries. Linux is a registered trademark of Linus
Torvalds. Unicenter is a registered trademark of Computer Associates International, Inc. ARCNET is a registered trademark of
Datapoint Corporation. Modbus is a registered trademark of Schneider Electric. Wiegand is a registered trademark of
Sensor Engineering Corporation. Nokia, Nokia M2M Platform, Nokia M2M Gateway Software, and Nokia 31 GSM
Connectivity Terminal are trademarks or registered trademarks of Nokia Corporation. Sony is a trademark of Sony
Corporation. Ericsson is a trademark of Telefonaktiebolaget LM Ericsson.
All other brand or product names are trademarks or registered trademarks of their respective companies or organizations.

SNAP-LCM4 User’s Guide iii
iii
Table of Contents
Chapter 1: Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
What’s In This Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
For Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
SNAP-LCM4 Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
System Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Ethernet Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Serial Direct Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
ARCNET Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Remote Communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
LCM4 I/O Connection Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Interface Adapter Cards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Chapter 2: Quick Start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
What You Will Need. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Chapter 3: Jumpers and Communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Setting Jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Setting the Controller Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Setting the Host Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Setting the Host Port Baud Rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Setting the Communication Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Setting the Boot Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
AUTO and E/R Jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
X1 Jumper . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Configuring Serial Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Removing the Serial Card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Configuring Port 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
COM0 RS-485 Configuration and Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16

SNAP-LCM4 User’s Guide
iv
COM0 Modem Configuration and Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Configuring Port 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Configuring Ports 2 and 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Pin Connections for COM2 and COM3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Setting the Mode for Port 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Setting the Mode for Port 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Connecting the Controller to Remote I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Downloading New Firmware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Chapter 4: Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Appendix A: Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Specification Table. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
LED Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Dimensional Drawings and Mounting Diagrams. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
DIN-Rail Mounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Cable Recommendations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Ethernet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Serial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Power Supply Recommendations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Third-Party Power Supply Vendors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30

SNAP-LCM4 User’s Guide 1
1
Chapter 1
1: Introduction
The SNAP-LCM4 is a powerful industrial controller that provides real-time control and communication to
input/output (I/O) systems, serial devices, motion controllers, and networks.
The SNAP-LCM4 controller is designed for use with Opto 22’s SNAP or Mistic remote I/O systems and Opto 22
FactoryFloor®software for industrial automation. The SNAP-LCM4 provides the flexibility of Ethernet, ARCNET,
serial, or remote communication options.

1: INTRODUCTION
SNAP-LCM4 User’s Guide
2
WHAT’S IN THIS GUIDE
This guide includes the following:
• Chapter 1—Introduction discusses applications, options, and software for the LCM4.
• Chapter 2—Quick Start shows how to install a generic SNAP-LCM4 controller using factory settings.
• Chapter 3—Jumpers and Communication gives detailed instructions for changing factory settings.
• Chapter 4—Troubleshooting helps solve problems you may encounter.
• Appendix—Specifications includes specifications and dimensional drawings, as well as DIN-rail
mounting diagrams and information on cables and power supplies to use with the SNAP-LCM4.
FOR HELP
If you have problems installing or using the SNAP-LCM4 controller and cannot find the help you need in this
guide, 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
Fax: 951-695-3017
Email: suppor[email protected]
Opto 22 website: www.opto22.com
When calling for technical support, be prepared to provide the following information about your system to
the Product Support engineer:
•Software and version being used
•Controller firmware version
•PC configuration
•A complete description of your hardware and operating systems, including:
– jumper configuration
– accessories installed (such as expansion daughter cards)
– type of power supply
– types of I/O units installed
– third-party devices installed (for example, barcode readers)
•Specific error messages seen.
NOTE: Email messages and phone calls
to Opto 22 Product Support are
grouped together and answered in the
order received.

SNAP-LCM4 DESCRIPTION
SNAP-LCM4 User’s Guide 3
SNAP-LCM4 DESCRIPTION
System Architecture
The SNAP-LCM4 is designed for easy configuration in a variety of communication scenarios, including
Ethernet, serial, ARCNET, and remote connections. It can be integrated with Opto 22’s digital and analog
I/O systems as well as with other intelligent equipment devices, such as industrial PCs, M4RTUs, or other
Opto 22 controllers.
The following diagrams show the versatility of communications using the SNAP-LCM4.
Ethernet Network
Serial Direct Connection

1: INTRODUCTION
SNAP-LCM4 User’s Guide
4
ARCNET Network
Remote Communication

SNAP-LCM4 DESCRIPTION
SNAP-LCM4 User’s Guide 5
Using these communication options, the LCM4 can connect to a variety of Opto 22 I/O, as the following
diagram demonstrates:
LCM4 I
/
O Connection Options

1: INTRODUCTION
SNAP-LCM4 User’s Guide
6
Options
Interface Adapter Cards
The SNAP-LCM4 has four expansion slots that can accommodate the following communication interface
cards. (For installation information, see the interface card documentation.)
Memory
Memory (RAM and Flash EEPROM) is not expandable.
Software
The SNAP-LCM4 controller is designed to work with Opto 22’s FactoryFloor software suite, which consists of
four integrated components:
•OptoControl™, a graphical, flowchart-based development environment for machine control and process
applications, which can run on a real-time industrial controller such as the SNAP-LCM4 or in a pure
Microsoft®Windows NT®environment
•OptoDisplay™, an intuitive, shared database, human-machine interface (HMI) and trending package
•OptoServer™, a robust, OPC-compliant data server that connects the controller network with the PC
network
•OptoConnect™, a bi-directional link between the SNAP controller database and Microsoft’s SQL Server®
and Access®databases.
The SNAP-LCM4 controller is programmed using OptoControl on a PC workstation. OptoControl is easy to use
and self-documenting. It uses a plain English command set and a long tagname database shared by all
FactoryFloor components.
The SNAP-LCM4 also works with Opto 22’s Classic 16-bit software: Cyrano, Mistic MMI, and Mistic Data Server
(MDS).
Interface Adapter Card Use Current Draw
M4SARC High-performance coaxial ARCNET
200 mA
M4DUALARC Dual twisted-pair ARCNET (for HA brains)
150 mA
M4SARCF Fiber optic ARCNET
250 mA
M4SARCFR Fiber optic ARCNET with repeater
350 mA
M4SENET100 10/100 Mbps Ethernet* (Cat. 5 UTP)
1.00 A
*NOTE: Only one Ethernet card per controller is supported at this time. The Ethernet card currently accommodates
128 sessions, including FactoryFloor, Ethernet brains, and other Ethernet devices.

SNAP-LCM4 User’s Guide 7
7
Chapter 2
2: Quick Start
This section gives quick instructions for installing a generic SNAP-LCM4 controller using factory-default
settings, which are shown on page 11. If you are not using the factory defaults, see the detailed instructions in
the following sections.
WHAT YOU WILL NEED
•SNAP-LCM4 controller
•+5 VDC power supply
•PC with OptoControl and a free RS-232 serial port
•RS-232 cable
•multimeter
•small flathead screwdriver
•pair of wire strippers/cutters
For help with See page
Setting jumpers:
controller address
host port
host port baud rate
boot mode
11
12
12
13
13
Opening the controller and configuring the serial ports 14
Connecting the controller to remote I/O 20

2: QUICK START
SNAP-LCM4 User’s Guide
8
INSTRUCTIONS
1. Unpack the controller. Check to make sure you have the following:
– SNAP-LCM4 controller
– jumpers
– connectors
– 3.6-V lithium backup battery
– floppy disk containing firmware.
2. With the power supply off or unplugged, connect it to the controller.
The SNAP-LCM4 controller requires only 5 VDC power, which can be supplied by the Opto 22 SNAP-PS5
or any 5 V power supply meeting SNAP-LCM4 power requirements.
The controller does not have a power switch; to turn it off, switch off the power supply.
CAUTION
Reversing wire polarity may cause damage to your controller. This damage is not covered by Opto 22’s
warranty. If in doubt about which wire is which on your power supply, check with a meter.
a. With the power supply off or unplugged, connect the +5 V lead from the power supply (normally
red) to the +5V terminal on the SNAP-LCM4 backplane.
b. Connect the COM wire from the power supply (normally black) to the GND terminal on the
SNAP-LCM4 backplane. Optionally, you can connect the earth ground terminal to panel ground.
3. If necessary, change the configuration jumpers.
Default jumper settings are as follows:
If you are not using factory defaults, see Chapter 3 to change the jumpers.
4. If necessary, install optional adapter cards.
See the data sheet for the adapter card for complete installation instructions.
Default Jumper Settings
EEPROM/RAM: Run from RAM
Autoboot: Disabled
Communication: Binary
BootLoader: Boot to kernel
Host port: COM 0
Baud rate: 38.4 K
Address: 1

INSTRUCTIONS
SNAP-LCM4 User’s Guide 9
5. Mount the SNAP-LCM4.
The SNAP-LCM4 controller can be panel-mounted or mounted on a DIN rail. DIN-rail mounting requires a
DIN clip package, part number SNAP-LCM4DIN (not included). For dimensional drawings, see page 27.
– For panel mounting, use two screws on each side of the SNAP-LCM4 controller to mount it to a
panel.
– For DIN-rail mounting, see instructions on page 28.
6. Connect the SNAP-LCM4 controller to Opto 22 I/O units.
Use the built-in COM1 port to communicate with Opto 22 digital or analog (or both) I/O. Set up the I/O
unit as shown in its installation guide. The diagram below illustrates connection with a B3000 brain
board:
7. Connect the SNAP-LCM4 controller to a personal computer (PC).
You can start with a pre-wired RS-232 cable that you don’t mind cutting, or you can make your own
cable. Cut off the end of the cable that DOES NOT plug into the computer and wire the cable as shown in
the diagram on the following page.
Important: If RTS and CTS are not used, be sure to connect RTS to CTS on the SNAP-LCM4 as shown
below.

2: QUICK START
SNAP-LCM4 User’s Guide
10
8. Configure the controller using OptoControl.
– In order to be useful with a SNAP-LCM4 controller, a PC must have at least one element of
Opto 22’s FactoryFloor software suite installed: OptoControl, OptoDisplay, OptoServer, or
OptoTerm.
– This guide assumes that you will configure the controller using OptoControl. For instructions,
see the OptoControl User’s Guide (Opto 22 Form number 724).
– Cycle power to the SNAP-LCM4 by flipping the power supply’s power switch off, waiting 10
seconds, then turning it on again. Any change to configuration jumpers will only take place
after power is cycled.
9. Verify communications by using the OptoTerm utility included with FactoryFloor.
a. Choose Start > Programs > Opto22 > OptoUtilities > OptoTerm.
b. In the OptoTerm main window, double-click the controller’s name in the list.
c. Look for a window displaying information about the controller.
d. If the window does not appear, make sure you cycled power to the controller after any change. If it
still doesn’t appear, check wiring connections and jumper settings.
Your SNAP-LCM4 controller is now ready to run OptoControl strategies.

SNAP-LCM4 User’s Guide 11
11
Chapter 3
3: Jumpers and Communication
SETTING JUMPERS
The following table summarizes faceplate jumper settings. Shaded entries show default settings.
Jumper(s) Description Position Setting
E/R EEPROM/RAM
In Run from RAM
Out Run from
EEPROM
Auto Autoboot
In Autoboot enabled
Out Autoboot dis-
abled
X0 Communication In Binary
Out ASCII
X1 Boot Loader In Boot to kernel
Out Boot to loader
H0, H1 Host Port
H0 H1 —
In In COM0
Out In COM1
In Out ARCNET
Out Out Ethernet
Baud 0–3 Baud Rate
B0 B1 B2 B3 —
Out In In In 115.2 KBd
In Out In In 76.8 KBd
Out Out In In 57.6 KBd
In In Out In 38.4 KBd
Out In Out In 19.2 KBd
In Out Out In 9600 Bd
Out Out Out In 4800 Bd
In In In Out 2400 Bd
Out In In Out 1200 Bd
In Out In Out 600 Bd
Out Out In Out 300 Bd
Address 0–
7Address Bits
Bit 0 In 1
Bit 1 In 2
Bit 2 In 4
Bit 3 In 8
Bit 4 In 16
Bit 5 In 32
Bit 6 In 64
Bit 7 In 128
Pin 1
Pin 1
Pin 1
Pin 1

3: JUMPERS AND COMMUNICATION
SNAP-LCM4 User’s Guide
12
Setting the Controller Address
Each Opto 22 controller connected to a host computer must have a unique address between
1 and 255 (1 and FF hexadecimal). Zero is not a valid address. The following table shows possible addresses
and their corresponding jumper settings. The factory default is 1.
The most significant bit is 7 and the least significant bit is 0.
Setting the Host Port
The controller host port jumpers H0 and H1 determine which port the controller’s default host task will be
started on. Because the host task is required for communication to any of Opto 22’s programming or interface
software, the default host port must be set to the port attached to the host computer. The factory setting is
COM0.
You can change the host port to COM1, as shown in the table at
right. However, in general it should not be used this way with I/O,
since COM1 was designed to communicate with I/O.
Address Jumpers.
COM Port H0 H1
COM0 In In
COM1 Out In
ARCNET In Out
Ethernet Out Out

SETTING JUMPERS
SNAP-LCM4 User’s Guide 13
Setting the Host Port Baud Rate
The factory setting for the host port baud rate is 38.4 KBd, but
baud rates from 300 Bd to 115.2 KBd are selectable using
jumpers B0 through B3. In general, it is best to choose the
fastest baud rate the host computer and the controller will
both support. Lower baud rates may be necessary for long
cable runs, in high-noise environments, or for compatibility
with modems or other data transmission equipment.
The table at right shows jumper settings for available baud
rates. The shaded entry is the default setting.
Setting the Communication Mode
You can select ASCII or binary communication mode using jumper X0.
The factory default is binary, which is generally faster than ASCII. ASCII is
typically used only for compatibility with modems or other data
transmission equipment, or with host devices that for some reason
cannot support binary mode.
Setting the Boot Mode
The boot mode jumpers determine how the controller acts when it is turned on. The AUTO, E/R, and X1
jumpers set the boot mode.
AUTO and E/R Jumpers
The AUTO jumper determines whether the controller automatically starts running your strategy (autoboot) or
waits until instructed to do so by the host computer. The E/R jumper determines whether the strategy is
executed from battery-backed RAM or from Flash ROM. The factory settings are non-autoboot and execute
from RAM.
There is no operational difference between execution from battery-backed RAM or ROM, except that the
SNAP-LCM4 has significantly more space available in RAM for program storage. The drawback to execution
from RAM is that the program is lost when the backup battery dies. (Battery life typically exceeds three years.)
Before the controller will execute a program from ROM, you must have stored the program in Flash ROM by
selecting that download function in OptoControl. In general, it is best to wait until program development is
complete to use the autoboot feature or store the program in Flash ROM.
X1 Jumper
Under normal conditions, you can update the controller firmware with the X1 jumper in the default position
(boot to kernel).
If the firmware in the controller has somehow been corrupted,
however, and the controller cannot execute its full kernel
properly, remove this jumper. Removing the X1 jumper sets the
controller to “boot to loader”mode, preparing it to receive the
firmware download from the loader.
The table at right shows Auto, E/R, and X1 jumper settings.
Default settings are shaded.
Baud Rate B0 B1 B2 B3
115.2 KBd Out In In In
76.8 KBd In Out In In
57.6 KBd Out Out In In
38.4 KBd In In Out In
19.2 KBd Out In Out In
9600 Bd In Out Out In
4800 Bd Out Out Out In
2400 Bd In In In Out
1200 Bd Out In In Out
600 Bd In Out In Out
300 Bd Out Out In Out
Communication Mode X0
Binary In
ASCII Out
Boot Mode Auto E/R X1
Autoboot enabled In
Autoboot disabled Out
Run from RAM In
Run from EEPROM Out
Boot to kernel In
Boot to loader Out

3: JUMPERS AND COMMUNICATION
SNAP-LCM4 User’s Guide
14
CONFIGURING SERIAL PORTS
The SNAP-LCM4 comes with four serial ports:
•COM0 is selectable as RS-232, RS-485 half-duplex (2-wire), or RS-485 full duplex (4-wire). The default
mode is RS-232 for connection to a PC. In RS-232 mode, COM0 also supports RTS and DTR/DCD flow
control for use with modems.
•COM1 is an Opto 22 remote I/O port (half-duplex RS-485 only).
•COM2 and COM3 are both configurable either as RS-232 or as half- or full-duplex RS-485. The default
mode is RS-232. In RS-232 mode, COM2 and COM3 support RTS flow control only. Interrupt (IRQ)
functionality is available in RS-485 2-wire mode only.
Since most systems use the default modes, it’s not normally necessary to configure serial ports. However, if
you need to change the serial port configuration, you must open the controller and set configuration jumpers
on the serial card inside. See page 14 for instructions.
In addition, all COM ports communicate using the following defaults:
If you need to change these defaults, use the OptoControl command Configure Port. See the OptoControl
Command Reference (Opto 22 form #725) for details on using the command.
Removing the Serial Card
Remove the faceplate thumbscrews and the faceplate. Carefully pull straight up on the serial card (the one
with the port connectors) to remove it.
The internal jumpers are shown in the diagram on the following page.
Baud rate = 115,200
Parity = None
Data Bits = 8
Stop bit = 1
CTS = Disabled

CONFIGURING SERIAL PORTS
SNAP-LCM4 User’s Guide 15
To change the serial port configuration, set jumpers on the serial card for each port as illustrated in the
following sections.
Configuring Port 0
The default mode for COM0 is RS-232, and the wiring
diagram is shown on page 9. Jumper groups JP3 and
CFG0 control COM0. Default jumper settings are shown in
the diagram at right. Note that only some of the jumpers
in JP3 control COM0; the jumpers shown grayed out are
included for reference only.
COM0 can also be configured for RS-485 two- or four-wire
or for use with a modem. Note that IRQ settings for COM0
cannot be configured.
Pin 1
Pin 1
Pin 1
Pin 1

3: JUMPERS AND COMMUNICATION
SNAP-LCM4 User’s Guide
16
COM0 RS-485 Configuration and Wiring
The following diagrams illustrate jumper settings and wiring for RS-485 two-wire and RS-485 four-wire. Again,
the grayed-out jumpers are shown for reference only.
Other OPTO 22 Controllers manuals

OPTO 22
OPTO 22 LCSX-PLUS User manual

OPTO 22
OPTO 22 SNAP PAC R SERIES User manual

OPTO 22
OPTO 22 groov EPIC User manual

OPTO 22
OPTO 22 G4LC32ISA-LT User manual

OPTO 22
OPTO 22 SNAP-PAC-R1 User manual

OPTO 22
OPTO 22 SNAP PAC S Series User manual

OPTO 22
OPTO 22 G4LC32 User manual

OPTO 22
OPTO 22 GROOV BOX User manual

OPTO 22
OPTO 22 SNAP-PAC-S1 User manual

OPTO 22
OPTO 22 SNAP-PAC-S1 User manual