mirror of
https://github.com/Binary-Coalescence/motorDSM.git
synced 2025-08-04 21:55:40 -05:00
Updated default IOC baud rate and idle poll period.
This commit is contained in:
@@ -18,8 +18,8 @@
|
|||||||
#- ###################################################
|
#- ###################################################
|
||||||
|
|
||||||
# DSM MD-90 serial connection settings
|
# DSM MD-90 serial connection settings
|
||||||
iocshLoad("$(IP)/iocsh/setSerialParams.iocsh", "PORT=$(PORT), BAUD=19200, BITS=8, STOP=1, PARITY=none")
|
iocshLoad("$(IP)/iocsh/setSerialParams.iocsh", "PORT=$(PORT), BAUD=115200, BITS=8, STOP=1, PARITY=none")
|
||||||
asynOctetSetInputEos( "$(PORT)", -1, "\r")
|
asynOctetSetInputEos( "$(PORT)", -1, "\r")
|
||||||
asynOctetSetOutputEos("$(PORT)", -1, "\r")
|
asynOctetSetOutputEos("$(PORT)", -1, "\r")
|
||||||
|
|
||||||
MD90CreateController("$(INSTANCE)", "$(PORT)", $(NUM_AXES=1), $(MOVING_POLL=$(POLL_RATE=100)), $(IDLE_POLL=$(POLL_RATE=100)))
|
MD90CreateController("$(INSTANCE)", "$(PORT)", $(NUM_AXES=1), $(MOVING_POLL=$(POLL_RATE=100)), $(IDLE_POLL=$(POLL_RATE=1000)))
|
||||||
|
Reference in New Issue
Block a user