Jump to content

CobryWZL

Members
  • Posts

    20
  • Joined

  • Last visited

Posts posted by CobryWZL

  1. Hi guys,

    today I installed a V100-17-ET2 in my V430 and tryed to connect to the PLC through ethernet.
    Unfortunatly it doesnt work. In the Info Mode of the V430 -J-TA24 the card is initialized and a IP is set. Sockets are initialized as well, but it also says "No Link for Ethernet Connection"  and "Link Lost, auto recovery off".
    I tried different cables and PCs, but it seems to be a problem on PLC side. Any Ideas?

    Thanks!

     

    NVM: Took the V100 out and in again and now it works....seems like a loose contact or something....

    You can delete/close this topic

  2. Hi guys,

    I recently tried DataXport and UniDDE to get some data from my SAMBA PLC to my PC. Both programms work fine, but I would like to automate the data transfer in a more advanced way.

    For example I have a device that communicates with my PC via NFC and if this device sends my PC certain data, I want so write a certain value to my SAMBA PLC. Therefore wrtiting my own programm for communication with the SAMBA PLC seems more handy to me.
    So I basicly want to know, if there is any documentation that describes how the DataXport/UniDDE communicate with the SAMBA. I quess theres a certain string structure or something like that, that is used for the commands sended to the SAMBA.
    Any ideas about that?
     

    Greetings

  3. Hi guys,

    I am using a HSC to count pulses of a square wave signal, thats comes to my SAMBA (43 J-T20 ) through I0. Therefore I configured the I0 in HWConfigutatione as HSC and it counts very well.
    Now I want the HSC counter value to reset , if a vertain event happens. For example if i hit a RESET button on the touchscreen, I want the HSC value to reset to 0.
    I tried numeric reset and immidiate Reset HSC but both didnt work so far.

    I think the HSC with Reload is a possibility to use the reload as a reset, but i dont have a fix value when the HSC counter should reset. So this reload ability doesnt work for me neither.

    Do you have any suggestions?

    Thanks!

  4. 16 hours ago, Joe Tauser said:

     

    OK, now you've confused the hell out of me with your logic.  Do you mean that the input goes low (NPN type) on a pulse?

    Sry for confusing you, but thats what I wanted to say. If I read the datasheet of the flow sensors right, the sensors sends a square wave signal and for every count, the signal is low (0). 
    We want to read this squre wave signal with our SAMBA and implement a counter in a net, that tracks the counts of the sensor ( by counting the times when the signal is low).

    We are not sure  to which physical input we should connect the signal cable of each sensors, how we should configure the HW settings ( digital input, highspeed input or highspeed counter) and what the net with the counter needs to look like.
    I think you can ignore the net i posted, because its just totaly wrong...

    7 hours ago, kratmel said:

    From the above data on flow meters, I did not see how many pulses they emit per unit.

     

    It is difficult for me to advise how to count impulses without knowing the purpose for which the author wants to do it.

    One flow sensor (for oil) does 462 impulses per litre and the other (for water) does 65 impulses per litre. Its on page 4 of the data.

  5. Hallo guys, just to bring this topic to and end:

    We are currently using the above stated hardware to power both pumps. Both pumps can be controlled through PWM right now ( we found the freuqencies by testiing several) and it works quit good. The cable of the oil pump had a broken solder joint...so thats why it didnt work all the time.

    When we'll change our wiring and give your suggestions a shot, I will return here and let you know!

     

    Now we have another problem with flow counters that are installed behind the pumps ( see the attached files). The flow counters send a digital signal and every count is a 0. For each counter we have a signal cable and these signal cables are currently connected to I0 and I1.
    Since the oil and the water are flowing now, I expected to get a signal from the flow counters. We are using the following code to count the pulses. But it counts nothing...

    Any ideas? Thanks!

    grafik.png.5494d7ab295d92f7544b2906b81d2146.png

     

     

    Duchflusszähler Konzentrat.pdf Zähler_Wasserkreislauf.pdf

  6. On 4/30/2020 at 5:49 PM, kratmel said:

     

    Recomended max PWM Frequency D1D40<=950Hz,    D1D12<=4000Hz.

     

    I am currently testing a little bit and the water pump reacts to the changing of the PWM parameters. If I set the parameter to frequency 500 and duty cycle 500 it works, but it doesn sound good. A lower frequency sounds much better, so i guess the above stated frequencies are way to high.

    One thing that bothers me is: If i set the frequency to 0, the water pump still runs and for my ears it sounds quite good. So frequency = 0 is like a normal High or Low?

  7. 52 minutes ago, Ausman said:

    I actually think both those motors are not designed for variable speed

    I dont know how it was done exactly, but the speed of the pumps definitly was varied. We use these pumps to create a homogenious mixture of oil and water in a certain percentage, that changes for nearly every use.  I will ask our electronic workshop about this "Do not use PWM warning" on the oil pump, but i hope they already knew about it, when they bought the HW and made the wiring...

  8. The SAMBA is powered with the 24V power supply (its shown in the last picture) and both pumps are powered over the SSRs with the 12V power supply (also shown in the last picture). Our electronic workshop told me that i should trigger the SSR with PWM from the SAMBA to power the pumps.

    13 hours ago, Ausman said:

      It seems odd that it has an SSR connected to the supply unit, if it only needs a PWM signal to run that would normally come from the control system. 

    The old PLC, that was used for controlling the pumps, had analog outputs and could controll the pump power through this analog outputs without using SSR or PWM. Our SAMBA doesnt have analog outputs, so we needed an alternative to control the pump power.  I think with the SSR i now can use PWM to trigger the SSR and convert the digital output of the SAMBA to  a "analog" signal for the pumps.   At least i guess that was the idea of our electronic workshop.

  9. Obviously I really mixed the two types of PWM. The HW configuration is shown in the image below:

    grafik.png.0203246be4eb6e3f46a9aeb2790d6f70.png

    As you can see there we actually have two pumps, but i think if i understand how to controll one of them, i can do the same thing with the second one.
    Each of the pumps is connected to its own solid state relay. These relays are connected to a power supply unit, that suits the pumps. Also the solid states relays are connected to Output0 and Output1 of the SAMBA. The wiring and choosing of the components was task of our electronics workshop and they told me that i now can trigger the solid states relays with a pwm signal from the SAMBA. So what i need to know is: How can i send a PWM signal via HW configuration from the SAMBA to the physical outputs. I thought, that i have to do something in ladder to activate the HW configuration or something like that...isnt that right?

     

    BTW: I already tried to change the powerup state of MB100 and MB107 to 1 (SET) and the pumps still dont do anything

    thanks!

    SUDDENLY IT WORKS! I have no idea why but now the waterpumps start to work. Is it possible, that I need to download&burn to use HW configuration? during the last days i only downloaded.

    the oilpump doesnt work currently, but i think i have to change the PWM paramters for it.

  10. Hi,

    in my current project I have a button on my touchscreen. If this button is pressed, MB33 is set and afterwards MB 10 should be set too.
    But, as you can see in the image below, the execution of the net stops before MB10.

    Basicly I copied this structure out of this tutorial : https://www.youtube.com/watch?v=8RyFPPE3Hdk&feature=youtu.be&t=572

    In the tutorial they use the same sequence of contact and coil to turn a "LED" on the touchscreen on and off.

    Any ideas, why it doesnt work for me?

    grafik.png.dc127eddfec4589f0dacfe649bfa5cb5.png

  11. Hi,

    I will try to specify my question:

    -We are using a SM43-J-T20

    - There are several parameters ( %, Volume, operator name..) that needs to be entered in the touchpad of the SAMBA. This parameters are stored in the PLC as MB, MF or whatever suits.

    - all these information need to be send to the PC so another operator can see what is happening with the plc

    - it would be nice, if the PC could check the information  cyclically and on certain events

  12. Hello everybody,

    in our project we want to connect our PLC ( SM43-J-T20 ) to the internet trough wlan connection.

    Do you have any suggestions on how to implement this?  Do we need to buy and add the ethernet port and connect the PLC through ethernet to a wifi access point? Or is it possible to use the RS232 and a Comport to wifi module or something similar?

    My first idea was to use a mini USB to USB adapter and a common USB-Wifi-Module/Stick.

    Thanks for your ideas and best regards

    😅

     

×
×
  • Create New...