v
Normally open (LD)
This instruction (“normally opened")
functions as an input or storage bit.
Address:- X, Y, M, S, T, C.
v
Normally Closed (LDI)
This
instruction ( "normally closed") functions as an input or storage bit
Address:- X, Y, M, S, T, C.
v
Output(OUT)
It is used an output
Address:- X, Y, M, S, T, C.
v
Vertical line
v
Horizontal line
v
Rising edge trigger switch (LDP)
LDP instructions only act at the rising
edge This instruction is a conditional input instruction that triggers an
event to occur one time i.e During rising edge trigger
Address:- X, Y, M, S, T, C
v
Falling edge trigger switch(LDF)
LDF instructions only act at the
falling edge This instruction is a conditional input instruction that
triggers an event to occur one time. During falling edge trigger
Address:- X, Y, M, S, T, C.
v SET (SET)
Once an SET bit has been set "on"
(1 in the memory) it will remain "on" even if the rung condition goes
false.
Address:- Y, S, M
v
Resets contacts (RST)
This output instruction is used to reset a set bit which was
set by an SET instruction. It is also used as reset for timers counters etc.
Address:- Y, M, S, T, C, D,E, F
v
Master control Start
MC is the master-control
start instruction. When MC instruction executes, the program execution turns
to the designated nest level and executes the instructions between MC and MCR.
v
Master control Reset(MCR)
MCR
is the master-control reset instruction placed at the end of the designated
nest level and no drive contact is required before MCR.
Address:- N0~N7
v
Timer(TMR)
When the present value in the timer equals
the set value, the associated output coil will be ON. The set value should be a
K value in decimal and can be specified by the content of data register D.
Address:- T0,T1,T2 etc for present value
K(any number) for set value
For ex: T0 K50 another ex: T0 D0.
v
Counter (CNT)
The
counter count once (1 pulse) when the coil goes from OFF to ON. When the
predefined counter value is reached, the associated contact will be energized.
Address:- C0,C1,C2 etc for present value
K(any number) for set value
For ex C0 K5 another ex: C0 D0
Address:- SOURCE
A:-H,K,T,C,D,E,F
SOURCE B:-
H,K,T,C,D,E,F
Address:- SOURCE
A:-H,K,T,C,D,E,F
SOURCE B:-
H,K,T,C,D,E,F
Address:- SOURCE
A:-H,K,T,C,D,E,F
SOURCE B:-
H,K,T,C,D,E,F
Address:- SOURCE
A:-H,K,T,C,D,E,F
SOURCE B:-
H,K,T,C,D,E,F
v
Greater or Equal then(LD>=)
When the Source A is Greater
then or Equal to Source B output is generated
Address:- SOURCE
A:-H,K,T,C,D,E,F
SOURCE B:-
H,K,T,C,D,E,F
v
Less than or Equal then (LD<=)
When the Source A is Less then or Equal to Source B output is
generated
Address:- SOURCE
A:-H,K,T,C,D,E,F
SOURCE B:-
H,K,T,C,D,E,F
v Addition(ADD)
When rung conditions are true, this output instruction adds Source A to Source B and stores the result at the destination address. Source A and Source B can either be values or addresses that contain values.
Address:- SOURCE A:-H,K,T,C,D,E,F
SOURCE B:- H,K,T,C,D,E,F
DESTINATION :- T,C,D,E,F
v
Subtraction (SUB)
Address:- SOURCE
A:-H,K,T,C,D,E,F
SOURCE B:- H,K,T,C,D,E,F
DESTINATION :- T,C,D,E,F
v Multiplication(MUL)
Address:- SOURCE A:-H,K,T,C,D,E,F
SOURCE B:- H,K,T,C,D,E,F
DESTINATION :- T,C,D,E,F
v Division(DIV)
Address:- SOURCE A:-H,K,T,C,D,E,F
SOURCE B:- H,K,T,C,D,E,F
DESTINATION :- T,C,D,E,F
v Bit Shift Left(SFTL)
This instruction performs a left shift from source device of n2 bits
starting from S to destination device of n1 bits starting from D
Address:-
S:- Start No. of source
device.
D:- Start No. of destination device.
n1: Length of data to be
shifted
n2: Number of bits to be shifted as a group
v
Bit Shift Right(SFTR)
When the rung goes from false-to-true, the data block is shifted
to the right (to a lower bit number) one bit position.
This instruction performs a right shift from source device of n2 bits
starting from S to destination device of n1 bits starting from D.
Address:-
S: Start No. of source device
D: Start No. of destination device
n1: Length of data to be shifted
n2: Number of bits to be shifted as a group
n2: Number of bits to be shifted as a group
Jump
When Jump instruction is activated using Input
the other output between Jump and Pointer ( P0) remains unchanged but when Jump
instruction is not activated the Output between the jump and the Pointer can be
changed
Address :-CJ P0
Subroutine:-
Subroutine is used to run two or more
Ladders. When the Input is given to subroutine then Main Ladder and other
Ladders will be activated . If the input is not given then only Main program
will run.
No comments:
Post a Comment