background image

RemoDAQ-9X20 Series User’s Manual 

Maximum 32 Modbus/RTU  nodes or 3’rd party products that 

supported Modbus protocol are allowed to integrate with an 

RemoDAQ-9X20. This great feature enlarges your system 

scope, as opposed to other general dummy I/O system. 

1.3 Technical specification of RemoDAQ-9X20 System 

1.3.1 System 

z

 

CPU

ARM 32-bit RISC CPU 

z

 

Memory

4MB Flash RAM 

z

 

Operating System

Real-time O/S 

z

 

Timer BIOS

Yes 

z

 

I/O Capacity

8 slots

4 RemoDAQ-9024 allowed

 

z

 

Status Indicator

Power

3.3V

5V

),

CPU

Communication

Link

Collide

10/100Mbps

Tx

Rx

 

z

 

CPU Power Consumption

5.0W 

z

 

Reset Push Bottom

Yes 

 

10

Summary of Contents for RemoDAQ-9X20 Series

Page 1: ...V1 2 2009 2 26 RemoDAQ 9X20 Series Distributed DA C System Based on Ethernet User s Manual Beijing Gemotech Intelligent Technology Co Ltd ...

Page 2: ...stem 10 1 3 1 System 10 1 3 2 Ethernet Communication 11 1 3 3 Serial Communication 11 1 3 4 Power 12 1 3 5 Isolation 12 1 3 6 Environment 12 1 3 7 Dimensions 13 1 3 8 Basic Function Block Diagram 14 1 4 LED Status of RemoDAQ 9X20 main unit 14 2Choose Hardware Components 16 2 1 Selecting I O Module 16 2 2 Selecting Power Supply 23 2 3 Selecting LinkTerminal and Cable 26 2 4 Selecting Operator Inter...

Page 3: ... System Hardware Configuration 46 5 2 Install Utility Software on Host PC 47 5 3 RemoDAQ 9X20 Windows Utility Overview 47 5 3 1 Main Menu 48 5 3 2 Ethernet Network Setting 52 5 3 3 I O Module Canfiguration 55 5 3 4 Alarm Setting 62 5 3 5 Security Setting 63 5 3 6 Terminal Emulation 65 5 3 7 Data Gateway Setting 66 6 Planning Your Application Program 68 6 1 RemoDAQ 9X20 Command 68 6 1 1 Command Str...

Page 4: ...re used to be a thresh old in connecting information layers and field control layers People usually had to prepare a data exchange server between information systems and control systems as a communication bridge Obviously it takes a lot of time and money To meet user s requirements GEMOTECH announces the new DA C system the RemoDAQ 9X20 the Ethernet I O solution for people developing their eAutoma...

Page 5: ...ply to System Application 1 2 Major Features 1 2 1 Communication Network By adopting a 32 bit RISC CPU the RemoDAQ 9X20 has greatly advanced data processing abilities for the user especially for network communications response time 5ms There is a 4 ...

Page 6: ... upon the network environment Through an Ethernet network your DA C systems computer workstations and higher level enterprise MIS servers can access plantfloor data Such data can be used in system supervising product scheduling statistical quality control and more 1 2 2 Modbus TCP Protocol Modbus TCP is one of the most popular standards for industrial Ethernet networks Following this communication...

Page 7: ...apacity Diagnostic GEMOTECH s RemoDAQ 9X20 is designed with a high I O capacity and supports all types of RemoDAQ 9000 I O modules Providing eight slots for any mixed modules this DA C system handles up to 128 I O points four RemoDAQ 9024s allowed Different from other main units the RemoDAQ 9X20 not only has a higher I O capacity but it also has a smarter diagnostic ability There are eight indicat...

Page 8: ...ngerous voltage up to 1500VDC power spikes and avoid surge damage to whole system 1 2 5 Built in real time OS and watchdog timer The microprocessor also includes a real time OS and watchdog timer The real time OS is available to handle several tasks at the same time The watchdog timer is designed to automatically reset the microprocessor if the system fails This feature greatly reduces the level o...

