edcon.profidrive package
Submodules
edcon.profidrive.telegram1 module
Contains code that is related to PROFIDRIVE telegram 1
- class edcon.profidrive.telegram1.Telegram1(stw1: ~edcon.profidrive.words.STW1_SM = <factory>, nsoll_a: ~edcon.profidrive.words.NSOLL_A = <factory>, zsw1: ~edcon.profidrive.words.ZSW1_SM = <factory>, nist_a: ~edcon.profidrive.words.NIST_A = <factory>)
Bases:
TelegramBaseHolds the implementation of PROFIDRIVE telegram 1
- inputs()
Returns list of input words
- outputs()
Returns list of output words
edcon.profidrive.telegram102 module
Contains code that is related to PROFIDRIVE telegram 102
- class edcon.profidrive.telegram102.Telegram102(stw1: ~edcon.profidrive.words.STW1_SM = <factory>, nsoll_b: ~edcon.profidrive.words.NSOLL_B = <factory>, stw2: ~edcon.profidrive.words.STW2 = <factory>, momred: ~edcon.profidrive.words.MOMRED = <factory>, g1_stw: ~edcon.profidrive.words.G1_STW = <factory>, zsw1: ~edcon.profidrive.words.ZSW1_SM = <factory>, nist_b: ~edcon.profidrive.words.NIST_B = <factory>, zsw2: ~edcon.profidrive.words.ZSW2 = <factory>, meldw: ~edcon.profidrive.words.MELDW = <factory>, g1_zsw: ~edcon.profidrive.words.G1_ZSW = <factory>, g1_xist1: ~edcon.profidrive.words.G1_XIST1 = <factory>, g1_xist2: ~edcon.profidrive.words.G1_XIST2 = <factory>)
Bases:
TelegramBaseHolds the implementation of PROFIDRIVE telegram 102
- inputs()
Returns list of input words
- outputs()
Returns list of output words
edcon.profidrive.telegram111 module
Contains code that is related to PROFIDRIVE telegram 111
- class edcon.profidrive.telegram111.Telegram111(stw1: ~edcon.profidrive.words.STW1_PM = <factory>, pos_stw1: ~edcon.profidrive.words.POS_STW1 = <factory>, pos_stw2: ~edcon.profidrive.words.POS_STW2 = <factory>, stw2: ~edcon.profidrive.words.STW2 = <factory>, override: ~edcon.profidrive.words.OVERRIDE = <factory>, mdi_tarpos: ~edcon.profidrive.words.MDI_TARPOS = <factory>, mdi_velocity: ~edcon.profidrive.words.MDI_VELOCITY = <factory>, mdi_acc: ~edcon.profidrive.words.MDI_ACC = <factory>, mdi_dec: ~edcon.profidrive.words.MDI_DEC = <factory>, zsw1: ~edcon.profidrive.words.ZSW1_PM = <factory>, pos_zsw1: ~edcon.profidrive.words.POS_ZSW1 = <factory>, pos_zsw2: ~edcon.profidrive.words.POS_ZSW2 = <factory>, zsw2: ~edcon.profidrive.words.ZSW2 = <factory>, meldw: ~edcon.profidrive.words.MELDW = <factory>, xist_a: ~edcon.profidrive.words.XIST_A = <factory>, nist_b: ~edcon.profidrive.words.NIST_B = <factory>, fault_code: ~edcon.profidrive.words.FAULT_CODE = <factory>, warn_code: ~edcon.profidrive.words.WARN_CODE = <factory>)
Bases:
TelegramBaseHolds the implementation of PROFIDRIVE telegram 111
- mdi_tarpos: MDI_TARPOS
- mdi_velocity: MDI_VELOCITY
- fault_code: FAULT_CODE
- inputs()
Returns list of input words
- outputs()
Returns list of output words
edcon.profidrive.telegram9 module
Contains code that is related to PROFIDRIVE telegram 9
- class edcon.profidrive.telegram9.Telegram9(stw1: ~edcon.profidrive.words.STW1_PM = <factory>, satzanw: ~edcon.profidrive.words.SATZANW = <factory>, stw2: ~edcon.profidrive.words.STW2 = <factory>, mdi_tarpos: ~edcon.profidrive.words.MDI_TARPOS = <factory>, mdi_velocity: ~edcon.profidrive.words.MDI_VELOCITY = <factory>, mdi_acc: ~edcon.profidrive.words.MDI_ACC = <factory>, mdi_dec: ~edcon.profidrive.words.MDI_DEC = <factory>, mdi_mod: ~edcon.profidrive.words.MDI_MOD = <factory>, zsw1: ~edcon.profidrive.words.ZSW1_PM = <factory>, aktsatz: ~edcon.profidrive.words.AKTSATZ = <factory>, zsw2: ~edcon.profidrive.words.ZSW2 = <factory>, xist_a: ~edcon.profidrive.words.XIST_A = <factory>)
Bases:
TelegramBaseHolds the implementation of PROFIDRIVE telegram 9
- mdi_tarpos: MDI_TARPOS
- mdi_velocity: MDI_VELOCITY
- inputs()
Returns list of input words
- outputs()
Returns list of output words
edcon.profidrive.telegram_base module
Contains code that is related to PROFIDRIVE telegram base class
- class edcon.profidrive.telegram_base.TelegramBase
Bases:
objectHolds the base implementation of PROFIDRIVE telegrams
- reset()
Clears all attributes to default values.
- inputs()
Returns list of input words
- outputs()
Returns list of output words
- input_bytes(data: bytes)
Sets the input words from provided byte data
- output_bytes() bytes
Returns the byte representation of the output words
edcon.profidrive.words module
Contains code that is related to PROFIDRIVE words
- class edcon.profidrive.words.BitwiseWord
Bases:
objectThis is the base class for any word that is considered a set of bitwise values
- byte_size: int = 2
- size()
Returns the size of the word in bytes
- to_bytes()
Returns the bytes representation
- to_boollist()
Returns the boollist representation
- classmethod from_bytes(data: bytes)
Initializes a BitwiseWord from a byte representation
- classmethod from_int(value: int)
Initializes a BitwiseWord from an integer
- class edcon.profidrive.words.BitwiseWordGeneric(bit0: bool = False, bit1: bool = False, bit2: bool = False, bit3: bool = False, bit4: bool = False, bit5: bool = False, bit6: bool = False, bit7: bool = False, bit8: bool = False, bit9: bool = False, bit10: bool = False, bit11: bool = False, bit12: bool = False, bit13: bool = False, bit14: bool = False, bit15: bool = False)
Bases:
BitwiseWordThis is a generic derivative of BitwiseWord e.g. to test it’s methods
- bit0: bool = False
- bit1: bool = False
- bit2: bool = False
- bit3: bool = False
- bit4: bool = False
- bit5: bool = False
- bit6: bool = False
- bit7: bool = False
- bit8: bool = False
- bit9: bool = False
- bit10: bool = False
- bit11: bool = False
- bit12: bool = False
- bit13: bool = False
- bit14: bool = False
- bit15: bool = False
- class edcon.profidrive.words.STW1_SM(on: bool = False, no_coast_stop: bool = False, no_quick_stop: bool = False, enable_operation: bool = False, enable_ramp_generator: bool = False, unfreeze_ramp_generator: bool = False, setpoint_enable: bool = False, fault_ack: bool = False, jog1_on: bool = False, jog2_on: bool = False, control_by_plc: bool = False, invert_setpoint: bool = False, open_holding_brake: bool = False, motor_pot_increase: bool = False, motor_pot_decrease: bool = False, reserved1: bool = False)
Bases:
BitwiseWordImplementation of STW1 in velocity mode
- on: bool = False
- no_coast_stop: bool = False
- no_quick_stop: bool = False
- enable_operation: bool = False
- enable_ramp_generator: bool = False
- unfreeze_ramp_generator: bool = False
- setpoint_enable: bool = False
- fault_ack: bool = False
- jog1_on: bool = False
- jog2_on: bool = False
- control_by_plc: bool = False
- invert_setpoint: bool = False
- open_holding_brake: bool = False
- motor_pot_increase: bool = False
- motor_pot_decrease: bool = False
- reserved1: bool = False
- class edcon.profidrive.words.STW1_PM(on: bool = False, no_coast_stop: bool = False, no_quick_stop: bool = False, enable_operation: bool = False, do_not_reject_traversing_task: bool = False, no_intermediate_stop: bool = False, activate_traversing_task: bool = False, fault_ack: bool = False, jog1_on: bool = False, jog2_on: bool = False, control_by_plc: bool = False, start_homing_procedure: bool = False, open_holding_brake: bool = False, change_record_no: bool = False, reserved1: bool = False, reserved2: bool = False)
Bases:
BitwiseWordImplementation of STW1 in position mode
- on: bool = False
- no_coast_stop: bool = False
- no_quick_stop: bool = False
- enable_operation: bool = False
- do_not_reject_traversing_task: bool = False
- no_intermediate_stop: bool = False
- activate_traversing_task: bool = False
- fault_ack: bool = False
- jog1_on: bool = False
- jog2_on: bool = False
- control_by_plc: bool = False
- start_homing_procedure: bool = False
- open_holding_brake: bool = False
- change_record_no: bool = False
- reserved1: bool = False
- reserved2: bool = False
- class edcon.profidrive.words.SATZANW(satzanw_bit0: bool = False, satzanw_bit1: bool = False, satzanw_bit2: bool = False, satzanw_bit3: bool = False, satzanw_bit4: bool = False, satzanw_bit5: bool = False, satzanw_bit6: bool = False, reserved1: bool = False, reserved2: bool = False, reserved3: bool = False, reserved4: bool = False, reserved5: bool = False, reserved6: bool = False, reserved7: bool = False, reserved8: bool = False, mdi_active: bool = False)
Bases:
BitwiseWordImplementation of SATZANW
- satzanw_bit0: bool = False
- satzanw_bit1: bool = False
- satzanw_bit2: bool = False
- satzanw_bit3: bool = False
- satzanw_bit4: bool = False
- satzanw_bit5: bool = False
- satzanw_bit6: bool = False
- reserved1: bool = False
- reserved2: bool = False
- reserved3: bool = False
- reserved4: bool = False
- reserved5: bool = False
- reserved6: bool = False
- reserved7: bool = False
- reserved8: bool = False
- mdi_active: bool = False
- class edcon.profidrive.words.STW2(reserved1: bool = False, reserved2: bool = False, reserved3: bool = False, reserved4: bool = False, reserved5: bool = False, reserved6: bool = False, reserved7: bool = False, parking_axis: bool = False, traversing_fixed_stop: bool = False, reserved8: bool = False, reserved9: bool = False, motor_switch: bool = False, sign_of_life0: bool = False, sign_of_life1: bool = False, sign_of_life2: bool = False, sign_of_life3: bool = False)
Bases:
BitwiseWordImplementation of STW2
- reserved1: bool = False
- reserved2: bool = False
- reserved3: bool = False
- reserved4: bool = False
- reserved5: bool = False
- reserved6: bool = False
- reserved7: bool = False
- parking_axis: bool = False
- traversing_fixed_stop: bool = False
- reserved8: bool = False
- reserved9: bool = False
- motor_switch: bool = False
- sign_of_life0: bool = False
- sign_of_life1: bool = False
- sign_of_life2: bool = False
- sign_of_life3: bool = False
- class edcon.profidrive.words.POS_STW1(record_table_selection0: bool = False, record_table_selection1: bool = False, record_table_selection2: bool = False, record_table_selection3: bool = False, record_table_selection4: bool = False, record_table_selection5: bool = False, record_table_selection6: bool = False, reserved1: bool = False, absolute_position: bool = False, positioning_direction0: bool = False, positioning_direction1: bool = False, reserved2: bool = False, continuous_update: bool = False, reserved3: bool = False, activate_setup: bool = False, activate_mdi: bool = False)
Bases:
BitwiseWordImplementation of POS_STW1
- record_table_selection0: bool = False
- record_table_selection1: bool = False
- record_table_selection2: bool = False
- record_table_selection3: bool = False
- record_table_selection4: bool = False
- record_table_selection5: bool = False
- record_table_selection6: bool = False
- reserved1: bool = False
- absolute_position: bool = False
- positioning_direction0: bool = False
- positioning_direction1: bool = False
- reserved2: bool = False
- continuous_update: bool = False
- reserved3: bool = False
- activate_setup: bool = False
- activate_mdi: bool = False
- class edcon.profidrive.words.POS_STW2(activate_tracking_mode: bool = False, set_reference_point: bool = False, reserved1: bool = False, reserved2: bool = False, reserved3: bool = False, incremental_jogging: bool = False, reserved4: bool = False, reserved5: bool = False, reserved6: bool = False, reserved7: bool = False, measuring_probe2_is_activated: bool = False, falling_edge_of_measuring_probe: bool = False, reserved8: bool = False, reserved9: bool = False, activate_software_limit_switch: bool = False, activate_hardware_limit_switch: bool = False)
Bases:
BitwiseWordImplementation of POS_STW1
- activate_tracking_mode: bool = False
- set_reference_point: bool = False
- reserved1: bool = False
- reserved2: bool = False
- reserved3: bool = False
- incremental_jogging: bool = False
- reserved4: bool = False
- reserved5: bool = False
- reserved6: bool = False
- reserved7: bool = False
- measuring_probe2_is_activated: bool = False
- falling_edge_of_measuring_probe: bool = False
- reserved8: bool = False
- reserved9: bool = False
- activate_software_limit_switch: bool = False
- activate_hardware_limit_switch: bool = False
- class edcon.profidrive.words.ZSW1_SM(ready_to_switch_on: bool = False, ready_to_operate: bool = False, operation_enabled: bool = False, fault_present: bool = False, coast_stop_not_activated: bool = False, quick_stop_not_activated: bool = False, switching_on_inhibited: bool = False, warning_present: bool = False, speed_error_within_tolerance_range: bool = False, control_requested: bool = False, f_or_n_reached_or_exceeded: bool = False, im_or_p_not_reached: bool = False, holding_break_released: bool = False, motor_temp_warning_inactive: bool = False, positive_direction_rotation: bool = False, ps_temp_warning_inactive: bool = False)
Bases:
BitwiseWordImplementation of ZSW1 in velocity mode
- ready_to_switch_on: bool = False
- ready_to_operate: bool = False
- operation_enabled: bool = False
- fault_present: bool = False
- coast_stop_not_activated: bool = False
- quick_stop_not_activated: bool = False
- switching_on_inhibited: bool = False
- warning_present: bool = False
- speed_error_within_tolerance_range: bool = False
- control_requested: bool = False
- f_or_n_reached_or_exceeded: bool = False
- im_or_p_not_reached: bool = False
- holding_break_released: bool = False
- motor_temp_warning_inactive: bool = False
- positive_direction_rotation: bool = False
- ps_temp_warning_inactive: bool = False
- class edcon.profidrive.words.ZSW1_PM(ready_to_switch_on: bool = False, ready_to_operate: bool = False, operation_enabled: bool = False, fault_present: bool = False, coast_stop_not_activated: bool = False, quick_stop_not_activated: bool = False, switching_on_inhibited: bool = False, warning_present: bool = False, following_error_within_tolerance_range: bool = False, control_requested: bool = False, target_position_reached: bool = False, home_position_set: bool = False, traversing_task_ack: bool = False, drive_stopped: bool = False, axis_accelerates: bool = False, axis_decelerates: bool = False)
Bases:
BitwiseWordImplementation of ZSW1 in position mode
- ready_to_switch_on: bool = False
- ready_to_operate: bool = False
- operation_enabled: bool = False
- fault_present: bool = False
- coast_stop_not_activated: bool = False
- quick_stop_not_activated: bool = False
- switching_on_inhibited: bool = False
- warning_present: bool = False
- following_error_within_tolerance_range: bool = False
- control_requested: bool = False
- target_position_reached: bool = False
- home_position_set: bool = False
- traversing_task_ack: bool = False
- drive_stopped: bool = False
- axis_accelerates: bool = False
- axis_decelerates: bool = False
- class edcon.profidrive.words.AKTSATZ(aktsatz_bit0: bool = False, aktsatz_bit1: bool = False, aktsatz_bit2: bool = False, aktsatz_bit3: bool = False, aktsatz_bit4: bool = False, aktsatz_bit5: bool = False, aktsatz_bit6: bool = False, reserved1: bool = False, reserved2: bool = False, reserved3: bool = False, reserved4: bool = False, reserved5: bool = False, reserved6: bool = False, reserved7: bool = False, reserved8: bool = False, mdi_active: bool = False)
Bases:
BitwiseWordImplementation of AKTSATZ
- aktsatz_bit0: bool = False
- aktsatz_bit1: bool = False
- aktsatz_bit2: bool = False
- aktsatz_bit3: bool = False
- aktsatz_bit4: bool = False
- aktsatz_bit5: bool = False
- aktsatz_bit6: bool = False
- reserved1: bool = False
- reserved2: bool = False
- reserved3: bool = False
- reserved4: bool = False
- reserved5: bool = False
- reserved6: bool = False
- reserved7: bool = False
- reserved8: bool = False
- mdi_active: bool = False
- class edcon.profidrive.words.ZSW2(reserved1: bool = False, reserved2: bool = False, reserved3: bool = False, reserved4: bool = False, reserved5: bool = False, reserved6: bool = False, reserved7: bool = False, axis_parking: bool = False, fixed_stop: bool = False, reserved8: bool = False, reserved9: bool = False, pulses_enabled: bool = False, sign_of_life0: bool = False, sign_of_life1: bool = False, sign_of_life2: bool = False, sign_of_life3: bool = False)
Bases:
BitwiseWordImplementation of ZSW2
- reserved1: bool = False
- reserved2: bool = False
- reserved3: bool = False
- reserved4: bool = False
- reserved5: bool = False
- reserved6: bool = False
- reserved7: bool = False
- axis_parking: bool = False
- fixed_stop: bool = False
- reserved8: bool = False
- reserved9: bool = False
- pulses_enabled: bool = False
- sign_of_life0: bool = False
- sign_of_life1: bool = False
- sign_of_life2: bool = False
- sign_of_life3: bool = False
- class edcon.profidrive.words.POS_ZSW1(record_table_selection0: bool = False, record_table_selection1: bool = False, record_table_selection2: bool = False, record_table_selection3: bool = False, record_table_selection4: bool = False, record_table_selection5: bool = False, record_table_selection6: bool = False, reserved1: bool = False, negative_hardware_limit_switch_active: bool = False, positive_hardware_limit_switch_active: bool = False, jogging_active: bool = False, homing_active: bool = False, reserved2: bool = False, record_mode_active: bool = False, setup_active: bool = False, mdi_active: bool = False)
Bases:
BitwiseWordImplementation of POS_ZSW1
- record_table_selection0: bool = False
- record_table_selection1: bool = False
- record_table_selection2: bool = False
- record_table_selection3: bool = False
- record_table_selection4: bool = False
- record_table_selection5: bool = False
- record_table_selection6: bool = False
- reserved1: bool = False
- negative_hardware_limit_switch_active: bool = False
- positive_hardware_limit_switch_active: bool = False
- jogging_active: bool = False
- homing_active: bool = False
- reserved2: bool = False
- record_mode_active: bool = False
- setup_active: bool = False
- mdi_active: bool = False
- class edcon.profidrive.words.POS_ZSW2(tracking_mode_active: bool = False, velocity_limiting_active: bool = False, setpoint_available: bool = False, reserved1: bool = False, axis_moves_forward: bool = False, axis_moves_backward: bool = False, negative_software_limit_switch_active: bool = False, positive_software_limit_switch_active: bool = False, position_actual_value_lower_equal_cam_switch1: bool = False, position_actual_value_lower_equal_cam_switch2: bool = False, direct_output1_via_traversing_block: bool = False, direct_output2_via_traversing_block: bool = False, fixed_stop_reached: bool = False, fixed_stop_clamping_torque_reached: bool = False, travel_to_fixed_stop_active: bool = False, traversing_command_active: bool = False)
Bases:
BitwiseWordImplementation of POS_ZSW2
- tracking_mode_active: bool = False
- velocity_limiting_active: bool = False
- setpoint_available: bool = False
- reserved1: bool = False
- axis_moves_forward: bool = False
- axis_moves_backward: bool = False
- negative_software_limit_switch_active: bool = False
- positive_software_limit_switch_active: bool = False
- position_actual_value_lower_equal_cam_switch1: bool = False
- position_actual_value_lower_equal_cam_switch2: bool = False
- direct_output1_via_traversing_block: bool = False
- direct_output2_via_traversing_block: bool = False
- fixed_stop_reached: bool = False
- fixed_stop_clamping_torque_reached: bool = False
- travel_to_fixed_stop_active: bool = False
- traversing_command_active: bool = False
- class edcon.profidrive.words.MELDW(ramp_function_completed: bool = False, torque_utilization_lower_threshold: bool = False, rpm_lower_threshold: bool = False, rpm_equal_threshold: bool = False, reserved1: bool = False, variable_signal_function: bool = False, motor_temp_warning_inactive: bool = False, ps_temp_warning_inactive: bool = False, speed_setpoint_deviation_in_tolerance: bool = False, reserved2: bool = False, reserved3: bool = False, controller_enabled: bool = False, drive_ready: bool = False, pulses_enabled: bool = False, reserved4: bool = False, reserved5: bool = False)
Bases:
BitwiseWordImplementation of MELDW
- ramp_function_completed: bool = False
- torque_utilization_lower_threshold: bool = False
- rpm_lower_threshold: bool = False
- rpm_equal_threshold: bool = False
- reserved1: bool = False
- variable_signal_function: bool = False
- motor_temp_warning_inactive: bool = False
- ps_temp_warning_inactive: bool = False
- speed_setpoint_deviation_in_tolerance: bool = False
- reserved2: bool = False
- reserved3: bool = False
- controller_enabled: bool = False
- drive_ready: bool = False
- pulses_enabled: bool = False
- reserved4: bool = False
- reserved5: bool = False
- class edcon.profidrive.words.G1_STW(function0: bool = False, function1: bool = False, function2: bool = False, function3: bool = False, command0: bool = False, command1: bool = False, command2: bool = False, mode: bool = False, reserved1: bool = False, reserved2: bool = False, reserved3: bool = False, home_pos_mode: bool = False, request_set_shift_home_pos: bool = False, request_abs_val_cyc: bool = False, activate_park_sens: bool = False, acknowledge_sens_err: bool = False)
Bases:
BitwiseWordImplementation of G1_STW
- function0: bool = False
- function1: bool = False
- function2: bool = False
- function3: bool = False
- command0: bool = False
- command1: bool = False
- command2: bool = False
- mode: bool = False
- reserved1: bool = False
- reserved2: bool = False
- reserved3: bool = False
- home_pos_mode: bool = False
- request_set_shift_home_pos: bool = False
- request_abs_val_cyc: bool = False
- activate_park_sens: bool = False
- acknowledge_sens_err: bool = False
- class edcon.profidrive.words.G1_ZSW(function_status0: bool = False, function_status1: bool = False, function_status2: bool = False, function_status3: bool = False, value_status0: bool = False, value_status1: bool = False, value_status2: bool = False, value_status3: bool = False, probe1_deflected: bool = False, probe2_deflected: bool = False, reserved1: bool = False, error_acknowledge: bool = False, set_shift_home_pos_executed: bool = False, transmit_abs_value_cyc: bool = False, park_sens_active: bool = False, sens_error: bool = False)
Bases:
BitwiseWordImplementation of G1_ZSW
- function_status0: bool = False
- function_status1: bool = False
- function_status2: bool = False
- function_status3: bool = False
- value_status0: bool = False
- value_status1: bool = False
- value_status2: bool = False
- value_status3: bool = False
- probe1_deflected: bool = False
- probe2_deflected: bool = False
- reserved1: bool = False
- error_acknowledge: bool = False
- set_shift_home_pos_executed: bool = False
- transmit_abs_value_cyc: bool = False
- park_sens_active: bool = False
- sens_error: bool = False
- class edcon.profidrive.words.MDI_MOD(absolute_position: bool = False, modulo_direction_positive: bool = False, modulo_direction_negative: bool = False, reserved1: bool = False, reserved2: bool = False, reserved3: bool = False, reserved4: bool = False, reserved5: bool = False, reserved6: bool = False, reserved7: bool = False, reserved8: bool = False, reserved9: bool = False, reserved10: bool = False, reserved11: bool = False, reserved12: bool = False, reserved13: bool = False)
Bases:
BitwiseWordImplementation of MDI_MOD
- absolute_position: bool = False
- modulo_direction_positive: bool = False
- modulo_direction_negative: bool = False
- reserved1: bool = False
- reserved2: bool = False
- reserved3: bool = False
- reserved4: bool = False
- reserved5: bool = False
- reserved6: bool = False
- reserved7: bool = False
- reserved8: bool = False
- reserved9: bool = False
- reserved10: bool = False
- reserved11: bool = False
- reserved12: bool = False
- reserved13: bool = False
- class edcon.profidrive.words.IntWord(value: int = 0, byte_size: int = 2)
Bases:
objectThis is the base class for any word that is considered a (16 bit) integer value
- value: int = 0
- byte_size: int = 2
- to_bytes() bytes
Returns the bytes representation
- classmethod from_bytes(data: bytes)
Initializes a int word value from a byte representation
- classmethod from_int(value: int)
Initializes a int word value from an integer
- class edcon.profidrive.words.NSOLL_A(value: int = 0, byte_size: int = 2)
Bases:
IntWordImplementation of NSOLL_A setpoint speed word
- class edcon.profidrive.words.NIST_A(value: int = 0, byte_size: int = 2)
Bases:
IntWordImplementation of NIST_A current speed word
- class edcon.profidrive.words.MOMRED(value: int = 0, byte_size: int = 2)
Bases:
IntWordImplementation of MOMRED current speed word
- class edcon.profidrive.words.OVERRIDE(value: int = 0, byte_size: int = 2)
Bases:
IntWordImplementation of OVERRIDE word
- class edcon.profidrive.words.MDI_ACC(value: int = 0, byte_size: int = 2)
Bases:
IntWordImplementation of MDI_ACC word
- class edcon.profidrive.words.MDI_DEC(value: int = 0, byte_size: int = 2)
Bases:
IntWordImplementation of MDI_DEC word
- class edcon.profidrive.words.FAULT_CODE(value: int = 0, byte_size: int = 2)
Bases:
IntWordImplementation of FAULT_CODE word
- class edcon.profidrive.words.WARN_CODE(value: int = 0, byte_size: int = 2)
Bases:
IntWordImplementation of WARN_CODE word
- class edcon.profidrive.words.IntDoubleWord(value: int = 0, byte_size: int = 4)
Bases:
objectThis is the base class for any word that is considered a (32 bit) integer value
- value: int = 0
- byte_size: int = 4
- to_bytes() bytes
Returns the bytes representation
- classmethod from_bytes(data: bytes)
Initializes a int double word value from a byte representation
- classmethod from_int(value: int)
Initializes a int double word value from an integer
- class edcon.profidrive.words.NSOLL_B(value: int = 0, byte_size: int = 4)
Bases:
IntDoubleWordImplementation of NSOLL_B word
- class edcon.profidrive.words.NIST_B(value: int = 0, byte_size: int = 4)
Bases:
IntDoubleWordImplementation of NIST_B word
- class edcon.profidrive.words.MDI_TARPOS(value: int = 0, byte_size: int = 4)
Bases:
IntDoubleWordImplementation of MDI_TARPOS word
- class edcon.profidrive.words.MDI_VELOCITY(value: int = 0, byte_size: int = 4)
Bases:
IntDoubleWordImplementation of MDI_VELOCITY word
- class edcon.profidrive.words.XIST_A(value: int = 0, byte_size: int = 4)
Bases:
IntDoubleWordImplementation of XIST_A word
- class edcon.profidrive.words.G1_XIST1(value: int = 0, byte_size: int = 4)
Bases:
IntDoubleWordImplementation of G1_XIST1 word
- class edcon.profidrive.words.G1_XIST2(value: int = 0, byte_size: int = 4)
Bases:
IntDoubleWordImplementation of G1_XIST2 word