Omron FQM1-MMA21 User Manual

Page of 414
230
Analog Outputs
Section 7-10
7-10-6 Application Example
Outputting the Analog 
Output Value Stored 
in the Auxiliary Area
In this example, the Motion Control Module outputs the analog output value
stored in A560 from analog output 1.
Set the following System Setup settings:
• Analog Input/Output Tab Page 
− Output 1: Set the output range of analog
output 1 to “1 to 5 V.”
• Analog Input/Output Tab Page 
− Output: Set the analog output refreshing
method to END refresh.
Outputting a Stepped 
Analog Output
In this example, the Motion Control Module outputs a step-pattern analog out-
put using a particular input signal as the trigger.
Set the following System Setup settings:
• Analog Input/Output Tab Page 
− Output 1: Set the output range of analog
output 1 to “1 to 5 V.”
• Analog Input/Output Tab Page 
− Output: Set the analog output refreshing
method to immediate refresh.
Outputting a Sloped 
Analog Output
In this example, the Motion Control Module outputs a sloped analog output
using a particular input signal as the trigger.
Set the following System Setup settings:
• Analog Input/Output Tab Page 
− Output 1: Set the output range of analog
output 1 to “1 to 5 V.”
• Analog Input/Output Tab Page 
− Output: Set the analog output refreshing
method to immediate refresh.
@MOV
#1000
A560
0002.01 
SET 
A564.00
When CIO 0002.01 goes ON, MOV
stores 1000 hex in A560 (Analog 
Output 1 Output Value). 
Turns ON A564.00 (Analog Output 1
Conversion Enable Bit). 
D00000
0
3
E
8
@SPED
#0001
#0000
D00000
0002.01 
When CIO 0002.01 goes ON, SPED is
executed to output a stepped analog
signal from analog output port 1, with an
output range of 1 to 5 V, and an analog
output value of 03E8 hex (25% = 2 V).
Specified analog output value = 03E8 hex
(1,000 decimal = 25%)
D00000
0 1
9
0
D00001
0
7
D
0
@ACC
#0001
#0000
D00000
0002.01 
When CIO 0002.01 goes ON, ACC is
executed to output a sloped analog
signal from analog output port 1, with an
output range of 1 to 5 V, an analog output
target value of 07D0 hex (50% = 3 V), and
slope of 0190 hex (10% = 0.4 V) every 2 ms.
Rate of change: 0190 hex 
(400 decimal = 10%)
Specified analog output value = 07D0 hex 
(2,000 decimal = 50%)