7 # RTES Lab : CRKim, JBLee, youcu |
7 # RTES Lab : CRKim, JBLee, youcu |
8 # Higen Motor : Donggu Kang |
8 # Higen Motor : Donggu Kang |
9 # |
9 # |
10 # See COPYING file for copyrights details. |
10 # See COPYING file for copyrights details. |
11 |
11 |
|
12 from __future__ import absolute_import |
12 import os |
13 import os |
13 |
14 |
14 import wx |
15 import wx |
15 |
16 |
16 from PLCControler import LOCATION_CONFNODE, LOCATION_VAR_INPUT |
17 from PLCControler import LOCATION_CONFNODE, LOCATION_VAR_INPUT |
17 |
18 |
18 from MotionLibrary import Headers, AxisXSD |
19 from MotionLibrary import Headers, AxisXSD |
19 from EthercatSlave import _EthercatSlaveCTN, _CommonSlave |
20 from etherlab.EthercatSlave import _EthercatSlaveCTN, _CommonSlave |
20 from ConfigEditor import CIA402NodeEditor |
21 from etherlab.ConfigEditor import CIA402NodeEditor |
21 |
22 |
22 # Definition of node variables that have to be mapped in PDO |
23 # Definition of node variables that have to be mapped in PDO |
23 # [(name, index, subindex, type, |
24 # [(name, index, subindex, type, |
24 # direction for master ('I': input, 'Q': output)),...] |
25 # direction for master ('I': input, 'Q': output)),...] |
25 NODE_VARIABLES = [ |
26 NODE_VARIABLES = [ |