11/26/2019 9:43 PM | |
Joined: 9/16/2013 Last visit: 1/5/2024 Posts: 511 Rating: (105) |
Hello, Based on the post FIFO in S7 -1200 I post solution in TIA portal which works for S7-300/400 and S7-1500 CPUs. In order to not write much here I wrote a lot on pic and there is a lot of pics. Main things are : 1. fcMemMove ( Copies contest from source to the Destination pointer, size is defined with bLen Input (integer)).
2. fcFIFO_W ( FC comes into 2 parts, 1. part is STEP 1 from excel (see pic), 2. part is STEP 2 from excel ( see pic )). Function actually configures pointer variables and provided FIFO is done according to the excel pic.
FC can easily be adapted to any other ALG, FILO or.. Best Regards Soble |
Last edited by: SOble at: 11/26/2019 21:43:56Last edited by: SOble at: 11/26/2019 21:48:51Website: |
|
This contribution was helpful to2 thankful Users |
11/16/2023 9:33 PM | |
Joined: 10/10/2010 Last visit: 4/1/2024 Posts: 307 Rating: (15) |
Can we get a code with SCL ? |
Follow us on