10/7/2011 5:55 PM | |
Joined: 4/22/2010 Last visit: 11/18/2024 Posts: 5697 Rating: (715) |
Hello, There are many discusions here about calculation averege, here is one /tf/WW/en/Posts/57980 There are some working examples in it. Regards, Marcjan |
Problem solved? |
|
3/30/2013 11:49 AM | |
Joined: 1/28/2009 Last visit: 10/26/2024 Posts: 6852 Rating: (1365)
|
Hello, For doing such a thing, you need to indirect addressing.For more information on indirect addressing refer to the following FAQ: STEP 7 -- Creating S7 programs -- Indirect Addressing OPN DB 1 L L#100 SLD 3 LAR1 L IW [AR1,P#0.0] // or PIW[AR1,P#0.0] T DBW [AR1,P#0.0] Best regards Hamid Hosseini |
Last edited by: hdhosseini at: 3/30/2013 5:31 PMLast edited by: hdhosseini at: 3/30/2013 5:19 PM |
|
1/13/2016 9:40 AM | |
Joined: 9/3/2014 Last visit: 3/13/2019 Posts: 4766 Rating: (122) |
New question published by ICOMR is split to a separate thread with the subject Transfer inputs & outputs to DB, failure "The bit is not authorised for this instruction". Best regards |
Follow us on