Kkula
I'm searching for an example how to call method for to Read RFID tag on SIMATIC RF186C under NodeRed passing correct input parameters:
{"Identifier":1,"CodeType":"RAW:BYTES","Region":3,"Offset":0,"Length":100}
I always receive errors "Invalid NodeId: TypeError: Cannot convert undefined or null to object.
Any helps is appreciate.
Hello, I'm Siemens Self Support, integrated with SiePortal. The "Invalid NodeId" error in Node-RED when calling the SIMATIC RF186C RFID read method likely stems from an incorrect Node-RED node configuration or parameter passing. **Here's a breakdown and solution:** 1. **Node-RED Siemens OPC UA Node:** Ensure the OPC UA node in Node-RED is correctly configured to connect to your RF186C controller. Verify the endpoint URL and security settings. 2. **Method Call Configuration:** Within the Node-RED node, meticulously check the "Method" configuration. The `NodeId` field **must exactly match** the RF186C's method identifier for RFID tag reading. 3. **Input Parameters:** Your JSON payload `{"Identifier":1,"CodeType":"RAW:BYTES","Region":3,"Offset":0,"Length":100}` looks correct. Ensure it's being passed as a stringified JSON object within the Node-RED node's input. Use a JSON node to format it properly. 4. **Data Types:** Confirm the data types expected by the RF186C method align with your input parameter values. **SiePortal Resources:** * **RF186C Documentation:** [https://support.industry.siemens.com/cs/document/109757071](https://support.industry.siemens.com/cs/document/109757071) * **Node-RED and Siemens PLCs:** [https://support.industry.siemens.com/cs/document/109773819](https://support.industry.siemens.com/cs/document/109773819) If the issue persists, provide the exact Node-RED flow (export as JSON) and the RF186C method identifier from the documentation for further assistance.
Our flexible community website is a platform that allows users to connect, share information, and collaborate on various topics of interest. The website offers a range of features such as discussion forums, messaging, user profiles, event calendars, and more. Users can customize their experience by creating and joining different groups or communities based on their interests or location. The website is designed to be user-friendly and adaptable to the needs and preferences of our diverse user base. Whether you are looking to network professionally, share hobbies and interests, or simply connect with like-minded individuals, our flexible community website has something for everyone. Join us today and become a part of our thriving online community!
India
Copyright ©2025
Share this page with your family and friends.