Arduino Master Slave RS485 MODBUS RTU Schneider electric EasyLogic PM2200 PM2300
ฝัง
- เผยแพร่เมื่อ 11 เม.ย. 2018
- Arduino ทำเป็น Master อ่าน Slave ด้วย RS485 MODBUS RTU จาก Schneider Electric EasyLogic PM2200 PM2230
-----------------------
รับทำโปรเจค ควบคุม คอนโทรล IoT Smart ในงานอุตสาหกรรม หรือในการเกษตร ทุกรูปแบบ
ให้คำปรึกษา หรือสนใจในเทคโนโลยีเกี่ยวกับการเกษตร สามารถติดต่อได้ที่
081-1915236 หนึ่ง
ราคาถูกมากกก ใช้ง่าย ใช้ได้จริง
----------------------------
รับทำโปรเจค อิเล็กทรอนิกส์ ไมโครคอนโทรลเลอร์
รับสอน ให้คำปรึกษา ติว หรือ คุยกันได้ ทุกรูปแบบ
งานนักศึกษา งานทั่วไป งานบริษัท
มีหน้าร้าน เป็นบริษัท ออกใบกำกับภาษีได้
โทร 081-1915236 หนึ่ง
Line ID : prakit340
/ prakit340
Email : prakit340@hotmail.com
Fanpage :
pages/Projec...
--------------------------
ArduinoProje...
--------------------------
/ 343618259167898
---------------------
บริษัท ไทยคอนโทรลโซลูชั่น จำกัด (ThaiControlSolution Co.,Ltd.)
/ thaicontrolsolution - วิทยาศาสตร์และเทคโนโลยี
modbus จะมีรูปแบบการ เรียก Address สองแบบครับ modbus address และ plc address มันจะเหลื่อมกัน 1 ครับ
Se puede tambien con Sentron pac 4200?
พี่ครับผมขอโค๊ดหน่อยครับสนใจศึกษาครับ
hi bro, you have done a good job , appreciate that, but unfortunatelly its not benifit to others as you not sharing any info for others to try it. Great keep it up.
hello sir connection mod bus fail could not connected the result =node.ReadHoldingRegisters(REg,2);
error to connect modbus register.
can you help me to solve it?
are you created library REG PM 2200???
มีโค้ดให้ลองใช้ไหมครับ
i try this code i get error of ResponseTimedOut
Sir between Arduino and the energy meter the TTL what is its name and purpose.... Please inform sir!!
RS485 to TTL convertor
Can you translate is in to english
Please send me the code....
english translation please
Hi, I need to read that data from a similar meter EM6436H from Schneider. Can you please share the code. I am not very good at RS485 Modbus communication.
have you succesied
#include "REG_PM2200.h"
#include
#include
SoftwareSerial swSer(10,11);
ModbusMaster node;
float HexTofloat(uint32_t x)
{
return (*(float*)&x);
}
uint32_t FloatTohex(float x)
{
return (*(uint32_t*)&x);
}
float Read_Meter_float(char addr , uint16_t REG)
{
float i= 0 ;
uint8_t j,result;
uint16_t data[2];
uint32_t value = 0 ;
node.begin(addr, swSer);
result = node.readHoldingRegisters (REG,2);
delay(500);
if (result == node.ku8MBSuccess)
{
for (j = 0; j
@@adilnassir5791 what type of modbus library you are using ?
Can I get the code ?
chek comment suction
Code
I WANT ARDUINO CODE
Please give me code
PLEASEEEEEEEEEEEEEEE I NEEEEED THE CODEEEEEEEEE, I WILL KISS YOU
🤣why so serious bro.