Jump to content

Recommended Posts

Posted

Dear All!

 

I am a newby in programming Unitronics. Please help me how can I reorder operands, when a program nearly ready? A modbus master will ask V350 and I want to order together cognate  operands.

 

Thanks yor answers in advance, Zsolt

  • MVP 2023
Posted

You can use Edit/Replace Operand... to move operands anywhere you want, but what I usually do is set up a few ladder rungs of code to copy the operands into some contiguous blank space (see attached).post-408-0-81052400-1469453836_thumb.jpg

  • 4 weeks later...
Posted

Hi Flex

 

I used to follow the same approach but then I made a huge system (12 slaves with a lot of sharing variables) so duplicating was not anymore an option.

 

So if you know your system is going to grow then try to organize your variables in vectors. This limitation of fixed memory is one of the big advantages  I find in Unistream and that´s why I am starting to use Unistream as my default hardware.

 

Best regards, 

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.