comModbusTcp.py: Removed type check and introduced exclusive control.