Page 9: ... your own applications 1 2 7 Security Setting Though Ethernet technology comes with great benefits in speed and integration there also exist risks about network invasion from outside For this reason a security protection design was built into the RemoDAQ 9X20 Once the user has set the password into the RemoDAQ 9X20 firmware important system configurations Network Firmware Password can only be chan...

Page 10: ...mmunication loading of the host computer on your Ethernet network the RemoDAQ 9X20 also supports UDP User Datagram Protocol protocol to broadcast the data packs to specific IPs without requesting commands Users can apply this great feature to implement Data Stream Event Trigger and other advanced functions 1 2 9 Modbus Ethernet Data Gateway Much more than an I O system RemoDAQ 9X20 provides an RS ...

Page 11: ...tem scope as opposed to other general dummy I O system 1 3 Technical specification of RemoDAQ 9X20 System 1 3 1 System z CPU ARM 32 bit RISC CPU z Memory 4MB Flash RAM z Operating System Real time O S z Timer BIOS Yes z I O Capacity 8 slots 4 RemoDAQ 9024 allowed z Status Indicator Power 3 3V 5V CPU Communication Link Collide 10 100Mbps Tx Rx z CPU Power Consumption 5 0W z Reset Push Bottom Yes 10...

Page 12: ... or greater Bus Connection RJ45 modular jack Comm Protocol Modbus TCP Data Transfer Rate Up to 100 Mbps MaxCommunicationDistance 100meters EvenResponseTime 5ms Data Stream Rate 50 ms to 7 days 1 3 3 Serial Communication RS 485 signals DATA DATA Mode Halfduplex multi drop Connector Screwterminal Transmission Speed Up to 115 2 Kbps 11 ...

Page 13: ...e and power reversal 1 3 5 Isolation EthernetCommunication 1500VDC I OModule 3000VDC 1 3 6 Environment z Operating Temperature 10 70 14 158 z Storage Temperature 25 85 13 185 z Humidity 5 95 non condensing z Atmosphere No corrosive gases NOTE Equipment will operate below 30 humidity However static electricity problems occur much 12 ...

Page 14: ...you touch the equipment Consider using ground straps anti static floor coverings etc if you use the equipment in low humidity environments 1 3 7 Dimensions The following diagrams show the dimensions of the system unit and an I O unit All dimensions are inmillimeters Figure 1 2 RemoDAQ 9X20 system I O module dimensions 13 ...

Page 15: ...l 1 3 8 Basic Function Block Diagram Figure 1 3 Function block diagram 1 4 LED Status of RemoDAQ 9X20 main unit There are eight LEDs on the RemoDAQ 9X20 front panel The LEDs indicate RemoDAQ 9X20 s system status as explained below 14 ...

Page 16: ... RemoDAQ 9X20 system is powered on 3 Run Green indicator This LED is regularly blinks whenever the RemoDAQ 9X20 system is running 4 Link Green Indicator This LED is normal on whenever the RemoDAQ 9X20 s Ethernet wiring is connected 5 Tx Green indicator This LED is designed for the spare function COM port transit indicator in the future 6 Rx Green indicator This LED is designed for the 15 ...

Page 17: ...s 9 Rx RJ 45 Green indicator This LED blinks whenever the RemoDAQ 9X20 transmitting data to Ethernet 10 Tx RJ 45 Yellowindicator ThisLED blinks whenevertheRemoDAQ 9X20 receiving data from Ethernet 2Choose Hardware Components 2 1 Selecting I O Module To organize a RemoDAQ 9X20 data acquisition control system you need to select I O modules to interface the main unit with field devices or processes t...

Page 18: ...an entire process How many RemoDAQ 9X20 main units are required for distributed I O points arrangement What is the required voltage range for each I O module What isolation environment is required for each I O module What are the noise and distance limitations for each I O module Refer to table 2 1 I O as module selection guidelines Choose this type of I O module For these types of field devices o...

