Skip to content

Commit

Permalink
Show AdsOpen options in st.cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
jevarlec committed May 17, 2023
1 parent 7a1312c commit 9b46db4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions iocBoot/iocadsExample/st.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ dbLoadRecords("db/example.db","P=$(PREFIX_ADSEXAMPLE), PORT=$(PORT_ADSEXAMPLE)")
#dbLoadRecords("db/many_vars.db", "P=$(PREFIX_ADSEXAMPLE), PORT=$(PORT_ADSEXAMPLE)")

# Open ADS port
# AdsOpen(port_name,
# remote_ip_address,
# remote_ams_net_id,
# sum_buffer_nelem (default: 500),
# ads_timeout (default: 500 ms),
# device_ads_port (default: 851),
# sum_read_period (default: 1 ms))
AdsOpen("$(PORT_ADSEXAMPLE)", "$(IP_ADSEXAMPLE)", "$(AMS_ID_ADSEXAMPLE)")

# Enable asyn trace output for errors and warnings
Expand Down

0 comments on commit 9b46db4

Please sign in to comment.