It can be helpful to others intending to help you if you provide a link to the datasheet for the device you seek assistance with.
In this case the TPIC6B595 datasheet can be found here:
https://www.sparkfun.com/datasheets/IC/TPIC6B595.pdf
Also now look at the datasheet for the often used 74HC595:
https://www.sparkfun.com/datasheets/IC/SN74HC595.pdf
You will observe that the controlling signals are the same. The primary differences are:
- that the TPIC6B595 has open drain outputs rather than fully buffered/driven outputs so it can sink current, but cannot source it.
- The pin out varies between the two chips (and some pins are given different names (such as
OE becomes
G).
If you are using the
PICAXE X1 or X2 parts then the inbuilt commands SHIFTOUT can control the chip.
For other
PICAXE parts see the bit-bashed code examples provided in the
PICAXE manual 2 under the SHIFTOUT command.