Page 19: ... OFF or OPENED CLOSED signals Discrete signals can be either ac or dc Discrete output module and block I O module Alarms control relays fans lights horns valves motor starters solenoids Output module signals interface with ON OFF or OPENED CLOSED devices Discrete signals can be either ac or dc Analog input module Thermocouple signals RTD signals temperature transducers pressure transducers load ce...

Page 20: ...rs electric motor drives analog meters Interpret RemoDAQ 9X20 output to analog signals generally through transducers for field devices Table 2 1 I O Selection Guidelines GEMOTECH provides 15 types of RemoDAQ 9000 I O modules for various applications so far The figure 2 1 and table 2 2 will help you to slect the RemoDAQ 9000 I O modules quickly and easily 19 ...

Page 21: ...RemoDAQ 9X20 Series User s Manual Figure 2 1 RemoDAQ 9000 I O Module Selection Chart 20 ...

Page 22: ...RemoDAQ 9X20 Series User s Manual 21 ...

Page 23: ...RemoDAQ 9X20 Series User s Manual 22 ...

Page 24: ...s for selecting a power supply for your RemoDAQ 9X20system Pleaserefer to table 2 3 to check the power consumption of RemoDAQ 9X20 main unit and each I O modules Main Unit Description Power Consu mption 9410 Distributed Data Acquisition and Control System based on RS 485 1 0W 9810 Distributed Data Acquisition and Control System based on RS 485 4 0W 9X20 Distributed Data Acquisition and Control Sys...

Page 25: ...Input Module mV mA or High Volrag 2 2W 9018 7 Channel Thermocouple Input Module mV mA Thermocouple 0 63W 9024 4 Channel Analog Output Module V mA 2 9W 9050 16 Channel Universal DIO 1 2W 9051 16 Channel Digital Input Module 0 53W 9051D 16 Channel Digital Input W LED Module 0 84W 9051S 16 Channel Isolated Digital Input W LED Module 0 8W 9052 8 Channel Isolated DI 0 27W 9055S 16 Channel Isolated Digi...

Page 26: ...el Power Relay Output Module 4 of Form A 4 of Form C 2 2W 9080 4 Channel Counter Frequency Input Module 1 5W 9090 4 Port RS 232 Module 0 6W Table 2 3 Power Consumption of RemoDAQ 9000 series Calculate the Summary of the whole system s power consumption For example there are following items in your system RemoDAQ 9X20 3 RemoDAQ 9024 4 RemoDAQ 9017 6 RemoDAQ 9068 5 RemoDAQ 9050 5 Remo DAQ 9080 4 The...

Page 27: ...o connect the Ethernet port of the RemoDAQ 9X20 to the Hub The cable for connection should be Category 3 for 10Mbps data rate or Category 5 for 100Mbps data rate UTP STP cable which is compliant with EIA TIA 586 specifications Maximum length between the Hub and any RemoDAQ 9X20 is up to 100 meters approx 300 ft 26 ...

Page 28: ... Pin Assignment Serial Network The system uses screw terminal for RS 485 twisted pair connection as a data gateway between Ethernet Sever and serial Modbus devices See Figure 2 3 The following information must be considered 1 Twisted pair wire compliant with EIA 422 or EIA 485 standards which contains 24 AWG thin copper conductor with copper mesh and aluminum foil for shielding 2 Always use a cont...

Page 29: ...res to attain needed length 3 Use the shortest possible wire length 4 Use the wire trays for routing where possible 5 Avoid running wires near high energy wiring 6 To reduce electrical noise it should be twisted as tightly as possible 28 ...

Page 30: ... you want to configure your RemoDAQ 9X20 system or monitor current status GEMOTECH offers free charge software z þ RemoDAQ 9X20Windows Utility If you want to integrate RemoDAQ 9X20 with HMI Human Machine Interface software in a SCADA Supervisory Control and Data Acquisition system there are a lot of HMI software packages which support Modbus TCP driver With these ready to go application software p...

Page 31: ...board of the module with the grooves on the top and bottom of the system Push the module straight into the system until it is firmly seated in the back plane connector see figure 3 1 Once the module is inserted into the system push in the retaining clips located at the top and bottom of the module to firmly secure the module to the system see figure 3 2 30 ...

