'Return the axis postition as an integer (steps).'

def getPos(self):

    p = snap.Packet(self.address, snap.localAddress, 0, 1, [CMD_GETPOS])
    p.send()
    rep = p.getReply()
    rep.checkReply(3, CMD_GETPOS)
    data = rep.dataBytes
    pos = _bytes2int(data[1], data[2])
    return pos
