Omega Speaker Systems RD8300 manual Modbus Server, Modbus Status Registers, Modbus Data Registers

Page 96

Section 6 - Communication

6.3.2 Modbus Server

The recorder supports ModbusTM RTU (Remote Terminal Unit) over Ethernet and optional RS485 interfaces. An RS485 interface will support up to 64 Data Recorders linked to a single computer. Each of the Recorders will be identified by a unique unit address (programmed under System Settings - Modbus). This address is set at 1 to 256 and must be different from any other recorder on the loop. Similarly if using the RS485 serial port the baud rate must be set to match the system – 9600 to 115,200 baud.

Modbus over Ethernet is supported through Port 502.

Note that Modbus ASCII is not supported and this recorder supports a minimal subset of registers and is read only. The functions included in the subset are

Function 3 - Read Holding Registers

Function 4 - Read Input Registers

All Modbus registers are 2 bytes = 1 word.

The physical connection details are shown in Section 2 – Isolated Serial Option.

6.3.2.1Modbus Status Registers

The Status Registers Are 16 bit Integers in the form of two bytes as follows (Low Byte = Bits 0 through 7).

 

Bit 15 - 8

 

 

Bit 7

 

 

Bit 6

 

 

Bit 5

 

 

Bit 4

 

 

Bit 3

 

 

Bit 2

 

 

Bit 1

 

 

Bit 0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Not

 

 

0 or 1

 

0 or 1

 

0 or 1

 

0 or 1

 

0 or 1

 

Not

 

Not

 

0 or 1

 

Used

 

 

 

 

 

 

 

Used

 

Used

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Alarm 5

 

Alarm 4

 

Alarm 3

 

Alarm 2

 

Alarm 1

 

 

 

 

 

 

 

Any

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Alarm

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

When the bit is a “1” the condition is true. There is one register for each point or channel and the registers start at number 3056. So Register no. 3056 is Channel 1 status, Register 3057 is Channel 2 status through Register 3071 which is Channel 18 status. These Registers are read only and are accessed using Function 4.

6.3.2.2Modbus Data Registers

The Data Registers hold the current floating point value for each of the 18 data points (Channels) as IEEE floating point numbers which require 4 bytes (2 words) as shown below. They are in the format

 

Sign Bit

Exponent (+127 biased)

Mantissa (Extra implied 1 bit)

 

 

 

1 bit

8 bits

23 bits

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Byte 0

 

 

Byte 1

 

 

Byte 2

 

 

Byte 3

 

SEEEEEEE

 

EMMMMMMM

MMMMMMMM

 

MMMMMMMM

 

High Word

 

Low Word

The following tables show the mapping of the recorder parameters into Modbus registers. Knowledge of these Modbus register assignments is only needed to make use of third party communications software. Both registers – high and low, must be accessed together to ensure valid data.

Page 87

09/11/2008 REV 0.99

