Dibawah ini anda akan dituntun untuk mengenal berbagai instruksi pemograman Ladder Diagram dari Simatic Manager Step 7 untuk PLC Siemens.
Simbol
|
Elemen Program
|
Deskripsi
|
|
---| |---
|
Bit logic
Instruction
|
Normally
Open Contact (Address)
|
|
---|/|---
|
Bit logic
Instruction
|
Normally
Closed Contact (Address)
|
|
---( )
|
Bit logic
Instruction
|
Output
Coil
|
|
---(#)---
|
Bit logic
Instruction
|
Midline
Output
|
|
==0 ---|
|---
|
Status
bits
|
Result Bit
Equal 0
|
|
>0 ---|
|---
|
Status
bits
|
Result Bit
Greater Than 0
|
|
>=0
---| |---
|
Status
bits
|
Result Bit
Greater Equal 0
|
|
<=0
---| |---
|
Status
bits
|
Result Bit
Less Equal 0
|
|
<0 ---|
|---
|
Status
bits
|
Result Bit
Less Than 0
|
|
<>0
---| |---
|
Status
bits
|
Result Bit
Not Equal 0
|
|
ABS
|
Floating
point Instruction
|
Establish
the Absolute Value of a Floating-Point Number
|
|
ACOS
ADD_DI
|
Floating
point Instruction
Integer
Math Instruction
|
Establish
the Arc Cosine Value
Add Double
Integer
|
|
ADD_I
|
Integer
Math Instruction
|
Add
Integer
|
|
ADD_R
|
Floating
point Instruction
|
Add Real
|
|
ASIN
|
Floating
point Instruction
|
Establish
the Arc Sine Value
|
|
ATAN
|
Floating
point Instruction
|
Establish
the Arc Tangent Value
|
|
BCD_DI
|
Convert
|
BCD to
Double Integer
|
|
BCD_I
|
Convert
|
BCD to
Integer
|
|
BR ---|
|---
|
Status
bits
|
Exception
Bit Binary Result
|
|
----(CALL)
|
Program
control
|
Call FC
SFC from Coil (without Parameters)
|
|
CALL_FB
|
Program
control
|
Call FB
from Box
|
|
CALL_FC
|
Program
control
|
Call FC
from Box
|
|
CALL_SFB
|
Program
control
|
Call
System FB from Box
|
|
CALL_SFC
|
Program
control
|
Call
System FC from Box
|
|
----(CD)
|
Counters
|
Down
Counter Coil
|
|
CEIL
|
Convert
|
Ceiling
|
|
CMP >=D
|
Compare
|
Compare
Double Integer (==, <>, >, <, >=, <=)
|
|
CMP >=I
|
Compare
|
Compare
Integer (==, <>, >, <, >=, <=)
|
|
CMP >=R
|
Compare
|
Compare
Real (==, <>, >, <, >=, <=)
|
|
COS
|
Floating
point Instruction
|
Establish
the Cosine Value
|
|
----(CU)
|
Counters
|
Up Counter
Coil
|
|
DI_BCD
|
Convert
|
Double
Integer to BCD
|
|
DI_R
|
Convert
|
Double
Integer to Floating-Point
|
|
DIV_DI
|
Integer
Math Instruction
|
Divide
Double Integer
|
|
DIV_I
|
Integer
Math Instruction
|
Divide
Integer
|
|
DIV_R
|
Floating
point Instruction
|
Divide
Real
|
|
EXP
|
Floating
point Instruction
|
Establish
the Exponential Value
|
|
FLOOR
|
Convert
|
Floor
|
|
I_BCD
|
Convert
|
Integer to
BCD
|
|
I_DI
|
Convert
|
Integer to
Double Integer
|
|
INV_I
|
Convert
|
Ones
Complement Integer
|
|
INV_DI
|
Convert
|
Ones
Complement Double Integer
|
|
---(JMP)
|
Jumps
|
Unconditional
Jump
|
|
---(JMP)
|
Jumps
|
Conditional
Jump
|
|
---(JMPN)
|
Jumps
|
Jump-If-Not
|
|
LABEL
|
Jumps
|
Label
|
|
LN
|
Floating
point Instruction
|
Establish
the Natural Logarithm
|
|
---(MCR>)
|
Program
control
|
Master
Control Relay Off
|
|
---(MCR<)
|
Program
control
|
Master
Control Relay On
|
|
---(MCRA)
|
Program
control
|
Master
Control Relay Activate
|
|
---(MCRD)
|
Program
control
|
Master
Control Relay Deactivate
|
|
MOD_DI
|
Integer
Math Instruction
|
Return
Fraction Double Integer
|
|
MOVE
|
Move
|
Assign a
Value
|
|
MUL_DI
|
Integer
Math Instruction
|
Multiply
Double Integer
|
|
MUL_I
|
Integer
Math Instruction
|
Multiply
Integer
|
|
MUL_R
|
Floating
point Instruction
|
Multiply
Real
|
|
---( N
)---
|
Bit logic
Instruction
|
Negative
RLO Edge Detection
|
|
NEG
|
Bit logic
Instruction
|
Address
Negative Edge Detection
|
|
NEG_DI
|
Convert
|
Twos
Complement Double Integer
|
|
NEG_I
|
Convert
|
Twos
Complement Integer
|
|
NEG_R
|
Convert
|
Negate
Floating-Point Number
|
|
---| NOT
|---
|
Bit logic
Instruction
|
Invert
Power Flow
|
|
---( OPN )
|
DB call
|
Open Data
Block: DB or DI
|
|
OS ---|
|---
|
Status
bits
|
Exception
Bit Overflow Stored
|
|
OV ---|
|---
|
Status
bits
|
Exception
Bit Overflow
|
|
---( P )---
|
Bit logic
Instruction
|
Positive
RLO Edge Detection
|
|
POS
|
Bit logic
Instruction
|
Address
Positive Edge Detection
|
|
---( R )
|
Bit logic
Instruction
|
Reset Coil
|
|
---(RET)
|
Program
control
|
Return
|
|
ROL_DW
|
Shift/Rotate
|
Rotate
Left Double Word
|
|
ROR_DW
|
Shift/Rotate
|
Rotate
Right Double Word
|
|
ROUND
|
Convert
|
Round to
Double Integer
|
|
RS
|
Bit logic
Instruction
|
Reset-Set
Flip Flop
|
|
---( S )
|
Bit logic
Instruction
|
Set Coil
|
|
---( SAVE
)
|
Bit logic
Instruction
|
Save RLO
into BR Memory
|
|
---( SC )
|
Counters
|
Set
Counter Value
|
|
S_CD
|
Counters
|
Down
Counter
|
|
S_CU
|
Counters
|
Up Counter
|
|
S_CUD
|
Counters
|
Up-Down
Counter
|
|
---( SD )
|
Timers
|
On-Delay
Timer Coil
|
|
---( SE )
|
Timers
|
Extended
Pulse Timer Coil
|
|
---( SF )
|
Timers
|
Off-Delay
Timer Coil
|
|
SHL_DW
|
Shift/Rotate
|
Shift Left
Double Word
|
|
SHL_W
|
Shift/Rotate
|
Shift Left
Word
|
|
SHR_DI
|
Shift/Rotate
|
Shift
Right Double Integer
|
|
SHR_DW
|
Shift/Rotate
|
Shift
Right Double Word
|
|
SHR_I
|
Shift/Rotate
|
Shift
Right Integer
|
|
SHR_W
|
Shift/Rotate
|
Shift
Right Word
|
|
SIN
|
Floating
point Instruction
|
Establish
the Sine Value
|
|
S_ODT
|
Timers
|
On-Delay
S5 Timer
|
|
S_ODTS
|
Timers
|
Retentive
On-Delay S5 Timer
|
|
S_OFFDT
|
Timers
|
Off-Delay
S5 Timer
|
|
---( SP )
|
Timers
|
Pulse
Timer Coil
|
|
S_PEXT
|
Timers
|
Extended
Pulse S5 Timer
|
|
S_PULSE
|
Timers
|
Pulse S5
Timer
|
|
SQR
|
Floating
point Instruction
|
Establish
the Square
|
|
SQRT
|
Floating
point Instruction
|
Establish
the Square Root
|
|
SR
|
Bit logic
Instruction
|
Set-Reset
Flip Flop
|
|
---( SS )
|
Timers
|
Retentive
On-Delay Timer Coil
|
|
SUB_DI
|
Integer
Math Instruction
|
Subtract
Double Integer
|
|
SUB_I
|
Integer
Math Instruction
|
Subtract Integer
|
|
SUB_R
|
Floating
point Instruction
|
Subtract
Real
|
|
TAN
|
Floating
point Instruction
|
Establish
the Tangent Value
|
|
TRUNC
|
Convert
|
Truncate
Double Integer Part
|
|
UO ---|
|---
|
Status
bits
|
Exception
Bit Unordered
|
|
WAND_DW
|
Word logic
Instruction
|
AND Double
Word
|
|
WAND_W
|
Word logic
Instruction
|
AND Word
|
|
WOR_DW
|
Word logic
Instruction
|
OR Double
Word
|
|
WOR_W
|
Word logic
Instruction
|
OR Word
|
|
WXOR_DW
|
Word logic
Instruction
|
Exclusive
OR Double Word
|
|
WXOR_W
|
Word logic
Instruction
|
Exclusive
OR Word
|
|
Tidak ada komentar:
Posting Komentar