14.08.2013 Views

snap ethernet-based i/o units protocols and programming guide

snap ethernet-based i/o units protocols and programming guide

snap ethernet-based i/o units protocols and programming guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Data Log—Read/Write<br />

(Does not apply to SNAP Simple I/O) Use this section to access data logged from memory map<br />

addresses set up in “Data Logging Configuration—Read/Write” on page 146. The data from all<br />

addresses goes into one data log file. The data log is a circular buffer; it holds 300 samples of 14<br />

bytes (hex) per entry, <strong>and</strong> the newest data item replaces the oldest one. See “Logging Data” on<br />

page 37 for more information on data logging, <strong>and</strong> see page 38 for how to interpret information<br />

from these data log addresses.<br />

Although this area is read/write, you would normally read it only. You could write to it to clear it,<br />

however.<br />

Starting Address Length Type Description<br />

FFFF F302 0000 14 * First entry in the data log<br />

FFFF F302 0014 14 * Second entry in the data log<br />

Additional entries follow in order.<br />

FFFF F302 175C 14 * Last entry in the data log<br />

Last valid address in this area: FFFF F302 176F<br />

* Binary data. See page 38.<br />

PID Module Configuration—Read/Write<br />

(Does not apply to SNAP Simple I/O) Use this area to configure PID modules on the rack. To<br />

configure PID loops to run on the brain, see page 142.<br />

The table shows addresses for a PID module in rack position zero. Modules in other positions on<br />

the rack follow the same pattern <strong>and</strong> start on even 100 hex boundaries.<br />

CAUTION: Values for many of these memory map addresses require you to calculate them in<br />

advance. Some values are read-only <strong>and</strong> cannot be changed. For explanations <strong>and</strong> important<br />

information on using these addresses, see Opto 22 form 1263, the SNAP PID Module User’s<br />

Guide.<br />

Starting Address Length Type Description<br />

FFFF F400 0000 4 I PID module in position 0 on the rack: Control word<br />

FFFF F400 0004 4 I Position 0: State of status flags (read only)<br />

FFFF F400 0008 4 I Position 0: Scantime base (scantime resolution)<br />

FFFF F400 000C 4 I Position 0: Scantime multiplier<br />

FFFF F400 0010 4 I Position 0: TPO period multiplier<br />

SNAP Ethernet-Based I/O Units Protocols <strong>and</strong> Programming Guide 147

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!