0% found this document useful (0 votes)
89 views15 pages

PLC STL

The document provides an alphabetical listing of statement list instructions for SIMATIC and international mnemonics. It contains the abbreviation for each instruction, the equivalent international abbreviation, the full name of the instruction, and the page where it is explained.

Uploaded by

Ahmad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
89 views15 pages

PLC STL

The document provides an alphabetical listing of statement list instructions for SIMATIC and international mnemonics. It contains the abbreviation for each instruction, the equivalent international abbreviation, the full name of the instruction, and the page where it is explained.

Uploaded by

Ahmad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

Alphabetical Listing of Instructions

A.1 Listing with (German) SIMATIC and International Mnemonics

Table A-1 provides an alphabetical listing of the mnemonic abbreviations of


the statement list instructions. Next to each German abbreviation are the
equivalent international abbreviation, the full international name and the
page on which the instruction is explained.

Table A-1 Alphabetical Listing with the SIMATIC and the International Mnemonic Abbreviations

SIMATIC International Name Page


Abbreviation Abbreviation No.
+ + Add Integer Constant (8, 16, 32-Bit) 9-6
= = Assign 5-24
) ) Nesting Closed 5-14
+AR1 +AR1 Add Accumulator 1 to Address Register 1 4-7
+AR2 +AR2 Add Accumulator 1 to Address Register 2 4-7
+D +D Add Accumulator 1 and Accumulator 2 as Double Integer (32-Bit) 9-2
-D -D Subtract Accumulator 1 and Accumulator 2 as Double Integer (32-Bit) 9-2
*D *D Multiply Accumulator 1 by Accumulator 2 as Double Integer (32-Bit) 9-2
/D /D Divide Accumulator 2 by Accumulator 1 as Doubel Integer (32-Bit) 9-2
==D ==D Compare Double Integer (32-Bit) >, <, >=, <=, ==, <> 17-3
+I +I Add Accumulator 1 and Accumulator 2 as Integer (16-Bit) 9-2
-I -I Subtract Accumulator 1 from Accumulator 2 as Integer (16-Bit) 9-2
*I *I Multiply Accumulator 1 by Accumulator 2 as Integer (16-Bit) 9-2
/I /I Divide Accumulator 2 by Accumulator 1 as Integer (16-Bit) 9-2
==I ==I Compare Integer (16-Bit) >, <, >=, <=, ==, <> 17-3
+R +R Add Accumulator 1 and Accumulator 2 as Real (32-Bit IEEE FP) 10-2
-R -R Subtract Accumulator 1 from Accumulator 2 as Real (32-Bit IEEE FP) 10-2
*R *R Multiply Accumulator 1 by Accumulator 2 as Real (32 Bit IEEE FP) 10-2
/R /R Divide Accumulator 2 by Accumulator 1 as Real (32-Bit IEEE FP) 10-2
==R ==R Compare Real >, <, >=, <=, ==, <> 17-5
ABS ABS Absolute Value of a Real (32-Bit IEEE FP) 10-6
ACOS ACOS Arc Cosine of a Floating-Point Number (32-Bit IEEE FP) 10-7
ASIN ASIN Arc Sine of a Floating-Point Number (32-Bit IEEE FP) 10-7
ATAN ATAN Arc Tangent of a Floating-Point Number (32-Bit IEEE FP) 10-7
AUF OPN Call a Data Block 21-2
BEA BEU Block End Unconditional 17-16
BEB BEC Block End Conditional 17-16
BLD BLD Program Display Instruction 4-2
BTD BTD BCD to Double Integer (32-Bit) 18-4
BTI BTI BCD to Integer (16-Bit) 18-2
CALL CALL Call 17-3

Statement List (STL) for S7-300/S7-400


A-2 C79000-G7076-C565-01
Alphabetical Listing of Instructions

Table A-1 Alphabetical Listing with the SIMATIC and the International Mnemonic Abbreviations, cont.

SIMATIC International Name Page


