diff --git a/iocBoot/iocxxx/examples/industryPack.cmd b/iocBoot/iocxxx/examples/industryPack.cmd index ad23c5aa75ba668eaa8258a79761e390e42a95ba..d7677d52622a8f120dbd8f6792c70f5cb26a67d7 100644 --- a/iocBoot/iocxxx/examples/industryPack.cmd +++ b/iocBoot/iocxxx/examples/industryPack.cmd @@ -54,14 +54,18 @@ ipacAddTVME200("301fa0") # at A24:800000 and Slot C for 1MB of mem space at A24:A00000. ipacAddAvme96XX("C000,3 A=2,800000 C=1,A00000") - - # Print out report of IP modules ipacReport(2) -# serial support -#< serial.cmd +#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 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") + # user programmable glue electronics (requires Acromag IP-EP20x) #< softGlue.iocsh diff --git a/iocBoot/iocxxx/examples/serial_devices.cmd b/iocBoot/iocxxx/examples/serial_devices.cmd new file mode 100644 index 0000000000000000000000000000000000000000..63ec9b12245e25ed8f5ecf81008dddf7fb5aa7e3 --- /dev/null +++ b/iocBoot/iocxxx/examples/serial_devices.cmd @@ -0,0 +1,54 @@ +#ACS MCB-4B +#iocshLoad("$(MOTOR)/iocsh/ACS_MCB4B.iocsh", "PORT=serial3, CONTROLLER=0, POLL_RATE=100, NUM_AXES=1") + +# Eurotherm temp controller +#dbLoadRecords("$(IP)/ipApp/Db/Eurotherm.db","P=$(PREFIX),PORT=serial7") + +# Heidenhain ND261 encoder (for PSL monochromator) +#iocshLoad("$(IP)/iocsh/Heidenhain_ND261.iocsh", "PREFIX=$(PREFIX), PORT=serial1") + +# Huber DMC9200 DC Motor Controller +#dbLoadRecords("$(IP)/ipApp/Db/HuberDMC9200.db", "P=$(PREFIX),Q=DMC1:,PORT=serial5") + +# 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") + +# Lakeshore DRC-93CA Temperature Controller +#iocshLoad("$(IP)/iocsh/Lakeshore_DRC93CA.iocsh", "PREFIX=$(PREFIX), INSTANCE=TC1, PORT=serial4") + +#McClennan PM304 +#iocshLoad("$(MOTOR)/iocsh/McClennan_PM304.iocsh", "PORT=serial4, 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") + +#Newport MM4000 +#iocshLoad("$(MOTOR)/iocsh/Newport_MM4000.iocsh", "PORT=serial2, 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") + +# Oriel 18011 Encoder Mike +#dbLoadRecords("$(IP)/ipApp/Db/eMike.db", "P=$(PREFIX),M=em1,PORT=serial3") + +# Oxford Cyberstar X1000 Scintillation detector and pulse processing unit +#iocshLoad("$(IP)/iocsh/Oxford_X1k.iocsh", "PREFIX=$(PREFIX), INSTANCE=s1, PORT=serial4") + +# Oxford ILM202 Cryogen Level Meter (Serial) +#iocshLoad("$(IP)/iocsh/Oxford_ILM202.iocsh", "PREFIX=$(PREFIX), INSTANCE=s1, PORT=serial5") + +# PI Digitel 500/1500 pump +#dbLoadRecords("$(IP)/ipApp/Db/Digitel.db","$(PREFIX),PUMP=ip1,PORT=serial3") + +# PI MPC ion pump +#dbLoadRecords("$(IP)/ipApp/Db/MPC.db","P=$(PREFIX),PUMP=ip2,PORT=serial4,PA=0,PN=1") + +# PI MPC TSP (titanium sublimation pump) +#dbLoadRecords("$(IP)/ipApp/Db/TSP.db","P=$(PREFIX),TSP=tsp1,PORT=serial4,PA=0") + +### Queensgate piezo driver +#iocshLoad("$(IP)/iocsh/Queensgate_piezo.iocsh", "P=$(PREFIX), PORT=serial5") + +# Stanford Research Systems SR570 Current Preamplifier +#iocshLoad("$(IP)/iocsh/SR_570.iocsh", "PREFIX=$(PREFIX), INSTANCE=A1, PORT=serial1") diff --git a/iocBoot/iocxxx/examples/serial_soft.cmd b/iocBoot/iocxxx/examples/serial_soft.cmd index ab67f7739797f808403c9b9c34976aa3c51c37d0..aa6bed1a8d250781fd83c42024a8867df1720263 100644 --- a/iocBoot/iocxxx/examples/serial_soft.cmd +++ b/iocBoot/iocxxx/examples/serial_soft.cmd @@ -22,54 +22,4 @@ asynOctetConnect("serial2", "serial2") # Load asynRecord and deviceCmdReply records for ports iocshLoad("$(IP)/iocsh/loadSerialComm.iocsh", "P=$(PREFIX), PORT0=serial1, PORT1=serial2, PORT2=serial3, PORT4=serial4") - -# serial 1 connected to Keithley2K DMM at 19200 baud -#iocshLoad("$(IP)/iocsh/Keithley_2k_serial.iocsh", "PREFIX=$(PREFIX), INSTANCE=D1, PORT=serial1, NUM_CHANNELS=22, MODEL=2700") - -# serial 2 connected to Newport MM4000 at 38400 baud -#iocshLoad("$(MOTOR)/iocsh/Newport_MM4000.iocsh", "PORT=serial2, CONTROLLER=0, POLL_RATE=10, MAX_CONTROLLERS=1") - -# serial 3 is connected to the ACS MCB-4B at 9600 baud -#iocshLoad("$(MOTOR)/iocsh/ACS_MCB4B.iocsh", "PORT=serial3, CONTROLLER=0, POLL_RATE=100, NUM_AXES=1") -#iocshLoad("$(MOTOR)/iocsh/Newport_PM500.iocsh", "PORT=serial3, CONTROLLER=0, POLL_RATE=10, MAX_CONTROLLERS=1") - -# serial 4 not connected for now -#iocshLoad("$(MOTOR)/iocsh/McClennan_PM304.iocsh", "PORT=serial4, CONTROLLER=0, POLL_RATE=10, MAX_CONTROLLERS=1, NUM_AXES=1") - -# Stanford Research Systems SR570 Current Preamplifier -#iocshLoad("$(IP)/iocsh/SR_570.iocsh", "PREFIX=$(PREFIX), INSTANCE=A1, PORT=serial1") - -# Lakeshore DRC-93CA Temperature Controller -#iocshLoad("$(IP)/iocsh/Lakeshore_DRC93CA.iocsh", "PREFIX=$(PREFIX), INSTANCE=TC1, PORT=serial4") - -# Huber DMC9200 DC Motor Controller -#dbLoadRecords("$(IP)/ipApp/Db/HuberDMC9200.db", "P=$(PREFIX),Q=DMC1:,PORT=serial5") - -# Oriel 18011 Encoder Mike -#dbLoadRecords("$(IP)/ipApp/Db/eMike.db", "P=$(PREFIX),M=em1,PORT=serial3") - -# Oxford Cyberstar X1000 Scintillation detector and pulse processing unit -#iocshLoad("$(IP)/iocsh/Oxford_X1k.iocsh", "PREFIX=$(PREFIX), INSTANCE=s1, PORT=serial4") - -# Oxford ILM202 Cryogen Level Meter (Serial) -#iocshLoad("$(IP)/iocsh/Oxford_ILM202.iocsh", "PREFIX=$(PREFIX), INSTANCE=s1, PORT=serial5") - -# Eurotherm temp controller -#dbLoadRecords("$(IP)/ipApp/Db/Eurotherm.db","P=$(PREFIX),PORT=serial7") - -# MKS vacuum gauges -#dbLoadRecords("$(IP)/ipApp/Db/MKS.db","P=$(PREFIX),PORT=serial2,CC1=cc1,CC2=cc3,PR1=pr1,PR2=pr3") - -# PI Digitel 500/1500 pump -#dbLoadRecords("$(IP)/ipApp/Db/Digitel.db","$(PREFIX),PUMP=ip1,PORT=serial3") - -# PI MPC ion pump -#dbLoadRecords("$(IP)/ipApp/Db/MPC.db","P=$(PREFIX),PUMP=ip2,PORT=serial4,PA=0,PN=1") - -# PI MPC TSP (titanium sublimation pump) -#dbLoadRecords("$(IP)/ipApp/Db/TSP.db","P=$(PREFIX),TSP=tsp1,PORT=serial4,PA=0") - -# Heidenhain ND261 encoder (for PSL monochromator) -#iocshLoad("$(IP)/iocsh/Heidenhain_ND261.iocsh", "PREFIX=$(PREFIX), PORT=serial1") - # END serial.cmd -------------------------------------------------------------- diff --git a/iocBoot/iocxxx/examples/serial_vx.cmd b/iocBoot/iocxxx/examples/serial_vx.cmd deleted file mode 100644 index fc94148c1807be6ea427df09756e720fa390eba6..0000000000000000000000000000000000000000 --- a/iocBoot/iocxxx/examples/serial_vx.cmd +++ /dev/null @@ -1,43 +0,0 @@ - -# BEGIN serial.cmd ------------------------------------------------------------ - -#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 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") - -#serial0 - SR570 -#serial1 - -#serial2 - Newport PM500 -#serial3 - -#serial4 - ACS MCB-4B -#serial5 - -#serial6 - Newport MM4000 -#serial7 - Love Controllers - - -#iocshLoad("$(MOTOR)/iocsh/Newport_MM4000.iocsh", "PORT=serial6, CONTROLLER=0, POLL_RATE=10, MAX_CONTROLLERS=1") -#iocshLoad("$(MOTOR)/iocsh/Newport_PM500.iocsh", "PORT=serial2, CONTROLLER=0, POLL_RATE=10, MAX_CONTROLLERS=1") -#iocshLoad("$(MOTOR)/iocsh/McClennan_PM304.iocsh", "PORT=serial3, CONTROLLER=0, POLL_RATE=10, NUM_AXES=1, MAX_CONTROLLER=1") -#iocshLoad("$(MOTOR)/iocsh/ACS_MCB4B.iocsh", "PORT=serial4, CONTROLLER=0, POLL_RATE=100, NUM_AXES=1") - -# Stanford Research Systems SR570 Current Preamplifier -#iocshLoad("$(IP)/iocsh/SR_570.iocsh", "PREFIX=$(PREFIX), INSTANCE=A1, PORT=serial0") - -# 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") - -# Oxford Cyberstar X1000 Scintillation detector and pulse processing unit -#iocshLoad("$(IP)/iocsh/Oxford_X1k.iocsh", "PREFIX=$(PREFIX), INSTANCE=s1, PORT=serial3") - -# Oxford ILM202 Cryogen Level Meter (Serial) -#iocshLoad("$(IP)/iocsh/Oxford_ILM202.iocsh", "PREFIX=$(PREFIX), INSTANCE=s1, PORT=serial4") - -### Queensgate piezo driver -#iocshLoad("$(IP)/iocsh/Queensgate_piezo.iocsh", "P=$(PREFIX), PORT=serial5") - -# END serial.cmd --------------------------------------------------------------