Page 32: ...RemoDAQ 9X20 Series User s Manual Figure 3 1 Module alignment and installation 31 ...

Page 33: ...ecure the module to the system 3 2 Mounting The RemoDAQ 9X20 system can be installed on a panel or on a DIN rail 3 2 1 Panel mounting Mount the system on the panel horizontally to provide proper ventilation You cannot mount the system vertically 32 ...

Page 34: ...ual upside down or on a flat horizontal surface A standard 7 tatting screw 4 mm diameter should be used Figure 3 3 RemoDAQ 9X20 panel mounting screw placement 3 2 2 DIN rail mounting The system can also be secured to the cabinet 33 ...

Page 35: ...izes the possibility of accidentally pulling the wiring loose If you examine the bottom of the system you will notice two small retaining clips To secure the system to a DIN rail place the system on to the rail and gently push up on the retaining clips see figure 3 5 The clips lock the system on the rail To remove the system pull down on the retaining clips lift up on the base slightly and pull it...

Page 36: ... 9X20 Series User s Manual Figure 3 5 Secure RemoDAQ 9X20 System to a DIN rail 3 3 Wiring and Connections This section provides basic information on wiring the power supply I O units and network connection 35 ...

Page 37: ...ed 24 VDC power supply they accept any power unit that supplies within the range of 10 to 30 VDC The power supply ripple must be limited to 200 mV peak to peak and the immediate ripple voltage should be maintained between 10 and 30 VDC Screw terminals Vs and GND are for power supply wiring Note The wires used should be sized at least 2 mm 36 ...

Page 38: ... I O modules wiring The system uses a plug in screw terminal block for the interface between I O modules and field devices The following information must be considered when connecting electrical devices to I O modules 1 The terminal block accepts wires from 0 5 mm to 2 5 mm 37 ...

Page 39: ...mbine wires to make them longer 3 Use the shortest possible wire length 4 Use wire trays for routing where possible 5 Avoid running wires near high energy wiring 6 Avoid running input wiring in close proximity to output wiring where possible 7 Avoid creating sharp bends in the wires 38 ...

Page 40: ...RemoDAQ 9X20 Series User s Manual Figure 3 7 RemoDAQ 9X20 I O Module Terminal Block wiring 3 3 3 System Network Connections Ethnet Network 39 ...

Page 41: ...nitor and integrate into the SCADA system The figure 3 8 is a guideline to complete the system network connection Figure 3 8 System network connection Serial Network Working as an Ethernet Data Gateway the RemoDAQ 9X20 provides an RS 485 interface to integrate serial devices for various applications Adopting by Modbus 40 ...

Page 42: ...ers can extend their system scope by integrating up to 32 nodes of RemoDAQ 9821 or other Modbus products such as meters card readers loadcell and so on Figure 3 9 Serial Network Connection Note The address of RemoDAQ 9X20 on the RS 485 network will be always node 1 Any Modbus devices integrated in this network should be addressed from node 2 to 33 41 ...

Page 43: ...s Basing on Modbus standard the addresses of the I O modules you place into the RemoDAQ 9X20 system are defined by a simple rule Please refer the figures 3 9 to map the I O address Figure 3 10 I O Modules Address Mapping For example if there is a RemoDAQ 9024 4 channel 42 ...

Page 44: ...0003 40005 and40007 4 I O Modules This manual introduces the detail specifications functions and application wiring of each RemoDAQ 9000 I O modules To organize a RemoDAQ 9X10 series and RemoDAQ 9X20 Series Controller you need to select I O modules to interface the main unit with field devices or processes that you have previously determined GEMOTECH provides 20 types of RemoDAQ 9000 I O modules f...

Page 45: ...grated and collected this information Module Name Specification Note Isolated RemoDAQ 9033 3 ch RTD input RemoDAQ 9017 8 ch AI Isolated RemoDAQ 9017H 8 ch High speed AI Isolated RemoDAQ 9018 7 ch Thermocouple input Isolated Analog I O RemoDAQ 9024 4 ch AO Isolated RemoDAQ 9050 7 ch D I O Non isolated RemoDAQ 9051 16 ch DI Non isolated Digital I O RemoDAQ 9051D 16 ch DI W LED Non isolated 44 ...

