Mitsubishi Electronics C64 Home Safety Product User Manual


 
10. Exclusive Commands 2
10.2 S.ROT Commands
- 355 -
(1) Rotary body indexing
Direction of rotation and number of steps of ATC magazine (or turret) are determined
automatically.
Rn
Rn+1
Rn+2
Rn+3
Rp Parameter setting R No.
Current position R No.
Target position R No.
Output R No.
4 3
15 14 7 6 5 4 3 2 1
0
Rp (parameter) contents
(Spare)
FE
Error output
0: Normal completion
1: Error completion
0: Rotary body starts from 1
1: Rotary body starts from 0
0: Direction of rotation is determined
for shorter reach.
1: Direction of rotation is not determined
for shorter reach.
0,0(Step No. +1) is counted.
0,1Step No. is counted.
1,0(Step No. -1) is counted.
   (When the current value is equal to the target value, -1 will apear.)
0: Direction of rotation CW
1: Direction of rotation CCW
(Note) CW or CCW output is controlled so that it
takes a short circuit regardless of parameter
specification.
Index command
Number of rotary body indexing
cycles designating R number
Control buffer data position
designating R number
Indirect
designation
Rn S.ROT K1
Rm
ACT
Mm
(Note 1) The Index command is executed after setting R numbers to Rn to Rn+3 and writing data in
the file registers (Rs) each corresponding to the R numbers. However, data setting to the
parameter (Rp) is done once before execution of the Index command; this is to prevent the
error code from being cleared.
(Note 2) The error code stored in bit F of the parameter (Rp) is not cleared even if the Index
command activating signal (ACT) goes off.