circuitcellar.com
Magazine Support   Digital Library   Products & Services   Suppliers Directory 
 
 





 

Issue 99, October 1998
Networking with DeviceNet—Part 2: A Weather Station Application


by Jim Brady

Start Can Chips Chip Setup Real Time Message Flow Connections Timers Analog Input Point Identity Object Fragmented Messages Getting Physical Applying DeviceNET Software,Sources

IDENTITY OBJECT

Every device must be able to give its name, rank, and serial number. The Identity object holds this information. It also keeps track of device state and does device resets.

There are two types of resets. Type zero simulates an off/on power cycle. To do this, I send a response back to the master and suspend writes to my watchdog timer.

A type-one reset changes settable configuration parameters back to their factory default values and does a type-zero reset. The weather station has no configurable settings, so both resets are identical.