Page 46: ...lated Counter Frenquency RemoDAQ 9080 4 ch Counter Frequency Serial I O RemoDAQ 9090 4 port RS232 Non isolated Table 4 1 I O Module Support List 5 System Hardware Configuration This chapter explains how to use Windows Utility to configure the RemoDAQ 9X20 system for various applications Users can learn the hardware connection software installation communication setting and every procedure for syst...

Page 47: ...guration System Requirement Host computer IBMPCcompatiblecomputerwithPentiumⅢ CPU above Microsoft 2000 NT 4 0 SP3 or SP4 or higher versions At least 256 MB RAM 20 MB of hard disk space available VGAcolor monitor 2x or higher speed CD ROM Mouse or other pointing devices 10 or 100 Mbps Ethernet Card 10 or 100 Mbps Ethernet Hub Two Ethernet Cable with RJ 45 connector 46 ...

Page 48: ...5 1 Hardware Configuration 5 2 Install Utility Software on Host PC RemoDAQ 9X20 Systems come packaged with a Utility CD containing RemoDAQ series Utilities as system configuration tool 5 3 RemoDAQ 9X20 Windows Utility Overview The Windows Utility offers a graphical interface that helps you configure the RemoDAQ 9X20 main unit and I O modules It is also very convenient to test and monitor 47 ...

Page 49: ... Main Menu Ethernet Network Setting Adding Remote Station I O Module Configuration Alarm Setting I O Module Calibration Firmware Update Security Setting Terminal emulation Data Stream RS 485 Modbus Network Setting 5 3 1 Main Menu Double Click the icon of RemoDAQ 9X20 Windows Utility shortcut the Operation screen will pop up as Figure 5 2 48 ...

Page 50: ...ual Figure 5 2 operation Screen The top of the operation screen consists of a function menu and a tool bar for user s commonly operating functions Function menu Item File contents Exit Function using to exit this Utility program 49 ...

Page 51: ...AQ 9X20 units in the specific Ethernet domination the same with host PC s Ethernet domination Refresh 5000 TCP RefreshthespecificRemoDAQ 9X20 unittoverify the system status Terminal Call up the operation screen of Terminal emulation to do the request response command execution Monitor Data Stream Call up the monitoring screen of stream data from specific RemoDAQ 9X20 Ping Ping special IP to verify...

Page 52: ...anual Item Help contents information about software version released date etc Tool Bar There are four push buttons in the tool bar First is device search Second is single step debug Third is Ping connection test Fourth is about 51 ...

Page 53: ...his Windows Utility itwill search all RemoDAQ 9X20 on the host PC s domination Ethernet network automatically Then the tree structure display area will appeal with the searched units and the relative IP address Figure 5 4 Network Setting See Figure 5 4 there are also Host PC s information in 52 ...

Page 54: ...ction test tool for user to verify whether the communication is workable Key in the specific IP address you want to connect and click the PING button the testing result will show as Figure 5 5 Figure 5 5 Communication testing function Since Utility software detects the RemoDAQ 9X20 on the network user can begin to setup each RemoDAQ 9X20 53 ...

Page 55: ...ps Step1 Click the Network tip to configure the TCP IP network setting Figure 5 7 TCP IP Network setting MAC Address This is also called Ethernet address and needs no further configuration IP Address Subnet Mask Default Gateway The IP address identifies your RemoDAQ 9X20 54 ...

Page 56: ...nly the IP address and Subnet Mask will need to set host PC and RemoDAQ 9X20 must belong to same subnet Mask If you want to configure the RemoDAQ 9X20 via Internet or other network domination you have to ask your network administrator to obtain a specific IP and Gateway addresses then configure each RemoDAQ 9X20 with the individual setting 5 3 3 I O Module Canfiguration Digital Input Output Module...

