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
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Date <strong>and</strong> Time Configuration—Read/Write<br />
Use this area of the memory map to view or change the date <strong>and</strong> time on SNAP Ultimate brains<br />
or SNAP-ENET-RTC brains, which contain a real-time clock. On other brains you cannot set the<br />
data <strong>and</strong> time; this area will show the elapsed time since the brain was last turned on.<br />
Starting Address Length Type Description<br />
FFFF F035 0000 17 S-ZT Set date <strong>and</strong> time. Format: YYYY-MM-DD HH:MM:SS.00<br />
Last valid address for this area: FFFF F035 0023<br />
Status Area Write—Read/Write<br />
Although this area is read/write, you would normally write to it. When you write to this area, you<br />
must write all four bytes, or you’ll receive an “invalid memory address” error. You can write to<br />
this area using either a quadlet or a block write.<br />
Starting Address Length Type Description<br />
FFFF F038 0000 4 UI Operation code<br />
0x00000001 – Send Powerup Clear<br />
0x00000002 – Reset to defaults as follows:<br />
Clears error information in the status area (error code,<br />
transaction label, source address, error address).<br />
Clears gains <strong>and</strong> offsets, counters (which are also<br />
deactivated), latches, min/max data.<br />
Turns off digital outputs.<br />
Sets analog outputs to zero scale (0 counts).<br />
Requires a Powerup Clear after resetting.<br />
0x00000003 – Stores all configuration data to flash, so it is restored<br />
when the brain is turned on.<br />
0x00000004 – Erase configuration from flash<br />
0x00000005 – Reset hardware, which is just like cycling power to the<br />
brain. If point configuration information has not been stored to flash,<br />
points will be reset to defaults. After a hardware reset, the brain waits<br />
for a Powerup Clear.<br />
0x00000006 – Clear digital event configuration.<br />
0x00000007 – Clear alarm configuration.<br />
0x00000008 – Clear PPP configuration.<br />
0x00000009 – Clear email configuration.<br />
0x0000000A – Clear timer configuration.<br />
0x0000000C – Clear data log.<br />
0x87654321 – Boot to loader.<br />
FFFF F038 0004 4 UI Set brain to send bootp request when turned on.<br />
0 (default) = Send bootp request only if brain’s IP address is 0.0.0.0.<br />
1 = Always send bootp request when brain is turned on.<br />
FFFF F038 0008 4 B Set degrees in F or C.<br />
0 (default) = degrees C; non-0 = degrees F<br />
FFFF F038 000C 4 -- Reserved<br />
SNAP Ethernet-Based I/O Units Protocols <strong>and</strong> Programming Guide 107