Technically, you could write him a letter and there would be no violation but it is not a very good idea. If he responds, he could be found in contempt of the court order. Violations of court orders are generally taken very seriously.
The Criminal law is complicated. If you are looking for a lawyer contact Andrew Tabashneck today.