modbus/modbus.py
branchsvghmi
changeset 3242 f037e901a17c
parent 2736 a81b72ef156c
child 3733 d1acf20e8e7c
equal deleted inserted replaced
3241:fe945f1f48b7 3242:f037e901a17c
    30 from modbus.mb_utils import *
    30 from modbus.mb_utils import *
    31 from ConfigTreeNode import ConfigTreeNode
    31 from ConfigTreeNode import ConfigTreeNode
    32 from PLCControler import LOCATION_CONFNODE, LOCATION_VAR_MEMORY
    32 from PLCControler import LOCATION_CONFNODE, LOCATION_VAR_MEMORY
    33 import util.paths as paths
    33 import util.paths as paths
    34 
    34 
    35 base_folder = os.path.split(os.path.dirname(os.path.realpath(__file__)))[0]
    35 ModbusPath = paths.ThirdPartyPath("Modbus")
    36 base_folder = os.path.join(base_folder, "..")
       
    37 ModbusPath = os.path.join(base_folder, "Modbus")
       
    38 
    36 
    39 
    37 
    40 #
    38 #
    41 #
    39 #
    42 #
    40 #