1/30/2019 6:20 PM | |
Posts: 2 Rating: (0) |
hi i am using S7400 PLC and make a DB15 with array 0..256 means 256 step i want use this DB for shift rotate but how i make logic for this that i give the 1 to db15.dbx0.0 and its start shifting the 256 step bit by bit. ------------------------------------------------------------------------------------------ |
Last edited by: Jen_Moderator at: 1/31/2019 7:29:59 AMNew subject after splitting |
|
1/30/2019 7:49 PM | |
Joined: 9/21/2012 Last visit: 4/22/2024 Posts: 3912 Rating: (444) |
Does the picture answer your question? |
1/30/2019 9:06 PM | |
Posts: 2826 Rating: (684) |
Would that be 257 steps from 0..256 or 256 steps from 0..255? Assuming you are thinking of bits and not byte numbers. The most effective is to point to the absolute address and using the SHBR instruction. What you are looking for is written here: Please see documentation in PDF printout. This is available in TIA in-software help. BR Attachmentshift-bit-register.pdf (116 Downloads) |
Last edited by: #dP at: 1/30/2019 9:07:55 PM |
|
Follow us on