equal
deleted
inserted
replaced
44 |
44 |
45 SDOAnswered() |
45 SDOAnswered() |
46 if res != 0 : |
46 if res != 0 : |
47 PLCObject.LogMessage( |
47 PLCObject.LogMessage( |
48 LogLevelsDict["WARNING"], |
48 LogLevelsDict["WARNING"], |
49 "%s : %s"%(command,output)) |
49 "%s : %s" % (command,output)) |
50 |
50 |
51 def EthercatSDOUpload(pos, index, subindex, var_type): |
51 def EthercatSDOUpload(pos, index, subindex, var_type): |
52 global SDOThread |
52 global SDOThread |
53 SDOThread = Thread(target=SDOThreadProc, args=["upload", pos, var_type, index, subindex]) |
53 SDOThread = Thread(target=SDOThreadProc, args=["upload", pos, var_type, index, subindex]) |
54 SDOThread.start() |
54 SDOThread.start() |