Тёмный

004 | Learn BIT, BYTE, WORD, DOUBLE WORD Concept & Conversion in SIEMENS PLC | SITRAIN | 

PyLin
Подписаться 1,7 тыс.
Просмотров 17 тыс.
50% 1

In summary, the BIT, BYTE, WORD, and DOUBLE WORD data types are essential concepts in Siemens PLC programming. Understanding the conversion rules for these data types is crucial to effectively program a Siemens PLC. By using the appropriate data types and conversion rules, we can efficiently control and read digital signals in our automation and control applications. As technology continues to advance, it is essential to stay updated with these concepts to remain competitive in the industry.
➡️ BIT
A BIT is the smallest unit of data in a PLC. It can either have two states: ON or OFF. In Siemens PLC programming, we use the data type BOOL to represent a BIT. This data type can be used to control a single digital input or output.
➡️BYTE
A BYTE is a group of 8 BITS. In Siemens PLC programming, we use the data type BYTE to represent a group of 8 digital inputs or outputs. The BYTE data type can be used to control or read 8 digital signals at once.
➡️WORD
A WORD is a group of 16 BITS. In Siemens PLC programming, we use the data type WORD to represent a group of 16 digital inputs or outputs. The WORD data type can be used to control or read 16 digital signals at once.
➡️DOUBLE WORD
A DOUBLE WORD is a group of 32 BITS. In Siemens PLC programming, we use the data type DWORD to represent a group of 32 digital inputs or outputs. The DWORD data type can be used to control or read 32 digital signals at once.
➡️Conversion
In Siemens PLC programming, we may need to convert data from one data type to another. For example, we may need to convert a BYTE to a WORD, or a DWORD to a BYTE. In order to do this correctly, we must understand the process of conversion. The following are the conversion rules for BIT, BYTE, WORD, and DOUBLE WORD data types:
- To convert a BYTE to a WORD, we need to concatenate two BYTEs.
- To convert a BYTE to a DOUBLE WORD, we need to concatenate four BYTEs.
- To convert a WORD to a DOUBLE WORD, we need to concatenate two WORDs.
- To convert a WORD to a BYTE, we need to extract the high BYTE or low BYTE of the WORD.
- To convert a DOUBLE WORD to a WORD, we need to extract the high WORD or low WORD of the DOUBLE WORD.
- To convert a DOUBLE WORD to a BYTE, we need to extract the high BYTE, second high BYTE, third high BYTE, or low BYTE of the DOUBLE WORD.
➡️Practical use of Data Types
In practice, we use these data types to control and read digital signals in automation and control applications. For example, in a manufacturing plant, we may use a Siemens PLC to control a conveyor belt. The PLC would use the data types to control the motors and read signals from sensors. When a product reaches a certain point, a sensor would send a signal to the PLC, which would then use the data types to control the motors to either stop or start the conveyor belt.
➡️Conclusion
In summary, the BIT, BYTE, WORD, and DOUBLE WORD data types are essential concepts in Siemens PLC programming. Understanding the conversion rules for these data types is crucial to effectively program a Siemens PLC. By using the appropriate data types and conversion rules, we can efficiently control and read digital signals in our automation and control applications. As technology continues to advance, it is essential to stay updated with these concepts to remain competitive in the industry.

Наука

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

 

29 авг 2022

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 24   
@kamranelectric7409
@kamranelectric7409 11 месяцев назад
hy sir very helpfull lectcher thanks from pakistan lahore
@chiragbambhaniya9446
@chiragbambhaniya9446 10 месяцев назад
Clear Explanation.. Thank You
@PYLIN
@PYLIN 9 месяцев назад
Glad it helped
@AtulKumar-nv1ng
@AtulKumar-nv1ng 11 месяцев назад
useful information thanks
@PYLIN
@PYLIN 9 месяцев назад
Glad it was helpful!
@ndifrekeudo3601
@ndifrekeudo3601 8 месяцев назад
Can you do the English version of it for larger audience
@manjunathaswamy2076
@manjunathaswamy2076 6 месяцев назад
Sir superb explanation tq
@PYLIN
@PYLIN 2 месяца назад
Keep watching
@kiransingani3799
@kiransingani3799 4 месяца назад
👍👍nice
@PYLIN
@PYLIN 2 месяца назад
Thank you! Cheers!
@Topu34
@Topu34 Год назад
Which one IB0 output
@masumahmed7978
@masumahmed7978 7 месяцев назад
nice
@PYLIN
@PYLIN 2 месяца назад
Thanks
@Galanty00
@Galanty00 5 месяцев назад
what language is this....
@PYLIN
@PYLIN 4 месяца назад
Hindi
@mehdivafaeizadeh
@mehdivafaeizadeh 5 месяцев назад
Thanks, what is the name of the notepad software?
@PYLIN
@PYLIN 5 месяцев назад
Xournel
@raitariqazizofficial2306
@raitariqazizofficial2306 9 месяцев назад
Sir es ka practically kidhr istamal hota h😊
@PYLIN
@PYLIN 9 месяцев назад
For Data Conversion and When you are working with modbus or some device which is sending data in word format and you want to extract bit level data.
@muhammadshehbazaslam4549
@muhammadshehbazaslam4549 Год назад
How to download TIA portal, please link
@PYLIN
@PYLIN Год назад
Please Visit our website or join Telegram channels for software.
@muhammadshehbazaslam4549
@muhammadshehbazaslam4549 Год назад
Please redirect me to the download link on your website, thanks
Далее
PLC Data Types | PLC Fundamentals 04
12:13
Просмотров 2,7 тыс.
Советы на всё лето 4 @postworkllc
00:23
PLC data types
9:40
Просмотров 14 тыс.
Why The Windows Phone Failed
24:08
Просмотров 219 тыс.
Lecture 3/12: Bits, Bytes and Words
15:07
Просмотров 146 тыс.
Data Types and How to know what you need! (TIA Portal)
23:08
LADDER PROGRAM ADDRESSING IN SIEMENS PLC
48:17
Просмотров 7 тыс.
iPhone socket cleaning #Fixit
0:30
Просмотров 18 млн
КРУТОЙ ТЕЛЕФОН
0:16
Просмотров 7 млн
iPhone socket cleaning #Fixit
0:30
Просмотров 18 млн