Jump to content

Kikis

Members
  • Posts

    145
  • Joined

  • Last visited

  • Days Won

    15

Everything posted by Kikis

  1. Hi Guys, From my experience, one should be careful when buying something from AliExpress. Especially when buying stuff to be used in control panels for machinery and other critical equipment. It's always a good idea to communicate with the seller before placing an order. The site is full of cheap Chinese copies of products which look 100% original (for example, SSR's). However, it is a safe site to buy stuff and i never had a non received order. Also never had any problems with my Visa Card. Regarding the transistor boards, i use them in almost every project since i discovered them last year. They do the job without any problem at all. Delivery time (Europe) is approx. 1 month.
  2. https://www.aliexpress.com/item/10-way-PLC-amplifier-board-isolation-board-2-NPN-package-into-the-PNP-out-of-the/32659564019.html?spm=2114.search0104.3.181.oPXq5H&ws_ab_test=searchweb0_0,searchweb201602_3_10152_10065_10151_10068_10344_10342_10343_10340_10341_10307_10137_10303_10060_10302_10155_10154_10056_10055_10054_5470020_10059_10532_100031_10099_5460020_10338_10339_10103_10102_10052_10053_10142_10107_10050_10051_5380020_10326_10084_10083_5370020_10080_10082_10081_10110_10111_10112_10113_10114_10179_143_10312_10313_10314_10078_10079_10073,searchweb201603_23,ppcSwitch_5&btsid=c7a0bc00-8f83-492b-9779-c3b9182ddc25&algo_expid=532f8ec2-4fb7-4fb0-aa32-32b646b46b62-25&algo_pvid=532f8ec2-4fb7-4fb0-aa32-32b646b46b62
  3. Hi guys, I usually use this type of transistor board to isolate the PLC outputs from the controlled load. It can switch 3A per channel with 1KHz switching frequency while current draw on PLC output is a few mA. For the 10 channel board, the cost is something like 17 USD. It's significantly cheaper than using relays and requires much less wiring.
  4. I think it works like this: 4095 you get +10V, -4095 you get -10V
  5. Hello, I guess that your V120 will be the Modbus slave, so you can check the example included within Visilogic. There is also a Unitronics webinar about Modbus that will be very helpful. Regarding Redlion HMI, i can't help you as i have never used their products.
  6. Hello, If your screen supports modbus RTU, it would be very easy to establish communication via RS-232. I did this many times in the past with V120 - V130 PLC's and Samkoon HMI's.
  7. Hi Guys, I have a new project which includes among others, the control of five independent servo motor axis for point to point positioning. I want to use a V1040 PLC and control Delta ASDA A2-M servo drives via CANopen protocol. Has anyone any experience of "talking" to Delta servo's with CANopen by a Unitronics PLC? Any feedback would be greatly appreciated!
  8. Hello, It seems that you got the wrong Samba model as T20 has no analog output. The samba models which have 2 channel analog output are TA22 and RA22. "T" stands for transistor type digital outputs and "R" for relay type. Btw the spec sheet you are referring to is for RA22 model, not for T20. There is not just one Samba model but various models with different I/O points on board. Therefore every time you have to select the right model depending on your application. You can find all available Samba models and their I/O details on Unitronics Website. I/O points for each PLC model can also be found in the hardware configuration within Visilogic.
  9. Hello, Make sure that the sub-routines are called within the main routine of your program.
  10. Hello, Alarm aknkowledge is done by pressing F2 button on the keypad.
  11. Hello, Use a self-resetting timer with 1 min preset setting (attached example) so that you get a pulse every minute. Then replace SB13 with the direct contact of this timer. SD card's free space is shown in SBW 59. Capacity is given in 512-byte chunks. Note that you have to SET SB 217 to enable writing into SBW 59. Then just link SDW 59 to a numeric entry variable on the screen.
  12. You can select a model from the Vision series, depending on the size of the touch screen you need. Vision models offer RTC, communication options, retentive data values and much much more. Since you know the exact I/O requirements for your projects, you can select I/O expansion modules to connect to the PLC via EX-A2X adapter. You have also the option to add I/O by using one snap-in module (attach to the back of the controller). All details about PLC's and expansion modules can be found very easily on Unitronics website.
  13. I usually use an analog output which i program to continuously output 10V as reference voltage for pots.
  14. Hello,

    I replied to your post but since every post should be checked by the moderators before posted, there is a delay.

    So I'm pasting what i wrote to you here....

     

     

    If the pressure  is linearly proportional to the analog input voltage, then you could use linear interpolation formula and floating point registers (MF).

    Floating registers are also known as real numbers and it's the best way to deal with fractions.

    Since the linearization function within Visilogic can't be used for MF registers, you have to do it step by step using simple mathematical functions.

     

    LINEAR INTERPOLATION FORMULA:

    Y = ( ( X - X1 )( Y2 - Y1) / ( X2 - X1) )

    Where,

    X1,Y1 = First co-ordinates

    X2,Y2 = Second co-ordinates

    X = Target X co-ordinate

    Y = Interpolated Y co-ordinate

     

    If your 0-10V analog input is 12 bit (0-4095) then,

     

    X=Current analog input value linked to an MI

    X1=409

    X2=3726

    Y1=0.000055

    Y2=1000

    Y= Pressure result displayed on the screen

     

    I created an example for you, you can download it from my dropbox.

    https://www.dropbox.com/s/kdpn0mooa9qxmuq/mf pressure.vlp?dl=0

    1. stanthe1man

      stanthe1man

      Hello Kikis,

      Many thanks for your reply.

      Unfortunately I don't think that the result will be displayed as required.

      I do have a formula that is known to work, but I don't know how to present it to Unilogic

      ladder.

      Here is the formula:

      (expression written in Compact Logix) apparently!

      0.00000241*(Vac_Gauge_V**6.552)+(1.0000000e-022*(2.7183001**(Vac_Gauge_V**1.75)))-0.0002 

      where Vac_Gauge_V can = between 10.0v to 1.0v.

      So assume it = 4.35v ,  the end result should display as this type of format - 4.2x10¯³ or 4.2x10-3

      I know this seems a big ask but my maths skills are not good - I can't even get the equation into excel.

      Any help would be wonderful!

      Thanks

       

      Stan

       

    2. Kikis

      Kikis

      Hello Stan,

       

      You can use the formula command from the math menu.

      I think it should look like the picture attached.

       

      ff.PNG

  15. Hello, If the pressure is linearly proportional to the analog input voltage, then you could use linear interpolation formula and floating point registers (MF). Floating registers are also known as real numbers and it's the best way to deal with fractions. Since the linearization function within Visilogic can't be used for MF registers, you have to do it step by step using simple mathematical functions. LINEAR INTERPOLATION FORMULA: Y = ( ( X - X1 )( Y2 - Y1) / ( X2 - X1) ) Where, X1,Y1 = First co-ordinates X2,Y2 = Second co-ordinates X = Target X co-ordinate Y = Interpolated Y co-ordinate If your 0-10V analog input is 12 bit (0-4095) then, X=Current analog input value linked to an MI X1=409 X2=3726 Y1=0.000055 Y2=1000 Y= Pressure result displayed on the screen
  16. Hello, 12VDC can't be used to feed the outputs on this PLC model (JZ20-T40). The nominal voltage for both output groups is given by specifications to be 24VDC (20.4 - 28.8VDC). If you want to control 12VDC loads with this PLC, you have to do it indirectly by using relays.
  17. +1 on Joe's suggestion. I have also used this kind of DC step-up modules many times in the past with no problems. They are cheap and reliable. I think it's the best solution when 24VDC power supply can't be used.
  18. Hello, There is a com port initialization function block in Visilogic where you can set all details related to the selected port. Use this function block at the beginning of your program with direct contact of SB2 (Power-up pulse) as a condition for the command to be executed (attached photo). Unitronics help page for Com Init: http://www.unitronics.com/knowledgebase/visilogic/knowledgebase/visilogic/Ladder/Functions/Communications-Ladder_Functions/Com_Init.htm
  19. If you have linked MI0 to AN 0 and your wiring is correct then it should work.
  20. Samba does not support local expansion I/O modules via EX-A2X. If you want to expand the PLC, you have to add CANbus card and use the remote adapter EX-RC1. However this will significantly increase the total cost in the range of a small PLC from the enhanced Vision series. It will also add complexity to your project as EX-RC1 requires extra programming. If i was in your Position, i would have left the Samba for a future project and go for a V350. Could you give us the exact part number of your drive? If your drive supports pulse and direction input (indicated by-T on the drive's part code), you could use V350 TR6 model and control the motor with PTO commands. This way you also don't need to connect the encoder input.
  21. Hello Joe, Thanks for sharing your test results with us, they are very valuable. I usually use Delta ASDA A2 servo packages (motor & drive) for positioning control where the encoder resolution is 1,280,000 pulses/rev. So even 5KHz output is too low to control this servo drive via pulse train. It could be done by adjusting the electronic gear ratio on the drive but then it will significantly decrease positioning accuracy. Therefore when it comes to servo positioning control via step & direction, i use a V130 or V350 model with 200KHz output and PTO commands within Visilogic. In general, i think it's better to "talk" to the drive by a communication protocol, so that you let servo controller to precisely control the motor in full closed loop. PTO is an open loop way of control which may not be sufficient if there are very high accuracy positioning requirements.
  22. Hello Steven, Your Samba model has no analog output. Also max switching frequency of transistor outputs is 500Hz which is too low to control a servo drive via pulse & direction. I think the only choice you have with SM43-J-T20 is to use a communication protocol like Modbus and select a drive which supports this protocol.
  23. Hello Steven, For the encoder connection you can use a product like the one shown in the link below, it converts 5V high speed pulse to 24V. https://www.aliexpress.com/store/product/4-channel-5V-to-24V-grating-PLC-pulse-converter-high-speed-conversion-IO-opto-isolated-interface/908764_32282655234.html Regarding analog output for speed and direction control, Samba TA22 outputs unipolar 0-10v, not bipolar as your application requires. Since Samba supports Modbus communication protocol, you could use a Modbus module featuring bipolar analog output like ADAM-4024. Btw if Samba's 4.3 inch touch screen is not essential for your project, you can use Jazz JZ10-J-UA24 PLC unit. It features 5khz high speed input and +/-10V analog output.
  24. You can follow the dropbox link below to download an example i have made based on your description. Unfortunately the file is too big to be attached here. https://www.dropbox.com/s/hn07kywo7a8kmto/RADIO%20BUTTON%20SAMPLE.vlp?dl=0
  25. Hello Gabriel, I had the same problem sometime in the past. Finally i found out that i was using an outdated adapter driver. So make sure that you are using the most recent driver.
×
×
  • Create New...