Device handler with OUT and terminal fully implemented