Jump to content

HansCZ

Members
  • Posts

    25
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by HansCZ

  1. Hello, I am trying to send an email with attachements (1 data table and 4 samplers). All as zipped csv. But always get an -4 (attach file) error. Note that if I erase all the attachements the email is send in a proper way, so SMTP configuration etc. is ok. I also tried to delete all the samplers and leave just Data Table and vice versa, but the error still persists. Attaching the window with attachement configuration. Using Unilogic 1.35.227 Does anybody know some link to some manual how to configure email? There is not much information in the help file and also the video tutorial is poor (the guy just says "you attach the attachement this way". Because there is a column folder, which is read only in the case of data table, but editable in the case of Sampler. Is that a folder with samplers? And how to address it? Fullpath like x:/Samples/FIC1Data or just FIC1Data? the column filename is filename of the attachement I suppose, so any. Or has to be the exact same filename where the data table is stored in PLC? But this would be weird as you are not obliged to save DT to a file? So any detailed manual to this Unistream function is greatly appreciated. thanks jan
  2. Have the similar problem. Somebody adviced this But it did not help me. I think the solution is to wait for 1.36 as in the current version there are more bugs (time schedule for instance).
  3. Tried, but during upgrade from USB disk the PLC said incompatible version or something like that. I think I have to wait to new Unilogic version. Jan
  4. Thanks, will try when in office on Monday
  5. Unilogic failed to download via ethernet. I am getting the message as attached. Using USB everything is OK and I am pretty sure I have configured U-B7-T42 and the destination is B7-T42. Unilogic version 1.35.227 Any idea?
  6. I am a fool. There is a checkbox "With Cursor" in the PLC - VNC server. It is not in the UniLogic VNC options, so was a little bit confused, but works.
  7. But according to your printscreen you do not send multipleregisters. In fact you are trying to send each 100 ms to one value to 1010 and to 1011. I think in fact you each 100 ms queue modbus function 0x10 for 1010 and then for 1011. If I perform function 0x10 in UniLogic I define an array. In your case it should be array of size 2 of INT16 say asetpoint[0..1]. Then asetpoint[0] is int16 value for 1010, asetpoint[1] is int16 value for 1011 In modbus section then each 100 ms 0x10 or 16dec (Write multiple registers), address 1010, tag simply asetpoint. If UniLogic offers you to select particular value like asetpoint[asetpoint_0] when typing in, just delete it. In the column address ther should be asetpoint only. This causes asetpoint[asetpoint_0] will be written into 1010 and asetpoint[asetpoint_1] to 1011 matching the requirements of pressure transmitter the setpoint values are transfered together. Hope it helps. Jan
  8. Hello, I am trying to build a wide remote control for my unitronics (especially Unistream) projects. The solution is based on Teltonica routers and Wireguard. Everything works more or less fine but the only issue is when I am using noVNC web client, the mouse cursor disappears. You can kindly test it here https://plc.ipraqua.cz:6080/vnc.html?autoconnect=true&path=?token=test I know there was the same issue on old versions of UniCloud and further found it is a problem on server side (thus in this case on the PLC). Does anybody know any solution? PS: I am not using unicloud as this solution is too expensive and not so functional (like on one application I have a combination of Vision V350 and Unistream B7 and using wireguard I can connect even to Vision and even modify user program) Thx Jan
  9. Dear All, thanks again for your ideas and teaching me the requirements for 485 communication cables. I have taken an ethernet expasion card for V350 from an older installation, where remote access is not more necessary, applied connectors to the UTP cable and using MODBUS TCPIP now. Everything works fine and there is one advantage - now I have the access to the V350 PLC remotely using wireguard. Jan
  10. Thanks all of you for your hints. I will try it when on site. I have set 3 retries and polling about 1 second, timeout 3 second I am using Scan32 because of passing ML yes, I was thinking to connect the PLC using ethernet cable and add on ethrnet port on Vision, but believe me in cz since there are too long of delivery periods of Unitronics Stuff, for instance ordered at May, delivered on October. This project is drinking water treatment plant and I am afraid the customer won't wait 5 months for Unitronics 🙂 thx
  11. Hello, need some idea please. I have to connect two PLCs via modbus. The first (master) PLC is Unistream US7-B5-R38 with UAC-CX--01RS4 configured as modbus panel, slave is V350-35-T2. On vision I have changed the jumpers to 485 and Termination is ON. The cable is connected to the serial port on visions (Pins 1 and 6) on the telephone connector (i think it is RJ11) and its length is about 70 meters, in fact the electrician untagled one pair from an ethernet cable. The network is as follows: Unistream US7-b5-R38 ---- ADM-4188 (data aq. module 8DI/8DO, modbus ID 1) ---- ADM-4188 (data aq. module 8DI/8DO, modbus ID2) -----ADM-4586(DAM, 8AI, 4DI, DO, Modbus ID 3) ------V350-35-T2(Modbus ID4) Communication parameters: 57600, 8, None, 1 (but tried also 9600 and some others) The modbus between data acquisition modules and Unistream PLC (or PC) works, however if you check communication via Uniapps, there is a lot of lost attemps, but generally it works. The communication to V350 is not working at all, either from PLC or PC. PLC shows status 3 ( illegal data value), but testing program (QModMaster) says sometimes CRC checksum failed, sometimes Timeout, seldom No response. The code below is mostly retrieved from the examples, so I believe it is OK I can not post any live screenshots because the installation site is 150 km far and, as there is still problem with unitronics supplies, I do not have another 2 PLC to test it on a table. I appreciate any idea. Thx
  12. A long time ago in a galaxy far, far away....About four years ago, when the PLC did not support screensaver, I implented it myself (in fact it was a PLC placed in the corridor of my wife's parents home and through the night the shining display was disturbing, so I just "designed" a black screen and I think reduced brightness after a period of time). Then I was asked to put some slideshow of my daughter instead of black screen. The problem was the screen had not reacted on touch using VNC viewer. Solution was quite easy - I put the controls on a large transparent button which fills all the screen. And it works. I am not sure but suppose the panel works like bubbling event in MS WPF. Maybe it can be a solution of your problem. Regards Jan
  13. I just want to express my thanks to the authors of Unitronics. I have to program one Siemens system in TIA Portal now, it's hell on earth.
  14. I can only add there is a limitation of 255 elements on the screen on Unistream (at least b7/b10), regardless it is active (button) or passive(line) element
  15. Would like to the developers. The Export All HMI Screens Has been implemented in verison 1.33.348 Many Thanks
  16. Cannot connect to my house PLC, but in Unicloud I see it is avaible: In UniLogic I have checked the option in Unicloud node/Remote Access When I try ping 8.8.8.8 from the PLC, I get an error, but using But the following commands work succesfully: 1. telnet amiad8p4au6x2-ats.iot.us-east-1.amazonaws.com 8883 2. telnet sra.unitronics.io 443 Accesing to the internet via ZXHN H267A and an accespoint Vonets VAP11N_300 If I am connected within local network, classic VNC connection works like a charm. Should I open some port in the modem? Thx Jan
  17. 1. Ok, this feature I know, but this may be applied to the current screen only, I would like to export all. 2. Good. But the solution assumes I have one worthless function in the ladder like -|P|-( )-(R) and it is still unaccesible from the plc It is not a big issue, just a tip, same as a screensaver 2 yrs ago was a tip and it has been implemented now
  18. Dear authors, There are two tips for feature I would like to mention 1. It would be pleasant if there is an function in Unilogic, which will export all HMI screens to say png files with a filename corresponding to the name of the HMI screen. This is very useful when I write an user manual for the end customer (and, as a C# programmer, it is not a lot of work I suppose :-)) 2. Last screen action is a pretty good feature, especially when the screen is accesible from more than one HMI in the program. Typically user options should be reachable from several screens. The problem is when I am debugging my code and download a new version of my code to the PLC, being at HMI, where is a button "back" attached to action "Last Screen" the variable "Last Screen" is undefined become undefined and there is no way to jump for example to the Default screen. Is it possible to make an option (button) in UniApps like "Jump to the default screen". Or maybe in UniLogic. Now I have to reboot the PLC and this is annoying. Thanks Jan
  19. Dear all UniLogic developers, a big thank for the latest 1.33.210 update. I appreciate the screen saver (feature I have implemented programatically past times) and loops features. My feature request (or, better say a wish) is a possibility to change properties of several selected elements when editing HMI screens. For example, if I select several elements of type simple text, to be able to change their font and alignment at once. Something along the lines of LINQ var CommonProperties = from j in SelectedObjects where (j.Type == Font.Size) select j; And further - Bind CommonProperties to PropertiesExplorer; etc. Because the most annoying on PLC programming is making the HMI interface 🙂 Logic is icing on the cake. But to be honest, this evening I have finished about the fiftieth project in VisiLogic or UniLogic and I really like it, notwithstanding some (to me) missing details thx Hans
  20. Thanks Ausman, you have improved my approach using start time and timer, I think it is a little bit easier than using 4 MIs for blower and 4 for pump, maybe. Drum is not usable in this case, the time (period) has to be changeable by an user, as the composition of inlet waste water changes during the campaignes. bye jan
  21. Hi, I am preparing a PLC program using VisiLogic and Vision 350 for controlling biological waste water treatment plant in SBR (sequencing bio-reactor). The principle is using a roots blower (say electrical motor) for a part of day, then submersible pump (again motor) to pump out the treated water. For example the air is blown to the poluted water from 6 am to 22.35 p.m., then there is a time-out from 22.35 pm to 1 am, when the blower and pump are both off to let the sludge to settle. From 1 am to 4 am pump has to pump out the treated water. The VisiLogic solution is quite easy, using clock indirect function for blower and also pump, where the user sets the time desribed above. So far, ok. But, I would like to check if there is time-out between blower and pump. According the documentation, the time in TIME CLOCK INDIRECT FUNCTION is represented by MI, where the first eight bits are hours, but represented by HEX and the last eight bits are minutes, again in HEX. The algorithm is quite easy, just get rid of minutes, check if the hours are over midnight and then calculate the time span. But how to do that? Get rid of minutes (and then hours) is easy, it is simple bitwise logic AND. But if I apply that on MI containing say 2235h, I get simply 2200h. The question is how to get that 22 hrs in decimal? Is there is such function or gadget in Visilogic? Like c# function: int hours(int MI) { string s; s = MI.ToString(); string sHrs = s.Substring(0,2); int iHrs; Int32.TryParse(sHrs, out iHrs); return iHrs; } I think one solution is to "redefine" TIME CLOCK FUNCTION and use my own MIs for hours and minutes, but is there something easier and more than once utilizable? Jan
  22. Update: As there was no reply, I have contacted support..., but thanks to the Czech distributor's employee Mr. Roman M., who took my program and tested it on another PLC, where it worked. So I updated the firmware and Unilogic to the very latest version from Jan,6th and it works now!
  23. Hi there, I am trying to write my DataTable to SD card using Store DTI to file function, but always get an error. Error code -4, thus Internal Error. Contact support. So I have tried to download an official example, called Unistream_070_Indexed_Data_Table to the PLC, but it does not write the file as well, but the error code is -6 Write file error. I have tried SanDisk Ultra 16 GB and Kingston CanvasSelectPlus 16GB, both formatted to FAT I have also tried to Run UniApps, File Browser and copy some file from USB flash disk to SD card, that worked DataSampler files are written succesfully to the SD card and there is no problem So assuming the PLC recognizes the SD Card properly. Versions info: PLC bins: 1.30.51 from Oct-25-20 UniLogic version: 1.30.62 activated HW configuration: - PLC: US7-B5-B1 - UAG-CX-XKPLXXXX -UIA-00800N_0 -UID-W1616T_1 Note that the expansions cards are not physically connected to the PLC as I am developing the software on table, the plc will be included in the switchboard later Thx Jan
  24. Oh thanks, I see finally. It is quite easy when you gave me a hint. Thx Jan
  25. Hi all, I am quite familiar with Vision line, but now I am going to use Unistream, more specific US5/7-B-B1. Now, my customers have got used to some of these functions: 1. Beep on touch, everytime they touch the panel, the buzzer makes a sound, SB 311 is set 2. ScreenSaver - after several minutes of inactivity, the screen brightness is set below 30, so it switched of completely (SI 9) Is there a possibility to do the same using Unistream? I know I can set the brightness via action, but even set to 0, the displays lights a bit. Thx Jan
×
×
  • Create New...