Jump to content

kratmel

MVP 2023
  • Posts

    1,148
  • Joined

  • Last visited

  • Days Won

    52

Posts posted by kratmel

  1. I support Ausman's words about the need to provide information.

    As we can see from this topic, at first I thought that the connection of the wires to the module was wrong, but at the same time I could not find the right diagram in the documentation that would illustrate this.

    Without the wiring diagram and due to the erroneous table of modes - we have a complete lack of information about this new product.

  2. 2 hours ago, merttoprak said:

    Could you please be more specific about where and how to configure the 31st bit of the relevant PDO ?

    I do not know exactly how to do it in Lexium 32.  But i know that Schneider  PLC has some unique sequence for operate with VFD and Servo.

    You can try to do something like decribed on p.50.

     

    See chapter --- An initialization sequence must be written to start the operating mode---

    I think for sw on something Schneider servo need to send commant for sw off this option before.

    Then default ON value is ignored. OFF must be sended before send ON.

  3. Hi, in this manual you can find how to activate other PDO

    https://download.schneider-electric.com/files?p_enDocType=User+guide&p_File_Name=0198441113779_LXM32A+CANopen_EN.pdf&p_Doc_Ref=0198441113779-EN

    p.26 explane your problem:

    With the default PDO settings, R_PDO1 and T_PDO1 are activated. The other
    PDOs must be activated manually in order to be used.
    A PDO is activated with bit 31 (valid bit) in subindex 01 hex of the respective
    communication object. ......

  4. I think for small data table it is possible to use

    "Vector: Find"  function in Visilogic.

    You can constantly check 4 MI and find position of 7 needed bit value (or place all bit to some MB vector and simulate data table with 28 value). You do not need to use loop - PLC scan loop present. Jump To Lable can be used for simulate "printf" function on PLC display with  position of needed bit if function find it.

    Only one problem in "Vector: Find" - it find first of needed value.

    If you need to find only one "0" in data table this function maybe useful.

     

     

  5. First step - check - is it USB-RS232 device in working condition. Connect pin 2 to pin 3 of GXMU-1200 USB to serial converter.

    Use terminal program for transmit and receive some character.  If 2 and 3 pin connected - you can see the same message in send and recieve window.

    If this test = OK.

    Read manual on page 11

    https://www.unitronicsplc.com/wp-content/uploads/2015/12/SMXX-J-T20_R20_DOC17015-A4_02-15.pdf

    You must check 3 wire from converter to PLC:

     RS232 GND(5) ---- 0V refrence pin 2 or 5  PLC.

    RS232 RX(2) ----- TXD pin 3 PLC

    RS232 TX(3) ----- RXD pin 4 PLC

    If it is OK. 

    Check in Visilogic - is it com port number = USB -COM converter com number.

    Last tip - Uninstall Visilogic and run Visilogic  installation as Administrator.

     

  6. I totally agree with Flex. Image processing takes a long time. This upsets users who are beginning to study the process of creating displays.

    The user usually needs a good picture - a background that graphically explains what this display used for. Above this background, we can place the elements we need - numbers, buttons, lamps, etc.

    In fact, we can improve the picture itself using any graphics program as noted by Flex.

    I often use to export a drawn display without any numbers and controls to a bmp file. On it I can manually fix the necessary components.

    And this is where I constantly fall into the trap of an imperfect export process.

    I can't export the display image itself. It is stored together with the black frame ... 😢😢😢😢😢

    V350.jpg.ea8769474987ef34d73eff1a8dcbcb1e.jpg

    As you can see - if there was no frame - the image format would be fully consistent with the resolution of the PLC screen.

    I have to accurately cut out the useful from the frame, then modify it to the desired appearance and set as the background of the future display. This way I know exactly what it will look like on the display and whether the proportions of the elements in the image are correct.

    So maybe  I'll try to ask the creators - is it possible to export only a useful display image with HMI display resolution without a black frame ?

     

  7. On this image i try to explane....

    alarm.jpg.46c07a100bde47f36bc5022de5e7cf42.jpg

    I do not know how you build alarms in your project.

    On image -  if alarm source is active - "ALARM_1_ACTIVE" bit is enabled. If alarm source is disabled - ALARM_1_ACTIVE bit still enabled.

    Only "RESET ALARMS" - disable "ALARM_1_ACTIVE" bit.

    "ALARM_1_ACTIVE" bit Positive transition -|P|- set "Send SMS_bit".

    "Send SMS_bit" is reset after SMS sended to user. Then SMS is sended once, next one is sended only if "ALARM_1_ACTIVE" bit is reset (by user) and set by alarm source.

     

    P.S. Please note - this sample only for idea demonstration.

  8. Great job Aus! Epson RTC on board!

    Even now, with a wide range of modern PLCs in some solution i must

    1 hour ago, Ausman said:

    .....using the tracks to run external SSRs instead of the onboard relays

     One of my summer 2021 installation (retrofitting) with two V130-33-TR20 is slightly modified for high speed equipment.

    IMG_20210617_093747.thumb.jpg.61df0ed6bba2a33e8d681514f83a934a.jpgIMG_20210617_161805.thumb.jpg.f2355280445dcea237e353ccbb7e56d8.jpg

    >100000 operation per day on back folding clutch control.

    The question arises why such a decision was applied. The answer is simple - only two identical PLCs with 3 HSC inputs were available from the supplier at that time. However, in this PLC it is impossible to quick control solid outputs. Therefore, the relay output has become "solid" in two new PLCs.

    • Like 1
  9. The main problem in your program is not sending SMS. The main problem is alarm management.

    When an error occurs, you use the error bit as a sign that sends the message.

    In my opinion, the bit of a certain error should set (via transition) the bit of sending the appropriate SMS message which will be automatically reset after its transmission.

    The main thing to understand - you should not operate with the alarm status.

    You must use only the fact of its change - transition to set and transition to reset SMS send bit for manage messages.

    That is, operating in this way you will receive as many messages as the number of times the error occurred.

    You are now sending a message all the time when the error is active.

  10. The device is in excellent condition.

    An interesting discovery for me is the presence of two polarity reversal positions for the DC measurement mode.

    In my ancient stock lies my first multimeter of this type, but to change the polarity I had to rearrange the measuring conductors.

    P.S. It is interesting to check the condition of the battery in my device :)

    • Like 1
  11. There are many topics about PID present on forum. Try to search on forum.

    Please post your furnance setup: hardware, sensor installation, heat source, ON-OFF slow PWM or fast PWM output used, temperature range.

    If you use Autotuning - please try to set lower (-30 C) setpoint and start Autotuning. 

    Fix on paper P, I, D settings. 

    Then start Autotuning on normal setpoint.

    You can see what changes appear in P, I, D and understand system behavior with different settings.

  12. 3 hours ago, Ausman said:

    Kratmel loves/isreallygoodat this sort of thing!   🕵️‍♀️

    Yes, my favorite hobby is finding the cause of inappropriate behavior in various industrial animals.

    Unfortunately, I do not have such a PLC on the table - I would draw a diagram to solve this puzzle.

    Despite the fact that there are many other different Unitronics PLC in my cave.

     

    I am especially pleased when I manage to accurately repeat the behavior of the problem device by changing something in a working normal device.

    Although it seems strange to someone else.....  :)

  13. Recently I had to modernize the  well-known Swiss company machine control .

    It was built when ...

    2 hours ago, Ausman said:

    PLC..... ran on a pedal generator.  The machine itself worked from 5000 mice running on a wheel)

    So to my great surprise, the start signal of the motor converter is done by opening the electrical circuit with one of the closed contacts on each of the buttons that control the movement.

    My brain exploded in surprise.

    While my new PLC starts - the motor will turn a little.

    My task of modernization has turned into a struggle between closed and open contacts.

    No changes in buttons possible, NC contact must be open for RUN.... How to implement  Emergency Switch and Safety relay.

     

    P.S. PLC programmed, machine in working condition.

    But in a few years someone will say - Who built such nonsense on the PLC. He can't guess that mice used to run here ...

     

  14. 10 hours ago, SanjayP said:

    what could be interfering with the keypad being displayed.

    Main quastions:

    Is it happend with all Variables, passwords, ect ?

    Is it time of keypad screen disable stable or varies with each keypad entry?

     

    If it was happend in your project - some Display is loaded, reloaded or display sensor has some damaged area. 

    You can test display via Visilogic SI 40 -SI41.

    If it is in OEM project and time of keyboard disable stable - maybe time of keypad active is shorted by programmer.

     

×
×
  • Create New...