Тёмный

Siemens PLC Function Block Training: DPRD_DAT and DPWR_DAT 

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

In this episode we continue our Siemens PLC Function Block series by discussing the blocks used to send data via ProfiBus: ProfiBus Consistent Read and Write Data
Siemens PLC Training. ProfiBus Training. Siemens Function Blocks. Siemens Profibus Communication. Step7, TIA Portal, s71500 s71200 s7300 s7400
Original background music by @DrewNel7208
0:00 Introduction
0:33 ProfiBus Communication Description
1:50 DPRD_DAT and DPWR_DAT Purpose
4:49 Block Import and Description
5:38 Determining LADDR in Portal
6:56 Determining LADDR in SIMATIC Manager
7:29 Determining RECORD in Portal and SIMATIC Manager
10:21 Outro
Join the Discord Server!
/ discord
#plc #siemens #training #motioncontrol #sinamics #s120 #g120

Наука

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

 

11 июл 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 17   
@AlexandreMoleiro
@AlexandreMoleiro 3 месяца назад
Thank you. The part about starting typing the device name on the LADDR input of DPRD really helped me.
@jasonwattsae
@jasonwattsae 3 месяца назад
I'm glad it helped! That address is used in other blocks and it gives a lot of people trouble. It took me a while to figure it out the first time I used it all those years ago! I hope your project goes well!
@thomassaook7787
@thomassaook7787 8 месяцев назад
thank you for the good presentation, it is very handy
@jasonwattsae
@jasonwattsae 8 месяцев назад
I'm glad it was helpful!
@chrisredfield8698
@chrisredfield8698 2 месяца назад
Jason, i want to thank you for this thourough explanation 🙏. A lot of videos just explain the inputs and outputs of these two blocks but not the reason we're using them and the data transfer problem they solve 😡. Couple more QUESTIONS 😁, and i know they are braud but bear with me : 1- Using these two blocks with profibus and it's slow 1.5 Mbps (or less) is convincing, but would the same fear arise with profinet and its higher transfer speed ? or should we just use them anyways to guarantee the best results ? 2- Since you explained with the drive example i decided to implent these two in my VFD "CONTROL - FB". However, i want to know where else i should (must) use them ? (pumps, valves, measuring temperature, presssure..) maybe PIDs in general 🧐 Signature N00B_Lvl_ONE_THOUSAND
@jasonwattsae
@jasonwattsae 2 месяца назад
One thing about ProfiNet is that since it uses TCP an entire telegram can fit into one packet. So the actual transmission is protected from this to a point. There is a problem if your actual network is in so much trouble (Some versions of Powerflex drives are notorious for breaking regular LANs) that there are collisions and buffers in the switches, but ProfiNet RT (what is used by PLCs to drives) by passes a lot of this. Second thing, you set the RT update rate in the PLC project for ProfiNet, so as long as your update rate is longer than the transfer time it takes to create the TCP packet (think a few microseconds) you are good Anything that has data that has a significant amount of data that needs to be "tied together" for proper function. Most of what you just named will only use a couple bytes at a time at the most so this wouldn't be needed... the only thing I can think of off the top of my head would be something like an RFID scanner that has a payload that is fairly large (think 200byes+). You would definitely want to use this to make sure that when you send the packet stuff doesn't get updated in the middle of the process.
@chrisredfield8698
@chrisredfield8698 2 месяца назад
Eyyyyyy thanks so much for the quick response and the clarification Jason ✌you made me pay attention to some very important points. Much appreciated 👊
@jasonwattsae
@jasonwattsae 2 месяца назад
No problem! I always want to help. It's just that I usually have to schedule my time pretty tightly. You caught me on a break so you get a quick response!
@hoangnamnguyen7214
@hoangnamnguyen7214 5 месяцев назад
Thank you very much for accepting my suggestion last time. This enlightens me about questions in my mind ever. So when plc "reserve" the data before comunication cycle starts then it can increase the PLC cycle time and response time because plc have to wait for a consistent data completly copied into Profibus/profinet area memory and afterward Profibus/profinet comunication can start to a slave. Am i right?
@jasonwattsae
@jasonwattsae 5 месяцев назад
I will need to look into this a little, but the cycle time shouldn't be affected greatly by this because the actual transmission is completed by separate hardware. The PLC moves the data into the registers then the DP hardware completes the transmission, then signals the main processor that the action is completed (usually triggering an interrupt). While it is transmitting, the main processor is running other code. This block just makes sure that when you move the data into the transmission register it is "locked" during the time it is moving. Look at my livestream where I talk a little about memory (I think it was the Pointer stream). Eventually, I am going to do some content specifically about the basics of Hardware, but for the time being I just talk about it a little in my streams, so make sure to at least turn them on in the background. I hope this helped! Thank you for being part of this community!
@LFC2702
@LFC2702 9 месяцев назад
Shouldn’t process image updates for telegram be disabled?
@jasonwattsae
@jasonwattsae 9 месяцев назад
Yes, that would most definitely help (and is handled automaticallyin Portal), but you would still want to use these blocks on ProfiBus systems. I didn't say this in thevideo, but you can actually use this block on ProfiNet or others as this is just a way to "reserve" the data as it is being transferred.
@LFC2702
@LFC2702 9 месяцев назад
Would you use this block on a profinet system still?
@jasonwattsae
@jasonwattsae 9 месяцев назад
@LFC2702 I do not (for drives) and here is the biggest reason why. Siemens' own technology objects don't use these blocks for ProfiNet. Now, Portal does set a lot of settings behind the scenes that make things work smoothly with TOs, but they use a "actor interface" tag with the datatype of "PD_TELx" and points the tag to the IO address. I have used this method with many general purpose drives without problems, but that doesn't mean I am necessarily doing it the "100% proper" way. If your process is at risk to inconsistent data using these blocks is a fairly easy way to sleep better at night. You are going to have your data stored somewhere (even if it is in the instance data in an FB) and you can always reference that data with these blocks. This pointer structure also works with the use of TCP_SEND and TCP_REC to send generic packets over TCP.
@LFC2702
@LFC2702 9 месяцев назад
@@jasonwattsae Hi Jason, Thanks for the above… Feel I’ve been looking into this for a while and gained more understanding from these comments that I have on my own research. Videos are great Jason enjoying the format of them. Curious to know what you got next coming up?
@jasonwattsae
@jasonwattsae 9 месяцев назад
I am planning on doing our first livestream with one of the other owners of my company Alpha Industrial Technologies this Sunday where we are planning on going through our most recent Motion control program. The next edited video will probably be on MC TorqueLimiting and how it can be used. Is there a topic or block that would be helpful for you?
@jasonwattsae
@jasonwattsae 9 месяцев назад
If you make it through the off centered intro without unsubscribing like this comment! I will accept all shame! 😅
Далее
PLC TO PLC COMMUNICATION USING DP/DP Coupler
20:12
Просмотров 1,3 тыс.
[RU] Winline EPIC Standoff 2 Major | Group Stage - Day 2
9:32:40
Despicable Me Fart Blaster
00:51
Просмотров 9 млн
Using Siemens Function Block RDREC (Read Data Records)
22:10
Siemens PLC and Drive Training: Designing a Winder
3:18:50
What is the Difference between Profibus and Profinet?
5:28
Beginner Siemens Drives Training: SINAMICS Drives 101
2:55:59
Siemens Simatic AX
8:47
Просмотров 9 тыс.
Собери ПК и Получи 10,000₽
1:00
Просмотров 2,4 млн