Jump to content

louisgermain6

Members
  • Posts

    22
  • Joined

  • Last visited

Posts posted by louisgermain6

  1. Hey @balazs.tarro-HUN

    Last week I had the same issue with the trends and another one sending mails. I contact the support to have some informations about it. Figured out that they didn't knew why I the sending mail status was always remaining to 0. But then they suggested me to force the update of the PLC. You can force an update going to unistream management in Unilogic and by clicking on remote update. I'm not 100% sure that it will resolve your problem, but it resolved both of mine.

     

    • Like 1
  2. Hey guys,

    I'm currently using a US7-B5-TR22 and I made a little washing program for some piping.

    The idea is to open the valve and wash the first pipe during a certain amount of time and when it's over, we start to wash the second one, until we wash all the lines and stop the system.

    My times are set before and so when the phase starts, it should start the timer at the preset value which is stored into the current value. Everything works well, except at the beggining of then program, the first pipes which has a timer of 00:04:32:000 always starts with a different value and the foolowing ones starts with the good value.

    I can't understand why it doesn't work because the logic is the same.

    If you need some more explanation just tell me.

    Thanks in advance for your help 

    Louis

  3. If it can still help, I ask for some information to the support, this is what they answered me. 

     

    The MODBUS Set Slave ID is used only when UniStream controller is the slave. In this case you can change the slave ID from the HMI.

    In order to use that function block, your A parameter is going to be linked to the "SlaveID" tag within the RS485 Modbus Slave struct. The B parameter will be a UINT8 Tag that holds the desired slave ID.

    phpJtePs4

    Once finished, the B parameter and status get set to 0.

    phprBKUeo

     

  4. Hey guys,

    I'm using a US7-B5-TR22 and I'm struggling with this error that I can't resolve using the Store DTI to file element.

    My goal is basically to convert my DTI to a .csv file to finally populate a Combo Box. What happens is that I have always the same -8 status which is not documented so I can't know what is really wrong in my program. 

    My E parameter is set to "0" and I tried the F parameter with "0", "1" and "2" none of them are making a change on the issue (In my case I should be using or "1" or "2"). When I use the F = "1",  it creates me the .udtf files, but the .csv and .csv.zip are not created.

     

    Is aynone has an idea on what is happening or has been through the same status error ?

     

    Thanks in advance for your help.

    Louis

  5. @DanT I found that the CM4 is not internally connected to the same supply network that the PLC, it's separated from the alimentation so I think the 50Hz emission comes from my scope which doesn't have a earth reference.

    I was thinking about pulling up the HSO-0 with the 10V of the inverter and connect the CM4 to his 0V so I have the same reference but documentation advise me to not do it if I don't misunderstand...

    image.png.7ffaf2f13a8c0b4fb84ce7b5191a7dd7.png

  6. @DanT Hey, I've been checking as you said connecting a 3.3k resistor pull up to my V+ and the scope ground to CM4.

    Results are that the signal is powered up but I have the 50Hz frequency...

    I didn't put any load before the scope and I don't know yet the type of inverter that I will command.

    Thanks for your quick answer.

    Louis

  7. Hey guys, 

    I'm currently on a project using a US7-B5-TR22, one idea is to use the PWM output to command the frequency of an inverter. I know outputs needs to be enabled as a PWM output so I made a button to activate them when I use the inverter. The thing is that I don't have the inverter here to run some tests, and I wanted to see if the signals were as I wanted them to be.

    I measured them with an oscilloscope to verify and I can see that the output has the correct frequency, but the signals are about 2mV and of course really noisy.

    I'm wandering if I'm missing something here or if it's just normal ?

    In the documentation it doesn't say anything about it.

    Any idea ?

    Thanks you guys.

    Louis

    image.png.255924ecb105117919e0d640c9329854.png

  8. @Saragani yes, this is the way I'm using it. 

    I was telling in the first post that I'm using it the same way in another project but with another host (PLC=Master, Host=Slave) and it works properly but with my new program it doesn't.

    As I said, I sniffed the serial transmission and the messages from the PLC and the pumps are correct. The problem seems to be the RS485 to USB conversion or the PLC because my registers never get the returned values. (In my first project I didn't had this problem)

    Thank you for your help.

    Cheers

    Louis

  9. Hey guys, I wish you could help me with this one...

    I'm currently doing a project using a pump that communicates by Modbus RTU to my US7-B5-TR22. The serial communication and code is done by USB.

     I'm aware that you recommend to use a Prolific USB to serial converter, I have a FTDI one that worked perfectly in an other configuration but still modbus using serial by USB. 

    Now I can't understand why on my new configuration it fails. I "sniffed" the communication between the PLC and my pump using my computer and a serial terminal, the request of the PLC and response of the pump are correctly sent. The problem is that the PLC doesn't seem to receive or decode well the response because every sessions in my remote slave are failed.

    Thanks in advance for your help, I attach a piece of code for you to have a look of what I've done.

    Cheers,

    Louis

    test.ulpr

  10. Hey guys, I recently had to uninstall and reinstall Visilogic because when I had to change an operand value, the window was popped behind the main one and I couldn't do anything.

    But that is not the problem anymore. As the title says, the situation is that all of my coils and contacts are cables, I mean instead of seeing the NO contact I see a connection but it has the effect wanted (see screenshot).

    Does it happened to anyone and find the way to resolve it ?

    Visilogic version : 9.8.80 build 0

    OS information Windows 10 Pro

    Thanks for your help.

     

    Louis

    Visilogic trouble.PNG

×
×
  • Create New...