Hello greetings,
Sorry this is my first contact with the nodered platform and I have been having this problem for three days, I already searched and did not find the information to solve this problem, I have already read various topics and tutorials and I could not understand the problem I am experiencing .
I've read this tutorial several times and I can't understand what is wrong. https://nodered.org/docs/user-guide/messages
I am trying to show only the information from the T4ACC topic in the debug node, but I am not getting it.
I made a simple flow to understand but I am not able to solve the problem.
I tried to use this syntax for the debug node and am getting error messages
msg.payload."T4ACC"
Please how would be the correct syntax for this debug node?
My nodered flux:
[
{
"id": "6bc670f.5dd2b9",
"type": "tab",
"label": "Flow 1",
"disabled": false,
"info": ""
},
{
"id": "6b864fdd.66bf88",
"type": "pccc in",
"z": "6bc670f.5dd2b9",
"endpoint": "db7c09e4.fdcf7",
"mode": "all-split",
"variable": "N7.0",
"diff": false,
"name": "PLC",
"x": 130,
"y": 240,
"wires": [
[
"a156d74e.5690a"
]
]
},
{
"id": "a156d74e.5690a",
"type": "debug",
"z": "6bc670f.5dd2b9",
"name": "",
"active": false,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload."T4ACC"",
"targetType": "msg",
"x": 460,
"y": 240,
"wires":
},
{
"id": "db7c09e4.fdcf7",
"type": "pccc endpoint",
"z": "",
"address": "192.168.0.197",
"port": "44818",
"userouting": false,
"routing": "0x01,0x00,0x01,0x00",
"cycletime": "500",
"timeout": "1500",
"name": "ML1100",
"vartable": [
{
"addr": "T4:0.ACC",
"name": "T4ACC"
},
{
"addr": "T4:1.ACC",
"name": "T41ACC"
}
]
}
]
Thank you for your help