Chapter 6 Instruction and Flag List
XBC E-Type Main Unit
6-223
Ver. 1
changed. If the instruction is back On, RAMP instruction restarts.
(10) Set 1 to completed device to cancel the RAMP instruction in progress.
(11) Turn the instruction Off
On to restart completed RAMP instruction after initialization.
(12) Do not change specified N1 and N2 value before specified D2+0 device completed is On. Since
value to be saved in D1+1 is operated with the identical formula per scan, the change of N1 or N2 will
cause sudden effect.
2) Program Example
(1) When D01000=1000, D01100=2000, D01300=100, if Input Signal is changed from Off to On status,
D01200 is increased by 10 per 1 scan and number of times of scans is saved in D01201.
(2) If the 100 scans is completed, D01400’s No.0 bit will be set.
RAMP D01000 D01100 D01200 D01300 D01400
P00000
Caution
(1) Be careful of using indirect designation (#) or index ([Z]) because the RAMP instruction has internal processing
parts without contact point ON.
For example, an error occurs without contact point ON if you use M100[Z10] for one of the RAMP instruction
operands and if Z10’s value exceeds 1947 that can be outside the M area.
Summary of Contents for XBC-DN10E
Page 1: ......
Page 10: ...Table of Contents Table of Contents 6 10 10 CLEAR ALL PLC 29...