bunschi Posted October 19, 2020 Report Posted October 19, 2020 hi all, I need help, I'm trying to make a simple function block to move the data of 3 inputs position 1 to 3, to 3 consecutive address starting from the input address "position_data". Please see attach picture and my current approach which is not working. Thank you.
chelton Posted October 19, 2020 Report Posted October 19, 2020 A DINT = 2 x Words Your inputs are DINT's and you are trying to move them into 3 consecutive WORD addresses. 1
Sergei Troizky Posted October 20, 2020 Report Posted October 20, 2020 I wonder why FB for such a small and simple task? As long as the program memory allows, I would simply rewrite it as many times as necessary, in the main program. FBs are data memory and scan time significant consumers. 1
bunschi Posted October 20, 2020 Author Report Posted October 20, 2020 31 minutes ago, Sergei Troizky said: I wonder why FB for such a small and simple task? As long as the program memory allows, I would simply rewrite it as many times as necessary, in the main program. FBs are data memory and scan time significant consumers. i did this for simpler appearance, i make this program at home and i cant be on actual site to adjust these parameters and the technician that will adjust this doesn't have enough knowledge on this matter, and i don't want him to mess around the program. its easier if it only have hmi.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now