shargy Posted May 22, 2014 Report Share Posted May 22, 2014 Hi all, especially to Uni CrewI have few issues about UniLogic (I'm using Ver 1.6 Rev83)First issue is about numeric (input) field. I put it in screen, untick Reaad-only, link it to some tag (declared as INT16) and set format to one decimal place.After project is downloaded when I try to set some value like 25.3 (witch in PLC should be 253) I got message something like "value not in range" and range is set -3276.8 to 32768.7Only value I can enter is zero. But when I change that tag in PLC via Online mode and set it to 321 on PLC's screen it becomes 32.1 as it should be.Where is my mistake or is it possible to do such thing in UniLogic (like in VisiLogic)?My second issue is about data exchange between two UniStream PLCs. I found Your example and tried it. Of Course it work fine but I found one situation with TCPClient.Connect method.After PLC's are powered-on connect method momentary makes connection to another PLC. But when I unplug ethernet cable and wait for few seconds connection state becomes "disconnected" as it should be.After that I plug eth cable and press button connect (same tcpclient) on slave PLC it says "connected" but on master PLC is still disconnected and there is no data exchange.After that I press disconnect button (tcpclient.Disconnect) and that again connect. After that both PLCs (master and slave) say that connection state is "connected". Same situation is when Ipower of one PLC and after power on I try connect (first connect, then disconnect and than connect and after that it always works). also, when connection is established after press buttondisconnect situation is same when I want to connect again.Does some one have experience about that?My last issue. I have declared tag STRING UTF 32 (also from Your example) wich holds IP address of master PLC as retentive but it always has "" value after power-up. Is there some special procedure for making string tags to be retentive? Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.