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.

0002.01

 

@MOV

When CIO 0002.01 goes ON, MOV

 

 

#1000

stores 1000 hex in A560 (Analog

 

A560

Output 1 Output Value).

 

 

Turns ON A564.00 (Analog Output 1

 

SET

 

A564.00

Conversion Enable Bit).

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.

0002.01

 

 

 

 

When CIO 0002.01 goes ON, SPED is

 

@SPED

 

#0001

executed to output a stepped analog

 

#0000

signal from analog output port 1, with an

 

 

output range of 1 to 5 V, and an analog

 

D00000

 

output value of 03E8 hex (25% = 2 V).

 

 

D00000 0 3 E 8 Specified analog output value = 03E8 hex (1,000 decimal = 25%)

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.

0002.01

 

 

 

 

 

 

 

 

 

 

 

 

 

 

When CIO 0002.01 goes ON, ACC is

 

 

 

 

@ACC

 

 

 

 

 

 

executed to output a sloped analog

 

 

 

 

 

 

#0001

 

 

 

 

 

 

signal from analog output port 1, with an

 

 

 

 

 

 

#0000

 

 

 

 

 

 

output range of 1 to 5 V, an analog output

 

 

 

 

 

 

D00000

 

 

 

 

 

 

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

D00000

0

1

9

0

 

 

 

 

 

 

(400 decimal = 10%)

D00001

0

7

 

D

0

 

Specified analog output value = 07D0 hex

 

 

 

 

 

 

 

 

 

 

 

 

(2,000 decimal = 50%)

230

Page 253
Image 253
Omron FQM1-MMA21, FQM1-CM001 Outputting the Analog Output Value Stored Auxiliary Area, Outputting a Stepped Analog Output