Detailed Explanation of Siemens PLC Instructions

(English Full Name Meaning): Instruction Meaning

1

LD (Load): Active Contact

2

LDN (Load Not): Inactive Contact

3

A (And): Used for Series Connection of Active Contacts

4

AN (And Not): Used for Series Connection of Inactive Contacts

5

O (Or): Used for Parallel Connection of Active Contacts

6

ON (Or Not): Used for Parallel Connection of Inactive Contacts

7

= (Out): Used for Coil Output

8

OLD (Or Load): Block Or

9

ALD (And Load): Block And

10

LPS (Logic Push): Logic Stack

11

LRD (Logic Read): Logic Read Stack

12

LPP (Logic Pop): Logic Pop Stack

13

NOT (Not): Inverse

14

NOP (No Operation Performed): No Operation

15

AENO (And ENO): Instruction Box Output ENO AND

16

S (Set): Set to 1

17

R (Reset): Reset to Zero

18

P (Positive): Rising Edge

19

N (Negative): Falling Edge

20

TON (On_Delay Timer): Turn On Delay Timer

21

TONR (Retentive On_Delay Timer): Memory Retentive On Delay Timer

22

TOF (Off_Delay Timer): Turn Off Delay Timer

23

CTU (Count Up): Increment Counter

24

CTD (Count Down): Decrement Counter

25

CTDU (Count Up/Count Down): Increment/Decrement Counter

26

ADD (Add): Add Attention
//ADD_I (I indicates Integer)
ADD_DI (DI indicates Double Integer)
ADD_R (R indicates Real Number)
They are all addition operations, just the size of the numbers differs.

27

SUB (Subtract): Subtract

28

MUL (Multiply): Multiply

29

DIV (Divide): Divide

30

SQRT (Square root): Calculate Square Root

31

LN (Napierian Logarithm): Calculate Natural Logarithm

32

EXP (Exponential): Calculate Exponential

33

INC_B (Increment): Increase by 1 // Where _B represents data type, W (Byte), DW (Double Word), etc.

34

DEC_B (Decrement): Decrease by 1

35

WAND_B (Word and): Logical AND

36

WOR_B (Word or): Logical OR

37

WXOR_B (Word exclusive or): Logical XOR

38

INV_B (Inverse): Negate

39

MOV_B (Move): Data Transfer

40

BLKMOV_B (Block Move): Data Block Transfer

41

SWAP (Swap): Byte Swap

42

FILL (Fill): Fill Data

43

ROL_B (Rotate Left): Rotate Left

44

ROR_B (Rotate Right): Rotate Right

45

SHL_B (Shift Left): Shift Left

46

SHR_B (Shift Right): Shift Right

47

SHRB (Shift Buffer): Register Shift

48

STOP (Stop): Pause

49

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

50

WDR (Watch Dog Reset): Watchdog Reset

51

JMP (Jump): Jump

52

LBL (Label): Jump Label

53

FOR (For Loop): Loop

54

NEXT (Next): End of Loop

55

SBR (Subprogram Regulating): Subprogram Call

56

SBR_T (Subprogram Regulating Take): Subprogram Call with Parameters

57

SCR (Sequence Control): Step Start

58

SCRT (Sequence Control Transfer): Step Transfer

59

SCRE (Sequence Control End): Step End

60

AD_T_TBL (Add data to table): Fill Data Table

61

FIFO (First in First out): First In First Out

62

LIFO (Last in First out): Last In First Out

63

TBL_FIND (Table Find): Table Lookup

64

BCD_I (Binary Coded Decimal _I): BCD Code to Integer

65

I_BCD (I_Binary Coded Decimal): Integer to BCD Code

66

B_I (Bit to int): Byte to Integer

67

I_B (int to bit): Integer to Byte

68

DI_I (Double int to int): Double Integer to Integer

69

I_DI (int to double int): Integer to Double Integer

70

ROUND (Round): Real to Double Integer

71

TRUNC (Trunc): Convert 32-bit Real to Integer (Discard Decimal)

72

DI_I (double int to int): Double Integer to Real

73

ENCO (Encode): Encoding

74

DECO (Decode): Decoding

75

SEG (Segment decoder): Seven Segment Display Decoder

76

ATH (ASCII to Hex): ASCII to Hexadecimal

77

HTA (Hexadecimal to ASCII): Hexadecimal to ASCII

78

ITA (Integer to ASCII): Integer to ASCII

79

DTA (Double Integer to ASCII): Double Integer to ASCII

80

RTA (Real to ASCII): Real to ASCII

81

ATCH (Attach): Interrupt Connection

82

DTCH (Detach): Interrupt Separation

83

HDEF (High Speed Counter Definition): High Speed Counter Definition

84

HSC (High Speed Counter): Start High Speed Counter

85

PLS (Pulse): Pulse Output

86

READ_RTC (Read Real Time Clock): Read Real Time Clock

87

SET_RTC (Set Real Time Clock): Write Real Time Clock

88

XMT (Transmitter): Free Sending

89

RCV (Receive): Free Receiving

90

NETR (Net Read): Network Read

91

NETW (Net Write): Network Write

92

GET_ADDR (Get Address): Get Port Address

93

SET_ADDR (Set Address): Set Port Address

94

PID (Proportional Integral Differential): Proportional-Integral-Derivative Controller.

Source: This article is reproduced from the internet, copyright belongs to the original author. If there are any copyright issues, please contact us for removal. Thank you!

Detailed Explanation of Siemens PLC Instructions

Scan to Follow

WeChat ID|13615417996

Follow the QR code on the left for free access to

[Siemens Information Collection]

Leave a Comment