Jump to content

mjarvas

Members
  • Posts

    10
  • Joined

  • Last visited

mjarvas's Achievements

Member

Member (2/4)

0

Reputation

  1. Hi, I have a problem when using the "Store DTI To File" block as it causes the PLC crashing. I used so far the block (see screenshot) to write a row of the DTI into a CSV file in another place in the program and I have never experienced this. Now I wanted to call this block from another button to write another row of the same DTI. But when the code runs I get the crash (see screenshot). The status of the block is giving back "1" indicating the function was in progress then after 2-3 seconds I get the crash. The CSV file is being created properly on the SD card, no problem there. But the touch screen doesn't really react I have to reboot it. I tried to put it in a separate rung but didn't help I get the same result. While the other instance of this "Store DTI To File" block still works properly. The PLC is a UniStream US10-B5-RA28. I would really appreciate if anyone could help. Thanks in advance.
  2. Actually, I had a look at the File operation block of Rename. And it describes the Data Tables folder on the SD card as "DT". And also other folders like User Log, "UserLog" are different. Now it is working but why is it not in the help???
  3. Hi, I'm getting Local File Error (-3) when I'm using the FTP Send block. I'm doing everything as described in the sample project using the "/" for the path. I tried to send different files from different folder but no matter what I do I get the same error all the time. What does this error mean? And what can cause it? Regards, Marcell
  4. Thanks DaveE for the tip. It works now. Basically I used a condition not to call the Com RX function until 50ms elapsed from receiving the first byte. No bytes has been lost since then.
  5. Thanks. I try to have a look at this on Monday and let you know the result.
  6. I don't think it's the buffer length. I use a 40 byte long buffer and the message is only 8 byte. And the weird thing that the beginning of the message is missing and not the end. But I can try it with longer buffer.
  7. I'm using a Unistream 10.1" built-in for a project where I have to communicate with using an UAC-CX-01RS2 RS232 module. I created a simple test project after watching the communication tutorial video. It seems that something is not right. The PLC doesn't receive the full message sent by the other party. The first character(s) are missing. Usually 1 or 2 but sometimes even 3 or 4 characters. I checked the signals with a logic analyzer and they are there on the dedicated pin of the DB9 connector plugged into the PLC. Communication speed and parameters are set properly. Maybe I did something not proper in the Unilogic software but I couldn't find another example. I attached the project. Could anybody please have a look at it? Is it a software problem or maybe my RS232 module is faulty? Thanks in advance for your help. Comm_test.ulpr
  8. I'd like to use a list in a combo box from a data table column on Unistream PLC. Is it possible? If yes, which is the easiest way to realize this? Thanks in advance for the help,
×
×
  • Create New...