4/25/2019 1:26 PM | |
Posts: 3 Rating: (0) |
Hello Siemens Community, i'm currently trying to get the datatype date from a S7-300 with NodeRed. Has anyone done this before and can show me how to do it? ------------------------------------------------------------------------------------------ |
Last edited by: Jen_Moderator at: 04/30/2019 07:55:19New subject after splitting |
|
4/25/2019 2:19 PM | |
Joined: 4/28/2015 Last visit: 11/12/2024 Posts: 3345 Rating: (379)
|
Hi, same behavior like using date_and_time, which is already described in this post! Just search for date in this post and you will find a post from me with a screenshot how to read it out. You have to read it out bytewise and then transfer from decimal to hex. Attached you can find a flow with an example. Best regards! Attachmentdate_time.txt (162 Downloads) |
Not working for IOT2050 support anymore from March 1st, 2024. |
|
4/26/2019 7:17 AM | |
Joined: 4/28/2015 Last visit: 11/12/2024 Posts: 3345 Rating: (379)
|
Ok, then we have to search for a formula which is calculating the current date based on that number. This formula has to be inserted to the function node. EDIT: See attached flow, should work like that. Best regards! Attachmentdate.txt (127 Downloads) |
Last edited by: bergmanu at: 04/26/2019 08:19:08Not working for IOT2050 support anymore from March 1st, 2024. |
|
This contribution was helpful to1 thankful Users |
Follow us on