Skip to content

Commit

Permalink
Fix st.mcu035-PTP-B02.iocsh
Browse files Browse the repository at this point in the history
For some reasons the start of the poller had been commented out
in st.mcu035-PTP-B02.iocsh, and other ads-related changes had
sneaked in: Fix those.
  • Loading branch information
tboegi committed Nov 27, 2023
1 parent e8f8755 commit 7b00e93
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions test/startup/st.mcu035-PTP-B02.iocsh
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,19 @@ epicsEnvSet("ECM_MOVINGPOLLPERIOD", "0")
epicsEnvSet("ECM_IDLEPOLLPERIOD", "0")

< ethercatmcController.iocsh
#< ethercatmcEL6688-PTP.iocsh
< ethercatmcEL6688-PTP-twincat-ads.iocsh
< ethercatmcEL6688-PTP.iocsh
< ethercatmcEL6688-EL1252-PTP.iocsh


#####################################################
# EL1252, first channel, CHNO == 0
epicsEnvSet("CHNO", "0")
#< ethercatmcEL1252-OneChannel.iocsh
< ethercatmcEL1252-OneChannel.iocsh

#
# Start polling, values are in millisconds
#
#epicsEnvSet("MOVINGPOLLPERIOD", "500")
#epicsEnvSet("IDLEPOLLPERIOD", "500")
#ethercatmcStartPoller("$(MOTOR_PORT)", "$(MOVINGPOLLPERIOD)", "$(IDLEPOLLPERIOD)")
epicsEnvSet("MOVINGPOLLPERIOD", "500")
epicsEnvSet("IDLEPOLLPERIOD", "500")
ethercatmcStartPoller("$(MOTOR_PORT)", "$(MOVINGPOLLPERIOD)", "$(IDLEPOLLPERIOD)")

# Sleep to let the poller detect the AUX bit names
#epicsThreadSleep 5

0 comments on commit 7b00e93

Please sign in to comment.