background image

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 

Содержание SNAP-LCM4

Страница 1: ...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...

Страница 2: ...et 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...

Страница 3: ...s 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 1...

Страница 4: ...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...

Страница 5: ...ommunication 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 Factor...

Страница 6: ...nd 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...

Страница 7: ...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 industr...

Страница 8: ...1 INTRODUCTION SNAP LCM4 User s Guide 4 ARCNET Network Remote Communication...

Страница 9: ...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...

Страница 10: ...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 LC...

Страница 11: ...led 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 screwdriv...

Страница 12: ...ranty 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...

Страница 13: ...roller 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 co...

Страница 14: ...ower 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...

Страница 15: ...t 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...

Страница 16: ...etting 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...

Страница 17: ...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 progra...

Страница 18: ...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...

Страница 19: ...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...

Страница 20: ...ON 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...

Страница 21: ...ee page 2 for details The following diagrams illustrate wiring for modems Use the COM0 default jumper settings for modems shown in the diagram on page 15 Configuring Port 1 COM1 comes from the factory...

Страница 22: ...CFG2 jumpers for COM2 and CFG3 jumpers for COM3 Pin Connections for COM2 and COM3 Pin RS 232 RS 485 2 wire RS 485 4 wire 1 TX TX RX TX 2 RX TX RX TX 3 COM COM COM 4 RTS IRQ RX 5 CTS IRQ RX TX Transmit...

Страница 23: ...rs are included for reference only NOTE RSmodemaybeshownincorrectlyontheboarditself Followthe diagram to set the RS mode Setting the Mode for Port 3 For COM3 jumper group JP4 controls the mode for COM...

Страница 24: ...the PC running FactoryFloor to the controller For a serial connection COM 0 is usually used If the controller has an ARCNET card you can use ARCNET If the controller has an M4SENET 100 card you can u...

Страница 25: ...ocate your OptoKernel directory C Opto22 OptoKrnl by default Click Files of Type and choose the name of your controller from the list When the correct firmware file for your controller appears double...

Страница 26: ...3 JUMPERS AND COMMUNICATION SNAP LCM4 User s Guide 22...

Страница 27: ...ng two wire mode try swapping the TX and TX wires If you re using four wire mode try swapping the RX and RX wires Controller cannot transmit to PC Configuration jumpers were changed without cycling po...

Страница 28: ...I O or brain may be bad 1 Check wiring to output device 2 Change voltage to match module or module to match voltage 3 Measure output with a multimeter Analog input is not working 1 Voltage input devi...

Страница 29: ...pt capability Real time clock Clock calendar Epson 64613 with battery backup Y2K compliant Power requirements 5VDC 0 1 VDC at 1 Amp maximum without expansion cards Typical operating temperature 0 C to...

Страница 30: ...f the controller is not receiving power If the LED is red power is outside specifications STAT The STAT LED is normally green If it blinks red or is off see Chapter 4 Troubleshooting TX Each communica...

Страница 31: ...DIMENSIONAL DRAWINGS AND MOUNTING DIAGRAMS SNAP LCM4 User s Guide 27 DIMENSIONAL DRAWINGS AND MOUNTING DIAGRAMS The following diagrams show dimensions for the SNAP LCM4 Top View Side A View...

Страница 32: ...ou supply DIN rail mounting requires a DIN clip package part number SNAP LCM4DIN not included The following diagram shows a side view of the SNAP LCM4 as mounted on a DIN rail 1 Use two screws on each...

Страница 33: ...es rather than the shield for the common Two Pair Belden P N 8102 with overall shield Belden P N 9729 individually shielded Belden P N 8162 individually shielded with overall shield Manhattan P N M347...

Страница 34: ...e the table on page 6 the controller itself requires 1 0 amp Third Party Power Supply Vendors If you are not using an Opto 22 power supply use only good quality power supplies that offer tight voltage...

Отзывы: