The user uses the CPU of the CPU315-2DP to implement a very complex process control. The time requirement is very strict and there are many time sequences. For example, when the signal at point A is 1, the timer 1 is triggered and the timing is 5 seconds. After the time is up, the output is at a level. To point B, trigger timer 2, delay 3 seconds, collect the value of C sensor, trigger timer 3, and calculate every 10 seconds (there is a formula) and so on. There are many segments like this process, each segment Not all the same, the use of a number of timers is not the same, the user program is compiled, but not yet completed, because the timer is not enough, more than the number of plc can provide 256 timers, so there will be those who complained above .
To sum up, users complain that the number of timers Siemens PLC can provide is not enough to meet the needs of users (finally understood).
After listening to the user's question, the user was calm and I was at the bottom of my heart. First of all, I did not give the user a direct answer, but first I was concerned about the difficulty of the user's debugging program. I just said: "Isn't it convenient for you to debug the program?" My voice just fell, and the user's voice opened again. Ah, complaining, debugging is inconvenient, the timers are chaotic, and the conditions depend on each other too much..... Anyway, there is no good place to use and it will soon be tortured to death. After listening to the user's words, remind yourself not to salt the user's "wound", or open the prescription, first look at the disease, then talk about it again.
Not enough to use IEC timer (SFB3-SFB5), as long as the CPU capacity is sufficient, the number is not limited, obviously the user does not know this information, otherwise he will not complain that the timer is not enough, if you really use the IEC timer Programming, it is estimated that the user's program will be half the timer program, so I did not tell him first, lest it lead to a lot of words, the user is not easy.
What prescription has been given to users?
The formula is simple: one timer and one add instruction (MW0=MW0+1).
Usage: Because all the timers used by the user are in seconds, T1 is set to a timer of 1 second. After the program is started, the timer is started, and then MW0=MW0+1 is executed after the timer expires. Each time MW0 is incremented by one, the clockwise time (seconds) will be determined by determining the value of MW0, and the number of seconds elapsed (for example, MW0=10, or 10 seconds, when MW0). The value can be cleared after reaching the maximum timing time value. This satisfies the user's needs and solves the problems. At the same time, the program structure is relatively clear and it is not easy to chaos.
Custom Wire Harness Assembly
- Electrified dimensional build boards with 100% continuity test
- Capabilities to test for fuse,diode,resistor, and relay presence
- Mating test fixtures for lower production wire harnesses
- Ability to free hand build harnesses for prototypes and design validation
- Separate layout boards for addition of fir tree clips, rosebuds, clamps,and labels after coverings added
- Capabilities to add board interlocks and test markings to harness as needed
Custom Wiring Harness,Wiring Harness,Cable Assemblies,Wire Harness,Wire Harness Assembly Manufacturer
ETOP WIREHARNESS LIMITED , https://www.wireharness-assembling.com