@misan yes or the 6XD which is a good choice if you also needs some opto isolated IO.