Skip to content
Snippets Groups Projects
Commit 96c5b37a authored by Anders Sandström's avatar Anders Sandström
Browse files

Update example startup scripts

parent 4f7518da
No related branches found
No related tags found
No related merge requests found
require axis,10.1.5
require ads,anderssandstrom
require ads,develop
require stream, 2.8.10
require EthercatMC 3.0.0
##############################################################################
# Demo file to run one motor record axis (or actually axis record).
......@@ -26,9 +27,10 @@ require ads,anderssandstrom
# 9. max delay time ms (buffer time in plc) : 1000
# 10. ADS command timeout in ms : 1000
# 11. default time source (PLC=0,EPICS=1) : 0 (PLC) NOTE: record TSE field need to be set to -2 for timestamp in asyn ("field(TSE, -2)")
adsAsynPortDriverConfigure("ADS_1","192.168.88.44","192.168.88.44.1.1",851,1000,0,0,50,100,1000,0)
epicsEnvSet(STREAM_PROTOCOL_PATH, ${ads_DB}
asynOctetSetOutputEos("ADS_1", -1, "\n")
asynOctetSetInputEos("ADS_1", -1, "\n")
asynSetTraceMask("ADS_1", -1, 0x41)
......
require ads,anderssandstrom
require ads,develop
require stream, 2.8.10
##############################################################################
# Demo file to link an EPICS IOC with some I/O in a TwinCAT plc
......@@ -22,9 +23,10 @@ require ads,anderssandstrom
# 9. max delay time ms (buffer time in plc) : 1000
# 10. ADS command timeout in ms : 1000
# 11. default time source (PLC=0,EPICS=1) : 0 (PLC) NOTE: record TSE field need to be set to -2 for timestamp in asyn ("field(TSE, -2)")
adsAsynPortDriverConfigure("ADS_1","192.168.88.44","192.168.88.44.1.1",851,1000,0,0,50,100,1000,0)
epicsEnvSet(STREAM_PROTOCOL_PATH, ${ads_DB}
asynOctetSetOutputEos("ADS_1", -1, "\n")
asynOctetSetInputEos("ADS_1", -1, "\n")
asynSetTraceMask("ADS_1", -1, 0x41)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment