Download "user manual"

Transcript
(3) Operation of the trigger conversion function
By setting A/D conversion-enabled channels or other necessary settings and turning off then on Operating
condition setting request (Y9), trigger input gets ready to be accepted.
When Trigger conversion request is turned on once, analog values are converted into digital values in all the A/D
conversion-enabled channels.
Ex. The following figure shows the operation between Trigger conversion request is turned on and Trigger
conversion completed flag (Un\G162) is turned from Waiting for the completion (0) to Conversion
completed (1) with the condition below.
• A/D conversion-enabled channels: 1CH, 2CH, 3CH, 4CH
The time from when Trigger conversion
request is turned on until when Trigger
conversion completed flag is turned on
Trigger
conversion
request
CH1, CH3: A/D
conversion
ON
OFF
A/D
conversion
Waiting for
trigger input
CH1 Digital operation
value (Un\G54)
0
CH3 Digital operation
value (Un\G56)
CH2 Digital operation
value (Un\G55)
Trigger conversion
completed clear
request (Un\G163)
Waiting for
trigger input
Waiting for
trigger input
A/D
conversion
OFF
Waiting for
trigger input
Waiting for
trigger input
A/D
conversion
Conversion value for
CH2 and CH4 (first time)
ON
Conversion
completed (1)
Waiting for the
completion (0)
A/D
conversion
Conversion value for
CH1 and CH3 (first time)
0
CH4 Digital operation
value (Un\G57)
Trigger conversion
completed flag
(Un\G162)
ON
OFF
Waiting for
trigger input
CH2, CH4: A/D
conversion
Controlled by the A/D
converter module
Controlled by the program
Conversion value for
CH1 and CH3 (second time)
Conversion value for
CH2 and CH4 (second time)
ON
OFF
ON
ON
Clear request (1)
No request (0)
OFF
OFF
● For the following conditions, Trigger conversion completed flag (Un\G162) is turned from Waiting for the completion (0) to
Conversion completed (1) at the same time as A/D conversion is completed.
• When the number of A/D conversion-enabled channels is one
• When A/D conversion-enabled channels are only CH1 and CH3
• When A/D conversion-enabled channels are only CH2 and CH4
● The function can be used only when "External Trigger Convert Request (External Input Terminal)" or "Internal Trigger
Conversion Request (Buffer Memory)" is set to "A/D Conversion Timing" in "Switch Setting".
● When a value other than 0 or 1 is set to Inside trigger conversion request (Un\G161), an error occurs. Error code (2201)
is stored in Latest error code (Un\G19), Error flag (XF) turns on, then the ERR. LED turns on.
● When a value other than 0 or 1 is set to Trigger conversion completed clear request (Un\G163), an error occurs. Error
code (2202) is stored in Latest error code (Un\G19), Error flag (XF) turns on, then the ERR. LED turns on.
164