From 4b9086bcd9d171dc55b471c9e4e7cf8f8095c73b Mon Sep 17 00:00:00 2001 From: Ron Sluiter Date: Thu, 22 Jan 2004 22:58:53 +0000 Subject: [PATCH] Added PI C-844 support. --- iocBoot/iocWithAsyn/st.cmd.Vx | 14 ++++++++++++++ iocBoot/iocWithMPF/st.cmd.Vx | 14 ++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/iocBoot/iocWithAsyn/st.cmd.Vx b/iocBoot/iocWithAsyn/st.cmd.Vx index 734226a3..598948ab 100644 --- a/iocBoot/iocWithAsyn/st.cmd.Vx +++ b/iocBoot/iocWithAsyn/st.cmd.Vx @@ -106,4 +106,18 @@ MM4000Config(0, 1, MPF_Server_Location, "a-Serial[0]") #ESP300Config(0, 1, MPF_Server_Location, "a-Serial[0]") #drvESP300debug = 4 +# PI C-844 driver setup parameters: +# (1) maximum number of controllers in system +# (2) N/A +# (3) motor task polling rate (min=1Hz,max=60Hz) +PIC844Setup(1, 0, 2) + +# PI C-844 driver configuration parameters: +# (1) controller# being configured, +# (2) port type: 0-GPIB_PORT or 1-RS232_PORT, +# (3) GPIB link or MPF server location +# (4) GPIB address or MPF serial server name +PIC844Config(0, 1, MPF_Server_Location, "a-Serial[0]") +#drvPIC844debug = 4 + iocInit diff --git a/iocBoot/iocWithMPF/st.cmd.Vx b/iocBoot/iocWithMPF/st.cmd.Vx index 734226a3..598948ab 100644 --- a/iocBoot/iocWithMPF/st.cmd.Vx +++ b/iocBoot/iocWithMPF/st.cmd.Vx @@ -106,4 +106,18 @@ MM4000Config(0, 1, MPF_Server_Location, "a-Serial[0]") #ESP300Config(0, 1, MPF_Server_Location, "a-Serial[0]") #drvESP300debug = 4 +# PI C-844 driver setup parameters: +# (1) maximum number of controllers in system +# (2) N/A +# (3) motor task polling rate (min=1Hz,max=60Hz) +PIC844Setup(1, 0, 2) + +# PI C-844 driver configuration parameters: +# (1) controller# being configured, +# (2) port type: 0-GPIB_PORT or 1-RS232_PORT, +# (3) GPIB link or MPF server location +# (4) GPIB address or MPF serial server name +PIC844Config(0, 1, MPF_Server_Location, "a-Serial[0]") +#drvPIC844debug = 4 + iocInit