HCBBS Forum (English)
Submit Chemical Projects / Find Solutions
Amplify Your Requirements on a Broader Chemical Platform *Engineering · Technology · Equipment · Solutions*
Submit Request

Regarding the relationship between STEP7 DB blocks and WCC DB blocks

2016-01-07View Original

Thread Content

In step, there are only DB1 and DB2, but in WCC, it is connected to DB1.DD4, DB1.DD12, DB2.DW0, and DB2.DW4. What’s going on here?
Reply #22016-01-07
In WCC, “DB1.DD4” refers to the fact that the address corresponding to this symbol is a 2-byte data type located at address 4 within the DB1 data block in the step. ““DB2.DW0” refers to the data type of a single word whose address corresponds to 0 in the DB2 data block within the step. 1 binary digit is called 1 bit, 8 binary digits are called 1 Byte; 8 bits = 1 Byte. A byte is equivalent to 1 Word (1 character, 16 bits); DWORD (Double Word) refers to two words, which means four bytes (32 bits). 2 bytes = 1 word = 16 binary bits
Reply #32016-01-07
It is estimated that your DB1 and DB2 are the background data blocks of FB; each DB can store a large amount of data – for example, DB1.DD4 might be used to store a long integer or a real-number value.
Reply #42016-01-08
Thank you. Why is it necessary in WCC to specify the data type of the data blocks corresponding to those in STEP7?

Submit a Project

**Looking for Chemical Technology, Equipment & Solutions?** No Registration Required Broader Platform Exposure | Global Chemical Service Provider Connections

Submit Request — Free Consultation

Disclaimer

This is an automated machine translation of the original thread. Some technical terms may have inaccuracies; the original text shall prevail. Click "View Original" at the top right to access the source page, which supports IP-based automatic real-time language translation. Please watch out for contact details and sales inducements to prevent fraud. All content and translations are for reference only, representing solely the poster's personal views. For enquiries, email service@hcbbs.com.