Abbreviation Abbreviation No.
CC CC Conditional Call 17-7
CLR CLR Clear RLO (= 0) 5-26
COS COS Cosine of a Floating-Point Number (32-Bit IEEE FP) 10-7
DEC DEC Decrement Accumulator 1 4-6
DTB DTB Double Integer (32-Bit) to BCD 12-6
DTR DTR Double Integer (32-Bit) to Real (32-Bit IEEE FP) 12-7
ENT ENT Accumulator 3 ---> Accumulator 4, Accumulator 2 ---> Accumulator 3 4-3
EXP EXP Exponential Value of a Floating-Point Number (32-Bit IEEE FP) to 10-12
Base E
FN FN Edge Negative 5-17
FP FP Edge Positive 5-16
FR FR Enable Counter (Free, FR C 0 to C 255) 6-5
FR FR Enable Timer (Free, FR T 0 to T 255) 7-3
INC INC Increment Accumulator 1 4-6
INVD INVD Ones Complement Double Integer (32-Bit) 12-14
INVI INVI Ones Complement Integer (16-Bit) 12-14
ITB ITB Integer (16-Bit) to BCD 12-5
ITD ITD Integer (16-Bit) to Double Integer (32-Bit) 12-6
L L Load 8-3
L L Load Length of Shared Data Block into Accumulator 1 (L DBLG) 8-12
15-2
L L Load Number of Shared Data Block into Accumulator 1 (L DBNO) 8-12
L L Load Length of Instance Data Block into Accumulator 1 (L DILG) 8-12
15-2
L L Load Number of Instance Data Block into Accumulator 1 (L DINO) 8-12
15-2
L L Load Status Word into Accumulator 1 (L STW) 8-6
L L Load Current Timer Value into Accumulator 1 as Integer (where the 8-7
number of the current timer can be in the range of 0 to 255, for example:
L T 32)
L L Load Current Counter Value into Accumulator 1 as Integer (where the 7-6
number of the current counter can be in the range of 0 to 255, for exam- 8-8
ple: L C 15)
LAR1 LAR1 Load Address Register 1 from Accumulator 1 8-11
(if no address is indicated)
LAR1 LAR1 Load Address Register 1 from ... (from address indicated) 8-11
LAR1 LAR1 Load Address Register 1 from Address Register 2 (LAR1 AR2) 8-11
LAR1 LAR1 Load Address Register 1 with Double Integer (32-Bit, LAR1 P#area 8-11
byte.bit)
LAR2 LAR2 Load Address Register 2 from Accumulator 1 (if no address is indi- 8-11
cated)

Statement List (STL) for S7-300/S7-400


C79000-G7076-C565-01 A-3
Alphabetical Listing of Instructions

Table A-1 Alphabetical Listing with the SIMATIC and the International Mnemonic Abbreviations, cont.

SIMATIC International Name Page


