Beruflich Dokumente
Kultur Dokumente
Hardware configuration:
I: 0/0
to I: 0/13
N7:255
FLOAT:
F8:0
F8:255
BINARY:
B3:0/0
B3:0/15
.
.
.
.
B3:255/0 B3:255/15
CONTROL
REGISTER: R6:0
JUMP:
R6:255
Q2:0 Q2:99
ST9:0
U:99
ST9:255
ANALOG (2/2)
INPUT:
I:1.0 AND I:1.1
OUTPUT: O:1.0 AND O:1.1
USER:
NO CONTACT
NC CONTACT
LOAD
LATCH COIL
UN LATCH COIL
BIT:
1.ONE SHOT
2.ONE SHOT RISING
3.ONE SHOT FALLING
1.ONE SHOT:
It produces it pulse during off state to on state. It does not have output bit
RES
COMPARE INSTRUTION:
If You Want to
EQU
NEQ
LES
LEQ
GRT
GEQ
MEQ
LIM
COMPUTE / MATH:
If You Want to
Add two values
Subtract two values
Multiply one value by another
Divide one value by another
Change the sign of the source
value and place it in thedestination
If You Want to
Set all bits of a word to zero
Convert an integer value to BCD
Convert a BCD value to an integer
value
MOVE:
When rung conditions preceding this instruction are true, the MOV instruction moves a
copy of the source to the destination each scan. The original value remains intact and
unchanged in its source location.
MASKED MOVE:
When rung conditions are true, the MVM instruction moves data from a source location
to a destination, and allows portions of the destination data to be masked by a separate
word. Data at the source address passes through the mask to the destination address. As
long as the rung remains true, the instruction moves the same data each scan.
CLEAR:
When rung conditions are true, this output instruction sets all the bits in a word to zero.
The destination must be a word address.
AND: When rung conditions are true, sources A and B of this output instruction are
ANDed bit by bit and stored in the destination.
PROGRAM CONTROL:
If You Want to
Jump forward/backward to a
corresponding label instruction
Jump to a designated subroutine and return
Enable or inhibit a master control zone
in your ladder program
Truncate program scan
JUMP:
When the rung condition for this output instruction is true, the processor jumps forward
or backward to the corresponding label instruction (LBL) and resumes program execution
at the label. More than one JMP instruction can jump to the same label. Jumping forward
to a label saves program scan time by omitting a program segment until needed. Jumping
backward lets the controller execute program segments repeatedly.
JUMP TO SUBROUTINE:
When rung conditions are true for this output instruction, it causes the processor to jump
to the targeted subroutine file. You can only jump to the first instruction in a subroutine.
Each subroutine must have a unique file number (decimal, 3-255).
MAIN PAGE:
SUBROUTINE PAGE:
TO CREATE THE NEW SUBROUTINE PAGE:
PROGRAM FILES RIGHT CLICK NEW
DECODER(DCD):
When rung conditions are true, the DCD instruction decodes a 4-bit value
(0-16) in the source word and turns on a bit in the destination word that
corresponds to the decoded value. For example, if bits 0-3 of a source word
are 0110, then bit 6 in the destination word is set. The table below provides
full details.
ENCODER (ENC):
This output instruction searches the source from the lowest to the highest bit
and looks for the first set bit. The corresponding bit position is written to the
destination as an integer.