MrPLC Member
  • Content count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About ghid

  • Rank

Profile Information

  • Country Romania
  1. I am talking generaly, beacause I am programming different tipes of plc: siemens, omron, schneider. I am talking about programming techniques that can be applied in ladder. I am asking for methods of arranging and structure ladder programs or methods from other languages, for example C that can be transposed in ladder. Books or other sources. Thank you.
  2. Hi, I am concerned from a while, about my way of organizing and structuring my ladder PLC programming. I don't follow any rule or structure. I have problems in tranforming the " to do" machine requirements in ladder code. I don't see my code to be neat and I am afraid of my code stability. I do programming in steps. I have knowledge about scanning cycle and plc's. I have also some knowledge in C programming but I have the fealing that my programming is chaotic. I want to say that I have made 10-20 machines to work by my self, I'm not at my first steps. But I want to do something like software engineering with my way of programming. Do you know programming book that can help me? I want to be more profesional and self confident. Please help me to go on the next level. Thank you.
  3. Hi, I have an siemens simotion control unit D410-2 DP/PN and an sinamics power module S120PM340 and an asynchronus motor 0.37kW somewhere at 3000 of revolutions, and a 30V push pull rotary encoder. Please tell me if I can do a servosystem with these components. Can I drive the asynchronus motor for exampe to turn two revolutions in 2 seconds? Thank you in advance.
  4. Hello, I need to make an aplication where I have to command two hydraulic cylinders in syncron. The difference between the cylinder actuation must be within 10mm. What I have: A TWIDO PLC - two proportional valves commanded in 0 - 10V for cylinder actuation - two push-pull encoders, 3600 resolution per each cylinder linear course. Please get me a start to get from. Thank you in advance.
  5. Hellow, From what I know the PLC cicle is something like this: 1. The inputs are scanned 2. The rungs are logicaly solved 3. The autputs are scanned My question is, after a rung is logicaly solved and it's afferent output is energised, and that output is used in the very next rung, what value is taken in consideration in this next rung, the value that was recently solved on the anterior rung, or the value that was wirtten in the output tabel at the final of the anterior cycle. An example: Q2 Q1 | / |------------- ( ) Q1 Q2 | | ------------- ( ) | | Q2 | | | ---- Variant I: 1. The inputs are scaned 2. First rung is logicaly solved, Q1 coil is energized, takes the boolean value 1 3. Now is the second rung turn. The Q1 contact is open ( because Q1 wasn't writen in the output table at the step 3 of the PLC cycle ) the Q2 contact is open too. 4. At the final o this PLC cycle, the outputs are updated: Q1 is true and Q2 is false Now follows the next cycle: 1. Rung 1: Q2 normal closed stays closed and Q1 coil is energised 2. Q1 is true form the anetrior cycle and thus Q2 is energised .... .... Variant II: 1. The inputs are scanned 2. First rung is logicaly solved, Q1 coil is energized, takes the value true 3. The second rung: Q1 contact is closed ( because Q1 was energised in the anterior rung ) and the Q2 coil is energised. ... ... Thank you,
  6. Greetings, I have an schneider Zelio logic relay, and I want to connect to one of its inputs, a contact at a long distance, can you please tell me the maximum distance at that zelio relay input's sees that contact? Thank you.
  7. Hi, I have to make a system that controls movement with an stepper motor, without intelligent devices like PLC's or CNC or PC. I want to use a system with this configuration: S238AU25 DRIVE BRS368 stepper motor I can to do that without PLC? I want to do that with the help of CN5 connector. It says in documentation about something about RS422 signals. I need some help. What is the simplest method to drive the stepper motor. Please help me if you can. P.S. I don't want to command the mottor from Driver's HMI. Thank you.
  8. Program cycle operating flow

    Thank you for your response. So, you are saying that the DIFU instruction extends during two PLC cycles?
  9. Hi, From what I know about PLCs program cycle, the inputs are readed in the order that are positioned in the program, and at the end of the program flow, the outputs are actuated. And in my opinion, if a memory it is positioned as a condition befoire it's actuation, the output that is deppending on this memory condition never should be actuated. In the following example, the H10.0 memory will go high when I will set the bit 0.02 to high, and will stay high just until at the end of the cycle (because of the DIFU instruction ), in those conditions, the H5.04 souldn't go on high, but will go, but why? because when the cycle is starting the H10.0 is scanned as low and H5.04 showld not go on high, then I set the 0.02 to high, H10.0 goes to high and at the start of the next cycle should be low, and H5.04 should be low. Please help me to understand. Thank you.
  10. Hi, I have a MODICON TSX 3722 PLC, and I want to elaborate a character mode communication with it. I want to use for this a magelis XBTN400 display. I don't want to use vijeo design or other software of that kind because I want to see how character mode comunication works. It is possible a thing like this? Thank you.
  11. Thank you, I fiddled a while until to figured out how to assign a direct real value and make operations. The direct value assigned must have the value.0 format. Example: %MF1:=4.0 Thank you again.
  12. Hi, Can you tell me please what is the syntax for addressing and operating with real data type in TWIDOSUITE language? Thank you.
  13. Hi, I am simulating TWDLMDA in Twido Suite and I don't know where to force the markers ( %M ), in other PLC pograms a simple right click shows force on or off, but in twido suite this option doesn't apear. Thank you.