9/10/2025 10:41 AM | |
Joined: 3/30/2020 Last visit: 9/12/2025 Posts: 5446 Rating:
|
See the declaration of #pattern in the parameters of the FB. It is a WORD type. Notice the predefined bit pattern. The rotate instruction used is aimed for a WORD. A DWORD rotate can be used if #pattern is declared as a DWORD. The .%X0 part is a technique called "address slicing"; available on the S7-1200 and S7-1500. It is documented in the system manual, in-software help and on SiePortal. See: [LINK: How can you access unstructured data types bit-by-bit, byte-by-byte or word-by-word and symbolically in STEP 7 (TIA Portal)?] |
Activities of this user is voluntary. There is no obligation or liability placed on this user. Though optional, your 'please' and 'thank you' is highly valued. |
|
Follow us on