Mitsubishi Electric M800VW Series Programming Manual page 473

Plc programming
Hide thumbs Also See for M800VW Series:
Table of Contents

Advertisement

M800V/M80V Series PLC Programming Manual (1/2)
9 Exclusive Instructions
9.2 ROT Instructions
Ring counter (Up/down counter)
This instruction is used to control position of rotary body (or turret).
ACT
S.ROT K3 Rn Rm Mm
(Pulse coding)
Ring counter instruction
Rn
Rp
Parameter setting R No.
Rn+1
Counter setting R No. (File register o. which is the content in Rn+1 is
The ring counter is a binary counter; it is used as an up/down counter of "start from 0" or "start from 1" according to the
parameter rotary body instruction.
Contents of Rp (parameter)
F
E
D
C
B
A
9
Error output
Instruction code: S.ROT Kn is not "1" or "3".
Note
(1) The ring counter instruction is executed after setting R No. to Rn to Rn+1 and specifying data for the parameter.
(2) The error completion (Mm) of the ring counter instruction and the error output in bit F of the parameter (Rp) are cleared
when the activating signal (ACT) goes OFF. The activating signal (ACT) of the ring counter instruction is generally pulsed.
This makes it hard for the interface diagnostic and ladder monitor programs to detect an error signal. For debugging,
therefore, an error hold circuit is provided after the ring count instruction to ease error detection.
IB-1501667-B
Completion ("1" for error)
R No. to specify rotary body index
Control buffer data position designating R No.
actual ring counter.)
8
7
6
5
4
3
2
1
0
Rotary body selection
0 : Rotary body starts from 1
1 : Rotary body starts from 0
Up/down selection
0 : Up counter
1 : Down counter
452

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents