7/5/2024 6:13 AM | |
Joined: 5/30/2017 Last visit: 9/9/2024 Posts: 4 Rating:
|
Dear Siemens Programmers, I am trying to under the below STL code but i cannot understand the array part where "L DBW [AR1,P#0.0]" is mentioned. If anyone can explain me, it will be really helpful. The Code: OPN DB 134 // Open DB L MW 270 // load aktual value L 5 // convert in 0..100 *I SLD 4 L P#0.0 // Load pointer 0 +D LAR1 // manipulate adress register 1 L DBW [AR1,P#0.0] // get aktual value from table [0..999] T MW 274 // Output aktual value Thanks much in advance! -Deva (Proud Siemens Programmer) ------------------------------------------------------------------------------------------ |
Last edited by: S_Moderator at: 07/08/2024 16:18:44New subject after splitting |
|
Follow us on