Abbreviation Abbreviation No.
LAR2 LAR2 Load Address Register 2 from ... (from address indicated) 8-11
LAR2 LAR2 Load Address Register 2 with Double Integer (32-Bit, LAR2 P#area 8-11
byte.bit)
LC LC Load Current Counter Value into Accumulator 1 as BCD (where the 8-9
number of the current counter can be in the range of 0 to 255, for
example: LC C 15)
LC LC Load Current Timer Value into Accumulator 1 as BCD (where the 7-7
number of the current timer can be in the range of 0 to 255, for example: 8-9
LC T 32)
LEAVE LEAVE Accumulator 3 ---> Accumulator 2, Accumulator 4 ---> Accumulator 3 4-3
LN LN Natural Logarithm of a Floating-Point Number (32-Bit IEEE FP) 10-11
LOOP LOOP Loop 16-8
MCR( MCR( Save RLO in MCR Stack, Begin MCR 17-11
)MCR MCR) Restore RLO, End MCR 17-11
MCRA MCRA Activate MCR Area 17-11
MCRD MCRD Deactivate MCR Area 17-11
MOD MOD Division Remainder Double Integer (32-Bit) 9-5
NEGD NEGD Twos Complement Double Integer (32-Bit) 12-14
NEGI NEGI Twos Complement Integer (16-Bit) 12-14
NEGR NEGR Negate Real Number 12-14
NOP 0 NOP 0 Null Operation 0 4-2
NOP 1 NOP 1 Null Operation 1 4-2
NOT NOT Negate RLO 5-26
O O Or 5-10
O( O( Or with Nesting Open 5-14
OD OD Or Double Word (32-Bit) 13-6
ON ON Or Not 5-8
ON( ON( Or Not with Nesting Open 5-14
OW OW Or Word (16-Bit) 13-3
POP POP Accumulator 1 <--- Accumulator 2, Accumulator 2 <--- Accumulator 3, 4-2
Accumulator 3 <--- Accumulator 4
PUSH PUSH Accumulator 3 ---> Accumulator 4, Accumulator 2 ---> Accumulator 3, 4-2
Accumulator 1 ---> Accumulator 2
R R Reset 5-22
R R Reset Counter (where the current counter can have a number in the 6-5
range of 0 to 255, for example: R C 15)
R R Reset Timer (where the current timer can have a number in the range of 7-4
0 to 255, for example: R T 32)
RLD RLD Rotate Left Double Word (32-Bit) 14-8
RLDA RLDA Rotate Accumulator 1 Left via CC 1 (32-Bit) 14-6

Statement List (STL) for S7-300/S7-400


A-4 C79000-G7076-C565-01
Alphabetical Listing of Instructions

Table A-1 Alphabetical Listing with the SIMATIC and the International Mnemonic Abbreviations, cont.

SIMATIC International Name Page


Abbreviation Abbreviation No.
RND RND Round 12-9
RND+ RND+ Round to Upper Double Integer 12-10
RND- RND- Round to Lower Double Integer 12-11
RRD RRD Rotate Right Double Word (32-Bit) 14-8
RRDA RRDA Rotate Accumulator 1 Right via CC 1 (32-Bit) 14-6
S S Set 5-21
S S Set Counter Preset Value (where the current counter can have a number 7-3
in the range of 0 to 255, for example: S C 15)
SA SF Off-Delay Timer 6-15
SAVE SAVE Save RLO in BR Register 5-26
SE SD On-Delay Timer 6-11
SET SET Set RLO (= 1) 5-26
SI SP Pulse Timer 6-7
SIN SIN Sine of a Floating-Point Number (32-Bit IEEE FP) 10-7
SLD SLD Shift Left Double Word (32-Bit) 14-2
SLW SLW Shift Left Word (16-Bit) 14-2
SPA JU Jump Unconditional 16-3
SPB JC Jump if RLO = 1 16-4
SPBB JCB Jump if RLO = 1 with BR 16-4
SPBI JBI Jump if BR = 1 16-4
SPBIN JNBI Jump if BR = 0 16-4
SPBN JCN Jump if RLO = 0 16-4
SPBNB JNB Jump if RLO = 0 with BR 16-4
SPL JL Jump to Labels 16-3
SPM JM Jump if Minus 16-6
SPMZ JMZ Jump if Minus or 0 16-6
SPN JN Jump if Not 0 16-6
SPO JO Jump if OV = 1 16-5
SPP JP Jump if Plus 16-6
SPPZ JPZ Jump if Plus or 0 16-6
SPS JOS Jump if OS = 1 16-5
SPU JUO Jump if Unordered 16-6
SPZ JZ Jump if 0 16-6
SQR SQR Square of a Floating-Point Number (32-Bit IEEE PF) 10-9
SQRT SQRT Square Root of a Floating-Point Number (32-Bit IEEE PF) 10-9
SRD SRD Shift Right Double Word (32-Bit) 14-3
SRW SRW Shift Right Word (16-Bit) 14-2

Statement List (STL) for S7-300/S7-400


C79000-G7076-C565-01 A-5
Alphabetical Listing of Instructions

Table A-1 Alphabetical Listing with the SIMATIC and the International Mnemonic Abbreviations, cont.

SIMATIC International Name Page


Abbreviation Abbreviation No.
SS SS Retentive On-Delay Timer 6-13
SSD SSD Shift Sign Double Integer (32-Bit) 14-4
SSI SSI Shift Sign Integer (16-Bit) 14-4
SV SE Extended Pulse Timer 6-9
T T Transfer 8-3
T T Transfer Accumulator 1 to Status Word (T STW) 8-6
TAD CAD Change Byte Sequence in Accumulator 1 (32-Bit) 12-13
TAK TAK Toggle Accumulator 1 with Accumulator 2 4-2
TAN TAN Tangent of a Floating-Point Number (32-Bit IEEE FP) 10-7
TAR CAR Exchange Address Register 1 with Address Register 2 8-11
TAR1 TAR1 Transfer Address Register 1 to Accumulator 1 (if no address is 8-11
indicated)
TAR1 TAR1 Transfer Address Register 1 to ... (to address indicated) 8-11
TAR1 TAR1 Transfer Address Register 1 to Address Register 2 (T AR1 AR2) 8-11
TAR2 TAR2 Transfer Address Register 2 to Accumulator 1 (if no address is 8-11
indicated)
TAR2 TAR2 Transfer Address Register 2 to ... (to address indicated) 8-11
TAW CAW Change Byte Sequence in Accumulator 1 (16-Bit) 12-13
TDB CDB Exchange Shared Data Block and Instance Data Block 15-2
TRUNC TRUNC Truncate 12-12
U A And 5-10
U( A( And with Nesting Open 5-14
UC UC Unconditional Call 17-7
UD AD And Double Word (32-Bit) 13-6
UN AN And Not 5-8
UN( AN( And Not with Nesting Open 5-14
UW AW And Word (16-Bit) 13-3
X X Exclusive Or 5-10
X( X( Exclusive Or with Nesting Open 5-14
XN XN Exclusive Or Not 5-8
XN( XN( Exclusive Or Not with Nesting Open 5-14
XOD XOD Exclusive Or Double Word (32-Bit) 13-6
XOW XOW Exclusive Or Word (16-Bit) 13-3
ZR CD Counter Down 7-5
ZV CU Counter Up 7-5

Statement List (STL) for S7-300/S7-400


A-6 C79000-G7076-C565-01
Alphabetical Listing of Instructions

Table A-2 provides an alphabetical listing of the mnemonic abbreviations of


the statement list instructions. Next to each international abbreviation are the
equivalent (German) SIMATIC abbreviation, the full international name and
the page on which the instruction is explained.

Table A-2 Alphabetical Listing with the International and the SIMATIC Mnemonic Abbreviations

International SIMATIC Name Page


Abbreviation Abbreviation No.
+ + Add Integer Constant (8, 16, 32-Bit) 15-6
= = Assign 11-24
) ) Nesting Closed 11-14
+AR1 +AR1 Add Accumulator 1 to Address Register 1 10-7
+AR2 +AR2 Add Accumulator 1 to Address Register 2 10-7
+D +D Add Accumulator 1 and Accumulator 2 as Double Integer (32-Bit) 15-2
-D -D Subtract Accumulator 1 from Accumulator 2 as Double Integer 15-2
(32-Bit)
*D *D Multiply Accumulator 1 by Accumulator 2 as Double Integer (32-Bit) 15-2
/D /D Divide Accumulator 2 by Accumulator 1 as Double Integer (32-Bit) 15-2
==D ==D Compare Double Integer (32-Bit) >, <, >=, <=, ==, <> 17-3
+I +I Add Accumulator 1 and Accumulator 2 as Integer (16-Bit) 15-2
-I -I Subtract Accumulator 1 from Accumulator 2 as Integer (16-Bit) 15-2
*I *I Multiply Accumulator 1 by Accumulator 2 as Integer (16-Bit) 15-2
/I /I Divide Accumulator 2 by Accumulator 1 as Integer (16-Bit) 15-2
==I ==I Compare Integer (16-Bit) >, <, >=, <=, ==, <> 17-3
+R +R Add Accumulator 1 and Accumulator 2 as Real (32-Bit IEEE FP) 16-2
-R -R Subtract Accumulator 1 from Accumulator 2 as Real (32-Bit IEEE FP) 16-2
*R *R Multiply Accumulator 1 by Accumulator 2 as Real (32-Bit IEEE FP) 16-2
/R /R Divide Accumulator 2 by Accumulator 1 as Real (32-Bit IEEE FP) 16-2
==R ==R Compare Real >, <, >=, <=, ==, <> 17-5
A U And 11-10
A( U( And with Nesting Open 11-14
ABS ABS Absolute Value of a Real (32-Bit IEEE FP) 16-6
ACOS ACOS Arc Cosine of a Floating-Point Number (32-Bit IEEE FP) 16-7
AD UD And Double Word (32-Bit) 19-6
AN UN And Not 11-9
AN( UN( And Not with Nesting Open 11-14
ASIN ASIN Arc Sine of a Floating-Point Number (32-Bit IEEE FP) 16-7
ATAN ATAN Arc Tangent of a Floating-Point Number (32-Bit IEEE FP) 16-7
AW UW And Word (16-Bit) 19-3
BEC BEB Block End Conditional 23-15
BEU BEA Block End Unconditional 23-15

Statement List (STL) for S7-300/S7-400


C79000-G7076-C565-01 A-7
Alphabetical Listing of Instructions

Table A-2 Alphabetical Listing with the International and the SIMATIC Mnemonic Abbreviations, cont.

International SIMATIC Name Page


Abbreviation Abbreviation No.
BLD BLD Program Display Instruction 10-2
BTD BTD BCD to Double Integer (32-Bit) 18-4
BTI BTI BCD to Integer (16-Bit) 18-2
CAD TAD Change Byte Sequence in Accumulator 1 (32-Bit) 18-13
CALL CALL Call 23-3
CAR TAR Exchange Address Register 1 with Address Register 2 14-11
CAW TAW Change Byte Sequence in Accumulator 1 (16-Bit) 18-13
CC CC Conditional Call 23-7
CD ZR Counter Down 13-5
CDB TDB Exchange Shared Data Block and Instance Data Block 21-2
CLR CLR Clear RLO (= 0) 11-26
COS COS Cosine of a Floating-Point Number (32-Bit IEEE FP) 16-7
CU ZV Counter Up 13-5
DEC DEC Decrement Accumulator 1 10-6
DTB DTB Double Integer (32-Bit) to BCD 18-6
DTR DTR Double Integer (32-Bit) to Real (32-Bit IEEE FP) 18-7
ENT ENT Accumulator 3 ---> Accumulator 4, Accumulator 2 ---> Accumulator 3 10-3
EXP EXP Exponential Value of a Floating-Point Number (32-Bit IEEE FP) to 16-12
base E
FN FN Edge Negative 11-17
FP FP Edge Positive 11-16
FR FR Enable Counter (Free, FR C 0 to C 255) 12-5
FR FR Enable Timer (Free, FR T 0 to T 255) 13-3
INC INC Increment Accumulator 1 10-6
INVD INVD Ones Complement Double Integer (32-Bit) 18-14
INVI INVI Ones Complement Integer (16-Bit) 18-14
ITB ITB Integer (16-Bit) to BCD 18-5
ITD ITD Integer (16-Bit) to Double Integer 18-6
JBI SPBI Jump if BR = 1 22-4
JC SPB Jump if RLO = 1 22-4
JCB SPBB Jump if RLO = 1 with BR 22-4
JCN SPBN Jump if RLO = 0 22-4
JL SPL Jump to Labels 22-3
JM SPM Jump if Minus 22-6
JMZ SPMZ Jump if Minus or 0 22-6
JN SPN Jump if Not 0 22-6
JNB SPBNB Jump if RLO = 0 with BR 22-4

Statement List (STL) for S7-300/S7-400


A-8 C79000-G7076-C565-01
Alphabetical Listing of Instructions

Table A-2 Alphabetical Listing with the International and the SIMATIC Mnemonic Abbreviations, cont.

International SIMATIC Name Page


Abbreviation Abbreviation No.
JNBI SPBIN Jump if BR = 0 22-4
JO SPO Jump if OV = 1 22-5
JOS SPS Jump if OS = 1 22-5
JP SPP Jump if Plus 22-5
JPZ SPPZ Jump if Plus or 0 22-6
JU SPA Jump Unconditional 22-3
JUO SPU Jump if Unordered 22-6
JZ SPZ Jump if 0 22-6
L L Load 14-3
L L Load Length of Shared Data Block into Accumulator 1 (L DBLG) 14-12
21-2
L L Load Number of Shared Data Block into Accumulator 1 (L DBNO) 14-12
L L Load Length of Instance Data Block into Accumulator 1 (L DILG) 14-12
21-2
L L Load Number of Instance Data Block into Accumulator 1 (L DINO) 14-12
21-2
L L Load Status Word into Accumulator 1 (L STW) 14-6
L L Load Current Timer Value into Accumulator 1 as Integer (where the 14-7
number of the current timer can be in the range of 0 to 255, for
example: L T 32)
L L Load Current Counter Value into Accumulator 1 as Integer (where the 13-6
number of the current counter can be in the range of 0 to 255, for 14-8
example: L C 15)
LAR1 LAR1 Load Address Register 1 from Accumulator 1 (if no address is 14-11
indicated)
LAR1 LAR1 Load Address Register 1 from ... (from address indicated) 14-11
LAR1 LAR1 Load Address Register 1 from Address Register 2 (LAR1 AR2) 14-11
LAR1 LAR1 Load Address Register 1 with Double Integer 14-11
(32-Bit, LAR1 P#area byte.bit)
LAR2 LAR2 Load Address Register 2 from Accumulator 1 (if no address is 14-11
indicated)
LAR2 LAR2 Load Address Register 2 from ... (from address indicated) 14-11
LAR2 LAR2 Load Address Register 2 with Double Integer (32-Bit, LAR2 P#area 14-11
byte.bit)
LC LC Load Current Counter Value into Accumulator 1 as BCD (where the 14-9
number of the current counter can be in the range of 0 to 255, for
example: LC C 15)
LC LC Load Current Timer Value into Accumulator 1 as BCD (where the 13-7
number of the current timer can be in the range of 0 to 255, for 14-10
example: LC T 32)
LEAVE LEAVE Accumulator 3 ---> Accumulator 2, Accumulator 4 ---> Accumulator 3 10-3
LN LN Natural Logarithm of a Floating-Point Number (32-Bit IEEE FP) 16-11

Statement List (STL) for S7-300/S7-400


C79000-G7076-C565-01 A-9
Alphabetical Listing of Instructions

Table A-2 Alphabetical Listing with the International and the SIMATIC Mnemonic Abbreviations, cont.

International SIMATIC Name Page


Abbreviation Abbreviation No.
LOOP LOOP Loop 22-8
MCR( MCR( Save RLO in MCR Stack, Begin MCR 23-11
MCR) )MCR Restore RLO, End MCR 23-11
MCRA MCRA Activate MCR Area 23-11
MCRD MCRD Deactivate MCR Area 23-11
MOD MOD Division Remainder Double Integer (32-Bit) 15-5
NEGD NEGD Twos Complement Double Integer (32-Bit) 18-14
NEGI NEGI Twos Complement Integer (16-Bit) 18-14
NEGR NEGR Negate Real Number (32-Bit IEEE FP) 18-14
NOP 0 NOP 0 Null Operation 0 10-2
NOP 1 NOP 1 Null Operation 1 10-2
NOT NOT Negate RLO 11-26
O O Or 11-10
O( O( Or with Nesting Open 11-14
OD OD Or Double Word (32-Bit) 19-6
ON ON Or Not 11-9
ON( ON( Or Not with Nesting Open 11-14
OPN AUF Open a Data Block 21-2
OW OW Or Word (16-Bit) 19-3
POP POP Accumulator 1 <--- Accumulator 2, Accumulator 2 <--- Accumulator 3, 10-2
Accumulator 3 <--- Accumulator 4
PUSH PUSH Accumulator 3 ---> Accumulator 4, Accumulator 2 ---> Accumulator 3, 10-2
Accumulator 1 ---> Accumulator 2
R R Reset 11-22
R R Reset Counter (where the current counter can have a number in the 12-5
range of 0 to 255, for example: R C 15)
R R Reset Timer (where the current timer can have a number in the range of 13-4
0 to 255, for example: R T 32)
RLD RLD Rotate Left Double Word (32-Bit) 20-6
RLDA RLDA Rotate Accumulator 1 Left via CC 1 (32-Bit) 20-6
RND RND Round 18-9
RND+ RND+ Round to Upper Double Integer 18-10
RND- RND- Round to Lower Double Integer 18-11
RRD RRD Rotate Right Double Word (32-Bit) 20-8
RRDA RRDA Rotate Accumulator 1 Right via CC 1 (32-Bit) 20-6
S S Set 11-21
S S Set Counter Preset Value (where the current counter can have a number 13-3
in the range of 0 to 255, for example: S C 15)
SAVE SAVE Save RLO in BR Register 11-26

Statement List (STL) for S7-300/S7-400


A-10 C79000-G7076-C565-01
Alphabetical Listing of Instructions

Table A-2 Alphabetical Listing with the International and the SIMATIC Mnemonic Abbreviations, cont.

International SIMATIC Name Page


Abbreviation Abbreviation No.
SD SE On-Delay Timer 12-11
SE SV Extended Pulse Timer 12-9
SET SET Set RLO (= 1) 11-26
SF SA Off-Delay Timer 12-15
SIN SIN Sine of a Floating-Point Number (32-Bit IEEE FP) 16-7
SLD SLD Shift Left Double Word (32-Bit) 20-2
SLW SLW Shift Left Word (16-Bit) 20-2
SP SI Pulse Timer 12-7
SQR SQR Square of a Floating-Point Number (32-Bit IEEE PF) 16-9
SQRT SQRT Square Root of a Floating-Point Number (32-Bit IEEE PF) 16-9
SRD SRD Shift Right Double Word (32-Bit) 20-3
SRW SRW Shift Right Word (16-Bit) 20-2
SS SS Retentive On-Delay Timer 12-13
SSD SSD Shift Sign Double Integer (32-Bit) 20-4
SSI SSI Shift Sign Integer (16-Bit) 20-4
T T Transfer 14-3
T T Transfer Accumulator 1 to Status Word (T STW) 14-6
TAK TAK Toggle Accumulator 1 with Accumulator 2 10-2
TAN TAN Tangent of a Floating-Point Number (32-Bit IEEE FP) 16-7
TAR1 TAR1 Transfer Address Register 1 to Accumulator 1 14-11
(if no address is indicated)
TAR1 TAR1 Transfer Address Register 1 to ... (to address indicated) 14-11
TAR1 TAR1 Transfer Address Register 1 to Address Register 2 (T AR1 AR2) 14-11
TAR2 TAR2 Transfer Address Register 2 to Accumulator 1 14-11
(if no address is indicated)
TAR2 TAR2 Transfer Address Register 2 to ... (to address indicated) 14-11
TRUNC TRUNC Truncate 18-12
UC UC Unconditional Call 23-7
X X Exclusive Or 11-10
X( X( Exclusive Or with Nesting Open 11-14
XN XN Exclusive Or Not 11-9
XN( XN( Exclusive Or Not with Nesting Open 11-14
XOD XOD Exclusive Or Double Word (32-Bit) 19-6
XOW XOW Exclusive Or Word (16-Bit) 19-3

Statement List (STL) for S7-300/S7-400


C79000-G7076-C565-01 A-11
Alphabetical Listing of Instructions

A.2 Alphabetical Listing with International Names

Table A-3 provides an alphabetical listing of the full international names of


the statement list instructions. Next to each name is its international
mnemonic abbreviation and the page on which the instruction is explained.

Table A-3 Statement List Instructions Arranged Alphabetically by International Full Name

Name Mnemonic Page No.


Abbreviation
Absolute Value of a Real (32-Bit IEEE FP) ABS 16-6
Accumulator 1 ---> Accumulator 2 PUSH 10-2
Accumulator 1 <--- Accumulator 2 POP 10-2
Accumulator 1 <--- Accumulator 2, Accumulator 2 <--- Accumulator 3, POP 10-2
Accumulator 3 <--- Accumulator 4
Accumulator 3 ---> Accumulator 2, Accumulator 4 ---> Accumulator 3 LEAVE 10-3
Accumulator 3 ---> Accumulator 4, Accumulator 2 ---> Accumulator 3 ENT 10-3
Accumulator 3 ---> Accumulator 4, Accumulator 2 ---> Accumulator 3, PUSH 10-2
Accumulator 1 ---> Accumulator 2
Activate MCR Area MCRA 23-11
Add Accumulator 1 and Accumulator 2 as Double Integer (32-Bit) +D 15-2
Add Accumulator 1 and Accumulator 2 as Integer (16-Bit) +I 15-2
Add Accumulator 1 and Accumulator 2 as Real (32-Bit IEEE FP) +R 16-2
Add Accumulator 1 to Address Register 1 +AR1 10-7
Add Accumulator 1 to Address Register 2 +AR2 10-7
Add Integer Constant (8, 16, 32-Bit) + 15-6
And A 11-10
And Double Word (32-Bit) AD 19-6
And Not AN 11-9
And Not with Nesting Open AN( 11-14
And with Nesting Open A( 11-14
And Word (16-Bit) AW 19-3
Arc Cosine of a Floating-Point Number (32-Bit IEEE FP) ACOS 16-7
Arc Sine of a Floating-Point Number (32-Bit IEEE FP) ASIN 16-7
Arc Tangent of a Floating-Point Number (32-Bit IEEE FP) ATAN 16-7
Assign = 11-24
BCD to Double Integer (32-Bit) BTD 18-4
BCD to Integer (16-Bit) BTI 18-2
Block End Conditional BEC 23-15
Block End Unconditional BEU 23-15
Call CALL 23-3
Change Byte Sequence in Accumulator 1 (16-Bit) CAW 18-13
Change Byte Sequence in Accumulator 1 (32-Bit) CAD 18-13

Statement List (STL) for S7-300/S7-400


A-12 C79000-G7076-C565-01
Alphabetical Listing of Instructions

Table A-3 Statement List Instructions Arranged Alphabetically by International Full Name, continued

Name Mnemonic Page No.


Abbreviation
Clear RLO (= 0) CLR 11-26
Compare Double Integer (32-Bit) >, <, >=, <=, ==, <> ==D 17-3
Compare Integer (16-Bit) >, <, >=, <=, ==, <> ==I 17-3
Compare Real >, <, >=, <=, ==, <> ==R 17-3
Conditional Call CC 23-7
Cosine of a Floating-Point Number (32-Bit IEEE FP) COS 16-7
Counter Down CD 13-5
Counter Up CU 13-5
Deactivate MCR Area MCRD 23-11
Decrement Accumulator 1 DEC 10-6
Divide Accumulator 2 by Accumulator 1 as Double Integer (32-Bit) /D 15-2
Divide Accumulator 2 by Accumulator 1 as Integer (16-Bit) /I 15-2
Divide Accumulator 2 by Accumulator 1 as Real (32-Bit IEEE FP) /R 16-2
Division Remainder Double Integer (32-Bit) MOD 15-5
Double Integer (32-Bit) to BCD DTB 18-6
Double Integer (32-Bit) to Real (32-Bit IEEE FP) DTR 18-7
Edge Negative FN 11-17
Edge Positive FP 11-16
Enable Counter (Free, FR C 0 to C 255) FR 12-5
Enable Timer (Free, FR T 0 to T 255) FR 13-3
Exchange Address Register 1 with Address Register 2 CAR 14-11
Exchange Shared Data Block and Instance Data Block CDB 21-2
Exclusive Or X 11-10
Exclusive Or Double Word (32-Bit) XOD 19-6
Exclusive Or Not XN 11-9
Exclusive Or Not with Nesting Open XN( 11-14
Exclusive Or with Nesting Open X( 11-14
Exclusive Or Word (16-Bit) XOW 19-3
Exponential Value of a Floating-Point Number (32-Bit IEEE FP) to base E EXP 16-12
Extended Pulse Timer SE 12-9
Increment Accumulator 1 INC 10-6
Integer (16-Bit) to BCD ITB 18-5
Integer (16-Bit) to Double Integer ITD 18-6
Jump if 0 JZ 22-6
Jump if BR = 0 JNBI 22-4
Jump if BR = 1 JBI 22-4
Jump if Minus JM 22-6

Statement List (STL) for S7-300/S7-400


C79000-G7076-C565-01 A-13
Alphabetical Listing of Instructions

Table A-3 Statement List Instructions Arranged Alphabetically by International Full Name, continued

Name Mnemonic Page No.


Abbreviation
Jump if Minus or 0 JMZ 22-6
Jump if Not 0 JN 22-6
Jump if OS = 1 JOS 22-5
Jump if OV = 1 JO 22-5
Jump if Plus JP 22-6
Jump if Plus or 0 JPZ 22-6
Jump if RLO = 0 JCN 22-4
Jump if RLO = 0 with BR JNB 22-4
Jump if RLO = 1 JC 22-4
Jump if RLO = 1 with BR JCB 22-4
Jump if Unordered JUO 22-6
Jump to Labels JL 22-3
Jump Unconditional JU 22-3
Load L 14-3
Load Address Register 1 from ... (from address indicated) LAR1 14-11
Load Address Register 1 from Accumulator 1 (if no address is indicated) LAR1 14-11
Load Address Register 1 from Address Register 2 (LAR1 AR2) LAR1 14-11
Load Address Register 1 with Double Integer (32-Bit, LAR1 P#area byte.bit) LAR1 14-11
Load Address Register 2 from ... (from address indicated) LAR2 14-11
Load Address Register 2 from Accumulator 1 (if no address is indicated) LAR2 14-11
Load Address Register 2 with Double Integer (32-Bit, LAR2 P#area byte.bit) LAR2 14-11
Load Current Counter Value into Accumulator 1 as Integer (where the number of the L 13-6
current counter can be in the range of 0 to 255, for example: L C 15) 14-8
Load Current Counter Value into Accumulator 1 as BCD (where the number of the LC 14-9
current counter can be in the range of 0 to 255, for example: LC C 15)
Load Current Timer Value into Accumulator 1 as BCD (where the number of the LC 13-7
current timer can be in the range of 0 to 255, for example: LC T 32) 14-10
Load Current Timer Value into Accumulator 1 as Integer (where the number of the L 14-7
current timer can be in the range of 0 to 255, for example: L T 32)
Load Length of Instance Data Block into Accumulator 1 (L DILG) L 14-12
21-2
Load Length of Shared Data Block into Accumulator 1 (L DBLG) L 14-12
21-2
Load Number of Instance Data Block into Accumulator 1 (L DINO) L 14-12
21-2
Load Number of Shared Data Block into Accumulator 1 (L DBNO) L 14-12
21-2
Load Status Word into Accumulator 1 (L STW) L 14-6
Loop LOOP 22-8
Multiply Accumulator 1 by Accumulator 2 as Double Integer (32-Bit) *D 15-2

Statement List (STL) for S7-300/S7-400


A-14 C79000-G7076-C565-01
Alphabetical Listing of Instructions

Table A-3 Statement List Instructions Arranged Alphabetically by International Full Name, continued

Name Mnemonic Page No.


Abbreviation
Multiply Accumulator 1 by Accumulator 2 as Integer (16-Bit) *I 15-2
Multiply Accumulator 1 by Accumulator 2 as Real (32-Bit IEEE FP) *R 16-2
Natural Logarithm of a Floating-Point Number (32-Bit IEEE FP) LN 16-11
Negate Real Number (32-Bit IEEE FP) NEGR 18-14
Negate RLO NOT 11-26
Nesting Closed ) 11-14
Null Operation 0 NOP 0 10-2
Null Operation 1 NOP 1 10-2
Off-Delay Timer SF 12-15
On-Delay Timer SD 12-11
Ones Complement Double Integer (32-Bit) INVD 18-14
Ones Complement Integer (16-Bit) INVI 18-14
Open a Data Block OPN 21-2
Or O 11-10
Or Double Word (32-Bit) OD 19-6
Or Not ON 11-9
Or Not with Nesting Open ON( 11-14
Or with Nesting Open O( 11-14
OR Word (16-Bit) OW 19-3
Program Display Instruction BLD 10-2
Pulse Timer SP 12-7
Reset R 11-22
Reset Counter (where the current counter can have a number in the range of 0 to 255, R 12-5
for example: R C 15)
Reset Timer (where the current timer can have a number in the range of 0 to 255, for R 13-4
example: R T 32)
Restore RLO, End MCR )MCR 23-11
Retentive On-Delay Timer SS 12-13
Rotate Accumulator 1 Left via CC 1 (32-Bit) RLDA 20-8
Rotate Accumulator 1 Right via CC 1 (32-Bit) RRDA 20-6
Rotate Left Double Word (32-Bit) RLD 20-6
Rotate Right Double Word (32-Bit) RRD 20-8
Round RND 18-9
Round to Lower Double Integer RND- 18-11
Round to Upper Double Integer RND+ 18-10
Save RLO in BR Register SAVE 11-26
Save RLO in MCR Stack, Begin MCR MCR( 23-11
Set S 11-21

Statement List (STL) for S7-300/S7-400


C79000-G7076-C565-01 A-15
Alphabetical Listing of Instructions

Table A-3 Statement List Instructions Arranged Alphabetically by International Full Name, continued

Name Mnemonic Page No.


Abbreviation
Set Counter Preset Value (where the current counter can have a number in the range of S 13-3
0 to 255, for example: S C 15)
Set RLO (= 1) SET 11-26
Shift Left Double Word (32-Bit) SLD 20-2
Shift Left Word (16-Bit) SLW 20-2
Shift Right Double Word (32-Bit) SRD 20-3
Shift Right Word (16-Bit) SRW 20-2
Shift Sign Double Integer (32-Bit) SSD 20-4
Shift Sign Integer (16-Bit) SSI 20-4
Sine of a Floating-Point Number (32-Bit IEEE FP) SIN 16-7
Square of a Floating-Point Number (32-Bit IEEE PF) SQR 16-9
Square Root of a Floating-Point Number (32-Bit IEEE PF) SQRT 16-9
Subtract Accumulator 1 from Accumulator 2 as Double Integer (32-Bit) -D 15-2
Subtract Accumulator 1 from Accumulator 2 as Integer (16-Bit) -I 15-2
Subtract Accumulator 1 from Accumulator 2 as Real (32-Bit IEEE FP) -R 16-2
Tangent of a Floating-Point Number (32-Bit IEEE FP) TAN 16-7
Toggle Accumulator 1 with Accumulator 2 TAK 10-2
Transfer T 14-3
Transfer Accumulator 1 to Status Word (T STW) T 14-6
Transfer Address Register 1 to ... (to address indicated) TAR1 14-11
Transfer Address Register 1 to Accumulator 1 (if no address is indicated) TAR1 14-11
Transfer Address Register 1 to Address Register 2 (T AR1 AR2) TAR1 14-11
Transfer Address Register 2 to ... (to address indicated) TAR2 14-11
Transfer Address Register 2 to Accumulator 1 (if no address is indicated) TAR2 14-11
Truncate TRUNC 18-12
Twos Complement Double Integer (32-Bit) NEGD 18-14
Twos Complement Integer (16-Bit) NEGI 18-14
Unconditional Call UC 23-7

Statement List (STL) for S7-300/S7-400


A-16 C79000-G7076-C565-01

You might also like