Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
13 Applied Instructions (Handy Instruction)
13.3 ABSD / Absolute Drum Sequencer
328
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
IST command equivalent circuit
1. 16-bit operation(ABSD)
This is an example for explaining the ON/OFF control of the output by one revolution of table (0 to 360
degrees).
(Rotation angle signal one degree per pulse)
Data table (occupying n lines × 2 points) of n lines from the device designated in is compared with the
present value of the counter of the device designated in , and outputs of n points continuous from the
device designated in are controlled to be ON/OFF during one revolution.
1) Write the following data in to +2n+1, preliminarily by using transfer command.
For example, store rising point data and falling point data alternately.
2) Output pattern
When command input is turned ON, n points are changed as follows, starting from the device designated
in .
Rise point and fall point may be individually changed by rewriting data in to +n×2.
Rise point Fall point
Object output
Data value (example) Data value (example)
40
+1
140
+2
100
+3
200
+1
+4
160
+5
60
+2
+6
240
+7
280
+3
-
-
+2n +2n+1 +n-1
X001
Rotation angle signal one degree per pulse
Command input
RST
EN ENO
d
X001
Beginning device for storing
table data (rise point, fall point)
Beginning bit device to be output
ABSD
EN
s1
s2
ENO
d
n
Number of lines of table and
number of points of bit device
to be output
Counter for present value
monitor to compare with
table data (C )
CC
CS
OUT_C
EN
CCoil
CValue
ENO
K360
CC
40 140
100 200
160
240 280
180
360
60
0
+3
+2
+1
d
d
d
d