Image 96
Contents User’s Guide Servicing North America Table of Contents Environment and Location Installation Wiring Specifications and ProceduresDisplay Elements Timer/Totalizer Reset Special Events Turning the unit off Annotating TrendsBrowsing Historic Data Browsing AnnotationsAlarms Record SetupSystem Administrative Menu Digital Input/OutputTouch Screen Cleaning Instructions Calibration World Wide Web Web Based FTP Manager Ethernet ProtocolsUSB Connections Utility Programs 102Symbols Trademarks09/11/2008 REV Overview General DescriptionSystem Overview System Overview09/11/2008 REV Recorder Front Display AreaStatus Indicator Media DoorIR Comm Port StylusPower Supply Recorder Rear PanelAnalog Inputs Input/Output Module Computer InterfaceConfiguration Files FilesExhibitor Software Data FilesActivity Files Miscellaneous FilesQuick Start Guide Keyboarding HelpActivity Lights SecurityRemote Access Passwords User LevelsEquipment Handling Environment and LocationInstallation Recorder Dimensions in Inches mmPanel Mounting Front Panel Cut OutPanel Front Gasket Rear View Panel InsertionWiring Specifications and Procedures Power RequirementsPower Connections Signal Input Wiring Rear PanelResistance Temperature Detector RTD Inputs Analog InputsThermocouple Inputs Linear InputsPotential Free Contacts FrequencyEthernet Relay Output, Contact InputUSB Connection Audio ConnectionMouse and Keyboard Connection 24Vdc Isolated Output Option Isolated Serial Interface Option18 RS485 Adapter 19 RS485 120 Ohm Jumper Display Elements Live Display AreaTask Bar Utility Setup Menu Utility Setup Menu09/11/2008 REV Alarm, Event and Activity Logs Record SessionFolder Mydata Data File Mydata.dat Bitmap Files Text Files Configuration Manager Load ConfigurationSending Email E-mail WindowUser Login Display UtilitiesDisplay Brightness Timer/Totalizer Reset Record on AlarmSpecial Events Background ColorEmail on Alarm Event Record Setup Digital Input Setup Record ModeSystem Setup Alarm Master SetupAnnotating Trends Drawing on the ScreenBrowsing Historic Data Adding a Text MessageZoom and Compress Data 13.4 Zoom with point markersUsing the Cursor 13.8 Cursor ModeView Memos and Bitmaps 13.6 Memo View 13.7 Bitmap ViewUsing Browser Jump To Browsing AnnotationsMaster Channel Setup Setup display as shown rightInput Channels Channel Setup Channel SetupChannel Type Setup Linear InputResistance Input Industrial Square Root Extraction Thermocouples and RTDsCalculated Channel Setup Calculated Input09/11/2008 REV Gated Timer Conditional InputReset Point TotalizerFrequency/Pulse Count Frequency13 Pulse Count Setup Pulse CountRecorder Setup Display Builder Building the DisplayEditing 3 Display BuilderRotate List Digital Display Setup WidgetsDigital Displays Will show OFFDisplaying Min, Max or Average Values Bar Graph Setup Bar GraphsChannel Type Shows the current widget style for Channel. For information only09/11/2008 REV 09/11/2008 REV Trend Setup Trend Setup Window09/11/2008 REV Alarms RateAlarm Master Setup 1 Alarm Master SetupAlarm Setup Digital Input/Output Digital Output Setup 1 Digital Output SetupDigital Input Setup 09/11/2008 REV Record Setup Select ChannelsMedia and Filename Record RateWhat to Record Point type Max Min AverageTimed Record Split FilesTriggered Record Media Alarm System Administrative Menu System Admin Menu09/11/2008 REV Temperature Compensation System SetupNTP Time Server Modbus Settings Mouse Pointer EnableConfig Auto Save Menu TimeoutUser Setup Password Management UserFile Explorer Network Settings 7 Web User AdminWeb User Manager 6 Network IP AddressSmtp Email Settings Set ActiveSync Password9 USB ActiveSync Password Registry Languages System ReFlash09/11/2008 REV Communication World Wide Web3 View Recorder Web Based FTP Manager 2 FTP File Manager Communication Ethernet Protocols OPC ServerModbus Server Modbus Status RegistersModbus Data Registers Register # USB Connections Utility Programs FTP Manager09/11/2008 REV 09/11/2008 REV Remote Control Remote Display3 Remote Recorder Remote Manager 4 Remote Manager5 Remote Manager Connected Cleaning Instructions Touch ScreenCalibration Calibrating Linear Voltage Inputs Set ChannelZero Cal Full CalStore Cal Calibrating the RTD Current SourceCalibrating Frequency Go to Table of Contents Resolution Color Virtual Chart SpeedPower Requirements Power Fail ProtectionType Range C Accuracy C Range F Accuracy F Safety DimensionsWeight Recording RatesAppendix B Digital Input Voltage Adjustment Input Board Fig B-4 Digital IO Module Jumpers 2 Channel shownWARRANTY/DISCLAIMER Temperature