EIO:CFG_1.0::

EIO_BUS:
-Name MODBUS \
   -Driver "/MBus1:" -CfgPath ""


EIO_UNIT_TYPE:
-Name ModBusSlave \
	-VendorId 75 \
	-VendorName "ABB Robotics" \
	-DeviceType 7 \
	-ProductId 100 \
	-ProductName "ModBus Slave" \
	-MajorRev 1 \
	-MinorRev 0 \
	-Param ModBusSlave_PARAMS


EIO_UNIT_TYPE:
-Name ModBusType \
	-VendorId 75 \
	-DeviceType 0 \
	-ProductId 0 \
	-ProductName "Generic ModBus Dev" \
	-MajorRev 0 \
	-MinorRev 0 \
	-Param ModBusType_PARAMS

ModBusType_PARAMS = EIO_PARAM:
-Name InputRegister	-Path "InputRegisterOffset"	-DefValue "0"
-Name OutputRegister	-Path "OutputRegisterOffset"  -DefValue "0"
-Name NoOfInputBytes	-Path "InputSize"			-DefValue "4"
-Name NoOfOutputBytes	-Path "OutputSize"		-DefValue "4"
-Name RspTimeout		-Path "RspTimeout"		-DefValue "40"
-Name HoldUpTimeout	-Path "HoldUpTimeout"		-DefValue "0"
	
ModBusSlave_PARAMS = EIO_PARAM:
-Name HoldUpTimeout	-Path "HoldUpTimeout"		-DefValue "0"
-Name InputRegister	-Path "InputRegisterOffset"	-DefValue "0"
-Name OutputRegister	-Path "OutputRegisterOffset" 	-DefValue "0"
-Name NoOfInputBytes	-Path "InputSize"			-DefValue "64"
-Name NoOfOutputBytes	-Path "OutputSize"		-DefValue "64"
-Name RspTimeout		-Path "RspTimeout"		-DefValue "0"

