![](http://content.invisioncic.com/r129856/set_resources_2/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
Annatooli
-
Posts
31 -
Joined
-
Last visited
Content Type
Profiles
Forums
Gallery
Events
Blogs
Downloads
Articles
Media Demo
Posts posted by Annatooli
-
-
Thanks for reply.
I will keep both functions for now, but If I need more of those functions I will make unified array lengths, and add parameter with length.
I did look into C code but I cant figure out what to do with "bit" variable type. It is "unsigned char" in C, but not in examples nor in documentation is mentioned what I should put into those variables for returning true and false.
-
I have two identical functions, except "Function In" has different array lengths.
Inside function I can easily determine array length with "Array Size", but understandably "Function In" doesn't accept different array lengths.
Is it possible declare "Function In" so it will accept different length of arrays ??
I figured if I declare short arrays they will accepts calls with longer arrays. Question, Is entire array accessible from function or only smaller subset ?
-
You are correct. I mixed up master and slave, I figured it after some time with examples. Most of modbus things do work for now. Thanks.
-
When I checked my project I notice error on my RS485 CPU COM port it says "Both Slaves have been set to the same communication protocol. Slave1 may be set to TCP/IP, while Slave2 is set to RS485."
Does it mean UniLogic RS485 can access only one slave device ?? So if I have more than one modbus slave I have to connect second slave through TCP/IP connection ?? What happens when I have 21 devices ?? I am really screwed if there are this kind of limitation.
-
I installed UniLogic and filled form for activation, but no reply. So I started to think that activation key what is shown, looks similar to windows key. Probably it needs some sort of payment, But I cant figure out where and how I should pay. It says there is 5 days left until my trial period is over.
I really hate those hidden fees.
Is it possible declare function Input array as variable length
in UniLogic Software
Posted
So , like this ??
It does compile, just there is "char" in type name. So I assumed it has to be some sort character.