Hello everyone , is my first post here .
I used before Automation direct , siemens and proface HMI and PLC , but i never programed a MODBUS RTU . I know how that work but i cant read that sensor XY-MD02 on Fatek PLC . I read on documentation i found that sensors are none parity , but when i buy it on each sensor was written by hands 9600,E,8,1 , so that i have are even parity i suppose .
I read them on PC , with strange results , i mean the data was in 4 digit unsigned , so i need to divide by 100 to get corect value . In documentation i've seen need to be divided by 10 .
The PLC i use in my home for climatic automatization , with Weintek HMI and work perfect . But i can't manage to communicate with that sensors.
Any help would be appreciated , also i can put some print screens with my program if that help .
Thank you in advance
Bobby
I used before Automation direct , siemens and proface HMI and PLC , but i never programed a MODBUS RTU . I know how that work but i cant read that sensor XY-MD02 on Fatek PLC . I read on documentation i found that sensors are none parity , but when i buy it on each sensor was written by hands 9600,E,8,1 , so that i have are even parity i suppose .
I read them on PC , with strange results , i mean the data was in 4 digit unsigned , so i need to divide by 100 to get corect value . In documentation i've seen need to be divided by 10 .
The PLC i use in my home for climatic automatization , with Weintek HMI and work perfect . But i can't manage to communicate with that sensors.
Any help would be appreciated , also i can put some print screens with my program if that help .
Thank you in advance
Bobby