ATEX is driven by EU legislation, while IECEx is a voluntary certification scheme. However, both provide an acceptable way to demonstrate compliance with IEC standards. The difference between ATEX and IECEx is initially that ATEX is only valid in the EU and IECEx is accepted worldwide. Look here for more information about ATEX.