IP66 stands for Ingress Protection and denotes the protection of the device against environmental factors, dust and rain for example, as well as protection of living beings against dangers of touching high voltage circuits for example. The first digit categorizes ingress of solid objects, the second ingress of water:
IP6x = dust proof
IPx6 = water jet proof
(with specifies water pressure etc.)