Page 57: ...n Standard Modbus address Windows Utility shows the Modbus mapping address of each I O channel Please refer to chapter 3 5 Assigning address for I O Modules And the addresses will be the indexes for applying into the database of HMI or OPC Server Type Data Type of the I O channel The data type of Digital I O modules is always Bit 56 ...

Page 58: ...cribes the channel numbers and I O types of the specificmodule In addition to monitor the current DI DO status the Windows Utility offers a graphical operating interface as figure 5 10 You can read the Digital input status through the change of the indicator icons Oppositely you can write the digital output status through clicking the indicator icons 57 ...

Page 59: ...s Manual Figure 5 10 Operating and Indicating Icons Note 1 The indicator icons are only available to click for digital outputchannel 2 The hexadecimal code will be calculated automatically for any status Analog Input Module 58 ...

Page 60: ...ion from the Utility Figure 5 11 Current Analog Input Status Location Standard Modbus address Refer to chapter 3 5 Assigning address for I O module Type Data type of the I O channel The data type of analog Input modules is always word Value The current status on each channel of I O modules Windows Utility provides both decimal and hexadecimal 59 ...

Page 61: ...hen the input data will be scaled as the specified range with engineer unit Figure 5 12 setting range and integration time Note Windows Utility allows user to Enable Disable the current status display Analog Output Module Selecting a RemoDAQ 9024 Analog Output Module users can certainly read the information about location type value and Description Actually RemoDAQ 9024 is designed with four diffe...

Page 62: ...ck the value immediately to guarantee a correct analog output signal Figure 5 13 Analog Module Configuration Screen Note Initial Setting function Adjust a initial output value you want to set to the specified channel and click the set as initial button the channel will output the same value each time when system is initial 61 ...

Page 63: ... satisfy the needs of various applications RemoDAQ 9X20 system provides Alarm setting function for Analog Input and Counter Module Users can set High Low limit value to identify the alarm status and trig ger a digital output as an event handling function 62 ...

Page 64: ...e alarm signal will be sent only once Latch When the input value is over or under the High Low limit the alarm signal will be latched till clicking the Clear Latch button Note The alarm types of RemoDAQ 9080 include Disable and Latch only 5 3 5 Security Setting Though the technology of Ethernet discovered with great benefits in speed and integration there also exist risk about network invading for...

Page 65: ...tant system configurations Network Firmware Password are only allowed to be changed by password verification Figure 5 22 Password Setting Note The default password of RemoDAQ 9X20 is 00000000 Please make sure to keep the correct password by yourself If you lose it please contact to GEMOTECH s technical support 64 ...

Page 66: ...icking the Terminal button on the tool bar There are two kinds of command format supported by this emulating function Users can choose ASCII or Hexadecimal mode as their communication base If the ASCII mode has been selected the Windows Utility will translate the request and response string both in Modbus and ASCII format 65 ...

Page 67: ... 23 Command Emulation 5 3 7 Data Gateway Setting RemoDAQ 9X20 is designed with an RS 485 Modbus Interface As a Data Gateway it integrates serial Modbus devices into Ethernet application easily Click the tip of RS 485 Modbus to configure the 66 ...

Page 68: ...steps Figure 5 26 RS 485 Modbus Network Setting 1 Define the parameter of the network includes Parity stop bit Baud Rate 300 115200bps and Timeout 2 Click the Apply button the password verification dialog block will pop up 3 Key in your specific password and click OK the 67 ...

Page 69: ... a certain amount of time for the system to respond If no response arrives a timeout aborts the sequence and returns control to the host This chapter explains the structure of the commands with Modbus TCP protocol and guides to use these command sets to implement user s programs 6 1 1 Command Structure It is important to understand the encapsulation of a Modbus request or response carried on the M...

Page 70: ...et device and requested action Following example will help you to realize this structure quickly Example If you want to read the value of RemoDAQ 9017 in RemoDAQ 9X20 s slot 0 The second channel Address 40001 40002 the request command should be Figure 6 1 Request Command Structure And the response should be 69 ...

