Jump to content

Meeg

Members
  • Content Count

    21
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Meeg

  • Rank
    Member

Recent Profile Visitors

1,024 profile views
  1. So if I understand you correct: - Data Tables are not stored in the SD card before the "store to file" command is executed. - "load from file" can be used at initialisation (after Power failure) in order to recover the stored values?
  2. I have a question regarding Data Tables and the "retained" option. I have some rather large tables, to big to have them all as retained. But I still want to keep the values in case of Power failure. In your help function it is noted that Data Tables reside the SD card.. Still there is an option if they should be "retained". But is it not retained anyway if it is stored in the SD? Will they always be recovered from the SD card at power up? Or does it have to be done using the "store to file" and "load from file" functions? In my application is acceptable to store the tables periodically (once every hour or day) even if i loose the newest (unstored) data on the recovery. Also in your help function a ladder function "Initialize Data Table" is mentioned.: "In most cases, Data Tables values should be initialized after power-up (but i can not find this initialize" function). Please help me to understand the best way of doing this... ? Regards Meeg
  3. Hello, And thanks to both of you for good answers. You are obviously a lot more experienced with Modbus than I am. Unfortunately the sensors can only communicate at 9600baud. Trying aperiodic is probably a good idea. But maybe using a timer rather than the session Counter? Refer 2) below, the session counter will count even if the variable is not updated with a new value. You are reffering to UART, CPU, or ladder execution times to slow things down. To me this sounds strange as it must also be able to handle much higher baudrates and amounts of data? So what I still do not understand is: 1. If I activate communication on ONLY ONE sensor, communication works fine at 100ms. But when activating communication on TWO sensors, I need to slow the update rate to more than 500ms (it works at 600ms) to get it working. I would have expected 200-250ms. 2. Also a bit strange that at 400ms rate the "success" counter on ID2 continues to Count, and the "fail" counter does not count. But still it does not update the values read from the sensor. Did Unistream receive a value from the sensor (hence the "success") but not transfer it to the variable?
  4. Hello I am using modbus RTU Reading two sensors. Modbus ID = 1 & 2 respectively. From each sensor i read two values, one 16bit and one 32bit float. Baudrate = 9600. When I activate communication using "Active periodic" bit any one of the sensors (only) I can set my update interval at 100ms without having failures. The "funny" things occur when when i activate both: If I set my update interval at 400ms: It updates values from both sensor for a few Seconds (at 400ms rate), then it stops completely updating the reading/values from ID2. But the "success" Counter continues to count. And the values from ID1 continues to at 400ms rate. If I set my update interval at 500ms: It updates values from both sensor for a few Seconds (at 500ms rate), After a few second the ID2 values are updated at 50% rate (1s). ID1 continues to update 500ms. If I set my update interval at 1000ms: It updates values from both sensor at 1000ms without any problem. Any tips on why this happens and how to solve it? In my Application I need as fast update rates and would have thougt that beeing able to read one sensor at 100ms, I should be able to read 2 sensors at 200-250ms. Thanks for a super Product! Meeg
  5. Thanks for helping ORS! I only had the the old example projects downloaded (from V1.15). With the help from the Advanced commands in V1.19 I was able to see that the commands was OK. It turned out to be a hardware problem. The sensor (ECD DS80 conductivity sensor) was not 100% rs485 compatible so I had to turn of the resistors on the CPU and use a 1k resistor instead. By the way, do you know why it is 2 resistors on the CPU? And what size and how are the resistors connected? The CPU manual does not give any details and normally only one 150ohm is used for cable termination. Is the two resistors for "pull up" and "pull Down" so that the line termination must be added externally? Regards Anders
  6. Hello. I have the same question. Is there any detailed description somewhere yet? My problem is Reading 2 values from a sensor. Using a Modbus simulator it Works fine from my PC, but not from the PLC. The communication from my PC is shown in enclosed file. When I use the "Modbus Read Builder" it seems that the "request buffer" is the same as TX in the enclosed document. But I am not sure if (or how) to use the "Read parser" to get the answer? Thanks for an excelent software! Regards Anders Meeg Modbus to DS80.docx
  7. Thanks for Your answer. I tried to send but the file was to big (1.5Mb). It contained approx 20 screens. But import/export worked fine when it was splitted in modules of 5-6 screens each. After my experiance With export/import I have a "wish -list" for additional functionality : export/import of data tables export/import of data samplers export/import of alarms That export/import of trends should keep their trend-labels Thank you for a great Product anyway! Another question: According to documentation, the UIA-0800N has 13 bit resolution (8192). I assume this resolution is for 0-10V/0-20mA Is the actual resolution still 8192 for a 2-10V/4-20 mA signal or is it reduced to 6554? I have actually asked this before but is not sure if my question was understood. What I should like to know is the effektive resolution of the AD Conversion. Regards Anders
  8. Hello. I'm using UniLogic 1.18.60. Is there any way to export/import 'Data Tables' and Data Samplers'? Also, after having used the import/export (to library) for the first time, I have some comments: 1. It seems to me that it is important to import global tags FIRST, then functions and HMI screens. Otherwise the tag-names may be changed during import. Is this correct? 2. Importing HMI modules with more then 5-6 screens seems to make the Whole system to stop (I waited for 1.5h for the import to finish, but it never did) . 3. Do you have a more detailed instruction on how to use the import/export in the most efficient way? Regards, Anders
  9. Thank you! That helped a lot! But my worry is still the same: A common problem with trend tools is that they, after some time, fill upp ALL available Storage (and then fail) Hence they often have som kind of automatic delete function. This is usually triggered either by the age of files or by total memory used. As far as I can see the, the samples files are named automatically by the system including date and time (Example; FT_26_05_16__03-51-33.uspm), so there is no way this can be deleted automatically from the ladder (since the file name must be known),. One may offcause be to read the filename in the file browser and then Write it in to a text string, but it might be hundreds of files.... However, it seems to me that the system sometimes deletes files automatically, is this correct,? If so what is the criteria used by the system for deleting files? Regards Anders
  10. You were right. My SD card had plenty of memory left (14GB of totally 16GB) when I checked it on my PC. So that was not the cause of the problem. But still, after I changed my SD card to a new (empty) one, the trends worked again.... My questions are also still relevant: Can used/free memory be checked from the system? (I could not find any function for this under UNIapps) Do I have to delete history files from the Unilogic program to avoid running out of memory, or is this automaticcaly handeled by Unilogic? If I have to do it from the Unilogic program, do you have any examples on how to do this? Thanks Anders
  11. Hello. I have a problem that might be related memory capability in the SDcard. Suddenly (after a Power Off/Reset) all my trends stopped. When I open the trend it is empty and the Run/stop button displays Run. If I press the Run button nothing happens, but I am still able to open and view the "History" trends. Also all my trends had status -3; Save file error (File name may contain illegal character) (my file names are the same as when the trends was working). In my Project I use 12 data samplers/trends, 4-8 REAL variables in each trend, sampling interval 1s - 1min.The trends had been running for several weeks when the problem occured. After I changed my SD card to a new (empty) one, the trends worked again. So I assume that the problem was related to running out of memory on the SD. My SDcard is 16GB Do I have to delete history files from the Unilogic program to avoid running out of memory, or is this automaticcaly handeled by Unilogic? If I have to do it from the Unilogic program, do you have any examples on how to do this? Thanks!
  12. Hello again. Refer my previous post on this topic. After I changed my SD card to a new empty one, the trends are working again. So I assume that the problem was related to running out of memory. What can I do to avoid this from happening again? Where can i se how much memory is laft on the SD card? Should history files be deleter from the ladder program, or are they deleted automatically when the card is full? Regards Anders Meeg
  13. Hello. I have a problem that might be related to this topic. Suddenly (after a Power Off/Reset) all my trends have stopped. When I open the trend it empty and the Run/stop button displays Run. If I press the Run button nothing happens. I am still able to open and view the History trends. Also all my trends have status -3; Save file error (File name may contain illegal character), but my file names are the same as when the trends was working. In my Project I use 12 data samplers/trends, 4-8 variables in each trend, sampling interval 1s - 1min. Can it be that the SD card is full? Do I have to delete history to avoid running out of memory, or is this automaticcaly handeled by Unilogic? My SDcard is 16GB Thanks!
  14. For information: Forget this problem. It seems that I got confused by a mismatch between table heading and content. Anders Meeg
  15. Questions on the PID Controller; -Does "run Autotune" always have to be implemented to get the "run PID" working? -I can not find the "AT params struct" described in the documentation. (unistream/Unilogic? -Can the Controller be run in Auto/Manual as an ordinary Controller? -How can I set my parameters without autotuning? -Is the Controller bidirectional (positiv and negativ MV and CV) -Is it a seris or parallell PID algorithm? I have tried to use "runPID" but i struggle getting the output to behave like a normal PID Controller. Toutput does not change even if I change between reverse and Direct action (stays at minimum) , and status remain 9 or 12. Do you have any better/more detailed documentation than what is in Your help file? Regards Anders Meeg
×
×
  • Create New...