Siemens PLC basic instructions: touch point and coil instructions
2022-12-23
Programming Principles of PLC Ladder Diagram Language
1. The ladder diagram is composed of multiple steps, each coil can form a step, each step has multiple branches, and each step represents a logic equation;
2. The relays, contacts, and coils in the ladder diagram are not physical, they are bits in the PLC memory (1=0N; 0=0FF); the normally open/normally closed contacts can be quoted unlimited times during programming, and the coil output can only be used once;
3. What flows in the ladder diagram is not a physical current but a "conceptual current", which can only flow from left to right;
4. The operation of the user program is based on the contents of the input/output image register of the PLC, and the result of the logical operation can be used by the subsequent program immediately;
5. The internal relay of the PLC cannot be used for control, and can only store the intermediate state of logic control;
6. The output coil cannot directly drive the on-site actuators, but is driven by the power device on the I/module.
Basic logic instructions are based on bit logic operations. In bit logic instructions, unless otherwise specified, the valid areas of operands are: I, Q, M, SM, T, C, V, S, L and the data type is BOOL Contact and coil instructions are further divided into: standard instructions, immediate instructions, negation instructions, positive (negative) jump instructions.
1. The ladder diagram is composed of multiple steps, each coil can form a step, each step has multiple branches, and each step represents a logic equation;
2. The relays, contacts, and coils in the ladder diagram are not physical, they are bits in the PLC memory (1=0N; 0=0FF); the normally open/normally closed contacts can be quoted unlimited times during programming, and the coil output can only be used once;
3. What flows in the ladder diagram is not a physical current but a "conceptual current", which can only flow from left to right;
4. The operation of the user program is based on the contents of the input/output image register of the PLC, and the result of the logical operation can be used by the subsequent program immediately;
5. The internal relay of the PLC cannot be used for control, and can only store the intermediate state of logic control;
6. The output coil cannot directly drive the on-site actuators, but is driven by the power device on the I/module.
Basic logic instructions are based on bit logic operations. In bit logic instructions, unless otherwise specified, the valid areas of operands are: I, Q, M, SM, T, C, V, S, L and the data type is BOOL Contact and coil instructions are further divided into: standard instructions, immediate instructions, negation instructions, positive (negative) jump instructions.
Related News
About the classification, application and development of PLC 2024-01-02 416
There is a problem with PLC, how to quickly find the cause? 2024-01-02 349
How many communication methods does Siemens PLC have? 2023-08-03 800
Siemens PLC S7-300 has communication failure and remote maintenance method 2023-08-03 3596
What are the series and characteristics of Siemens PLC 2023-08-03 800
Summary of Siemens PLC selection method 2 2023-08-03 383
Summary of Siemens PLC selection method 1 2023-08-03 414
What Applications Would You Use PLCs? - Exploring the Widespread Use of Programmable Logic Controllers 2023-05-31 533
Is PLC Used in Robotics? - Understanding the Role of PLCs in Robotics 2023-05-31 507
Is PLC Programming Hard? - A Comprehensive Guide to PLC Programming 2023-05-31 707
What is a PLC in Business? 2023-05-27 509
What is a PLC Used For? 2023-05-26 587
What is a Ladder Diagram in PLC? 2023-05-25 614
Why Doesn't Smart Switch Work on My PLC? 2023-05-24 534
Why are PLC Installed Inside an Enclosure? 2023-05-23 530
Why Are Logical Racks Used in PLC? 2023-05-22 535
Why There is a Need of PLC in Industry 2023-05-20 556
Why the PLC is Important 2023-05-19 509
Why Some PLC Use Only the Basic Additions 2023-05-18 533
Why Scaling is Done in PLC 2023-05-17 496