EasyManua.ls Logo

ICP DAS USA tGw-735 - Page 91

Default Icon
109 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Tiny Modbus/TCP to RTU/ASCII Gateway
Copyright © 2020 ICP DAS CO., Ltd. All Rights Reserved. - 91 -
Code
Function
Reference (Address)
01 (0x01)
Read the Status of the Coils (Readback DOs)
0xxxx
02 (0x02)
Read the Status of the Input(Reads DIs)
1xxxx
03 (0x03)
Read the Holding Registers (Readback AOs)
4xxxx
04 (0x04)
Read the Input Registers (Reads AIs)
3xxxx
05 (0x05)
Force a Single Coil (Writes DO)
0xxxx
06 (0x06)
Preset a Single Register (Writes AO)
4xxxx
15 (0x0F)
Force Multiple Coils (Writes DOs)
0xxxx
16 (0x10)
Preset Multiple Registers (Writes AOs)
4xxxx
Data Field: is the data block.
Data is transmitted in 8-, 16- and 32-bit format. The data for 16-bit registers is transmitted in
high-byte first format. For example: 0x0A0B ==> 0x0A, 0x0B. The data for 32-bit registers is
transmitted as two 16-bit registers, and is low-word first. For example: 0x0A0B0C0D ==> 0x0C,
0x0D, 0x0A, 0x0B.
The data field of messages sent between a master and a slave contains additional information
about the action to be taken by the master or any information requested by the slave. If the
master does not require this information, the data field can be empty.
Reference (Address)
Description
0xxxx
Read/Write Discrete Outputs or Coils.
A 0x reference address is used to output device data to a digital output
channel.
1xxxx
Read Discrete Inputs.
The ON/OFF status of a 1x reference address is controlled by the
corresponding digital input channel.
3xxxx
Read Input Registers.
A 3x reference register contains a 16-bit number received from an external
source, e.g. an analog signal.
4xxxx
Read/Write Output or Holding Registers.
A 4x register is used to store 16bits of numerical data (binary or decimal), or
to send the data from the CPU to an output channel.
Note: For details regarding address mapping (Reference Number) depends on your slave device.

Table of Contents

Related product manuals