Impulse PCW-5181 Reading and Writing Parameter Data, Byte Receive Time Out, Read Queries

Page 100

Appendix B - Impulse Advanced Programming

Byte Receive Time Out

Since there is no end of transmission frame deliminator, the Impulse assumes if no bytes are received for 60 ms, the transmission is complete. The receive time out is reset on every byte received therefore, the host system must insure that the latency between transmitted bytes is less than 60 ms.

Receive Buffer Overrun

The Impulse receive buffer is 25 bytes however, there are no valid transmission frames of this length.

Reading and Writing Parameter Data

The Impulse does not support continuous data streaming due to its condensed receive buffer. Therefore, the host system must wait for a drive response before sending additional read or write transmission frames.

Read Queries

The following example illustrates a read request of parameter index #113 (Commanded Position) from unit #2. Bytes are shown in hexadecimal format.

02 F1 F3 00

Checksum Upper Byte

Checksum Lower Byte (Address + Index)

Read Parameter Index (113 + 128)

Unit Address #2

After sending the read request, the host system would need to wait for the drive to respond before sending another read query or write request. The drive responds to a read with unit address, parameter index, data and checksum. Assuming the commanded position is 25000 steps, the response would be as follows:

02 71 A8 61 00 00 7C 01

Checksum Upper Byte

Checksum Lower Byte (Address + Index)

Cmd Position Upper Byte, Upper Word

Cmd Position Lower Byte, Upper Word

Cmd Position Upper Byte, Lower Word

Cmd Position Lower Byte, Lower Word

Parameter Index 113

Unit Address #2

Since Commanded Position is a 32-bit value, the data field in the transmission frame is 4 bytes (2 words).

B-2

