EasyManuals Logo

IDEC MICROSmart FC6A Series Ladder Programming Manual

IDEC MICROSmart FC6A Series
604 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #277 background imageLoading...
Page #277 background image
FC6A S
ERIES
MICROS
MART
L
ADDER
P
ROGRAMMING
M
ANUAL
FC9Y-B1726 13-5
13: P
ROGRAM
B
RANCHING
I
NSTRUCTIONS
DJNZ (Decrement Jump Non-zero)
Valid Devices
For valid device address ranges, see "Device Addresses" on page 2-1.
Since the DJNZ instruction is executed in each scan while input is on, a pulse input from a SOTU or SOTD instruction should be used.
The label number can be 0 through 255. Make sure that a LABEL instruction of the label number used for a DJNZ instruction is programmed. When
designating S2 using a data register, the value for the label is a variable. When using a variable for a label, make sure that all probable LABEL
numbers are included in the user program. If a matching label does not exist, a user program execution error will result, turning on special internal
relay M8004 and the ERR LED on the FC6A Series MICROSmart.
When input is on, the value stored in the data register assigned by S1 is decremented by one and
is checked. If the resultant value is not 0, program execution jumps to address with label 0
through 255 assigned by S2. If the decrement results in 0, no jump takes place, and program
execution proceeds with the next instruction.
DJNZ S1
*****
S2
*****
Device Function I Q M R T C D P Constant Repeat
S1 (Source 1) Decrement value — — — — — — X — — —
S2 (Source 2) Label number to jump to ——————X — 0-255 —

Table of Contents

Other manuals for IDEC MICROSmart FC6A Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IDEC MICROSmart FC6A Series and is the answer not in the manual?

IDEC MICROSmart FC6A Series Specifications

General IconGeneral
BrandIDEC
ModelMICROSmart FC6A Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals