Jump to content

shargy

Members
  • Posts

    14
  • Joined

  • Last visited

Everything posted by shargy

  1. Hello Uni crew, I want to store datas from one process to DTI as some kind of report. idea is to have several columns for several process values and one string column formated as DateTime (when user save DTI as csv I want to that column has values as yyyy-mm-dd HH:mm:ss). How I can make string in that format based on RTC? I have also one informative question about Web server. Do You have plan to implement in Web server some feature like trends from Data Sampler? Out customer ask us is it possible to see historical data in web page so we need to know to tell him to be patient (if You have plan to implement it in near future) or to buy some SCADA software.
  2. Hello, I expected that answer. Of course it is easy to make solution on that way but it can be little complicated when I add some new process parameters I always have to expand DT and dont forget to do that. Maybe would be interestingly to add some similar feature in next versions of UniLogic. Thank You for reply!
  3. Hi Uni crew, is it possible to upload tag values as some kind of backup (let say I want to save PID parameters or other process parameters with my project)?
  4. Hi, I have same problem as DaveE. I want to make data exchange with two PLCs and of course IP for remote PLC should be retentive but every time when PLC power up IP becomes empty string although it is marked as retentive. Like DaveE says " It appears to be working for the port". I also tried to set PowerUp value for IP but alway on power up it becomes empty. As I remember it also tried test with some other tag declared as ascii string and there was same problem. DaveE, Do You use COM: CPU TCP/IP instructions for connection to another device?
  5. Hi all, how I can perform linearization with negative coefficient (x1=0, x2=100, y2=200, y1=10)? I always get 65535 for block out.
  6. Hi Eyal, Thanks for very fast answer! I agree with You about dropped connection but what I tried to explain is actually what happens when I try to reconnect those 2 PLCs let say after manual disconnect command. After first connect command client does not connect to master (watching from master's side) but on client side says "connected". So I have to press disconnect (after first connect) and then again connect and that is what establishes connection (I tried several times). After unplag then plag eth cable situation is the same. Always I must press connect, disconnect and connect (not just disconnect and connect). Can You please simulate that situation? I will resolve this with some watchdog because TCPClient.Is Connected sometimes gives falsely state of connection. I will listen You advice about Eth port state properties. Do You have idea why string tag always loses values after power up (although is declared as retentive)? I checked several times, only places where it is in use is on screen IP edit box and in ladder in String To IP block. Also, INT type of tag has no problem about retentive option. Interesting is that one PLC loses that string value (even i set power-up value for that tag) and another not. In first ("problematic") PLC IP edit box if made from 4 input fields and in another is made from one input field. I just found that Bin_Files are different in that 2 PLCs (1.6.14 and 1.6.13). Thanks very much again!
  7. Hi all, especially to Uni Crew I 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.7 Only 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 I power 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 button disconnect 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?
  8. Hi all, I'm impressed with Unilogic and its concepts. I'm learning how to use this software because in few days i have to start my first project with Unistream PLC. So far I have not figured out how to define new alarm and how to display it on HMI so please give me guidelines how to do that. Thanks!
  9. Thank You Simon! I will listen your advice...
  10. Hi, refresh rate is not critical, let say that customer will be satisfied with 15 minutes refresh or when values goes over some value. Your question about SMS is become interesting. Is possible to send two integer values (I believe it is, according to examples) via SMS and read that values from SMS in another PLC to its MIs? That will be nice enought for that purpose...
  11. Hello, is it possible to connect two PLCs (M91 or Jazz) over GPRS to exchange data between them? We have to read one digital input and one analog input on first PLC and transfer them to another PLC and put that values to its digital output and analog output. Thanks!
  12. Hi Emil! That example is just what I need. I totally forgot to look at U90 examples. I will translate that project to VisiLogic in the morrning. Good night and thank you!
  13. Hi, you are right, valve stops when come to ending position (has internal switches for that) and I dont have cooling. My description was incoplete, sorry because of that. After I post this topic I was looking in some books and I think that your first idea (limit control) is the right way for my solution. I will put two deadbends, for roughly and for fine regulation (with different times for open or close and for pause) for each diapason. Thank you, once again!
  14. Hi everyone, I have problem and I need suggestion. I have to control room temperature with one motorized valve and I have only two digital outputs and room temperature sensor. I don't have analog position of the valve or digital inputs for opened or closed position.I want to use PID with or without PWM but I don't know how to do it. How to convert analog output of PID to impulses for open or close comand? Is it possible at all or I have to use simple comparison logic with dead band and open/close/pause times? Thank you!
×
×
  • Create New...