When disconnecting power and re-powering the DS2413 in quick succession the PIO states might be maintained/retained. Once disconnected, the PIO states are retained only for a finite amount of time (although it can last a surprisingly long time measured in 10s of seconds -- even as high as a minute). That said, the device eventually does power down entirely to where the PIO states will power up to the default state mentioned in the data sheet given enough time: PIOA = 1 and PIOB = 1.
This happens because the DS2413 is a parasite-powered device. So, internally the power supply runs off a capacitor. Because of this the internal power supply takes a long time to go below the POR threshold. This brings up a problem. As some customers disconnect the 1W signal and expect the PIOA/B signals to go right back to default after a few seconds.
Possible workarounds:
1. See the circuit below. This is a potential workaround that alleviates the need for additional host resources.
2. Optionally, the customer could directly connect a GPIO pin from the micro to the DS2413’s ground, however, this requires an additional resource that the customer may not have or want to wire up.