diff --git a/iocBoot/iocxxx/examples/industryPack.cmd b/iocBoot/iocxxx/examples/industryPack.cmd index d7677d52622a8f120dbd8f6792c70f5cb26a67d7..9a8b2119d8fe83fb369ba0f583cd164aa2af0f10 100644 --- a/iocBoot/iocxxx/examples/industryPack.cmd +++ b/iocBoot/iocxxx/examples/industryPack.cmd @@ -58,13 +58,17 @@ ipacAddAvme96XX("C000,3 A=2,800000 C=1,A00000") ipacReport(2) -#Creates serial0 through serial7 -iocshLoad("$(IPAC)/iocsh/tyGSOctal.iocsh", "INSTANCE=UART_0, PORT=serial, TYPE=232, CARRIER=0, SLOT=0, INT_VEC=0x80, MAX_MODULES=1") -iocshLoad("$(IP)/iocsh/loadSerialComm.iocsh", "PREFIX=$(PREFIX), PORT=serial") +#Creates devices serial1:0 through serial1:7 +iocshLoad("$(IPAC)/iocsh/tyGSOctal.iocsh", "INSTANCE=UART_0, PORT=serial0:, TYPE=232, CARRIER=0, SLOT=0, INT_VEC=0x80, MAX_MODULES=1") -#Creates serial10 through serial17 -#iocshLoad("$(IPAC)/iocsh/tyGSOctal.iocsh", "INSTANCE=UART_1, PORT=serial1, TYPE=232, CARRIER=0, SLOT=1, INT_VEC=0x80") -#iocshLoad("$(IP)/iocsh/loadSerialComm.iocsh", "PREFIX=$(PREFIX), PORT=serial1") +#Loads asyn records for serial1:0 through serial1:7, calls them asyn_1 through asyn_8 for user compatibility +iocshLoad("$(IP)/iocsh/loadSerialComm.iocsh", "PREFIX=$(PREFIX), PORT=serial0:, INSTANCE0=asyn_1, INSTANCE1=asyn_2, INSTANCE2=asyn_3, INSTANCE3=asyn_4, INSTANCE4=asyn_5, INSTANCE5=asyn_6, INSTANCE6=asyn_7, INSTANCE7=asyn_8") + +#Creates serial2:0 through serial2:7 +#iocshLoad("$(IPAC)/iocsh/tyGSOctal.iocsh", "INSTANCE=UART_1, PORT=serial1:, TYPE=232, CARRIER=0, SLOT=1, INT_VEC=0x80") + +#Loads asyn records for serial2:0 through serial2:7, calls them asyn_9 through asyn_16 for user compatibility +#iocshLoad("$(IP)/iocsh/loadSerialComm.iocsh", "PREFIX=$(PREFIX), PORT=serial1:, INSTANCE0=asyn_9, INSTANCE1=asyn_10, INSTANCE2=asyn_11, INSTANCE3=asyn_12, INSTANCE4=asyn_13, INSTANCE5=asyn_14, INSTANCE6=asyn_15, INSTANCE7=asyn_16") # user programmable glue electronics (requires Acromag IP-EP20x) diff --git a/iocBoot/iocxxx/examples/serial_devices.cmd b/iocBoot/iocxxx/examples/serial_devices.cmd index 63ec9b12245e25ed8f5ecf81008dddf7fb5aa7e3..72b92f4783280b0da400747f2fb29d120e70ceb8 100644 --- a/iocBoot/iocxxx/examples/serial_devices.cmd +++ b/iocBoot/iocxxx/examples/serial_devices.cmd @@ -1,54 +1,54 @@ #ACS MCB-4B -#iocshLoad("$(MOTOR)/iocsh/ACS_MCB4B.iocsh", "PORT=serial3, CONTROLLER=0, POLL_RATE=100, NUM_AXES=1") +#iocshLoad("$(MOTOR)/iocsh/ACS_MCB4B.iocsh", "PORT=serial0:3, CONTROLLER=0, POLL_RATE=100, NUM_AXES=1") # Eurotherm temp controller -#dbLoadRecords("$(IP)/ipApp/Db/Eurotherm.db","P=$(PREFIX),PORT=serial7") +#dbLoadRecords("$(IP)/ipApp/Db/Eurotherm.db","P=$(PREFIX),PORT=serial0:7") # Heidenhain ND261 encoder (for PSL monochromator) -#iocshLoad("$(IP)/iocsh/Heidenhain_ND261.iocsh", "PREFIX=$(PREFIX), PORT=serial1") +#iocshLoad("$(IP)/iocsh/Heidenhain_ND261.iocsh", "PREFIX=$(PREFIX), PORT=serial0:1") # Huber DMC9200 DC Motor Controller -#dbLoadRecords("$(IP)/ipApp/Db/HuberDMC9200.db", "P=$(PREFIX),Q=DMC1:,PORT=serial5") +#dbLoadRecords("$(IP)/ipApp/Db/HuberDMC9200.db", "P=$(PREFIX),Q=DMC1:,PORT=serial0:5") # Keithley 2000 DMM -#iocshLoad("$(IP)/iocsh/Keithley_2k_serial.iocsh", "PREFIX=$(PREFIX), INSTANCE=D1, PORT=serial0, NUM_CHANNELS=22, MODEL=2700") -#iocshLoad("$(IP)/iocsh/Keithley_2k_serial.iocsh", "PREFIX=$(PREFIX), INSTANCE=D1, PORT=serial0, NUM_CHANNELS=10, MODEL=2000") +#iocshLoad("$(IP)/iocsh/Keithley_2k_serial.iocsh", "PREFIX=$(PREFIX), INSTANCE=D1, PORT=serial0:0, NUM_CHANNELS=22, MODEL=2700") +#iocshLoad("$(IP)/iocsh/Keithley_2k_serial.iocsh", "PREFIX=$(PREFIX), INSTANCE=D1, PORT=serial0:0, NUM_CHANNELS=10, MODEL=2000") # Lakeshore DRC-93CA Temperature Controller -#iocshLoad("$(IP)/iocsh/Lakeshore_DRC93CA.iocsh", "PREFIX=$(PREFIX), INSTANCE=TC1, PORT=serial4") +#iocshLoad("$(IP)/iocsh/Lakeshore_DRC93CA.iocsh", "PREFIX=$(PREFIX), INSTANCE=TC1, PORT=serial0:4") #McClennan PM304 -#iocshLoad("$(MOTOR)/iocsh/McClennan_PM304.iocsh", "PORT=serial4, CONTROLLER=0, POLL_RATE=10, MAX_CONTROLLERS=1, NUM_AXES=1") +#iocshLoad("$(MOTOR)/iocsh/McClennan_PM304.iocsh", "PORT=serial0:4, CONTROLLER=0, POLL_RATE=10, MAX_CONTROLLERS=1, NUM_AXES=1") # MKS vacuum gauges -#dbLoadRecords("$(IP)/ipApp/Db/MKS.db","P=$(PREFIX),PORT=serial2,CC1=cc1,CC2=cc3,PR1=pr1,PR2=pr3") +#dbLoadRecords("$(IP)/ipApp/Db/MKS.db","P=$(PREFIX),PORT=serial0:2,CC1=cc1,CC2=cc3,PR1=pr1,PR2=pr3") #Newport MM4000 -#iocshLoad("$(MOTOR)/iocsh/Newport_MM4000.iocsh", "PORT=serial2, CONTROLLER=0, POLL_RATE=10, MAX_CONTROLLERS=1") +#iocshLoad("$(MOTOR)/iocsh/Newport_MM4000.iocsh", "PORT=serial0:2, CONTROLLER=0, POLL_RATE=10, MAX_CONTROLLERS=1") #Newport PM500 -#iocshLoad("$(MOTOR)/iocsh/Newport_PM500.iocsh", "PORT=serial3, CONTROLLER=0, POLL_RATE=10, MAX_CONTROLLERS=1") +#iocshLoad("$(MOTOR)/iocsh/Newport_PM500.iocsh", "PORT=serial0:3, CONTROLLER=0, POLL_RATE=10, MAX_CONTROLLERS=1") # Oriel 18011 Encoder Mike -#dbLoadRecords("$(IP)/ipApp/Db/eMike.db", "P=$(PREFIX),M=em1,PORT=serial3") +#dbLoadRecords("$(IP)/ipApp/Db/eMike.db", "P=$(PREFIX),M=em1,PORT=serial0:3") # Oxford Cyberstar X1000 Scintillation detector and pulse processing unit -#iocshLoad("$(IP)/iocsh/Oxford_X1k.iocsh", "PREFIX=$(PREFIX), INSTANCE=s1, PORT=serial4") +#iocshLoad("$(IP)/iocsh/Oxford_X1k.iocsh", "PREFIX=$(PREFIX), INSTANCE=s1, PORT=serial0:4") -# Oxford ILM202 Cryogen Level Meter (Serial) -#iocshLoad("$(IP)/iocsh/Oxford_ILM202.iocsh", "PREFIX=$(PREFIX), INSTANCE=s1, PORT=serial5") +# Oxford ILM202 Cryogen Level Meter (serial0:) +#iocshLoad("$(IP)/iocsh/Oxford_ILM202.iocsh", "PREFIX=$(PREFIX), INSTANCE=s1, PORT=serial0:5") # PI Digitel 500/1500 pump -#dbLoadRecords("$(IP)/ipApp/Db/Digitel.db","$(PREFIX),PUMP=ip1,PORT=serial3") +#dbLoadRecords("$(IP)/ipApp/Db/Digitel.db","$(PREFIX),PUMP=ip1,PORT=serial0:3") # PI MPC ion pump -#dbLoadRecords("$(IP)/ipApp/Db/MPC.db","P=$(PREFIX),PUMP=ip2,PORT=serial4,PA=0,PN=1") +#dbLoadRecords("$(IP)/ipApp/Db/MPC.db","P=$(PREFIX),PUMP=ip2,PORT=serial0:4,PA=0,PN=1") # PI MPC TSP (titanium sublimation pump) -#dbLoadRecords("$(IP)/ipApp/Db/TSP.db","P=$(PREFIX),TSP=tsp1,PORT=serial4,PA=0") +#dbLoadRecords("$(IP)/ipApp/Db/TSP.db","P=$(PREFIX),TSP=tsp1,PORT=serial0:4,PA=0") ### Queensgate piezo driver -#iocshLoad("$(IP)/iocsh/Queensgate_piezo.iocsh", "P=$(PREFIX), PORT=serial5") +#iocshLoad("$(IP)/iocsh/Queensgate_piezo.iocsh", "P=$(PREFIX), PORT=serial0:5") # Stanford Research Systems SR570 Current Preamplifier -#iocshLoad("$(IP)/iocsh/SR_570.iocsh", "PREFIX=$(PREFIX), INSTANCE=A1, PORT=serial1") +#iocshLoad("$(IP)/iocsh/SR_570.iocsh", "PREFIX=$(PREFIX), INSTANCE=A1, PORT=serial0:1")