Description
The 8200-226 is the latest released model of the SPC (Servo Position Controller). It replaces models 8200-224 and 8200-225.
The best evaluation standard for PLC programs is practice, to see if the program can achieve the expected purpose, but this is not enough, because there are still good and bad programs that can achieve the goal. What kind of program is a good program? There are generally the following aspects:
1. Correctness
The PLC program must be correct and verified through actual work to prove that it can work correctly. This is the most fundamental requirement for PLC programs, and if this cannot be achieved, no matter how good the rest is, it will be of no use.
To make the program correct, it is necessary to accurately use instructions and internal devices correctly. Accurately using instructions is related to accurately understanding them, so it is necessary to clarify the meaning and usage conditions of the instructions. If necessary, small programs can be compiled to test some unclear instructions.
For the same instruction, due to different factory batches of PLCs or different series and models of PLCs, some instruction details may vary. Therefore, it is necessary to carefully consult the programming manual.
The correct use of internal components is also important. If some PLCs have power failure protection, some PLCs do not. It is necessary to use power failure protection devices when it is necessary to protect against power failure, otherwise it cannot be used.
In short, the most fundamental requirement for PLC programs is to use instructions accurately, use internal devices correctly, and ensure that the program is executed correctly.
2. Reliability
The program should not only be correct, but also reliable. Reliability reflects the stability of PLC programs, which is also a basic requirement for PLC programs.
Some PLC programs can work correctly under normal working conditions or legal operations, but after abnormal working conditions (such as temporary power outage and quick re energization) or illegal operations (such as some buttons not being pressed in sequence or multiple buttons being pressed simultaneously) occur, the program cannot work properly. This type of program is not reliable, or unstable, it is a bad program.
A good PLC program can identify abnormal working conditions and connect them with normal conditions, making the program adaptable to various situations. A good PLC program can reject illegal operations without leaving any “traces”. Only accept legal operations.
Interlocking is a common means of rejecting illegal operations, which is commonly used in relay circuits and can also be inherited by PLCs.
3. Brevity
Keeping the PLC program as brief as possible is also a goal that should be pursued.
Short programs can save user storage space; In most cases, it can also save execution time, improve response speed to input, and improve program readability.
Whether a program is short or not can generally be measured by the number of instructions used in the program. If the number of instructions used is small, the program naturally becomes short.
To keep the program short, from a large perspective, it is necessary to optimize the program structure, simplify the program with process control instructions, and from a small perspective, replace single functional instructions with powerful instructions, and pay attention to the order of instructions.
4. Time saving
Program brevity can save program runtime, but brevity and time saving are not completely the same thing. Because the running time of a program is not only related to the number of instructions the program has, but also to what instructions are used. The execution time varies depending on the PLC instructions. Moreover, some instructions are executed at different times when the logical condition is ON and when it is OFF. Additionally, due to the use of process control instructions, not all instructions need to be executed in the program. So, calculating the time to run a program is relatively complex. But it is necessary to require that the average time is small and the maximum time is not too long. This can improve the response speed of the PLC.
The key to saving time is to use process control instructions well. Determine some instructions that must be executed according to the situation, make necessary parts, and the rest can be executed selectively according to the program, or design some time sharing work to avoid the maximum time being too long.
MKD090B-085-KG1-RN
MKD112B-073-GP0-BN
TRANS01.7/1/0P01
TVM2.1-050-220-300-W1
HVE04.2-W075N
HVR02.2-W010N
HZF01.1-W010N
HDS02.2-W040N
HDS03.2-W075N
HDS03.2-W100N
HVR02.2-W025N
DKC01.1-030-3-FW
DKC01.3-200-7-FW
DKC03.3-200-7-FW
MDD071B-N-040-N2T-095PBO
MHD093B-058-PP0-BN
MHD112C-024-PP0-BN
MKD025B-144-KP1-KN
MKD041B-144-GP0
MKD041B-144-GP0-KN
MKD041B-144-KP1-KN
MKD090B-047-KP1-KN
MHD041B-144-PGO-UN
MKD071B-035-GG1-KN
MKD071B-035-GGO-KN
DDS02.1-W100-02-FW
MKD041B-144-KG1-KN
HDS03.2-W100N-HS45-01-FW
DKC01.1-040-7-FW
HCS02.1E-W0012-A-03-NNNN 聽
HCS02.1E-W0070-A-03-NNNN聽聽