Share this

A Comprehensive Explanation of Siemens PLC Instructions

2026-04-06 06:23:30 · · #1

Command (full English name and meaning): Command meaning

1. LD (Load): Normally open contact

2. LDN (Load Not Loaded): Normally closed contact

3. A (And and normally open): Used for connecting normally open contacts in series.

4. AN (AndNot and Normally Closed): Used for connecting normally closed contacts in series.

5. O (Or or normally open): Used for parallel connection of normally open contacts.

6. ON (OrNot or Normally Closed): Used for parallel connection of normally closed contacts.

7. = (Output): Used for coil output.

8. OLD (OrLode): block or

9. ALD (AndLode): Block AND

10. LPS (LogicPush): Logic Push onto the Stack

11. LRD (LogicRead): Logical Read Stack

12. LPP (LogicPop): Logical pop from stack

13. NOT (not): not

14. NOP (No Operation Performed): No operation performed.

15. AENO (And ENO): AND the ENO output of the instruction box.

16. S (Set Placement): Set to 1

17. R (Reset): Resets to zero.

18. P (Positive): Rising edge

19. N (Negative): Falling edge

20. TON(On_DelayTimer): On-delay timer

21. TONR (RetentiveOn_DelayTimer): A timer with memory for on-time delay.

22. TOF(Off_DelayTimer): Disconnect the delay timer.

23. CTU (CountUp): Increment counter

24. CTD (CountDown): Decrease counter

25. CTDU (CountUp/CountDown): Increment/Decrement Counter

26. ADD (add): Add

Notice

//ADD_I (_I represents an integer)

ADD_DI (DI represents a two-byte integer)

ADD-R (R represents a real number)

They are all addition operations, only the values ​​of the numbers differ.

27. SUB (Subtract, reduce): subtract

28. MUL (Multiply): Multiply

29. DIV (Divide): Except

30. SQRT (Squareroot): Find the square root.

31. LN (Napierian Logarithm): Find the natural logarithm.

32. EXP (Exponential): Calculates the exponent.

33. INC_B (Increment): Increase by 1

//Where _B represents the data type, and W (byte), DW double word, and the following ones are all like this.

34. DEC_B (Decrement): Decrease by 1

35. WAND_B (Word and Command): Logical AND

36. WOR_B (Wordor or command): Logical OR

37. WXOR_B (Wordexclusiveor XOR command): Logical XOR

38. INV_B (Inverse): Inverts the expression.

39. MOV_B (Move): Data transfer

40. BLKMOV_B (BlockMove): Data block transfer

41. SWAP (Swap): Byte swapping

42. FILL (Fill): Text filling

43. ROL_B (RotateLeft): Circular left shift

44. ROR_B (RotateRight): Circular right shift.

45. SHL_B (ShiftRight: Move to the left): Move to the left

46. ​​SHR_B (ShiftRight: Move to the right): Move to the right.

47. SHRB (Shift Buffer): Register shifter

48. STOP (Stop): Pause

49. END/MEND (End/Mend): Conditional/Unconditional End

50. WDR (Watchdog Reset): Watchdog timer reset

51. JMP (Jump): Jump

52. LBL (Label Position): Jump Label

53. FOR (For loop): loop

54. NEXT (Next again): Loop ends

55. SBR (Subprogram Regulating): Subprogram call

56. SBR_T (Subprogram RegulatingTake): Subroutine call with parameters

57. SCR (Sequence Control): Step Start

58. SCRT (Sequence Control Transfer): Step-by-step transfer

59. SCRE (SequenceControlEnd): Step End

60. AD_T_TBL (Add data to table): Adds data to the table.

61. FIFO (First in First out): First-in, first-out

62. LIFO (Last In First Out): Last In First Out

63. TBL_FIND (TableFind): Table search

64. BCD_I (BinaryCodedDecimal_I): Converts BCD code to integer.

65. I_BCD(I_BinaryCodedDecimaL): Integer to BCD code conversion

66. B_I (Bittoint): Byte to integer conversion

67. I_B(inttobit): Integer to byte conversion

68. DI_I(Doubleinttoint): Converts a double integer to an integer.

69. I_DI(inttodoubleint): Converts an integer to a double integer.

70. ROUND (Round): Converts a real number to a double integer.

71. TRUNC (Trunc Extraction): Converts the integer part of a 32-bit real number (discarding the decimal part and taking the integer part).

72. DI_I(doubleinttoint): Converts a double integer to a real number.

73. ENCO (Encode): Encoding

74. DECO (Decode): Decoding

75. SEG (Segment decoder): A seven-segment display decoder

76. ATH (ASCII code turnhex): Converts ASCII code to hexadecimal.

77. HTA (Hexadecimaltoascii): Hexadecimal to ASCII code

78. ITA (//inttoascii): Integer to ASCII code

79. DTA(//doubleinttoascii): Double integer to ASCII code.

80. RTA (//realtoascii): Convert real number to ASCII code

81. ATCH (//attach): Disconnect

82. DTCH (Depatch): Interrupt Separation

83. HDEF (Highspeed counter definition): High-speed counter definition

84. HSC (HighSpeed ​​Counter): Starts the high-speed counter.

85. PLS (Pulse): Pulse output

86. READ_RTC (Read realtimeclock): Reads the real-time clock.

87. SET_RTC (Setrealtimeclock): Writes the real-time clock.

88. XMT (Transmitter): Free transmission

89. RCV (Receive): Free reception

90. NETR (Netread): Network Read

91. NETW (Netwrite): Network writing

92. GET_ADDR(Getaddress): Retrieves the address of an interface.

93. SET_ADDR (Set address): Sets the port address.

94. PID (Proportional-Integral-Differential): Proportional-Integral-Derivative controller.

Disclaimer: This article is a reprint. If there are any copyright issues, please contact us promptly for deletion (QQ: 2737591964). We apologize for any inconvenience.

Read next

CATDOLL 128CM Yuki

Height: 128cm Weight: 19kg Shoulder Width: 30cm Bust/Waist/Hip: 57/52/63cm Oral Depth: 3-5cm Vaginal Depth: 3-15cm Anal...

Articles 2026-02-22