Jump to content

kratmel

Members
  • Content Count

    501
  • Joined

  • Last visited

  • Days Won

    18

Everything posted by kratmel

  1. Everyone in the process of building a program in the Visilogic comes to their own style of writing. Therefore, we can come to the same action in our programs in completely different ways. In most cases, I have to test the program without having the whole system at hand. Therefore, for almost all types of panels, I wrote "my standard" routines for polling inputs and output control. This led to the idea that the activation of the output should be only in one place in the program - in this case, the subroutine OUTPUTS. Input polling is similar in another subroutine INPUTS. Values
  2. I support the version that this is a problem with updating Windows. However, I had problems with the USB to COM driver once due to interference from the computer's power supply. It was powered from a different power than the machine to which it was connected. Disconnecting the power supply from the mains and running on batteries solved the problem in this case. Now i use isolated USB to COM.
  3. Please use hardware PWM out O0 or O1 configuration for test. Please delete PWM scan block from ladder. Using software PWM method gives incorrect results for your case. Maybe ladder PWM generation is interrupted by immediate command. Hardware PWM do not use CPU resorces for generation. It is used for shaft encoder in author project...
  4. I don't know, maybe it will help ... I would advise the author to turn his PLC into a test bench for a while. 1-step Set a high-speed output (O0 or O1) with PWM function in the configuration and make it possible to change the parameters (Duty Cycle and Frequency) of this output on the screen. Also start-stop buton on screen and PWM run bit ladder logic needed. You can build automatic frequency increment with fixed step from 0 to the 1000Hz for example. 2-step Use wires to send a signal from this output to the input that the author wants to turn into a counter. Step 3 - Write
  5. Hi, Pavel M What is needed in your application: count pulse or mesure frequency?
  6. This is from new Visilogic CANopren+ Servo help But it is about older version of Visilogic It is present in 9.8.65 help also. Maybe something no documented changes appear in new visilogic. But it is not present in help Please try to check code in SDW34 ----CANopen: Abort Code in SDO Abort. Check Help file for codes SDW36 ----CANopen: Bus OFF error. Check Help file for codes
  7. Typical standard input response time = 10ms ===> 100Hz. Interrupt and immediate read used for make program read rate faster. But maybe standard input response do not possible to do faster with this method. You have two HSI (HSC) channel on board. Maybe rewire application to this input is possible.
  8. If screen damaged or touch sensor and program transfer is not possible (you do not have original project) and you purchase the same model of V350 maybe one option is present. You can reinstall old IO and main board to new V350. Usually I do not recommend doing it without experience, but as experienced engineers say - the eyes are afraid, but the hands can do it. 🛠️
  9. Hi, it is not present in this option?
  10. Interesting remarks Aus ... âś… I noticed two features: 1- sometimes when you get to a new place you feel that you used to be here .. It's strange but in two or three days you don't confuse rooms, streets or buses. 2- I remember the road only when I ride it myself. But when I'm sitting next to the driver - it's very difficult to get back to the right place. And now about the sun ... I once found a good example for students that illustrates the correct selection of the signal polling frequency for an ADC. If one man is shown the sun every hour, he will be convinced that it is mo
  11. Hi, now you has two different sensor with npn output. You must setup NPN input type on SAMBA. 1 -st sensor min rate 0.06L/min Ń… 462 imp/L = 27imp/min, min imp rate 0.45Hz max rate 16L/min Ń… 462 imp/L = 7392imp/min, max imp rate 123Hz Normal input speed (Hz) typical 10ms response = 1/ 0.01sec = 100Hz Then you must use HSC for this sensor. 2 -nd sensor min rate 3L/min Ń… 65 imp/L = 195 imp/min, min imp rate 3.25Hz max rate 30L/min Ń… 65 imp/L = 1950 imp/min, max imp rate 32.5Hz Then you can use one of them - normal or HS
  12. I wonder what the author aims to get? Need to ensure proportion in a continuous mixing process? Need to measure two doses of the component and stop? Is it possible that the ultimate goal is to get these two goals at the same time? What accuracy of maintaining proportions is required? Do both components fall into the same line or flow freely separately? This is a small part of the questions that the author should answer for himself. And I think then it will become clear what should be written in the PLC program. From the above data on flow meters, I did not see how many
  13. If there is a problem of this kind - of course the PLC can be blown up or even given to students to learn how to solder chips. You cannot use it for something important - such as an industrial machine. However, I would put it on the shelf as a donor with a touchscreen and a working LCD screen. And after a while you will be pleasantly surprised by the ability to quickly solve the problem of accidentally broken glass or broken lighting in the panel. I already have quite a lot of absolutely working PLCs with broken screens or a damaged case. Therefore, you need to destroy the PLC only
  14. Hi, you must use power on operand for frequency MI1=PWM freq . Now it is 0 and output is ON for all the time. PWM freq for this module is different for different type of connection PNP = 1-500Hz NPN =1-32000Hz You must use proper value for IO module hardware PWM Frequency power up value preset. If you process is slow - you do not need to run harware PWM. You can run slow software PWM SCAN ladder FB and use simple output for control SSR for heater.
  15. Maybe this pdf manual help, but it is not include new options, available for new versions Visilogic ... http://jjackson.eng.ua.edu/courses/ece485/lectures/VisiLogic - Ladder Programming.pdf http://jjackson.eng.ua.edu/courses/ece485/lectures/VisiLogic - Getting_Started.pdf
  16. Some changes in program and debug screen - you can see what happend in protocol. Please post test panel screen foto. Message go to MI500-vector and then copy to MI50 buffer. MI50 buffer placed on screen. Refresh button only for test. 232_stream.vlp
  17. It is good news. One of possible solution is to use rotation monitoring sensor on page 92. https://stevenengineering.com/tech_support/PDFs/45SENSOR_INDUCTIVE-PROX.pdf But in critical safety application - safety RPM monitoring sensor, or sensor+relay must be used https://www.ifm.com/download/files/ifm-safe-and-reliable-rotational-speed-monitoring-sensors-motion-control-GB/$file/ifm-safe-and-reliable-rotational-speed-monitoring-sensors-motion-control-GB.pdf You can send signal from this sensor to the PLC for evaluation or directly to oven control for alarm purpose.
  18. Please post your protocol project. You can use Stream Protocol configuration embedded to Prot FB project in above topic. For online testing i use addon com port or ethernet card. It is really hard to configure protocol with only one PORT.
  19. I would like to mention another feature of fan performance monitoring. From time to time I service an ABB robot in which the computer is blown by two fans and the servos by four fans. All fans have a built-in pulse speed sensor. The fan stop error occurs only in one case - when the bearing is stuck in the fan and never when the electric motor in the fan has burned out. This is because a fan with a burned out motor rotates in the opposite direction, and good fans do not cool the system but spin a broken fan. This problem cannot be tracked when the robot control system is running. Howe
  20. You must connect +V CAN connector to the +24V, and -V CAN connector to the 0V(GND). CAN module must be powered via external (separated or not separated power supply).
  21. Input Response Time = 10ms typical, when used as normal digital inputs. In your setup 1 turn Time1(sec) = 1/ Freq (Hz) = 1/40 = 0.025sec=25ms 1 turn Time2(sec)=1/100(Hz)=0.01sec=10ms Your sensor "see" metal only for short time during the 1 turn. If you increase the frequency, the input does not have time to "see" a number of pulses - the sample frequency drops. For test fan rotation you can use timer started by sysytem RUN bit. Sensor from your setup must reset timer by --|P|-- . If no timer reset present for preset time - you set alarm by time
  22. Please try to read message to the Stream Please see my configuration posted on April 9.
  23. Your control parameter is PWM Duty Cycle. 0=stop 1000=max. You can run PWM on different frequency and sound was different. The best solution is use HIGH PWM rate (above 2000Hz), but you SSR do not offer above D1D40<=950Hz, D1D12<=4000Hz. Fequency (Hz)= 1/PWM cycle time (sec). PWM cycle time (sec) = 1/Frequency(Hz). If Freq=0, PWM cycle time = infinite... 0 frequency = motor run on max voltage without PWM and sound is quite good (you can connect motor direct to the power supply and result is the same). As for me you must test motor in load condit
  24. One of the possible solution - use MOXA NPort 5650-16 or NPort 5630-16 with 16 RS485 to Ethernet convertor. Or use 12 (or 12 minus unitream used port) separated RS485 to Ethernet convertor. But you must test RS485 to Ethernet convertor setup for sensor used by investor. Or use vision based solution from this
Ă—
Ă—
  • Create New...