Image 100
Contents Industrial Devices Corporation PCW-5181Page Revision History VersionPage Table of Contents END of Manual Feature Function Impulse OverviewThis page intentionally left blank Shipping Contents This page intentionally left blank Connecting and Installing Your Impulse Typical Impulse ApplicationsRead This Page Before Your Begin Connecting an IDC Motor Connecting a Motor to the ImpulseConnecting a Non-IDC Motor Making RS-232/RS-485 Connections Serial Communication ConnectionsSS-RS232 Daisy-Chaining Impulse Drives Multi-Dropping with RS-485Rules for Daisy Chain Operation PC/Host RS-232C DeviceTroubleshooting RS-232C Communication Problems Jumpers Pin DConnecting an IDC Keypad Using a Keypad with Impulse RS232CUsing a Keypad with Impulse RS485 FP100 KeypadLED Diagnostic Indications Connecting AC PowerDiagnostic LED Indications LED Signal Connecting Inputs and Outputs Application NotesMounting the Impulse Drive Environmental and Installation RequirementsMounting Arrangements Impulse with DIN-rail Mounting Bracket P/N PCS-5111 Impulse DimensionsImpulse with Screw-type Mounting Bracket P/N PCS-5110 Installation of Bracket DIN Rail Bracket Shown InstallationInserting and Removing Mounting Brackets from the Impulse RemovalImpulse DIN-Rail Mounting Mounting the Impulse on the DIN-RailRemoval of Impulse from the DIN-Rail MountingThis page intentionally left blank Configuring Impulse with Application Developer Installing Application Developer on Windows 95/98/2000/ME/NTUsing Application Developer Upload Project Launch Now Open an Existing ProjectUsing the Project Wizard Select Motor Only Configuring Impulse with Application Developer Configuring Impulse with Application Developer Configuring Impulse with Application Developer Axis Setup Fine-Tuning Your ApplicationToolbar Buttons Motor See Appendix C to Edit a MotorMechanics Command Signal Configuration CommandJog Input Configuration Numeric Precision Smoothness Xtreme Smoothing Adjusting X-Smoothness #1, #2, #3Smoothness #1 Smoothness #2 Smoothness #3Advanced Advanced Tuning Current Reduction ModeAnti-Resonance ProfilingDescriptions Input Descriptions SetupStall Detection Inactive Output Descriptions Stored Move Setup Editing Stored Moves Configuring Impulse with Application Developer File Menu Setup MenuEdit Menu Communications Menu Run Menu View Menu Updating Your Impulse Operating System This page intentionally left blank Keypad Features Configuring Impulse with an IDC KeypadIntroduction to the FP100 Impulse Keypad Keypad Hardware Features Adjusting ContrastDIP Switch Settings Remote-Mounting the KeypadFunctions of the FP100 Keypad Keys Keys F1-F2-F3RUN Menu Keys KeysKeypad Menu Structure Menu OptionsFP100 Main Menu and Sub-Menus JOG F3Apply Power to the Keypad General Rules for Using the KeypadRUN Using the RUN Menus Edit Using the Edit Menus File Menu File OptionsOpening a Project File Saving a Project FileUsing the Setup Sub-Menus for Configuring Your System Sub-Menu Setup Parameter Description of Setup ParameterRenaming an Open Project File Requires Open FileHelp Using the Help Menu DEL Using the DEL Delete menu Copy Using the Copy MenuTo Delete a Project File Parameter Being Configured example Motor Type −−−↑ Motor Type ↓−−− NoneConfiguring Impulse with the Keypad Using the Edit Setup Menus to Configure the ImpulseConfiguring Motor Type Open a FileConfiguring Shutdown Polarity Configuring Motor DirectionTo Probe the Motor Configuring Drive Resolution Configuring Stop RateConfiguring Jog Parameters Drive Resolution 25000Configuring Mechanical Units User Units Configuring Units Gear RatioUser Units Units Gear Ratio Numerator↑ X-Sm1 L1 Value ↓ ↑ X-Sm1 L2 Value ↓ Sm1 Test Speed RPS Motor Tuning Setup X-SmoothnessL2 ← Configuring Anti-Resonance Gain Configuring Profiling Parameters Configuring Stop Mode Current-Reduction Timeout I-STOPConfiguring Idle Mode Current Reduction Parameters Configuring Encoderless Stall-Detection OlsdIdle Mode Tmeout Off Idle Mode %Redct Stall DetectionSetup Configuring Inputs←↑ Input #1 ↓→ Configuring Input/Output Polarities Configuring Outputs↑ Output #1 ↓ Stored-Move Profiles Move Menus Using Stored MovesStored Moves Configuring Stored-Move Profiles Configuring Scan TimeMove Selection Input Scan Time Move Sel Scan Time 0 msVery Important! Send the File to the Drive Unit NumberImpulse Specifications Hardware ReferenceExtending the Cable Length to Your Keypad Remote Mounting Your KeypadEnd View of Wall-Mounted Keypad with Cover Removed Keypad Mounting *Template Keypad Mounting TemplateDigital Inputs Impulse I/O SchematicsDigital Output Fault Output Single-Ended InstallationDifferential Installation Step, Direction, and Shutdown InputsRPS-1 SS-RS232 Accessory P/N & DescriptionPCS-5004 DB25BO Screw Terminal Breakout Board Pin Connector on Impulse DriveSS-IO/SS-IO-6 Cables Impulse-Applicable IDC Motors S12 Hybrid Step MotorElectrical Specs S12T Mechanical Specs S12TS21, S22, S23 Hybrid Step Motor Specifications IDC Motor WiringElectrical Specs S21T S21V S22T S22V S23T S23V S22T S22V S23TElectrical Specs S32T S33T S32, S33 Hybrid Step Motor SpecificationsS32T S33T Electrical Specs P21V P22V P21, 22 Hybrid Step Motor SpecificationsP21V P22V 31, 32, 33Step Motor Specifications IDC Motor WiringThis page intentionally left blank Troubleshooting Table Troubleshooting the ImpulseSymptom Possible Causes Possible Remedies Troubleshooting Your Impulse Limits Tables This page intentionally left blank Product Support Warranty & Repairs Appendix a Recommended Wiring Practices for IDC Controls Preventing a Ground LoopAppendix a Recommended Wiring Practices Appendix B Impulse Advanced Programming Communications ProtocolReading and Writing Parameter Data Byte Receive Time OutReceive Buffer Overrun Read QueriesWrite Requests Interpreting the Transmission Status Response01 71 00 00 00 00 72 01 00 00 00 01User Accessible Parameters Serial Jog Velocity RAM OnlyJog Acceleration Rate Description Determines the acceleration rate value in RPS2Parameters 28hFormulas Serial Port Stored Move Selection RAM Only FormulaCommanded Velocity RAM Only Stored Drive Faults Reserved Eeprom Parameter Commanded Position Counter RAM OnlyFormulas N/A Index Formulas N/A Index Parameter DescriptionEeprom Enable Switch System Status RAM Only Description Determines the operational status of the driveDefaults Unit AddressParameters FormulasSoftware Shutdown RAM Only Parameter FormulaAppendix C Using Non-IDC Motors with the Impulse Motor WiringCustom or User-Defined Motors Smoothness L1 and L2 Test Speeds 1, 2Dynamic Smoothing Anti -Resonance Faults IndexIndex Do Not Print This Inserted as Placeholder Industrial Devices Corporation Mail info@idcmotion.com