#==============================================================
#
#  Abs:  Initialize PLC hardware for a soft IOC
#
#  Name: init_plc.cmd.soft
#
#  Side:  Upon entry to this script the following
#         environment variables are expected tobe
#         defined:
# 
#         PLC_NAME - PLC Name defined in database
#         PLC_NODE - PLC IP Address
#
#  Facility:  Vacuum Controls
#
#  Auth: 05-Jun-2007, Stephen Schun   (SCHUHS)
#  Rev:  dd-mmm-yyyy, Reviewer's Name (USERNAME)
#--------------------------------------------------------------
#  Mod:
#        23-Mar-2021, K. Luchini      (LUCHINI):
#          extract from st.cmd
#
#==============================================================
#
EIP_buffer_limit(400)
# Initialize PLC
drvEtherIP_init()

# drvEtherIP_define_PLC <name>, <ip_addr>, <slot>
drvEtherIP_define_PLC(${PLC_NAME},${PLC_NODE}, 0)

EIP_verbosity(0)
drvEtherIP_default_rate(1)

# End of script