Page 71: ...there is a series of function code standard for user s reference Code Hex Name Usage 01 Read Coil Status Read Discrete Output Bit 02 Read Input Status Read Discrete Input Bit 03 Read Holding Registers 04 Read Input Registers Read 16 bit register Used to read integer or floating point process data 05 Force Single Coil Write data to force coil ON OFF 70 ...

Page 72: ... Preset Multiple Registers Write multiple data in 16 bit integer format Table 6 1 Response Comment Structure Function Code 01 The function code 01 is used to read the discrete output s ON OFF status of RemoDAQ 9X20 in a binary data format Request message format for function code 01 Command Body Station Address Function Start Address High Byte Start Address Low Byte Requested Numberof Coil High Cod...

Page 73: ... and 7 are on all others are off 01010142 In the response the status of coils 1 to 8 is shown as the byte value 42 hex equal to 0100 0010 binary Function Code 02 The function code 02 is used to read the discrete input s ON OFF status of RemoDAQ 9X20 in a binary data format Request message format for function code 02 Command Body Station Address Function Start Address High Byte Start Address Low By...

Page 74: ...tation Address Function Data Data Byte Code Count Example Input number 2 and 3 are on all others are off 01010160 In the response the status of input 1 to 8 is shown as the byte value 60 hex whichequal to 0110 0000 binary Function Code 03 04 The function code 03 or 04 is used to read the binary contents of input registers Request message format for function code 03 or 04 Command Body 73 ...

Page 75: ...ting point value from RemoDAQ 9X20 010400010004 Response message format for function code 03 or 04 Command Body Station Address Function Data Data Byte Code Count Example Analog input 1 and 2 as floating point values where AI 1 100 0andAI 2 55 32 01040842C8000047AE425D Function Code 05 Force a single coil to either ON or OFF The requested ON OFF state is specified by a constant in the query data f...

Page 76: ...oil Address High Byte Coil Address Low Byte Force Force Data DataHigh Byte Low Byte Example Force coil 3 address 00003 ON in EMODAQ 9X20 01050003FF00 Response message format for function code 05 The normal response is an echo of the query returned after the coil state has been forced Command Body Station Address Function Code Coil Address High Byte Coil Address Low Byte Force Force Data Data High ...

Page 77: ...te Register Address Low Byte Preset Preset Data Data High Byte Low Byte Example Preset register 40002 to 40004 hex in RemoDAQ 9X20 010600020004 Response message format for function code 06 The normal response is an echo of the query returned after the coil state has been preset Command Body Station Address Function Code Register Address High Register Address Low Preset Preset DataHigh Byte Data Lo...

Page 78: ...quest message format for function code 08 Command Body Station Address Function Code Any data length limited to approximately half the length of the data buffer Response message format for function code 08 Command Body Station Address Function Code Data bytes received Example 010800020004 Function Code 15 0F hex Forces each coil in a sequence of coils to either ON or OFF 77 ...

Page 79: ...yte Force Data High Byte Force Data Low Byte Byte Count Example Request to force a series of 10 coils starting at address 00020 14hex inRemoDAQ 9X20 010F0014000A02CD01 The query data contents are two bytes CD 01 hex equal to 1100 1101 0000 0001 binary The binary bits are mapped to the addresses in the following way Bit 1 1 0 0 1 1 0 1 0 0 0 0 0 0 0 1 Address 000XX 27 26 25 24 23 2221 20 2928 Respo...

Page 80: ...ested Number Requested Number of Coil Low Byte Address High Byte Address Low Byte of Coil High Byte Example 010F0014000A Function Code 16 10 hex Preset values into a sequence of holding registers Request message format for function code 16 Command Body Station Address Function Code Start Address High Byte Start Address Low Byte Byte Requested Number of Register Requested Number of Register Count D...

Page 81: ...se message format for function code 16 The normal responses return the station address function code start address and requested number of registers preset Command Body Station Address Function Code Requested Numberof Register High Byte Requested Numberof Register Low Byte Start Address High Byte Start Addres s Low Byte Example 011000090002 80 ...

Reviews: