LAUREL LWIFI User Manual

Laureate high-speed wireless communications

Advertisement

Quick Links

LWIFI & LWFIX
Laureate High-Speed Wireless
Communications User Manual
LAUREL Electronics Inc.
3183-G Airway Ave, Costa Mesa, CA, 92626, USA
Tel: (714) 434-6131 • Fax: (714) 434-3766 • Website: www.laurels.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the LWIFI and is the answer not in the manual?

Questions and answers

Summary of Contents for LAUREL LWIFI

  • Page 1 LWIFI & LWFIX Laureate High-Speed Wireless Communications User Manual LAUREL Electronics Inc. 3183-G Airway Ave, Costa Mesa, CA, 92626, USA Tel: (714) 434-6131 • Fax: (714) 434-3766 • Website: www.laurels.com...
  • Page 2: Table Of Contents

    1. TABLE OF CONTENTS Table of Contents ....................2 LWIFI & LWIFIX Board Overview ................ 3 Board Installation ....................4 Meter Installation & Range Considerations ............5 Network Setup Utility ................... 6 Entry into Instrument Setup (IS) Software ............9 Data Caching, Data Rates &...
  • Page 3: Lwifi & Lwifix Board Overview

    LWIFI is a circuit board with an integral WiFi antenna. It is intended for WiFi applica- tions where the meter can be mounted on a benchtop or inside a plastic enclosure that does not block radio waves.
  • Page 4: Board Installation

    3. LWIFI & LWIFIX BOARD INSTALLATION The LWIFI or LWFIX boards come installed in the meter when the meter is ordered with communica- tions ordering codes C or D. They can also be installed later by the user by inserting them into the middle backplane slot that is reserved for commu- nications boards.
  • Page 5: Meter Installation & Range Considerations

    4. METER INSTALLATION & RANGE CONSIDERATIONS A meter with an LWIFI board, which has an integral antenna, needs to be mounted on a benchtop or in a plastic enclosure that is transparent to radio waves. It is ideal for communication distances of 30 m (100 ft) or less. The presence of nearby circuit board traces reduces power radiated by LWIFI by about 10 dB compared LWIFIX.
  • Page 6: Network Setup Utility

    Before “Discover Network” can be executed, you must connect your meter with the LWIFI or LWIFIX board to the USB port of your PC with a USB cable like our cable CBL07, and also set up communications of your Laureate meter to the following:...
  • Page 7 19200 baud, Custom ASCII protocol, no parity, 8 data bits, 1 stop bit (N81), address 1. To do so, enter these settings from the meter front panel: SEr 1: 160 SEr 2: 0111 SEr 3: 00000 SEr 4: 000 Click on “Discover Network.” After about 10 seconds, the screen below will appear: Current Status The above screen shows that the Network Setup utility has discovered the Network Board Type, the board’s Firmware Revision, the USB COM Port, the Instrument Type,...
  • Page 8 Cache Setting Select “Displayed Measurement Only” to cause the WiFi board to only retrieve the latest reading, called “display value,” from the host meter into cache. Select “All Measurements” to cause WiFi board to retrieve 6 values from the host meter into cache.
  • Page 9: Entry Into Instrument Setup (Is) Software

    Network Setup (NS) utility and click on the “Run Instrument Setup” button at the bottom of the “Laurel Network Setup” screen, or you cannot establish communi- cations. You will be prompted to exit the Network Setup (NS) utility. Click on “Yes” to do so.
  • Page 10 - 10 -...
  • Page 11: Data Caching, Data Rates & Read Rates

    7. DATA CACHING, DATA RATES & READ RATES Cached operation is a key feature of LWIFI and LWIFIX boards. Using the Custom ASCII protocol at 19200 baud and address 1, these boards poll the host meter every 16.666 msec, except when the host meter is an analog input meter or a scale/weight meter programmed for 50 Hz noise rejection, in which case data is polled every 20.000 msec.
  • Page 12: Modbus Implementation

    8. MODBUS IMPLEMENTATION 1. Modbus Protocol Overview The Modbus protocol is used with LWIFI and LWIFIX boards, not the Custom ASCII protocol or Ethernet/IP protocol. The same Modbus function codes and regis- ters apply to Modbus TCP, which is used with WiFi, and to Modbus RTU, which is used with USB.
  • Page 13 2. Reading the Display Value with Cached “Displayed Measurement Only” If the Network Setup utility is set to cache “Displayed Measurement Only,” the cached meter reading will be available for retrieval via Modbus every 10 msec. Use the table below if the reading is desired as a 32-bit signed two’s complement integers with a separately read decimal point.
  • Page 14 3. Reading Six Parameters with Cached “All Measurements” If the Network Setup utility is set to cache “All Measurements,” six readings will be available for retrieval via Modbus every 100 msec. Use the table below if readings are desired as 32-bit signed two’s complement integers with a separately read decimal point.
  • Page 15 Use the table below applies if readings are desired as 32-bit real numbers in IEEE 754 floating point format. Funct. Input Register Holding Register Contents Data Format Code Base 1 Address Bit 1 = Alarm 1 Bit 2 = Alarm 2 Alarm and overload status in bits FC03 7800...
  • Page 16 5. Reading and Writing to Coils Coils are 1-bit memory addresses that are used to control specific outcomes. They may be read or written. Use Function Code FC01 to read. Use Function Codes FC05 or FC0F to write. Any write involving these coils will cause the meter to reset. Analog input DPM &...
  • Page 17 6. Non-Volatile Memory Addresses for Advanced Reading or Writing Use Function Code FC03 to read and Function Codes FC06 or FC10 to write. Any read or write to these registers causes a meter reset. Byte 3 Byte 2 Byte 1 Magnitude (Mag) XXXX XXXX XXXX XXXX...
  • Page 18 DPM Non-volatile Memory Addresses (2 bytes/address) Dec Addr MS Byte LS Byte Stored As Setup1 Serial Confg3 Bits Deviation4 Byte 3 Deviation4 Byte 2 Magnitude Deviation4 Byte 1 Deviation3 Byte 3 Magnitude Deviation3 Byte 2 Deviation3 Byte 1 Magnitude Setpoint4 Byte 3 Setpoint4 Byte 2 2’s Complement Setpoint4 Byte 1...
  • Page 19 Counter/Timer Non-volatile Memory Addresses (2 bytes/address) Dec Addr MS Byte of NV RAM Stored As LS Byte of NV RAM Stored As Deviation4 Byte 3 Deviation4 Byte 2 Deviation4 Byte 1 Deviation3 Byte 3 Deviation3 Byte 2 Deviation3 Byte 1 Setpoint4 Byte 3 2’s C Setpoint4 Byte 2...
  • Page 20 Analog High Byte 1 2’s C Analog Low Byte 3 2’s C Analog Low Byte 2 2’s C Analog Low Byte 1 2’s C Deviation 2 Byte 3 Deviation2 Byte 2 Deviation 2 Byte 1 Deviation1 Byte 3 Deviation 1 Byte 2 Deviation1 Byte 1 Offset2 Byte 3 2’s C...
  • Page 21 Scale/Weight Meter Non-volatile Memory Addresses (2 bytes/address) Dec Address MS Byte LS Byte Tare3 Tare2 Tare1 Spare Serial Cnfg 3 Count Setpoint2 Diff 3 Setpoint2 Diff 2 Setpoint2 Diff 1 Setpoint1 Diff 3 Setpoint1 Diff 2 Setpoint1 Diff 1 Configuration Signal Conditioner Type (do not change) Analog Setup System Decimal Point...
  • Page 22: Diagnostic Tool Qmodmaster

    3. QModMaster Configuration a. The first step is to click on Options > Modbus TCP. In the Modbus TCP Settings dialog window, enter the IP address of the LWIFI and click on OK. - 22 -...
  • Page 23 b. The second step is to click on Options > Settings. In the Settings dialog window, ensure that everything is configured as shown and click on OK. These are the default settings: - 23 -...
  • Page 24 • Data Format = Float After QModMaster has been set up to read the floating point value: • Click on the Connect icon to establish a TCP/IP connection to the LWIFI equipped instrument. • Click on the Bus Monitor icon to view the command/response operation.
  • Page 25 The instrument’s displayed value of 221.35 is read and presented in the main QMod- Master window. The values in holding registers 8200 and 8201 are combined to form a 32-bit value and are displayed in floating point format. - 25 -...
  • Page 26 The QModMaster Bus Monitor window below presents the Modbus Command trans- mitted to the LWIFI and its response. Note that the hexadecimal values of 59 9A 43 5D represent the value in IEEE 754 floating point format (little endian). See Wikipedia for a condensed description of IEEE 754.
  • Page 27 7401 are displayed. The QModMaster Bus Monitor window below presents the Modbus Command trans- mitted to the LWIFI and its response. Note that the hexadecimal byte values of B1 EE FF FF represent the 32-bit signed two’s complement display value. The four bytes are combined as FFFFB1EE to form the 32-bit value which is -19986 decimal.
  • Page 28 - 28 -...
  • Page 29 The QModMaster Bus Monitor window presents the Modbus Command transmitted to the LWIFI and its response. Note that the hexadecimal byte values of 00 05 represent the same alarm and overload status shown above in binary. - 29 -...
  • Page 30 The diagram below describes how each of the bits is interpreted: - 30 -...
  • Page 31 You may wish to use the Windows calculator to convert two’s complement values to decimal and vice versa. - 31 -...
  • Page 32: Specifications

    10. SPECIFICATIONS Communication Interfaces, LWIFI Board Included with LWIFI ........WiFi board, integral antenna, USB 2.0 port WiFi module ........ATWINC1510-MR210PB (with integral antenna) Antenna .................. 2.4 GHz printed antenna USB interface ............USB 2.0 via mini-USB connector Communication Interfaces, LWIFIX Board Included with LWIFIX ..
  • Page 33 Meter polling via USB ................Modbus RTU For meter programming with Instrument Setup software ..Custom ASCII protocol Mechanical LWIFI and LWIFIX board dimensions ............79 x 39 mm Mounting location ....Middle slot of Laureate Series 2 panel meter or counter Environmental Operating temperature ................
  • Page 34: Warranty

    In the event of a defect during the warranty period, the defective unit may be returned to the seller, which may be Laurel or a Laurel distributor. The seller may then repair or replace the defective unit at its option. In the event of such a return, freight charges from the buyer shall be paid by the buyer, and freight charges from the seller shall be paid by the seller.

This manual is also suitable for:

Lwfix

Table of Contents