You are on page 1of 34
28/06/2022 14:26 ETH-MODBUSIOBR-A | AMSAMOTION AMSAMOTION Q ETH-MODBUS-IO8R-A March 1, 2022 by Jason ETH-MODBUS-IO8R-A Data Acquisition Module User Manual Product Overview Product Introduction ETH-MODBUS-IO8R-A module i a multi-function serial port server. In addition to the on-off data acquisition and control, analog data acquisition and output channels, R145 interface is added to make it work on Modbus RTU function for serial communication, by increasing the conversion of Modbus TCP protocol communication with the network interface equipment, the equipment with RS485. interface can be connected to TCP/IP network through the two-way transparent transmission between RS48S serial port and Ethernet At the same time, 2 independent RS48S5 serial ports extend 1 physical communication links, More support dial code set serial port baud rate, station number, “six in one” RTU from Modbus station and other practical functions is an economic stability, powerful products. Features + &-way photoelectric isolation digital input, 8-way relay digital outpuc (corresponding to the number of status indicator) + G-way 12-bit analog input, 1-way 12-bit analog output + 2-way 485 interface, 1-way OB9 master, /-way terminal, independent use ‘R145 port, 10/100 Mbps Ethernet communication + With baud rate station number dial switch, easy to set module parameters + Itsupports Modbus TC®, Modbus RTU and TCP protocol, and also supports 4 Modbus TCP connections ‘The system has builtin Modbus TCP to Modbus RTU, Modbus RTU to Modbus TCP; it can be used a5 TCP network server or client ‘= Ie-supports converting up to 6 Modbus RTU slave stations and this module into 1 Modbus TCP server control corresponding to the number of configuration points + The special upper computer can set the module parameters to be saved permanently + The power supply circuit adopts ant-reverse connection design + Itis widely used in signal acquisition and control of industrial field equipment Application Scenarios ‘The ETH-MODBUS-1O8R-A module has a wide range of applications, such as: PLC Control, industrial automation, building automation, POS system, power monitoring, access control medical, attendance system, self-service banking system, telecom room monitoring, information appliances, LED information display equipment, measuring instruments and environmental power monitoring system, rice seling system and other equipment or systems containing RS4B5 serial port. High Definition Oscitoscope Product specification Product parameters Input Interface (1) Number of input points 8 hitps:wwn.amsamotionstore/2022/03/eth-modbus-for-a.himl 18 2810612022 14:26 Input signal ype Output capacity Insulation Loop Output Interface (00) ‘Number of output points Output type Contact capacity Insulation Loop Analog input (AD) Number of input points Input ype Conversion accuracy Analog quantity output (AO) Number of output points Output rye Conversion accuracy incertae type Baud rate Communication format Communication mode Address Range Transmission distance ‘coMarRS485 communication parameter) Interface type Baud rate Communication format Communication mode Address Range Transmission distance Network communication parameter ETH-MODBUSIOBR-A | AMSAMOTION Switch contact signal or level signal 20 Optocoupler isolation 8 Relay output, normally open contacts 30VDC/SA 250VAC/5a Mechanical insulation 6 3-channelO ~ 10v; 3-channel 0 ~ 20ma 12bits 0 ~ 10V or0~ 20ma optional, stand-alone terminal abit S485, terminal 4809 ~ 115200(configurable) Default 8-bit data, T-bit stop, no check (configurable) 1) Modbus TCP to Modbus RTU 2) Modbus RTU: ‘This module is accessed by Modbus RTU main station according to the station number of this module For the other station, the function is Modbus RTU (main station) to Modbus TCP (server) 3) Te 1-254 1,200 meters S485, DB9 Master: 3 lines (A =), 8 lines (8); lines (ground) 4800 ~ 115200(ex-factory 9600, baud rate dal switch configuration) Default 8-bit data, T-bit stop, no check (configurable) 1) Modbus TCP to Modbus RTU 2) Modbus RTU: This module is accessed by Modbus RTU main station only 3) TCP transmission 4) Modbus RTU master station 1254 1,200 meters hitps:wwn.amsamotionstore/2022/03/eth-modbus-ior-a.himl 2138 2806/2022 14:26 Interface form Network ype IP address Communication Protocol Rate Power parameter Operating votage Power consumption Working Environment Operating Temperature Storage temperature Installation mode Dimensions Terminal Wiring ETH-MODBUSIOBR-A | AMSAMOTION Ruas Local area network 192.168.1.12{configurable) Modbus TCP, TeP/1P 10/100mbps; fll duplex adaptive DC 24V; with anti-reverse protection 2w ~ aw -20°C + 70°C =40"C~ + 85°C Guide ral 125MM (length) * 80MM (wicth) * SOMM (height), wihichever is the material COM2 Port (DB9 female header) pin definition hitps:twwn.amsamation store/2022/03/eth-modbus YSr-a.himl 3134 28/06/2022 14:26 ETH-MODBUS-IO8R-A | AMSAMOTION 5@@@8 @1 9@ @ @ @6 1 Ne 2 eno 3 A 4 Ne 5 no 6 Ne 7 Ne 8 8 8 Ne Input signal description ‘The input signal supports positive/high or negative/low access. When the input is postiverhigh, the common terminal is connected to the negative pole of the power supply, and the input terminal is connected to the corresponding input signal. When the input is negative or active low, the common terminal is connected to the positive pole of the power supply, and the input ‘terminalis connected to the corresponding input signal 3 Port and register address description Correspondence table of TCP link port function of ETH-MODBUS-IO8R-A Maximum IP por support uncon humberaf Detaled description number connections 5021, MODBUSTCP function 2 +) Wren MODBUS TC? message address = module adress it covesponds to 2. mobBus Ter to MODBUS TCP function MODUS RTU inction 2) When the MODBUS TCP message adress=(2-254) and does not confit tcarresponding to COM wih the module adress, it comesponds fo the MODBUS TC to MODBUS ATU at this time) function 3) The port supports three types of connection methods when connected in hitps:wwn.amsamotionstore/2022/03/eth-modbus-ir-a.himl 408 28/06/2022 14:26 41, MODBUS TCP function 2, MODBUS TCP te MODBUS RTU function (this corresponds to coma) 3, TCP pass-through function (this time corresponds to COM2) 9802 41, MODBUS TCP function 2, MODBUS TCP to MODBUS RTU function (this corresponds to coma) 3, TCP pass-through function (this time corresponds to COM") 9503 1, MODBUS TCP Control $502 pdulislave ETH-MODBUSIOBR-A | AMSAMOTION ‘wo ways ‘A. Two channels correspond to MODBUS TCP function or MODBUS TCP to MODBUS RTU function at the same time 8, t-way link corresponds to MODBUS TCP, 1-way link is to MODBUS TCP to MODBUS TU function (specifically determined by the station number of the slave station in the message). 1) When MODBUS TCP message address = module address it corresponds to MODBUS TCP function. 2) When the MODBUS TCP message address=(2~254) and there is no conflict with the module address, the corresponding COM2 port MODBUS TCP to MODBUS RTU function 3) When configuring serial port 2 as the transparent transmission function, the ‘TCP connection of this port realizes transparent transmission of TCP data to coma, 1) When MODBUS TCP message address = module address, it corresponds to MODBUS TCP function. 2) When the MODUS TCP message address=(2~254) and there is na conflict with the module address, the corresponding COM2 port MODBUS TCP to MODBUS RTU function 3) When configuring serial port 1 as the tansparent transmission function, the ‘TCP connection of this port realizes transparent transmission of TCP data to com 1) When the COM2 port mode is "MODBUS master’, up to 6 MODBUS RTU slaves and this module can be converted into 1 MODBUS TCP server control corresponding to the 10, hold/input register points configured on their web pages 3.1 ETH-MODBUS-IO8R-A Serial Port Function Correspondence Table Serial port function description suppor Maximum Function Port number of 1, MopBus TCP to Mopsus TU function 2 1) MoDBUS OMT TU function 2 2) MopBUS RTUto Mopsus TCP function 3, TCP pass through come 1, mopBUS 1 TCP to Mopsus TU function 2, MODBUS TU function 3, TCP pass through 4, MODBUS Detailed Description When the host computer configures COM! for TCP to RTU function, COM! can be connected to other MODBUS RTU slave stations; realize Ethernet control of other MODUS RTU slave ‘modules (corresponding to port $02 of TCP connection) ‘When the host computer configures COMI for RTU function: 1) When the received station number isthe same as this module, other MODBUS RTU masters can access this device vie MODBUS RTU protocol 2) When the received station number does not correspond to this module, other MODBUS TU masters can access the MODBUS TCP server device via this module When COM is configured for the pass-through function, COM? achieves data pass-through with the TCP connection on port 9503 (corresponding to port 9508 of the TCP connection), 1, When the host computer configures COM? for TCP to RTU function, COM? can be connected to othet MODBUS RTU slaves; to achieve Ethernet control of ether MODBUS RTU slave modules (corresponding to TCP connection of port 9502/9503), 2, When the host computer configures COM2 for RTU function, other MODBUS RTU masters can access the device via MODBUS RTU protocol 3, When COM? is configured for the pass-through function, the TCP connection between COM? and port 9502 is used for data pass-through (corresponding to TCP connection of port 9502) When configuring the MODBUS master function, COM2 can convert up to 6 MODBUS RTU hitps:wwn.amsamotionstore/2022/03/eth-modbus-ior-a.himl 5138 28/06/2022 14:26 ETH-MODBUSIOBR-A | AMSAMOTION TCP control slaves with this module to 1 MODBUS TCP server control corresponding to the number of 10 multiple slave and holding/input register points configured in their web pages via port $502. (corresponds stations to TCP connection port $502) Serial port and port number function correspondence pon MODBUSRTU MODBUS master to MODBUS TCP to MoDBUS RTU TCP to serial port pass Slave MoDBUS TCP MODBUS RTU toMODBUS TCP through OMT Support Not supported 02 Support (web setting) 9503, cOM2 Support 5802 Port 9502, 9503 Not supported 9502 3.3 Port data buffer length description Receive data Maximum Receive data Maximum Receive data Maximum Receive data Maximum Number of allowable length allowable length allowable length allowable length slave stations com st sia 240 240 come st si 240 240 6 1p 52 si2 si2 si2 3.4 Digital input and output addresses Name PLC Corresponding address MODBUS Corresponding address Support Function Code Input Channel? 10001 x00 ox02 Input Channel2 10002 x01 on02 Input Channel 10003 0x02 ox02 Input Channel4 10004 0x03 on02 Input Channel § 10005 ox0a ox02 Input Channelé 10006 0x05, x02 Input Channel? 10007 0x06 ox02 Input Channel8 10008 x07 0x02 Output channel 00001 x00 0401 0x05 OOF Outout channel 200002 ox0t 0101 0x05 OOF Output channel 300003 x02 0x01 0x05 OOF Output channel 4 00004 x03 0101 0x05 OF Output channel 00005 0x08 0101 0x08 OOF Output channel 6 00008 ox0s, 0101 0x05 OOF Output channel? 00007 0x06 0301 0305 0x0F Output channel 8 00008 07 0101 0x05 OF hitps:wwn.amsamotionstore/2022/03/eth-modbus-ior-a.himl 28/06/2022 14:26 3.5 Input register address Name PLC MODBUS Corresponding address Analog input channels (V1) 30001 Analog input channels 2(V2) 30002 Analog input channels (V3) 30003 Analog input channels a1) 30004 Analog input channels 512) 30005 Analog input channels 613) 30005 3.6 Holding register address Name PLC Corresponding MODBUS Corresponding address addresstbit) Reserved 40001-40006 0x00-0%05 Analog 40007 0x08 output Reserved 40008 x07 ETH-MODBUSIOBR-A | AMSAMOTION MODBUS Corresponding address Support Function Code 0x00 x01 0x02 0x03 0x04 0x05, Default value (decimal) 3.7 System parameters (modified by the host computer) Name Reserved Reserved Local address configuration COM Communication parameter configuration Frame end time Discrete input display mode Switching Reserved Reserved Bus mode Local IP segment 1 Local IP segment 2 Local MAcI Local MAC Local MAC3 COME communication parameters Configuration of each serial port mode Note: The module should be powered off and restarted after modifying the holding register parameters, hitps:wwn.amsamotionstore/2022/03/eth-modbus-ior-a.himl MODBUS Corresponding address(bit) x00 0x01 oxo 0x03 oxo4 0x05 006 0x07 0x08 0x09 Oxon 0x08 oxoc oxoD x0 oxi0 x04 x08 oxo 0x04 x04 0x04 ‘Support Function Code x03 0x03 0106 x03 Default value (decimal) 100 1 1 9600.18, NONE ° ° ° ° 401 192.168 ane 255.255 255.255 255.255 9600,18,NONE ° 7138 2aposa022 14:26 ETH-MODBUS-IO8R-A | AMSAMOTION 4 Product Features 4.1 MODBUS TCP function The MODAUS TCP function is accessed when the MODUS TCP message address is the module address, ie, MODBUS TCP function Category Parameter details Description TCP server IP 192.168.1.12 This IP is the default value, refer to section 5.2.2 or 5.3.2 to set other IPs TcP server port $02, 9502, 9503 Fixed port Module Address 1126 Factory module station number 1, settable range 1~126, refer to section 5.23 4.2 MODBUS TCP to MODBUS RTU function Directly converts MODBUS TCP requests into MODBUS RTU requests and sends them to the slave via RS485 port then converts the corresponding slave reply data into MODBUS TCP messages and sends them to the host computer, see the following table for the relevant parameters Category Parameter detas Description com come TEP Sem S65 s69.442 too 60-.12 ‘Ths Ps the default value refer to section 522 oF 53.2 ° to setother P TePserer gop soa, 9508 TCP server port 502 9502, 9503 fied port where pot port 502 can support up to 2 uplinks Serial port * Serial port mode TCP to RTU TCP to RTU factory default Ter seaTU cP RTU mode ® * mode, can be set via section 4.7 or section 5.2.5 Mooaus ‘The MODAUS slave adress connected tothe RS48S RIUslove 2-254 2-258 port ofthe unit must bein the ange 2-254 and nat adress confit with the module address RS485 Default parameters Saud Default parameter: Baud sevial port rate: 9600, 8 bits data without rate:9600, 8 bits data without Refet to Section 5.24 or 5.3.4 to set other serial port parameters parity, 1 bit stop bit parity, 1 bit stop bit Parameters 4.3 MODBUS RTU to MODBUS TCP function COM port of this module supports conversion of MODBUS RTU messages to MODBUS TCP messages; it enables data conversion between MODBUS RTU master and MDOBUC TCP server. When the COM partis in “RTU" mode, the module automatically starts MODBUS TCP client function and automatically connects to the remote MODBUS TCP server set up via the web page. The relevant parameters are described in the following table Category Details comt Remote Sever 15) segs 494 The IP and port are the factory default parameters, refer to Section P 533 to set other remote server IP and port. Remote sener gag The IP and port are the factory default parameters, refer to Section port 5.33 to set other remote server IP and port, SerialPort ru Refer section 52.5 to set the serial port mode to RTU. Mode hitps:wwn.amsamotionstore/2022/03/eth-modbus-for-a.himl 8134 28/06/2022 14:26 THM S485 serial port parameters Default parameters: Baud rate: 9600, 8 bits data without party 1 bit stop bit 4.4 MODBUS RTU Functionality Both COM! and COM2 ports of this module support MODBUS RTU (ODBUS-IO8R-A | AMSAMOTION Refer to Section 5.2.4 Setting Other Serial Port Parameters function. When the COM1 or COM2 port isin *RTU" mode, the ‘module can be used as a MODBUS RTU slave device. The relevant parameters are described inthe following table Category Parameter details Description MoUs RTUSIave 1~ wae | ‘as MODBUS RTU mess MODBUS TCP, ie. the Serial aru Refer to Section 52.5 mode RS485 Default parameters: Baud serial port rate: 9600, 8 bits data Refer to Section 52.4 parameters without parity, 1 bit stop 4.5 MODBUS TCP Control Multi-Slave 45.1 Function description The COM2 port of this module supports MODBUS RTU master funct connected to COM? port and the number of 1O points of this modul \riting ofall slaves through 1 MODBUS TCP connection. The module register address isthe first ifthe module address is 2-7 rest of the registers of lover stations are fist. Category Parameter details Serial port number come TeP server iP 192,168.1.12 TCP server port 502 Module Adress Remaining MODBUS RTU a7 slave addresses Maximum number of MODBUS RTU slave 6 stations Serial mode MODBUS Master COM serial port parameters Default parameters: Baud rate: 9600, 8 bits data without parity, 1 bit stop bit 452 Function configuration hitps:wwn.amsamotionstore/2022/03/eth-modbus-ior-a.himl 1) The station number of this module can be set in section 5.23 2) When COMI port receives the same station number as this module, it will be treated sage; otherwise, MODBUS RTU message will be converted to function described in section 4.3 to set the serial port mode to RTU. Selting Other Serial Port Parameters ion, this function is used to convert up to 6 MODBUS RTU slaves le into 1 MODBUS TCP server, which can be used for reading and and the RTU station number “conflicts, it remains frst), and the Description This IP isthe default refer to section 522 or 53.2 to set another IP Fixed port Factory module station number 1, settable range 1~126, refer to section 5.23 Remaining MODBUS RTU slave addresses 27 This module is a MODBUS TCP server Refer to the section °S.3.4~ Turning en the master mode" for setting COM2 serial parameters should be modified according to section 5.24, all slave serial parameters should be the same 9134 2806/2022 14:26 ETH-MODBUSIOBR-A | AMSAMOTION [After setting COM2 mode to MODBUS RTU master (refer to section “5.3.4 Enabling master mode") and configuring the corresponding slave points on the web page (refer to section 5.3.4 - MODBUS TCP control multi-save communication configuration), the module's ‘COM2 will automatically start MODBUS RTU master timed scan. 145.3 Functional testing ‘After connecting the MODBUS RTU slave with the same serial parameters to the COM2 port of the module, you can use the special test tool “AMX ModbusTCP Test Too!” (version V1.0) provided by Amoxun for this function and perform the testi the folowing steps: ‘A Fill in the module address, the factory default IP of this module is 192.168.1.12 8 Fillin the port number 5502 (default, other functions can be changed when connecting) .Fillin the number of digital outputs, digital inputs, read-only registers and holding registers (according to the total number of 6 RTU slaves configured on the module P page, refer to section 5.3.4 MODBUS TCP control mult-slave communication configuration) D. Film the module address (1-126), the factory address of the module is 1 E Click the Set button F. Click on the button to start the 2nd MODBUS TCP (the color of the button changes to red after connection) 6G, Check the status values of 4 fields: digital input, col, input register and holding register, whether they correspond to the slave station aie Note: Selecting the fst MODBUS TCP connection for testing s also possible, bt note that the port number should be changed to 5502, When both MODBUS TC? connections are set, the number wll be added up, the address of the second connection willbe first. The holding register ofthis module does not support reading or writing on port $502 4.6 TCP to RS485 pass-through function The COM1 and COM2 ports of this module both support TCP pass-through function. When the COM1 or COM2 ports in "TCP pass- through’ mode, the TCP client data will be sent to the RS485 device connected to the module as s. The relevant parameters are described in the following table: Category Parameter Details Description comt coma ree serveri® | 192.160.1412 so0160.112 This isthe default value refer to section 5.22 or 53.2to set other IPs Iitps:twwn.amsamotion store/2022/03/eth-modbusio8r- 0134 28/06/2022 14:26 ETH-MODBUS-IOBR-A | AMSAMOTION TePsener 9803 oso2 Fred por seta von fer to Section 5.25 Sting the ater rep pssstough TeP passtnough serial port mode to TCP pass mode through 585 serial sa Default parameters Baud rate: 9600, 8 Default parameter: Baud ate 9600,8 Rete to Seton 524 Setting Other vor gre Saou pay, stop bt Bis dstawtout pany Tbislepb Sera Poe Parameters 4.7, Restore factory setting function by button When the module is powered on and the RUN light is flashing, press and hold the reset button about 5S) until the RUN light becomes normal and then release the button, the RUN light will be on for SS and then resume flashing, then power off the module fr atleast 35 and power on, the module will estore the factory parameters, as showin in the table below. Parameter Name Parameter Default Value IP address of the module 192.168.1.12 Module Address Factory 1, DIP2 dipswitch corresponds to station numbers 1~32, refer to section 523 Baud rate 9600, 8 bits of data, 1 it of stop bit, no parity Serial communication parameters The COM2 port baud rate is 9600 atthe factory, and the DIP1 dipswitch corresponds to the baud rate after use, refer to Section 62.4-COM2 baud rate setting, Serial port mode COM, COM2 serial modes are MODBUS TCP to MODBUS RTU Bus error mode The mode s bus error reset, the ime threshold for determining bus error is 2s Remote server IP aaddress:182.168.1.124, por: 8080 MODBUS TC? control Mult-slave The numberof coil components, discrete components read-only registers and read-write communication configuration registers of “Station 1~Station 6 on the mocile IP page is 0 5. Parameter configuration This section describes the configuration of the ETH-MODBUS-IOBR-A parameters, which can be configured by the user withthe ‘Amoxun MODBUS debugging tool (sometimes in combination with DIP dip switches) or the module's IP web page, in order to achieve the corresponding functional requirements. 5.1 Pre-configuration Connect the module and computer with 10/100Mips cable, connect the DC 24V external power supply to the module and power it on, ‘check whether the positive and negative poles of the power supply are connected correctly before powering it on, check whether the IP lof the computer and the module ae in the same LAN segment by pinging the IP address of the computer and the module ifthe ping is through, it ean be used normally if not, it can be handled as follows: case 1: Fits 1 use, the module has not changed the IP |A.When you use the module forthe fist time, the moclule IP isthe default address: 192, 168.1.12, open the computer network connection, check whether the IP of the local network cable corresponding to the module is in the same network segment with the ‘module IP, ifyes, please check whether the network cable is good, if nat in the same network segment, please refer to the next step 8 to deal with it Case 1: Fist time use, the module has not changed the IP |A. When you use the module forthe fist time, the module IP isthe default address: 192.168.1.12, open the computer network connection, check whether the IP of the local network cable corresponding to the module is in the same network segment with the hitps:wwn.amsamotionstore/2022/03/eth-modbus-ior-a.himl 18 2806/2022 14:26 ETH-MODBUSIOBR-A | AMSAMOTION ‘module IP, ifyes, please check whether the network cable is good, ifnot in the same network segment, please refer to the next step 8 to deal withit — = a Sele] Or iE Rae) nati aE _ ae 2 Sen RRO AEM TAD ANY HED Ce Eo me = are penne > i teas 708) ofl Sans sia co RinePoteKrs 8B. Refer to the following steps, set the network cable connecting the module to the computer to a fixed IP in the same network segment as the module. = 60- TD ma mma mm cy SHO) ele) SEU TEM AN) wm a = anne sranne c= Gores ‘ossaworon. 82 rel) Eerret Comecion @. nN Mio FFPOD) 02.80 US Wireless LAN Card 2a teenie 6 eel seb Seem e rere [Pv Boar aaeta EIR eaken mo Hem ee . 9 mT oe RIE Lea as HE ms EEO mH ws EW Ee: pana enmarn |||] neceitaREP eri BBBL ‘Cotman ase 2: The IP of the module has been changed! Hitps:twwn.amsamotion store/2022/03/eth-modbusio8r- a8 28/06/2022 14:26 ETH-MODBUSIOBR-A | AMSAMOTION {A Ifthe user remembers the module IP, please refer to operation B in case 1 and set the computer IP to be on the same network segment as the module 8. If you forget the module I, reset the module IP according to section 4.7, and t n refer to case 1 Configuration with “MODBUS debugging tool Debugging tool connection To use the MODBUS debugging tool (version V3.0) (configuration or debugging functions) lke any other host computer, you need to establish communication between the host computer and the module, please follow the steps below to connect the configuration took [AOpen the configuration tool and select “MODBUS TCP+" in the “Interface Type” fel B Select the corresponding product category (host model), the host is I8-Q8-AI6-AOt CFillin the module address (1~126), the factory address of this module is 1 in the IP address of the module, the default IP of the module is 192.168.1.12 Inthe port number 502 (connection 9502, 9503 port can not be used to configure the module parameters) F. Click the Start Sean button, after suecessful connection, the button text will change to Stop Scan and the color of the communication status icon on the right will change from black to red. Moalfy the local IP After filing inthe require IP address of the module in the “Ethernet Setting” area, click the “Set” button atthe same horizontal line, the RUN light wll be on for SS and then resume blinking, then power up the module after disconnecting it for at leat 35, the new IP setting wll take effect hitps:wwn.amsamotionstore/2022/03/eth-modbus-ior-a.himl 13934 2806/2022 14:26 ETH-MODBUS-IOBR-A | AMSAMOTION oe, \__- | aoe — a a ES) cys ~ a = aoaoen - EAN wee ME eset reneme | mm) SS" Note: Moding the prt umber ofthe madule not pred ‘Modify local address Set the station number from 1 to 32 ‘To modify the station number in the range of 1~32, you must adjust the status of the “Station Address" dip switch on the module, and note that when adjusting the dip switch status when the madule is powered on, the module must be powered off for at least 3S and ‘then powered on again to take effect. The following table shows the corresponding relationship (all dip codes ave OFF at the factory). DARHHEREIT HVE TH-MODBUS#RIG Se ee ee ee ee i OFF 1, peers ine L OFF Ree hitps:wwn.amsamotionstore/2022/03/eth-modbus-ior-a.himl 28/06/2022 14:26 ETH-MODBUSIOBR-A | AMSAMOTION Setting 33~126 station numbers ‘The highest station number that can be set for this medule is 126. When all states ofthe "Station Address” dipswiteh are ON (ie, the station number of the module is 32 before setting), you can set the station number between 33 and 126 for the module through the debugging tool. As shown in the figure below, aftr filing in the module address in the "Configure Slave Adress” area, clck the “Set” button at the same horizontal line on the right, and then power up the module after powering it off for at least 35, the newly set module address will tke effect, gGEa nH ane ‘a aw ‘ewe: pink: HE Modify COM port parameters COM port communication parameters description Serial por Stop Baud Rate Data bits Checksum bit umber bits 4800~115200 Only support upper 6 oF 7 bits (Only TCP arg None/Odd/fven (None isnot OMT computer setting transmission can set 7bits) "5? supported for 7 bits of data) 4800-115200 Only dipswiteh 8 or 7 bts (Only TCP None/Odd/Even (None isnot come wnse setting i supported transmission can set 7 bits) "5"? supported for 7 bits of data) COM2 baud rate setting The COMA baud rate is determined by the "baud rate” dip switch on the module, note that when the module is powered on to adjust effect. The specific the dip switch status, the module must be powered off for a least 3 seconds and then powered on agai relationship can be seen in the following table (all dialing codes are OFF at the factory). hitps:wwn.amsamotionstore/2022/03/eth-modbus-ior-a.himl 19134 28/06/2022 14:26 ETH-MODBUS-IOBR-A | AMSAMOTION BASSIST MCCOMAS ME ‘eee re [SN % F on | or [or [on OFF ai COM port parameter setting instructions (except COM2 baud rate) {As shown in the figure below, inthe “Ethernet to 48 configuration” area, select the communication parameters ofthe corresponding serial port from the drop-down lst Geral port 1 is COM1 port, serial port 2 is COM? pont), click the “Set” button at the same vertical ine position on the right the RUN light will be on for 5S and then resume blinking, then power up the module after powering it off for atleast 35, and the newly set serial port parameters will take effect. PES ‘Theseting af dota it ese the sel pat made tobe TC pass-hough ee section 5.25 fr eral pot mode sein. ‘Wen seing ei 7 te pay i does matsp na panty None) 525 Mesiy te sora por mode {As shown in the figure below, inthe “Serial port mode setting’ area, after selecting the corresponding serial port made from the drop down list (serial port 1is COM! port serial port 2 is COM2 por) click on the “Set” button at the same horizontal line below, the RUN light will be on for SS and then resume blinking, then power up the module after disconnecting it for at leat 3S, the newly set serial port mode will take effect hitps:wwn.amsamotionstore/2022/03/eth-modbus-ior-a.himl 16134 2arosi2022 14:26, ETH-MODBUS-IOBR-A | AMSAMO ane - SURE: sae eneenotin, 20 nome a =) ae — rect (mmm) SO8 es - (kal -MoDaUS master mode, stl port is potsuppone atthe ramen srl port 2 neds tobe ston he web page 526, Modify bus ertor mode ‘The bus error determination function is used te determine whether all output cols of the module wil remain inthe state the col off state after a bus error occurs in the communication connected to the module The module supports four ports of MODBUS TCP cient $02, 9502, 9503, 5502 and two MODBUS RTU masters of COM! and COM2 interfaces connected to the module. ‘The user can set the bus error mode (reset or hold) and bus error determination time (threshold) with the “Amoxun MODBUS debugging too!’ As shown in the figure below, in the "Mode configuration” area, you can check the box for bus error reset or bus error hold according to your needs, and fillin the value of bus error determination time thresheld (in 10m) (i.e the time when there is no connection betiveen the MODBUS TCP client or MODBUS RTU master and the module exceeds this value). lick on the “Set” button, the RUN lamp willbe on for 5S and then it ill link again, then the moclule will be powered off for at least 3S and then it will be powered fon, and the newly set bus error mode and determination time will ake effect 1 RENCON SEIN meaner = —— SEGRE: Spor anesnot lon. com same fous - ea De ccwsy - (mum J feemoat rent Mmmm) 52° 7"S* - Rel hitps:wwn.amsamotionstore/2022/03/eth-modbus-ior-a.himl 1138 2806/2022 14:26 ETH-MODBUSIOBR-A | AMSAMOTION ine factor or key rest the mode bus er rest the bus err judgment tive shld is 25 ‘hebusenorjudgnent Une esha set inthe range of 25-3276 andthe dal s 2 the aes ost of ange ‘he bus eorjudgent tine the dution ie whe the mee is comrected again within no cnnection tv the veg ment ime wl be courted rm eo Secnds after ‘the ner no connection ee, Since the MODBUS configuration tool has just started scanning within 6 seconds, it isn a faster frequency to get the current parameters of the module. I the user selects the parameters to be set at this time and does not click the corresponding setting button {5 soon as possible, itis easy to restore the parameters before setting, resulting in the need to repeat the operation. If you need to set more than one parameter before the module power off, you should set the next parameter after the RUN light, resumes flashing. ‘The above operations (except forthe operation of input \ export are all supported to power-down save, do not operate frequently to avoid damaging the module and causing abnormal work. 5.3, Web page configuration 5.3.1, Login module IP web page (Open the browser and enter the IP of the module (the default IP is 192.168.112), enter the login page, fillin the login account and login password “amx666", and click the login button to enter the parameter page of the module, as shown below. 6 C Ose fasten ] 1.45, teerPpabbeciEnteriatt A pian Des RRARKE ee (ames ) #89 Exe] — pos saan fee] mien fe] cutee [ER] hitps:twwn.amsamation store/2022/03/eth-modbus YSr-a.himl 19134 2806/2022 14:26 ETH-MODBUS-IOBR-A | AMSAMOTION = a CO & swzisarazpcginee’ Hy atet ARIPO SE AS Emacs: ree: ee: | Tp: a DARA: (IL ARNO: mMoDBUSSsx a H Note:The current parameters of the module are read only after clicking the Login button, 5.3.2, Module IP Setting [As shown in the figure below, inthe "IP Address” area of the parameter page, fillin the required IP address, andl then click the Save and Reboot button until the web page cannot be displayed, then power up the module after powering it off for at least 35, and the newly set module IP address wil take effect. hitps:twwn.amsamation store/2022/03/eth-modbus YSr-a.himl 9134 2arosi2022 14:26, ETH-MODBUS-IOSR-A | AMSAMOTION o EEE + 2c a 1923681.12/Logincs S HDL SCLILLL A IMODBUSHRIR te = meen = ener: z MAC aOR: 2 we: GaDres Gasp Ge) oR pee: ARSE: (ee ARSED: [oo moneuséi (ee Se I ae cavern asara a em P : F Bais P : ou F ism r r r ao c r F fee e aaron Copyright 2016 by #3 HHL ah (UAL HERA httn://www amsamotion com : et) a) eee ce creme cr ae ed Ba 1RR | am BR ‘sass a S = erie cos hitps:wwn.amsamotionstore/2022/03/eth-modbus-ior-a.himl 201s 2806/2022 14:26 ETH-MODBUSIOBR-A | AMSAMOTION 533, Remote server IP settings When the COM1 port serial function is MODBUS RTU to MODBUS TCP, the relevant remote server parameters should be set by the ‘module IP page. [As shown in the figure below fill in the required remote server IP address and port number in the "Remote Server IP Address’ area of the parameter page, then click the Save and Restart button until the web page cannot be displayed, then power up the module after at least 35 power off, and the nevly set remote server IP address and port number will take effect. a+ <> GO He rwerssrapovincat MACH: imo ae or AALS: (ere FMR: EERE RM: ere: amRE EPL: Cass) RAO: mopeussit o [=] -) | See) " "Note:The IP address ofthe remote server should be inthe same network segment as the module IP 534, COM? port parameter setting COM port serial port parameters (except baud rate) ‘As shown inthe figure below in the “Serial Por Parameters’ area ofthe parameter page select the corresponding COM? port communication parameters from the drop-down ist, an then cick the "OK" button atthe same horizontal line postion, or cick the Save and Restart button until the web page cannot be displayed, then power on the module after powering it off for at least 35, and the newly set COM2 serial port parameters will take effect. Hitps:twwn.amsamotion store/2022/03/eth-modbusio8r- 2138 2arosra22 14:25 ETH-MODBUS-IOBR-A | AMSAMOTION eS: Es Mati: Toerareeca LAS: Th: eee: (ano RE: BARRE: (bears: Ce DARHT: [imc RRR EROS: movBussit a < A - c [yyy Ie) [ We seing etait 7 te sri port made must be TC pssshough ee scion 5.25 ofthe ns section “Enbling Master Function’ forth sal sort made seting ‘Wihen dla tT ise the ly bit des not suspen pay None Turn on the master function [As shown in the figure below, in the “Enable Master Function’ area of the parameter page, you can select the serial port mode correspanding to COM2 port fram the drop-down lst, and then click the Save and Restart button until the web page cannot be displayed, then power up the module after at least 35 power off, and the newly set COM2 serial port mode will take effect. hitps:twwn.amsamation store/2022/03/eth-modbus YSr-a.himl 2806/2022 14:26 ETH-MODBUS-IOBR-A | AMSAMOTION © QO se r92z068.122/ogincai maa: TPE: seo ‘RRR REIPHoaL MopBussift ra weit: Ee: «= EO fe: OP: (reves: > (acacia ASRS: Note: other seal made fr COM® prt can lobe st byslecing therm am he dop-down it here MODBUS TCP control mult-slave communication configuration [As shown in the figure below, in the “Station 2~7" area ofthe parameter page ill n the corresponding station number “Coil element, Discrete element, Read-only register, Read-write register” Then click on the bottom-right comer to confirm, or click on the Save and restart button unt the web page is not displayed, then power the module off for at least 35 and power it on, and the newly set MODBUS TCP-controlled mutti-slave communication configuration will ake effect. hitps:twwn.amsamation store/2022/03/eth-modbus YSr-a.himl 23938 28/06/2022 14:26 ETH-MODBUS-IOBR-A | AMSAMOTION o EEE - © > GO & & swzsararpssinesi / SSCA IMODBUSBUR a Rese ee = Bas: 3 to:no:07-arse9:00 ALAS: © voit: z ee SE? mee v= = fs zi z a) cea) | f a fe ae | |e pf f eeu | Ie p f I fez J |e OT a fc ven) |e fe a fe fo Copyright 2016 by 4<8mrS750N 6282418 2 ii http://www amsamation.com Note: The above operations (except for the operation of the output/entry) are supported by power-down saving, do not operate frequently 0 avoid damaging the module and causing abnormal work. 6, MODBUS TCP message format description 6.1, Digital input signal acquisition command Protocel description Function code'x02 The command is used to read out the cent iscete input register tats: the local discrete input register 6:00-0:07 corresponds to input channels 1-8, wen the input port status is ina, the indicator goes of andretumst when its vali the indicator Fights up ani returns to Read discrete input request message format description Serial ength Bytes Storage umber | Message eld bytes) method woe 1 Transaction 2 High bytes in front ARRESTS knowledge 2 Protocolidentiier 2 High bytes infront —#B5KGA29 00 00 3 Message length 2 High bytes in front NRW, WR, HURIPSCIR IES ad ae 4 Unt demieation $8) 0101-0 EAL 1, SURAT RSA85 CRA miss hitps:wwnzamsamotionstore/2022/03/eth-modbus-i8r-a.himl 24s 28/06/2022 14:26 ETH-MODBUS-IOBR-A | AMSAMOTION 5 Function Code 1 x02 MODBUS is RnSEEBEIDF 6 Start address 2 High bytes infront )AISCEEPRRSBLLTrIE WEA AHL 7 Number of registers 2 High bytes in front Read discrete input answer message format descriation Serial Length Bytes Storage Message fils Descriation umber (oytes) method : Transaction) Honbresin eure. knowledge front RIE Protocol High bytesin : ; identifier > front #ERKA75 00.00 3 Messagelength 2 Pion bvesin iecasaiomnse, spNNAIR, LARISA a 4 on ation FSR O01 ~OnF EAH AHL 1, SURF R485 CIES 5 Function Code 1 ov02 MODBUS SETA RENIEED 6 Datatengh 1 ROUEN N, ES , ata 6 fexney UNSW o CRA, mR ACRIRLOAURTBN A 1-8 BF RHE Example message description Read the status of input channels 1~8 of this machine, in the example, input channels 2 and 8 are valid Request message:00 06 00 00 00 06 01 02 00 00 00 08 ‘Answer message:00 06 00 00 00 04 01 02 01 82 Read the status of input channels 1~16 of slave 2 in the example, input channels 4, 6,9 and 15 of save 2 are valid Request message:00 06 00 00 00 06 02 02 00 00 00 10 ‘newer message 00 06 00 00 00 0S 02 02 02 02 26 41 6.2, Digital output signal acquisition command Protocol Description Function code:0x01 The command is used to read out the current col register status the local coll register 0300-0x07 corresponds to digital output channels 1-8, when the output port status i invalid, the indicator goes off and returns to O; when itis valid the indicator ights up and returns to 1 ‘The request message format for reading the coil output status Serial Length Bytes Storage Message field ’ number 3 (bytes) method ae 1 Transaction 2 High bytes in front ABBAS krone 2 Protocolidentiier 2 High bytes infront BRU 00 00 hitps:wwn.amsamotionstore/2022/03/eth-modbus-ior-a.himl 25134 28/06/2022 14:26 ETH-MODBUS-IOBR-A | AMSAMOTION 3 Message length 2 High bytes in front BRARSBAMBBERIR, oOLHRIR, LUBLIN Ke 4 Unit identification 38 0901 -OnF Ek ANUS 1, SRR RSA85 CA miss 5 Function Code 1 0x01 MODBUS ifERMNLASIESEDDBEES 6 Start address 2 igh bytes infront 7 Number of registers 2 High bytes in front Read coll output answer message format description seria Length Bytes Storage sere g Message fils tenah Bras Description Transaction High bytes” payee, RE 1 ee 2 ish WROURS, URE Protocol High bytes in _ pope 2 identin 2 front ABREATS 0000 3 Message length 2 Bish Presi pracanasinmeRR, WLR, RASC RIORNESP SAE 4 sara 1 OHI 001-0 EAH AHL 1, BRIEF RSA DESIASTIES Function Code 1 x01 MODBUS SE RWLUDIRSE HB 6 Data length 1 ARGC N 3, URRY N 7 ata 1 exsen — SUNSOTITS CAR, MRAM A 18 ISH, SAH RET Example message description Read the col status of channels 1~8 of this machine in the example, coll channels 2 and 8 are valid Request message:00 01 00 00 00 06 01 01 00 00 00 08 ‘Answer message: G0 01 00.00 00 04 01 01 07 01 82 Read the output coll status of channels 1=16 of slave 2, in the example, output channels 1, 7, 10 and 16 of slave 2 are valid Request message:00 01 00 00 00 06 02 01 00 00 00 10 ‘Answer message:00 01 00 00 00 05 02.07 02 02.41 82 6.3. Individual control commands for digital output signals Protocol Desripton Function code 05 The command isused oconvl the satus of single cll reste the lea cll register 100-007 corespond to dtl output channels 1-8, when the output port statu lsat, he indetor gos of and returns oO when ts vate ear ight up and returns to 1 The request message format for writing a single dsc output Serial Length Bytes Storage Message field ves aod Descriation umber hitps:wwn.amsamotionstore/2022/03/eth-modbus-ior-a.himl 26134 28/06/2022 14:26 ETH-MODBUS-IOBR-A | AMSAMOTION 1 Transaction 2 High bytes in front ARIAS: knowledge 2 Protocolidentfier 2 igh bytes in front —BRK:AIY 00 00 3 Messagelength 2 High bytes in frome RESIN, WORE, AIR ETS cd 4 entfcaton FEBI O01-OXFEME ARAN 1, ARAB S485 CORBIN MaRS Function Code 1 on05, MODBUS iEFRW WAHEED AES 6 Write Address 2 High bytes in front 7 Write Value 2 High bytes in front A OXEFOD RURRENRIL A 0x0000 EARLE Description of the answer message format for writing a single discrete output Serial Length aytes Storage Serial Message id ramon Descriation 1 Transaction 2 High bytes in front AEESIRS, knowledge 2 Protocol identifier 2 High bytes in front —BBBREA%9 00.00 3 Messagelength 2 High bytes in front RAASSRESRENR, SONAR, AIR SORE TS at 4 vdemtincatton 30] 101~0sF AHS 1, FRA R548 EDA . 58 5 Function Code 1 x05, MODBUS JERI IESFESESDABES 6 Write Address 2 High bytes infront 7 Write Value 2 High bytes in front 53 OXFFOO RaWGEREARHL: "SA 0X0000 eARIRUL IME: svof local channel 1 Example message description Enables the ot Request message'31 A6 00 00 00 06 01 05 00 00 FF 00 ‘Answer message'31 AG 00 00 00 06 01 05 00 00 FF 00 Stop the output of local channel 1 Request message'31 AG 00 00 00 06 01 05 00 00 00 00 ‘Answer message'31 AG 00 00 00 06 01 05 00 00 00 00 6.4, Multiple control commands for digital output signals Protocol Description Function code:Ox0 The command is used to control the state of multiple coil registers: the local cil registers 0x00-0%07 correspond to digital output, Channels 1-8, when the output port state i invalid the indicator goes off and retums to O; when vali, the indicator ights up and returns to 1 Write multiple discrete outputs request message format description Serial Message field Length Bytes Storage Description hitps:wwn.amsamotionstore/2022/03/eth-modbus-ir-a.himl 27138 28/06/2022 14:26 ETH-MODBUS-IO8R-A | AMSAMOTION umber (bytes) method 1 Transaction knowledge = 2 High bytes in front —REBRSRS 2 Protocol identifer 2 High bytes in front —#R8RKA39 00 00 3 Message lenath 2 High bytesin ont RRBPSHERISR, IDS. MARSRSTISGSHRIESS BRE 4 Unit identification 1 $8HB On01-OnFELUT AHIIS 1, BERIT R548 CIBDIA ms Function Code 1 oxo MODBUS AIDINESHESTD AGES 6 Start address 2 High bytes infront 7 Wite Address 2 High bytes in front 8 sce fea Number wy BIR ABIES SABES N 9 Write data N EFRER SPS PRE Write multiple discrete output answer message format description Seria KEE Bytes Storage essage fel escription umber Message field » ethos Desens Transaction 1 Transaction 2 High bytes in ont ARHRIORS 2 Protocol identifier 2 High bytes in front —8RRRAI9 00 00 3 Message length 2 High bytes in front REBSSRLERHISR, WIKI, RAR ICRA TS RE 4 Unitidontteatin | 1 35M 0001-0 EIT ASIN 1, HERMIT Sass COAL as Function Code 1 oxo MODBUS SFRIDIREOIE SNES 6 Start addvess 2 High bytes infront 7 ‘ite length 2 High bytes infront Example message description Control the output coil status of channels 1-8 ofthe local machine, in the example, the output channels 1, 3, 6 and 8 are active Request message'31 A6 00 00 00 00 08 01 OF 00 00 00 08 01 AS ‘Answer message'31 AG 00 00 00 06 01 OF 00 00 00 08 Control the status of 13 output coils of channels 3~15 of slave 254, in this example, the output channels 3, 9, 13 and 1 are active Request message'31 AG 00 00 00 09 FE OF 00 02.00 00 02 41 14 ‘Answer message 31 AG 00 00 00 06 FE OF 00 02 00 0D 6.5. Input register readout command Protecel Description Function code:ax04 hitps:wwn.amsamotionstore/2022/03/eth-modbus-ior-a.himl 28134 28/06/2022 14:26 ETH-MODBUSIOBR-A | AMSAMOTION ‘The command is used to read the current input register value; the local input register 0x00-0%05 corresponds to analag input channel 16, the value range is 0-4095, the volage input channel range is 0-10V, the current input channel range is 0-20mA, that is, when voltage input 10V or current input 20mA, the corresponding analog access channel is read into OxOFFF. Seral Message field ena Bytes Storage: Description number (bytes) method 1 noe 2 High bytes in front RRR nowledge 2 Protocolidentifier 2 High bytes in front 3 Message length 2 High bytes in front HSER, CADRES $85 0101-OxFE AH AHI 1, PRIA RSA85 CAAA identification 4 iat eee 5 Function Code x04 MODBUS JEST EOFS ARES 6 Start address 2 High bytes infront 7 Number of registers 2 High bytes infront Read input ragister answer message format description serial Length Bytes Storage sion seer Messagenels —(Ungy Boe Descrp 1 Lootasoe 2 High bytes in front ARES, SRI 2 Protocol identifier 2 High bytes in front ARRAS 00 00 3 Messagelength 2 High bytesin ont BESSA. WMI, DORSET IC 4 Untiienteaton [1 PLoS, RARE Rts SHAE 5 Function Code 1 ox04 MODBUS HIRAI TIRES 6 Data length 1 miata N 7 ota N a ZALES ORNL ERNE, SERIES HOLE Example message description Read the value of channels 1-6 of the ocal input register, inthe example, channels 7 and 4 input voltage 10V and current 20ma respectively Request message:00 04 00 00 00 06 01 04 00 00 00 06 ‘Answer message: 00 04 00 00 00 OF 01 04 OC OF FF 00 00 09 00 00 OF FF 00 00 00 00 Read the value of input registers 30001-30006 of slave 2, the values of 30001 and 30006 in the example are 0x7531 and 0x7536, Request message:00 04 00 00 00 06 02 04 00 00 00 06 [Answer message-00 04 00 00 00 00 OF 02 04 OC: 75 31 00 00 00 00 00 00 09 00 00 00 00.00 00.00 75 36 6.6. Holding register readout command Protocol Description hitps:wwn.amsamotionstore/2022/03/eth-modbus-i8r-a.himl 2913 28/06/2022 14:26 ETH-MODBUSIOBR-A | AMSAMOTION Function code:0x03 The command is used to read the current holding register value; the local user valid holding register 0x06 corresponds to the analog ‘output channel, the value range is 0-4095, the voltage output channel range is 0-10V, the current output channel range is 0-20mA, When the value 4095 is read in the holding register 0x06, the voltage output channel outputs 10V and the current output channel outputs 20m, ‘The format of the request message for reading the holding register Serial length aytes Storage Serial Message ied om |e Descriation 1 Transaction 2 High bytes infront ARIAS knowledge 2 Protocol identifier 2 High bytes in front —ABEREA79 00.00 3 Messagelength 2 High bytes in front PRASRSSREAIEN. SDRENR, HARI HORE TS ie 4 sdentincation $851 O01 -OxFEA ARH 1, SURIEF RSA CABIN . as 5 Function Code x03 MODUS JESTER 6 Start address 2 High bytes infront 7 Number of resisters 2 High bytes in front “MUGEN 7, PHRERLURAMESE SHH Be Description ofthe reply message format for eading the holding register serial ength Bytes Storage Serial Message fi oe | Pees Descriation 1 Looaaioe 2 High bytes in front ARORA, MRI 2 Protocol identifier 2 High bytes in front —ABREA79 00.00 3 Messagelength 2 High bytes in frome ERASER, SONA, HARI i 4 entfcation $EB1 0101-0 EAL 1, SURAT RSA85 CNA ce Function Code 0x03 MODBUS HST EOFS AES 6 Data length 1 ROBREMHDN, BEE ? Data N Low bytes infront SE NAFPRRRRIRAT 1 TEED Example Message Description Read the value of channel 40001~40006 of slave 127, in the example, the value of channel 40001 and 40006 are Ox9C41 and Ox9C46, Request message-00 17 00 00 00 06 7F 03 00 00 00 00 08 answer message: 00 17 00 00 00 OF 7F 03 OC 9¢ 41 G0 00 00 G0 G0 00 00 09 G0 00 G0 00 9C 46 6.7. Write Single Holding Register Command Protocol Description hitps:wwn.amsamotionstore/2022/03/eth-modbus-ior-a.himl 30134 28/06/2022 14:26 ETH-MODBUSIOBR-A | AMSAMOTION Function code:0x06 The command is used to write a single holding register value; the local user can use the holding register 0x06 to correspond to the analog output channel, the value range is 0-4095, the voltage output channel range is 0-1OV, the current output channel range is O- 20mA, when the holding register Ox06 is written to value 4095, the voltage output channel outputs TOV, the current output channel ‘outputs 20m ‘The format of the request message for writing a single holding register Serial sssage fel Length Bytes Storage sccrition umber Message field (bytes) method Deseriot 1 aici 2 High bytes in front ARREARS 2 Protocolidentfier 2 High bytes infront —#BRRHA79 00 00 3 Messagelensth 2 High byes infront RABSHRERINE. DMANR, HURIRSTSRESRESE SS 4 Unit identification 38 O01 -OsF EI ASHI 1, BURA R485 CNG HORS Function Code 0106 MODBUS IESRENWASHSSEIDARES 6 Star adress 2 High bytes infront 7 Register value 2 High bytes infront \Write Single Holding Register Answer Message Format Descriotion Serial Length Bytes Storage Message fil Descristion umber ge field (bytes) method * 1 Loaaoe 2 igh bytes in front —ARIBARSCARG, SSRI 2 Protocolidentfier 2 igh bytes in front —R2BK3AI9 00 00 3 Messagelength 2 High bytesin rome SESSION, HIRI ID Ae 4 lentfcaton FO O01-OFEAAELYS 1, BURR S485 CORDA, 8s 5 Function Code 1 0x08 MODBUS if RUNKATIESEDDBEES 6 Start address 2 High bytes in front 7 Register value 2 High bytes in front Example Message Description Set the holding register 40005 channel value of slave 127 to Ox9C45, Request message:00 00 00 00 00 00 06 7F 06 00 04 9C 45, ‘Answer message:00 00 00 00 00 06 7F 06 00 04 9C 45 6.8. Write Multiple Holding Register Command Protecel Description Function code:Oxt0 This command is only used to write multiple values continuously tothe slave holding register connected machine, hitps:wwn.amsamotionstore/2022/03/eth-modbus-ior-a.himl 31134 1 RSABS interface of the 28/06/2022 14:26 ETH-MODBUSIOBR-A | AMSAMOTION Write multiple holding register request message format description Serial Message field number 's 1 Transaction knowledge 2 Protocol identifier 3 Message length 4 Unit identification Funetion Code 6 Start address 7 Number of registers 8 Number of data 9 Data Serial Message field number get 1 Transaction knowledge 2 Protocol identifier 3 Message length 4 Unit identification Funetion Code 6 Write Address 7 Number of registers Example message description Length (bytes) 2N Length (bytes) Bytes Storage method High bytes infront High bytes in front High bytes infront «10 High bytes in front High bytes in front (ere Bytes Storage method High bytes in front High bytes in front High bytes in front oxi0 High bytes in front High bytes infront Description RS BRK 00 00 RARSIMER, MURR, LORIENT a {$80 0n02~OnF EFFI R495 COALS MODBUS sS5RWDiEHESEDDARES ARSE BOD N, UMC ERED ON, MEETS RECA NBOS N, SMUD eI CE PEIS 2N Description BETS 00 00 ieeosLaN ne PRR, LURES TS ‘FEHB 0102 ~OnF FIFE RSABS CIN MODBUS SRM ANESEDDAES Set the value of channel 40001-40004 of save 127 to Ox9C41, Ox9C42, Ox9C43 and Ox9C44 respectively. Request message-00 00 00 00 00 00 OF 7F 10 00 00.00 04 08 9C 41 9C 42 9C 43 9C 44 ‘Answer message:00 00 00 00 00 06 7F 10 00 G0 00 04 Be TECHNICAL < BS4B5 to RS4B5 Repeater 2 thoughts on "ETH-MODBUS-IO8R-A" Bryan Lee ‘May 12.2002 at 5:27 am Please provide the technical & operation manusl. Thanks hitps:wwnzamsamotionstore/2022/03/eth-modbus-i6r-a.himl 32134 28/06/2022 14:26 ETH-MODBUS-IO8R-A | AMSAMOTION eo, Jason May 12,2022 at 5: this is manual ely Leave a Comment Name* Email” Website © Save my name, email and website in this browser forthe next time I comment. ‘Teams & Conditions Shipping Policy Refund and Returns Plicy Tack Outer ‘Amsamotion Driver suppart@amsamation store, Payment Met Hind Us On Facebook hitps:wwnzamsamotionstore/2022/03/eth-modbus-f8r-a.himl 33134 2arosi2022 14:26, ETH-MODBUS-IOSR-A | AMSAMOTION Payers © 2022 AMSAMG JON STOR hitps:wwn.amsamotionstore/2022/03/eth-modbus-ior-a.himl 340s

You might also like