C500DA101 Omron, C500DA101 Datasheet - Page 111

no-image

C500DA101

Manufacturer Part Number
C500DA101
Description
ANALOG OUTPUT UNIT
Manufacturer
Omron
Datasheet

Specifications of C500DA101

Leaded Process Compatible
No
Peak Reflow Compatible (260 C)
No
No. Of Analog Outputs
4
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Example 1: WRITE Data
Memory to the Unit Memory
Map
96
User Programming Examples
Q000102
Q000102
Execution
condition
Q000100
Latch
Q000202
Q000101
Write
complete
Note
This example show how to write the entire Unit Memory Map Write area (Loca-
tions 47 to 150). These are the user configurable locations in the Unit Memory
Map that enable the various Unit functions. The Data Memory in the CPU Unit
can be set up using the Unit configuration worksheet in Appendix A. The first
word is the temporary write pointer.
Q000101
Write
complete
1. Whenever data is written to the Unit using WRIT, the validity of all the data is
2. When executing the WRITE instruction with the First Cycle Flag, there is a
Example:
• If the temporary pointer value is greater than 46, the Unit writes the data
Execute a 10-word I/O write to the Unit. The value of the first word trans-
ferred is 0047.
The Unit sees the number of words is greater than one, and reads the first
word as the temporary pointer value. The Unit then updates its memory map
with the remaining nine words beginning at location 47.
checked. If there are any errors in the data, none of the data will be written. It
is thus best to write only the required data to reduce the chance of errors.
When writing data that includes values for functions not being used, be sure
to set the values for unused functions to the defaults in advance.
possibility that the Analog I/O Unit’s internal processing may not be com-
pleted, and the WRITE instruction is not executed. When executing the
WRITE instruction immediately after operation is started, use either of the
following as the execution condition of the WRITE instruction:
• Bit 2 of word n+1 (A/D Write Completed Flag)
• A timer of at least 3 s.
following the temporary pointer value into the Unit memory map beginning
at the location specified by the temporary pointer value. The temporary
pointer value is then discarded.
A50006
= Flag
[
(191)
WRIT
#0105
D00246
Q000102
Q0002
Q000100
Q000101
( )
Latch
( )
( )
]
Write 105 words to the
Unit memory map
beginning with Unit
memory map location
47. This example
writes the entire write
area of the Unit
memory map.
D00246 = 0047
(pointer) or 0000
defaults to 0047.
D00247 to D00351 =
values to be entered in
Unit memory map.
Section
5-7

Related parts for C500DA101