1/22/2020 9:53 AM | |
Posts: 5 Rating: (0) |
Hello, basically im trying to read the value of a counter in the PLC LOGO! and send it using node-red towards the dashboard. I've used the TSAP method to allow them to communicate, I've also used the absolute addresses in the correct form in order for the logo and node red to understand them, as you can see in the attachment all I/O are online. if i control the inputs of the plc they work. my question is where is the counter value of the counter block stored in the PLC and how can i access it? should i connect it directly to the message payload or should i use a function in order to change how the message is recieved in node-red, in order to display the number of counts that is on my logo screen on my node-red dashboard. Attachmentcase.zip (284 Downloads) |
1/22/2020 10:32 AM | |
Posts: 5 Rating: (0) |
Hello Scorp, thank you for your time, i have already done that using Parameter VM mapping, there is an established connection and its online on node-red therefore therefore the absolute address is correct. After this step i want to extract the value of the counter and to send it to the dashboard, therefore after using the the S7 node i've connected it with a msg.payload but i don't recieve a value except for zero even after the counted number has changed. therefore this is my question is it correct to connect it directly to the msg.payload or should i use processing node (e.g Function) because i haven't been recieving any number except for 0. please check the attachment. Attachmentcase1.zip (257 Downloads) |
1/22/2020 10:40 AM | |
Joined: 12/18/2014 Last visit: 11/4/2024 Posts: 34140 Rating: (4254)
|
I don't think it is in nodered a single variable. It is a Double Word, Format Double Integer. |
1/22/2020 5:48 PM | |
Posts: 5 Rating: (0) |
i have tried both, i get the same results. |
1/22/2020 6:44 PM | |
Joined: 12/18/2014 Last visit: 11/4/2024 Posts: 34140 Rating: (4254)
|
I think , to solve your problem, start a topic in conference "SIMATIC IOT2000". Make a link to this topic. |
11/3/2024 1:11 AM | |
Joined: 11/2/2024 Last visit: 11/3/2024 Posts: 1 Rating: (0) |
Llene la mayor cantidad de direcciones correspondientes a Node-Red, para poder acceder a LOGO!, el archivo dentro del comprimido es de tivo .CSV Este archivo puede ser importado desde Node-Red, espero que sea de ayuda. Attachments7endpoint_LOGO!.zip (2 Downloads) |
Last edited by: U_3aa19ebc-c2a5-44ce-92f3-0093d94ac0ef at: 11/03/2024 01:14:25 |
|
Follow us on