etherlab/EthercatCIA402Slave.py
changeset 2356 c26e0c66d8d5
parent 2355 fec77f2b9e07
child 2358 8e5a9830867e
equal deleted inserted replaced
2355:fec77f2b9e07 2356:c26e0c66d8d5
    87      "inputs": [{"name": "TorqueLimitPos", "type": "UINT"},
    87      "inputs": [{"name": "TorqueLimitPos", "type": "UINT"},
    88                 {"name": "TorqueLimitNeg", "type": "UINT"}],
    88                 {"name": "TorqueLimitNeg", "type": "UINT"}],
    89      "outputs": []},
    89      "outputs": []},
    90 ]
    90 ]
    91 
    91 
    92 #--------------------------------------------------
    92 # --------------------------------------------------
    93 #                 Ethercat CIA402 Node
    93 #                 Ethercat CIA402 Node
    94 #--------------------------------------------------
    94 # --------------------------------------------------
    95 
    95 
    96 class _EthercatCIA402SlaveCTN(_EthercatSlaveCTN):
    96 class _EthercatCIA402SlaveCTN(_EthercatSlaveCTN):
    97     XSD = """<?xml version="1.0" encoding="ISO-8859-1" ?>
    97     XSD = """<?xml version="1.0" encoding="ISO-8859-1" ?>
    98     <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    98     <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    99       <xsd:element name="CIA402SlaveParams">
    99       <xsd:element name="CIA402SlaveParams">
   121          "tooltip" : _("Initiate Drag'n drop of Network position located variable"),
   121          "tooltip" : _("Initiate Drag'n drop of Network position located variable"),
   122          "method" : "_getCIA402NetworkPosition",
   122          "method" : "_getCIA402NetworkPosition",
   123          "push": True},
   123          "push": True},
   124     ]
   124     ]
   125 
   125 
   126 #--------------------------------------------------
   126 # --------------------------------------------------
   127 #    class code
   127 #    class code
   128 #--------------------------------------------------
   128 # --------------------------------------------------
   129 
   129 
   130     def __init__(self):
   130     def __init__(self):
   131         # ----------- call ethercat mng. function --------------
   131         # ----------- call ethercat mng. function --------------
   132         self.CommonMethod = _CommonSlave(self)
   132         self.CommonMethod = _CommonSlave(self)
   133 
   133