6/27/2018 9:22 PM | |
Joined: 11/17/2017 Last visit: 6/11/2021 Posts: 25 Rating: (0) |
hello every body i'm trying convert S5-95U to S7-300 now, but i have a question about the DO operation: STL program: AN F71.0 JC =M001 A I 0.0 JC M001 DO DW53 L DW0 L KH0001 ><F JC =M001 . . . What's the DO operation meaning? anyone can give help? thank you. ------------------------------------------------------------------------------------------ |
Last edited by: Jen_Moderator at: 6/28/2018 6:27:32 AMNew subject after splitting |
|
6/28/2018 8:33 AM | |
Joined: 3/16/2015 Last visit: 11/18/2024 Posts: 11 Rating: (2) |
Hi Gary, it's indirect addressing. The code "L DW 0" loads data stored at address defined by contents of DW53. Usually it's used inside a loop - it seems to be also your case, it looks like your STL code decrements DW53 till 1. Hope this helps to get you started, Petr
|
Follow us on