maxon.PORT_DIR.END

PORT_DIR.END = 2

The end value for a loop over port directions.