Datasheet

168 Programmable Controllers
High-volume Data Processing with One Instruction
The basic data format for specifying instruction operands has been
changed from BCD to binary, enabling specification of more data for
each instruction.
Example: BLOCK TRANSFER Instruction
Binary Specifications for Timer/Counter Instructions
Either BCD or binary can be used to specify the set values for timer
and counter instructions. Using a binary specification enables specify-
ing longer periods of time and higher count values.
Examples: TIM instruction (BCD): 0 to 999.9 s
TIMX instruction (binary) 0 to 6,553.5 s
CNT instruction (BCD): 0 to 9,999 counts
CNTX instruction (binary): 0 to 65,535 counts
Applicable Instructions:
Binary Timer/Counter Instructions:
BINARY TIMER: TIMX(550)
BINARY COUNTER: CNTX(546)
BINARY HIGH-SPEED TIMER: TIMHX(551)
BINARY ONE-MS TIMER: TMHHX(552)
BINARY ACCUMULATIVE TIMER: TTIMX(555)
BINARY LONG TIMER: TIMLX(553)
BINARY MULTI-OUTPUT TIMER: MTIMX(554)
BINARY REVERSIBLE COUNTER: CNTRX(548)
BINARY RESET TIMER/COUNTER: CNRX(547)
Simplifier Ladder Programming
Programs using many basic instructions can be simplified greatly by
using differentiated versions of the LD NOT, AND NOT, and OR NOT
instructions, as well as bit access instructions for the DM and EM
Areas.
Applicable Instructions:
Bit Access Instructions:
SINGLE BIT OUTPUT (OUTB(534))
Simplify Programs with Index Registers
Index registers can be used as memory pointers to enable easily
changing the addresses specified for instructions. Using an index reg-
ister can often enable one instruction to preform the processing previ-
ously performed by many instructions.
Index Registers: IR00 to IR15
Easily Repeat Processing
Instructions are provided that let you easily repeat sections of the pro-
gram. Repeat execution can also be ended for a specified condition.
Applicable Instructions:
Loop Control Instructions:
START FOR-NEXT LOOPS (FOR(512))
END FOR-NEXT LOOPS (NEXT(513))
BREAK LOOP (BREAK(514))
Instruction Features
Address type C200HX/HG/HE PLCs CJ-series PLCs
Direct 0 to 6,655 words 0 to 65,535 words
Indirect for DM Area DM 0000 to DM 9999 D00000 to D32767
ORW
D00000
D00000
#0000
#0001
D00000
OUTB
bb
ANDW
D00000
#FFFE
D00000
b
a
a
Simplified with CJ1-series PLCsPreviously
IR0 + 1
Pointer
I/O
Index register
Previous
Simplification Using
Index Register
Repeated
Instruction A
m
Instruction A
m + 1
Instruction A
m + 2
Instruction A
IR0
Indirect
addressing
using index
register
Repeated n times.
Y201-EN2-03.book Seite 168 Donnerstag, 30. Mรคrz 2006 1:52 13