Changeset 606 in ETALON


Ignore:
Timestamp:
May 9, 2016, 2:30:15 PM (8 years ago)
Author:
malovyts
Message:

Modified CoDeSys? programm and python script

Location:
positioning_systems/WAGO
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • positioning_systems/WAGO/Python_control/wago_communication.py

    r602 r606  
    7878        motor_set(motorN, 'tar_pos', tar_position)
    7979        motor_set(motorN, 'velo', velocity)
     80        #motor_enable(motorN)
    8081        motor_start(motorN)
     82        #motor_disable(motorN)
    8183        return
    8284def motor_move_relative(motorN, tar_position, velocity):
     
    8486        motor_set(motorN, 'tar_pos', tar_position)
    8587        motor_set(motorN, 'velo', velocity)
     88        #motor_enable(motorN)
    8689        motor_start(motorN)
     90        #motor_disable(motorN)
Note: See TracChangeset for help on using the changeset viewer.