Тёмный

Using Siemens Function Block RDREC (Read Data Records) 

Jason Watts AE
Подписаться 1,8 тыс.
Просмотров 3,9 тыс.
50% 1

In this video I explain the difference between Cyclic and Acyclic communication and how to use the Siemens SFB52 and SFB53 to pull data records. This opens up a world of data that can be used to further improve your process optimization.
I also show off the really cool motor 3RK1308 starter for the Siemens ET200SP IO system as well as how to use the SFBs with 3rd part hardware (IFM IO-Link Gateway)
Link to 3RK1308 Motor Starter Equipment Manual:
support.industry.siemens.com/...
Link to Example Project (TIA V16)
drive.google.com/file/d/10DFf...
0:00 Introduction
1:05 Cyclic Data Explained
3:05 Data Records Explained
4:53 3RK1308 ET200SP Motor Starter
5:43 Data Sets Explained in Manual
9:12 Our Code
10:37 Using RDREC WRREC
20:23 Hardware with Multiple HW_ID
21:54 Outro
#plc #siemens #tiaportal #automation #training

Наука

Опубликовано:

 

5 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 30   
@okkanpremium
@okkanpremium 11 месяцев назад
there was no video about this topic. thank you so much, please keep recording ✌🏻
@jasonwattsae
@jasonwattsae 11 месяцев назад
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!
@jayachandran5444
@jayachandran5444 9 месяцев назад
Thanks for the Topic
@jasonwattsae
@jasonwattsae 9 месяцев назад
Glad I could help!
@gajarubanjeyakumar7226
@gajarubanjeyakumar7226 11 месяцев назад
@jasonwattsae
@jasonwattsae 9 месяцев назад
🙃
@luciddream2033
@luciddream2033 9 месяцев назад
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 9 месяцев назад
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 8 месяцев назад
I hope you enjoyed the livestream! Thank you for tuning in and chatting!
@luciddream2033
@luciddream2033 8 месяцев назад
@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 8 месяцев назад
@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!!🤪
@LunetoHa
@LunetoHa 7 месяцев назад
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 7 месяцев назад
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)
@nicolasalonso3852
@nicolasalonso3852 6 месяцев назад
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 6 месяцев назад
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.
@nelsonpantaleon7751
@nelsonpantaleon7751 6 месяцев назад
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 6 месяцев назад
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 6 месяцев назад
@@jasonwattsae i will wait for you sir ♥️ thank you sir i love your videos all
@jasonwattsae
@jasonwattsae 6 месяцев назад
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!
@hoangnamnguyen7214
@hoangnamnguyen7214 10 месяцев назад
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 10 месяцев назад
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 7 месяцев назад
I hope you have seen the video on DPRD_DAT and DPWR_DAT. Thank you for suggesting it!
@hoangnamnguyen7214
@hoangnamnguyen7214 5 месяцев назад
Thank you very much for the video on DPRD_DAT and DPWR_DAT. it is really helpful for me. 🙏 @@jasonwattsae
@jasonwattsae
@jasonwattsae 5 месяцев назад
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!
@angelserranocervantes2229
@angelserranocervantes2229 2 месяца назад
How can I use to view data with the 6es7531-7tf00-0ab0 card, it is hart protocol, could you please help me?
@jasonwattsae
@jasonwattsae 2 месяца назад
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 2 месяца назад
​@@jasonwattsae Thank you very much, it would help me a lot!!, I look forward to it
@jasonwattsae
@jasonwattsae Месяц назад
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
@ImranKhan-qi9pf
@ImranKhan-qi9pf 3 месяца назад
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 3 месяца назад
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. ru-vid.comJkQOBd0RZUU?si=GCWGPiqjB3OUEZJY I also have a lot of different videos where I make a custom PLC Datatype to help organize the data.
Далее
Все кругом Миланы... 🤣
00:12
Просмотров 119 тыс.
Using VARIANT data type in Siemens TIA Portal
15:33
Просмотров 2,8 тыс.
PLC S7-1200 Modbus RTU read data from power meter
1:26:22
TIA Portal: Static vs Temp Variables
14:26
Просмотров 40 тыс.
Siemens PLC and Drive Training: Designing a Winder
3:18:50
Best mobile of all time💥🗿 [Troll Face]
0:24
Просмотров 2,8 млн