
Using the Memory Address Map
DAI12-4(FIT)GY
51
Examples
Flowchart
Following is an example in which the DAI12-4(FIT)GY is installed at Device ID: 0.
Figure 5.1. Basic Output Data Area
Start
Yes
No
Address: Determine category by reading address:301000h. For
analog-type module, category is "02h".
Open processing
Opened
successfully?
End
Closing processing
Check error status
Write
analog output data
Set Module Startup
in module startup
register
Set analog input range
Analog module
type?
No
Yes
Set analog output range.
Address: Analog output range is written to address: 30101Bh.
Default is "00h". (Analog output range: 10V - +10V)
This value need not be written when the default is used.
Address: Module is started by writing "01h" to address: 301010h.
When started, the analog output data becomes valid.
Address: By writing 2 bytes to address: 305000h, the module can output
data from CH0. In subsequent operations, the module can write
analog output data with 2 bytes at a time, up to CH3.
Address: Error status can be checked by reading address: 300011h.