Yotta Manual
Yotta Manual
User Manual
-1-
Yottacontrol co.
Catalogue
1.The introduction of Modbus protocol.........................................................................................................- 3 -
1.1 Modbus protocol master-slave response process........................................................................... - 3 -
1.2 Modbus register area and commonly used function code.............................................................. - 4 -
2. Modbus protocol frame format................................................................................................................. - 5 -
3. Basic use of I/O modules and configuration methods of parameters....................................................... - 5 -
3.1 The basic hardware connection of the module............................................................................... - 5 -
3.2 Modification of module parameters................................................................................................ - 5 -
3.3Analog input module configuration instructions(A-1019/A-1219/A-1819)......................................- 9 -
5. Debugging and host computer communication........................................................................................ - 9 -
5.1 Debugging instructions.................................................................................................................... - 9 -
5.2 Module and host computer software communication..................................................................- 10 -
6. Modbus Protocol Address Mapping.........................................................................................................- 12 -
6.1 A-1057/1058/1068/1069/1051/1055/1055S/1060 Address Mapping......................................... - 12 -
6.2. A-1010 Address Mapping..............................................................................................................- 13 -
6.3. A-1012 Address Mapping..............................................................................................................- 14 -
6.4 A-1019 Address Mapping...............................................................................................................- 17 -
6.5 A-1212 Address Mapping...............................................................................................................- 20 -
6.6. A-1219 Address Mapping..............................................................................................................- 24 -
6.7. A-1251/A-1255/A-1255S/A-1269/A-1260 Address Mapping........................................................- 27 -
6.8. A-1812 Address Mapping..............................................................................................................- 29 -
6.9 A-1812 Address Mapping...............................................................................................................- 32 -
6.10. A-1851/A-1855/A-1855S/A-1869/A-1860 Address Mapping......................................................- 35 -
-2-
Yottacontro co.l
This document contains the Modbus protocol of the Yottacontrol remote I/O module, the register address
table, the general use of the I/O module, and the communication adjustment with other devices.
Device ID Device ID
Master and slave command response process Description: The master station works as the command
-3-
Yottacontro co.l
initiator, initiative to send a command message frame to the specified slave device, requiring the register
area of the data to read or write, and the slave received host command. After receiving the main station
message frame, in the first instance, slave determine the device address. If it is sent to the slave itself,
according to the function code to make the relevant response. Based on the function code to form a data
frame or operation response frame, then response to the main station. If it is not the site address, then
discard the message frame, continue to wait for the master command frame. After the master sends the
command frame, if the receive response frame is correct, indicating that the communication response
process is complete. If the master does not receive a response frame from the slave within the agreed time,
the communication with the slave fails. If the master station sends a command frame from the station that
can not be identified or the slave can not meet the command frame requirements of the master station, for
example: reading data beyond the address range of the slave register, the slave will also respond to the
message frame containing the error message. The master station can use the error message to determine
the cause of the error.
1.2 Modbus register area and commonly used function code
Modbus protocol definition, contains a total of four kinds of register area and a variety of function codes.
Different function codes represent different operations on different register area data. The commonly used
function code for Modbus register area that Yottacontrol remote I / O module support is shown in the
following table:
Read Write
Register Function Function Function code description Examples
Code Code
1 Area-Input Relay 02 - 02: Read input status 10001 Input Relay ,Address1
01: Read coil status
00002 Output Coil,
0 Area-Output Relay 01 05, 15 05: Write single coil
Address 2
15: Write multiple coils
30005 Input Register,
3 Area-Input Register 04 - 04: Read input register
Address 5
03: Read Holding Registers
40001 Holding Register,
4 Area-Output Register 03 06, 16 06: Write single register
Address 1
16: Write multiple register
Note: where the output relay is also called the coil, the output register is also called the holding register
-4-
Yottacontro co.l
ADU
PDU
Modbus General Frame Format
According to the protocol format and bus mode, Modbus protocol can be divided into RTU, TCP and
ASCII three formats.
(Y)DATA+ RS-485+
(G)DATA- RS-485-
-5-
Yottacontro co.l
8) Set the working mode to Remote if you need A-12xx module connected to the wireless router WIFI, then
key in the WIFI SSID and Password. Note that SSID and Password only support 0-9, a-z, A-Z characters, do
not support: -! @ # ¥% & * and other characters.
9) After the configuration, click the Update button, then switch on the back of module to Normal mode and
re-power, so I/O module has been configured to complete.
-6-
Yottacontro co.l
Click the ICON. Then it will appear the settings interface as bellow:
-7-
Yottacontro co.l
As shown above, you can complete the following parameter settings from the Ethernet settings menu:
Description:Device Name
Verified Codes:Password Setting
Device ID:Device Number (1-255)
IP Address:Specify an IP Address
When the settings are complete, click the [update] button to complete the setting
Click on the top right corner of the http://192.168.1.1 address, access to web browser online monitoring
function
As shown above, you can define the input/output pin name by the alias menu, and click the [update]
button when the name definition is completed.
-8-
Yottacontro co.l
0/4-20mA: Pin A short Thermistor: Pin B short Thermocouple: Empty Pin A & B
After completing above Jumper Wire setup, please put the circuit board back into the device housing and
lock it. Turn its back switch to “Normal” mode and turn on the power. Then, it’s all done.
Note: If the setup of Analog Input mode for PC software isn’t in accordance with its Jumper Wire, the
detected data will be in disorder.
-9-
Yottacontro co.l
A-18 series can enter the corresponding IP address on the browser, can enter the web online monitoring
function.
5.2 Module and host computer software communication
Yottacontrol I/O module can communicate with the host computer or PLC that supports the Modbus
protocol, and can realize the decentralized I/O data acquisition. The following describes the Modbus debug
software "Modbus Poll" and Yottacontrol I/O module communication.
1) Connect the module power supply and communication cable correctly according to the above hardware
connection.
2) Turn on the "Modbus Poll" software and select the correct communication protocol. Select Modbus RTU
or Modbus ASCII using RS-485 port. Select Modbus TCP / IP using WIFI/Ethernet as shown below.
- 10 -
Yottacontro co.l
3) Click OK, right-click menu in the window, select Read / Write Definition or press the shortcut key F8.
4) In the dialog box to fill in the module corresponding Slave ID (station number), function code, the need
to read address and the number of parameters.
5) Click OK, the window will appear the corresponding address table. You can find the corresponding
address of the current register status.
- 11 -
Yottacontro co.l
Above for the Yottacontrol remote I/O module and the basic use of the host computer. More details can
enter the Yottacontrol official website to understand, or directly contact with us.
A-1051/A-1055/A-1055S/A-1069/A-1060
Supported Modbus Code: 01/02/05/15
40213 Version 1 R R
40214 Version 2 R R
A-1010
Supported Modbus Code: 01/02/05/15
Address 0x Item NOR INIT* 备注
00001 ~ 00008 0 ~ 7 DI Input Signal R R
00017 ~ 00020 0 ~ 3 Digital Output Value R/W R/W
00033 ~ 00036 0 ~ 3 Power On Digital Output Value R R/W
00049 ~ 00052 0 ~ 3 Communication Fail Safe Value R R/W
04097 ~ 06144 0 ~ 2047 Auxiliary Memory (M Flag) R/W R/W
0 ~ 255 Retentivity Auxiliary Memory (KM
06145 ~ 06400 R/W R/W
Flag)
Supported Modbus Code: 03/04/06/16
Address 4x Item NOR INIT* 备注
40001 ~ 40008 0 ~ 7 Analog Input Value R R 0~1000: 0-10V
40017 ~ 40018 0 ~ 1 Analog Output Value R/W R/W 0~1000: 0-10V
40033 ~ 40034 0 ~ 1 Power On Analog Output Value R R/W 0~1000: 0-10V
0 ~ 1 Communication Fail Safe Analog Output
40049 ~ 40050 R R/W 0~1000: 0-10V
Value
- 13 -
Yottacontro co.l
0 ~ 65535:
40065 Communication Fail Safe Time Setting Value R R/W
0.0 ~ 6553.5 sec
40409 ~ 40416 0~7 Input Signal Count Value ( 16-BIT ) R/W R/W 0~0xFFFF
40425 ~ 40439 0~7 Input Signal Count Value ( 32-BIT ) R/W R/W 0~0xFFFFFFFF
0~0xFFFFFFFFFFFFF
40457 ~ 40485 0~7 Input Signal Count Value ( 64-BIT ) R/W R/W
FFF
0~1000:(ex:350=3.5V),
40521 ~ 40528 0~7 Analog Input hi-lo level Value R R/W
default
44001 ~ 46048 0~2047 Analog Auxiliary Memory (AM Flag) R/W R/W 0 ~ 65535
0~63 Retentivity Analog Auxiliary Memory
46409 ~ 46112 R/W R/W 0 ~ 65535
(KAM Flag)
A-1012
Supported Modbus Code: 01/02/05/15
0:PT-100α= 0.00385
1:PT-100α= 0.003916
40067~40068 2~3 Input Type Code R R/W
2:PT-1000α= 0.00385
3:PT-1000α= 0.003916
- 15 -
Yottacontro co.l
40214 Version 2 R R
A-1019
Supported Modbus Code: 01/02/05/15
0~20000:0/4~20mA
40001~40008 0~7 Current Input Value R R
0~20700:-270~+1800℃
0: 4~20mA 1: 0~20mA
40065~40072 0~7 Input Type Code R R/W 2: J(-210~760℃) 3: ,K(-270~1,370℃)
4: T(-270~400℃) 5: E(-270~1,000℃)
- 17 -
Yottacontro co.l
6: R(0~1,750℃) 7: S(0~1,750℃)
8: B(0~1,800℃)
9: 10K-2 Thermistor(0~+100℃)
10:, 10K-3 Thermistor(0~+100℃)
11: 6.8K Thermistor(-10~+100℃)
12, : 4.7K Thermistor(-10~+100℃)
13: 3.3K Thermistor(-20~+100℃)
14: 3K Thermistor(-20~+100℃)
15: 2.7K Thermistor(-20~+100℃)
16: 2.252K Thermistor(-20~+100℃)
17: 2.1K Thermistor(-30~+100℃)
18: 2K Thermistor(-30~+100℃)
19: 1.5K Thermistor(-40~+100℃)
20: 1K Thermistor(-40~+100℃)
4/0~20:4/0~20mA
40097~40104 0~7 Current Input Value R R
-270~+1800:-270~+1800℃
4/0~20:4/0~20mA
40113~40120 0~7 Current Input Value R R
-168~+3272:-168~+3272°F
40/0~200:4.0/0~20.0mA
40129~40136 0~7 Current Input Value R R
-2700~+18000:-270.0~+1800.0°C
40/0~200:4.0/0~20.0mA
40145~40152 0~7 Current Input Value R R
-1680~+32720:-168.0~+3272.0°F
40214 Version 2 R R
- 18 -
Yottacontro co.l
- 19 -
Yottacontro co.l
#1:1: 2400 bps 2: 4800 bps 3: 9600 bps 4: 14400 bps 5: 19200 bps 6: 28800 bps 7: 38400 bps 8: 57600 bps
9: 115200 bps 10: 230400 bps 11: 460800 bps 12: 921600 bps
20: 1K Thermistor(-40~+100℃)
A-1212
Supported Modbus Code: 01/02/05/15
0:PT-100α= 0.00385
1:PT-100α= 0.003916
40067~40068 2~3 Input Type Code R R/W
2:PT-1000α= 0.00385
3:PT-1000α= 0.003916
- 21 -
Yottacontro co.l
40214 Version 2 R R
GATEWAY: x.x.x.x
40504~40507 WIFI MASK R R/W
Default:192.168.1.1
0:Modbus TCP/IP(default)
1:Modbus UDP/IP
40516 WIFI PROTOCAL R R/W
2.:Modbus RTU Over TCP/IP
3:Modbus RTU Over UDP/IP
- 23 -
Yottacontro co.l
A-1219
0~20000:0/4~20mA
40001~40008 0~7 Current Input Value R R
0~20700:-270~+1800℃
0: 4~20mA 1: 0~20mA
2: J(-210~760℃) 3: ,K(-270~1,370℃)
4: T(-270~400℃) 5: E(-270~1,000℃)
6: R(0~1,750℃) 7: S(0~1,750℃)
8: B(0~1,800℃)
9: 10K-2 Thermistor(0~+100℃)
10:, 10K-3 Thermistor(0~+100℃)
11: 6.8K Thermistor(-10~+100 ℃ )
40065~40072 0~7 Input Type Code R R/W 12, : 4.7K Thermistor(-10~+100℃)
13: 3.3K Thermistor(-20~+100℃)
14: 3K Thermistor(-20~+100℃)
15: 2.7K Thermistor(-20~+100℃)
16: 2.252K Thermistor(-20~+100℃)
17: 2.1K Thermistor(-30~+100℃)
18: 2K Thermistor(-30~+100℃)
19: 1.5K Thermistor(-40~+100℃)
20: 1K Thermistor(-40~+100℃)
4/0~20:4/0~20mA
40097~40104 0~7 Current Input Value R R
-270~+1800:-270~+1800℃
- 24 -
Yottacontro co.l
4/0~20:4/0~20mA
40113~40120 0~7 Current Input Value R R
-168~+3272:-168~+3272°F
40/0~200:4.0/0~20.0mA
40129~40136 0~7 Current Input Value R R
-2700~+18000:-270.0~+1800.0°C
40/0~200:4.0/0~20.0mA
40145~40152 0~7 Current Input Value R R
-1680~+32720:-168.0~+3272.0°F
40214 Version 2 R R
(IEEE754)(Float CD AB)
GATEWAY: x.x.x.x
40504~40507 WIFI MASK R R/W
Default:192.168.1.1
- 26 -
Yottacontro co.l
0:Modbus TCP/IP(default)
1:Modbus UDP/IP
40516 WIFI PROTOCAL R R/W
2.:Modbus RTU Over TCP/IP
3:Modbus RTU Over UDP/IP
A-1251/A-1255/A-1255S/A-1269/A-1260
- 27 -
Yottacontro co.l
40214 Version 2 R R
GATEWAY: x.x.x.x
40504~40507 WIFI MASK R R/W
Default:192.168.1.1
0:Modbus TCP/IP(default)
1:Modbus UDP/IP
40516 WIFI PROTOCAL R R/W
2.:Modbus RTU Over TCP/IP
3:Modbus RTU Over UDP/IP
A-1812
- 29 -
Yottacontro co.l
0:PT-100α= 0.00385
1:PT-100α= 0.003916
40067~40068 2~3 Input Type Code R R/W
2:PT-1000α= 0.00385
3:PT-1000α= 0.003916
40214 Version 2 R R
- 30 -
Yottacontro co.l
GATEWAY: x.x.x.x
40504~40507 Ethernet MASK R R/W
Default:192.168.1.1
- 31 -
Yottacontro co.l
A-1819
0~20000:0/4~20mA
40001~40008 0~7 Current Input Value R R
0~20700:-270~+1800℃
0: 4~20mA 1: 0~20mA
2: J(-210~760℃) 3: ,K(-270~1,370℃)
4: T(-270~400℃) 5: E(-270~1,000℃)
6: R(0~1,750℃) 7: S(0~1,750℃)
8: B(0~1,800℃)
9: 10K-2 Thermistor(0~+100℃)
10:, 10K-3 Thermistor(0~+100℃)
40065~40072 0~7 Input Type Code R R/W 11: 6.8K Thermistor(-10~+100 ℃ )
12, : 4.7K Thermistor(-10~+100℃)
13: 3.3K Thermistor(-20~+100℃)
14: 3K Thermistor(-20~+100℃)
15: 2.7K Thermistor(-20~+100℃)
16: 2.252K Thermistor(-20~+100℃)
17: 2.1K Thermistor(-30~+100℃)
18: 2K Thermistor(-30~+100℃)
- 32 -
Yottacontro co.l
40213 Version 1 R R
40214 Version 2 R R
- 33 -
Yottacontro co.l
GATEWAY: x.x.x.x
40504~40507 Ethernet MASK R R/W
Default:192.168.1.1
- 34 -
Yottacontro co.l
A-1851/A-1855/A-1855S/A-1869/A-1860
40214 Version 2 R R
GATEWAY: x.x.x.x
40504~40507 Ethernet MASK R R/W
Default:192.168.1.1
- 35 -
Yottacontro co.l
0:Modbus TCP/IP(default)
1:Modbus UDP/IP
40516 Ethernet PROTOCAL R R/W
2.:Modbus RTU Over TCP/IP
3:Modbus RTU Over UDP/IP
- 36 -