![]() (Note, we will ask dragonframe to add another connection type for this controller, but for now selecting eMotimo Spectrum ST4 is just fine) If there are multiple connections you may have to try each to understand which one is connected to your SA2.6 Conductor. This cable will be named differently and may change if you install on a different USB port. Under location, select the serial port of the cable you just added.Watch out, don't just select "eMotimo" here as that it the old protocol that doesn't support real-time moves and it just won't work! Under Device, select " eMotimo spectrum ST4", then select ArcMoco #1. Start up Dragonframe and create a new scene.Connect the CAT-5/6 Ethernet Cable to the SA2.6 and to the router of the network that is running Dragonframeģ - Dragonframe Connection: Option 1 - USB-C Cable to your Dragonframe computer.This setting will be maintained after power cycle so you only need to do this again if you change it or upgrade your firmware. Power on the SA2.6 and go to the Settings->Port Settings->Network Port, and choose the 'Dragonframe 4.1+' Option.Option 2 - Network Cable - Not Supported Coming Soon Return to the Main Menu or Power Cycle the SA2.6.Connect the USB-C cable to the SA2.6 and the USB cable to the device running Dragonframe.This setting will then be maintained after power cycle so you only need to do this again if you change it or upgrade your firmware. Exit the Port Settings menu to save your changes.Power on the SA2.6 and go to the Settings->Port Settings->VCOM Port, and choose the 'Dragonframe 4.1+' Option.Make sure you meet the minimum firmware version: SA2_RC001_007 2 - Cables and SA2.6 Connection: Option 1 - USB to USB-C Cable USB to USB-C Cable or Network CAT-5/6 Cable (coming soon).eMotimo SA2.6 with firmware SA2_RC001_007 or newer.This resets the position count without physical movement. Parameters:Īrray of desired stepper positions zero_motor ( motor ) ¶ speeds = None ¶Īrray of maximum stepper speeds in pulses/second stop_all ( ) ¶ Transmit the motor status response with a binary string generated from self.moving. Send_hello ( ) ¶ send_motor_position ( motor ) ¶ Parameters:Īrray of current stepper positions process_line ( tokens ) ¶ pulse_rate ( motor, speed ) ¶ This sets the position count without physical movement. Parameters:Īrray of flags indicating whether each axis is in motion new_position ( motor, position ) ¶ Logging object for controlling or capturing an event log major_version = 1 ¶ motor_move ( motor, position ) ¶ ![]() direction – -1 or 1 to indicate the direction of travel.motor – motor index, starting with zero.Number_of_axes – number of channels offered for motion controlĬonnection_lost ( ) ¶ connection_made ( transport ) ¶ data_received ( data ) ¶ full_version_string = '1.3.0' ¶ inch_motor ( motor, direction ) ¶ This class by itself is a trivial simulation but is intended to be DFMocoServerProtocol ( number_of_axes=4 ) ¶Ĭommunicate as a motion control device with Dragonframe using the DFMoco socket or serial port class ase.DFMocoProtocol. Send_hello ( ) ¶ send_motor_move ( motor, target ) ¶ send_motor_status_request ( callback=None ) ¶ send_multiple_targets ( first, targets ) ¶ send_pulse_rate ( motor, rate ) ¶ send_target ( motor, target ) ¶ transport = None ¶Ī file-like bidirectional object for the communication with the motion control device, e.g. Parameters:Ĭallback – callable to be called with True if any motors are still moving else False This is an informal protocol implemented by multipleĭevices to support waiting for completion. Request so a callback function is normally provided to receive the Send a request for the trajectory generator status. send_get_moving_state ( callback=None ) ¶ Protocol interpreter to process one status input line, supplied as a list of The number of axes reported by the server process_line ( tokens ) ¶ Logging object for controlling or capturing an event log major_version = 1 ¶ number_of_axes = None ¶ full_version_string = '1.3.0' ¶ is_protocol_ready ( ) ¶ logger = None ¶ ![]() connection_made ( transport ) ¶ data_received ( data ) ¶Ĭallback to receive a new bytestring of data, not necessarily line-terminated. ThisĬlass is intended to be subclassed for specific applications. DFMocoClientProtocol ¶Ĭommunicate with a motion control device using the DFMoco protocol. Abstract protocols for managing communications with Dragonframe motion control.Ĭopyright (c) 2018, Garth Zeglin.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |