5/10/2023 4:35 PM | |
Joined: 1/2/2023 Last visit: 10/30/2024 Posts: 2 Rating: (0) |
Currently, I am developing a program for iot2050 using a Node-Red, The request of the client is to lecture from 65 registers Modbus every second because they need the information for an iso standard. My doubt is ¿if the iot2050 can do this requirement (read from 65 registered Modbus every second) ? or is it better to change to IOT? I share my current flow in node-red to verify if is my mistake in developing the program I think another idea is to pass the information through plc before the iot2050 and change the communication, is a good idea or not? Help me, please. Thanks in advance. Regards AttachmentPrograms.zip (584 Downloads) |
7/8/2023 12:07 AM | |
Joined: 1/2/2023 Last visit: 10/30/2024 Posts: 2 Rating: (0) |
Hey BR What I want to do with my program is to read 65 modbus registers from 6 different electricity meters (each one with its respective IP). What I find is that the IOT 2050 that I use starts generating errors and losing data. After doing the readings, I occupy myself with representing the array that is generated in a float number, to later send it to mindsphere using the mindconnect node. The modbus readings must be done every 1 second, I also need to do certain operations for the calculation to categorize the kWh (Total Active Energy) into 3 rates since the meter only generates 2 for me and in Costa Rica there are 3 as follows: to. Peak (Monday to Friday): 10:01 a.m. – 12:30 p.m. / 5:31 p.m. – 8:00 p.m. b. Valley (Monday to Sunday): 6:01 a.m. – 10:00 a.m. / 12:31 p.m. – 5:30 p.m. c. Night (Monday to Sunday): 8:01pm – 6:00am The variables are the following: - For main meters that are 3 are the following variables: > Current L1, L2, L3 > Voltage L1,L2, L3 > Current THD L1, L2, L3 > THD Voltage L1,L2, L3 > Total Power Factor > Total Active Energy > Total Active Power - For secondary meters that are 3 are the following variables: > Current L1 > Voltage L1 > Total Power Factor > Total Active Energy > Total Active Power > alarm We are currently putting a PLC in the middle of the IOT and the meters, using the PLC as a kind of database, which saves the data every second and generates its respective time stamp, but it is really adding more complexity. By changing the IOT, I mean changing the 2050 for an IPC127E, the main errors are undoubtedly the great complexity of the current code that, by wanting to query every second in parallel, the IOT according to the top command ends up using 120 at all times or more than %CPU and the data is lost when it reaches mindsphere. I use this iot https://iot2050.com/products/simatic-iot2050-advance Greetings BR, I hope you can help me. I had not answered you before because I was doing other projects and I have just returned to this project. AttachmentUpdate.zip (506 Downloads) |
Last edited by: Jen_Moderator at: 07/10/2023 10:47:10Text formatting optimized. |
|
Follow us on