10 Cara NTC Tahan Panas Suhu Modul Akuisisi Standar Modbus-RTU Presisi Tinggi Kontrol Industri Konfigurasi
Common thermistors are supported. The parameters or models of thermistors that are not in the list can be customized free of charge! uuuuuuuuu
0 = NTC R (25 C) = 10K, B25/50 = 3600 (thermistor)
1 = NTC R (25 C) = 5K, B25/50 = 3950 (thermistor)2 = NTC R (25 C) = 10K, B25/50 = 3892 (thermistor)3 = NTC YSI-B-Mix-10K (Thermistor)4 = NTC YSI-H-Mix-10K (Thermistor)5 = NTC R (25 C) = 10K, B25/50 = 34556 = NTC R (25 C) = 10K, B25/50 = 34357 = NTC R (25 C) = 10K, B25/50 = 39778 = NTC R (25 C) = 5K, B25/50 = 34709 = NTC R (25 C) = 10K, B25/50 = 347010 = NTC R (25 C) = 10K, B25/50 = 3950(default value)11 = NTC R (25 C) = 100K, B25/50 = 3950
-Functional characteristics
Code Function Support Function Code:
Function code | Definition | Operations (binary) |
0x02 | Read switch input | Read one or more switch state input data |
0x01 | Read switch output | Read one or more switch output status data |
0x03 0x04 | Read register data | Read data from one or more registers |
0x05 0X0F | Write switch output Write multiple switches | Control all the wayRelay"Hop / sub" output |
0x06 | Write single path register | Write a set of binary data into a single register |
0x10 | Write multiplexer register | Write multiple sets of binary data into multiple registers |
**************************************************************************************************************
1. Adding multiple coils or registers to read.
Read analog input (0x04)
Host sends:Addr 04 regH regL NumH numL crcH crcL
From the machine back:Addr 04 len d0H d0L...DnH dnL crcH crcL
Interpretation: Register address from0Start counting.numH numLRepresents the number of routes of the analog quantity to be read. This card has 5 analog input channels.12bitADCEach analog takes up two bytes of data. For example, to read the2Lu He3The register address is0001The number of registers is0002 For example, to read all analog quantities1Lu Zhi di8The address of the register is uuuuuuuuuuuuu0000The number of registers is0008 Return data0-0xFFFRepresents the collected analog quantities, such as analog quantities.0-20mAThe data read are18CThe decimal number is396So the current value isI = 20mA*396/1023 = 7.742mA Sensors are generally4-20mAIf the reading value is less than4mAThe connection line is faulty.
Example: read the first1Lu Zhi di8Road analogue
Host sends:01 04 00 00 08 F1 CC
From the machine back:0104 0C d0H d0L...D5H d5L crcH crcL
MSG [0] = ip_Addr; //slave addressMSG [1] = 0x04; // Read a single registerMSG [2] = byte (data_Addr > 8); high bit of // register addressMSG [3]= (byte) data_Addr; low bit // register addressMSG [4] = 0x00; high bit of data length to readMSG [5] = 0x01; the base length of the data to be readCRC = CRC16 (msg, 6);MSG [6] = byte (crc > 8); 8 digits higher in // checkMSG [7] = (byte) crc; //check low 8 bits
Comm.Write(msg); //Send Read Request Zheng
Receive_A_Frame(); //Receive the Zhen reply signal// Add here: Judge the received data}
Type : Logic ICs
Condition : New