Using Siemens Function Block RDREC (Read Data Records)

Поділитися
Вставка
  • Опубліковано 11 січ 2025

КОМЕНТАРІ • 34

  • @okkanpremium
    @okkanpremium Рік тому +1

    there was no video about this topic. thank you so much, please keep recording ✌🏻

    • @jasonwattsae
      @jasonwattsae  Рік тому

      That is definitely the plan and exactly why I recorded this one. If you have any other topics let me know. I try and help where I can!

  • @nelsonpantaleon7751
    @nelsonpantaleon7751 Рік тому +2

    Hello there, Sir can have this program zip file that can i upload in my tia portal so that can i studying this program that you showed in this video i hope you can help thank you . I hope sir you reply 🙏 thank you

    • @jasonwattsae
      @jasonwattsae  Рік тому +1

      I will make a smaller project and put the setup that I am using in it. The project that is featured in this video is over 2GB due to all of the HMIs and Drives. I will reply back here once I have created the project and I will link it in the description of this video. Check back soon!

    • @nelsonpantaleon7751
      @nelsonpantaleon7751 Рік тому +1

      @@jasonwattsae i will wait for you sir ♥️ thank you sir i love your videos all

    • @jasonwattsae
      @jasonwattsae  Рік тому +1

      Thank you for your kind words. I have updated the description with a link to a simplified project that contains everything used in this video. Thank you for supporting the channel!

  • @LunetoHa
    @LunetoHa Рік тому +1

    Using TIA Portal in combination with S71500 seems really easy. But how do you use RDREC with S7-300? (as the Hardware_ID isn't simply found within your Hardware config).
    Great video!

    • @jasonwattsae
      @jasonwattsae  Рік тому

      I thought I put this in the video, but I must have been mistaken. To use this block on a S7300 use the Starting Input address of the device in HEX format (16#xxxx)

  • @luciddream2033
    @luciddream2033 Рік тому

    Its good to see you are doing more content. Are you going to some content on scripting and structured text? Maybe some vids on fog computing or edge computing and SQL database queries with Siemens.

    • @jasonwattsae
      @jasonwattsae  Рік тому

      This will probably be part of one of our livestreams. My company is an Ignition Gold certified integrator so we deal with databases quite a lot.
      As for ST, I have not used it since working on some SIMOTION projects a few years ago but some of the real time processing we are getting into is going to need it.
      Thanks for the comment. Stay tuned!

    • @jasonwattsae
      @jasonwattsae  Рік тому

      I hope you enjoyed the livestream! Thank you for tuning in and chatting!

    • @luciddream2033
      @luciddream2033 Рік тому

      @jasonwattsae yeah, I'm going to try to have some more questions next time. I didn't want to interrupt too much.
      BTW, this is Zach at ABH in case you were wondering.

    • @jasonwattsae
      @jasonwattsae  Рік тому

      @luciddream2033 Ah! I thought you were at work somewhere in southeast Asia on a Monday morning 😅! Glad to see you man! The more questions the better. Less of me just rambling!!🤪

  • @jayachandran5444
    @jayachandran5444 Рік тому

    Thanks for the Topic

  • @hoangnamnguyen7214
    @hoangnamnguyen7214 Рік тому

    Thank you so much about this topic! It helps me a lot. I was stuck in thinking when we will use RDREC and WRREC instructions. By the way i am wondering that you can help a topic for DPRD_DAT and DPWR_DAT. Thank you in advance.😋

    • @jasonwattsae
      @jasonwattsae  Рік тому +1

      I'm glad I could help! I will look at those blocks and see what I can come up with. Profibus (DP) communication isn't something I have used on new projects for quite some time, but I have quite a bit of time working with it in the past.

    • @jasonwattsae
      @jasonwattsae  Рік тому +1

      I hope you have seen the video on DPRD_DAT and DPWR_DAT. Thank you for suggesting it!

    • @hoangnamnguyen7214
      @hoangnamnguyen7214 11 місяців тому

      Thank you very much for the video on DPRD_DAT and DPWR_DAT. it is really helpful for me. 🙏 @@jasonwattsae

    • @jasonwattsae
      @jasonwattsae  11 місяців тому +1

      I'm so glad it was helpful! There have been a lot of people that have found it and watched it. Thank you again for suggesting it!

  • @nicolasalonso3852
    @nicolasalonso3852 Рік тому

    can the record where you store the data be a struct? Im using a module wich has a dataset that store Bytes and Real data type, so i thought about using a struct with the data types i need

    • @jasonwattsae
      @jasonwattsae  Рік тому

      Yes, since this is using a pointer, the function does not know what structure the source or storage DB has. It only knows that it is pulling a number of bytes starting at a certain location. How you organize those bytes is up to you. If you want to see this in action, check out my video about DPRD_DAT and DPWR_DAT.

  • @rahulchhajiyan9401
    @rahulchhajiyan9401 3 місяці тому

    sir please make a video on wrrec write data record ,can you give a solution of an error DF80-b200

    • @jasonwattsae
      @jasonwattsae  3 місяці тому

      I will research and make a short about the error. I will reply here, but make sure you are subscribed so you don't miss it!

  • @ImranKhan-qi9pf
    @ImranKhan-qi9pf 9 місяців тому

    Hi. I am Imran. We need help in between Keyence displacement sensor and Siemens PLC. We are using Keyence GT2 and it starts communicating with S7-1215 DC/DC/DC PLC through Profinet successfully. The problem/query was about the data format. when the sensor got in contact with metal part, it shows some readings on the amplifier display like the readings are (2.4567 etc). Now i want these values inside the input addresses of PLC like in my case the addresses are I (18-24). but i can not get the readings on RDREC DB . Which seems to me that their is addresses issue or could it be the data format. I am confused about this. Moreover i switched the index value from 37 to 38 etc to check for different values, also switch different data formats. Please help me if you can in this matter.

    • @jasonwattsae
      @jasonwattsae  9 місяців тому

      If you are wanting to use the input vales you do not need to use data records. Check out this video and look at how I get the data from the input addresses around 58:00 using the manual and organizing the Input addresses.
      ua-cam.com/users/liveJkQOBd0RZUU?si=GCWGPiqjB3OUEZJY
      I also have a lot of different videos where I make a custom PLC Datatype to help organize the data.

  • @angelserranocervantes2229
    @angelserranocervantes2229 8 місяців тому

    How can I use to view data with the 6es7531-7tf00-0ab0 card, it is hart protocol, could you please help me?

    • @jasonwattsae
      @jasonwattsae  8 місяців тому +1

      I will look up the manual and get back with you. I have some HART sensors that I could use this info with as well.

    • @angelserranocervantes2229
      @angelserranocervantes2229 8 місяців тому

      ​@@jasonwattsae Thank you very much, it would help me a lot!!, I look forward to it

    • @jasonwattsae
      @jasonwattsae  8 місяців тому +1

      Alright, here we go...
      It appears that if you use that module you can actually configure the module to bring in automatically up to 5 (maybe 13?) HART variables as standard inputs (eg. IW10) when you configure the parameters of the module in the device view. These use "built in" RDREC functions to pull them into the Process Image Table (standard IO). Once configured, you would be able to just point a tag to that input (probably want to use a PLC Datatype) and it will automatically update.
      You will need to find out the HART command from the sensor manufacturer documentation to pull what you want, but for 4 of them you just put that command into the hardware configuration. The 5th, there is a output area that is defined in the "multiHART" area that you would use a MOVE block to move it into that area (probably want a tag) and the corresponding input area would be updated with the data automatically.
      If you needed more, you would have to use the WRREC function to send the command, then the RDREC function to read it, but it seems like there has to be some annoying handshaking to make sure the buffer doesn't fail. The document that describes these features is available below:
      support.industry.siemens.com/cs/document/109821074
      you should join up the Discord as I am about to start this discussion there and I am sure we will have a few people chime in...
      discord.gg/9qQ43bpmHu

  • @mohamedheshamsoliman3195
    @mohamedheshamsoliman3195 3 місяці тому

    Perfect !

    • @jasonwattsae
      @jasonwattsae  3 місяці тому

      I'm glad it was helpful! Check out the other videos on the channel. I have been starting up a large facility this summer so I have not been able to do much content but that will soon change!

  • @gajarubanjeyakumar7226
    @gajarubanjeyakumar7226 Рік тому +1