background image

APPENDIX B:  KISTLER-MORSE

®

 PROTOCOL SERIAL COMMANDS

Response

The response to a request for gross engineering units is:
A(-)dddddddssr

If the weight is +6384, the response is:
A+0006384ssr

Calculating the checksum ‘ss’ as the sum of the Hex values of all characters between ‘A’ and 
‘ss’:

+0006384 ASCII = 2B Hex+30 Hex+30 Hex+30 Hex+36 Hex+33 Hex+38 Hex+34 Hex = 190 Hex

 

                            ‘+’         ‘0’         ‘0’         ‘0’         ‘6’         ‘3’         ‘8’         ‘4’

Ignoring the overflow, the checksum is 90 Hex. Therefore, the ASCII string transmitted back to 

the master is:

A    +    0    0    0    6    3    8    4    9    0    CR

 

41  2B  30  30  30  36   33  38  34   39  30    0D    Hex

EXAMPLES

For each command below, the general format of the command is shown above the example.

‘#’ Command — Kistler-Morse

®

 Product Identification Number

This command is sent by the master to request the STXplus to send its Kistler-Morse

®

 product 

identification code (code is 36 for the STXplus).  For this example, the master requests the code 

from an STXplus at address 01, which returns a code of 36 and a checksum of 69.

Request from Master 

 

 

Response from STXplus

>aa#ssr 

 

 

 

 

Addssr 

Format 

>01#84r 

 

 

 

 

A3669r 

Example

‘u1’ Command — Request Raw Counts

This command is sent by the master to request the STXplus to send the raw A/D counts.  The 
range of this value can be ±8,388,607.  For this example, the master requests the raw counts 
from an STXplus at address 01, which returns a raw count of 1147226 and a checksum of 67.

Request from Master 

Response from STXplus

>aau1ssr 

 

 

 

 

A(-)dddddddssr 

Format 

>01u107r 

 

 

 

 

A114722667r  

Example 

‘u2’ Command — Request Filtered Counts

This command is sent by the master to request the STXplus to send the filtered A/D counts.  The 

range of this value can be ±8,388,607.  For this example, the master requests the raw counts 
from an STXplus at address 01, which returns a raw count of -17226 and a checksum of 2F.

B-5

Содержание STXplus

Страница 1: ...he equipment STXplus Signal Transmitter Installation and Operation Manual 97 1180 01 Revision G Jan 2012 O Or rd de er r f fr ro om m C C A A B Br ri ig gg gs s C Co om mp pa an ny y 622 Mary Street S...

Страница 2: ...les from the signal processor 2 Ground the welder as close to the welding joint as possible The welding ground must be between the sensor transducer and the weld joint to prevent the welding current f...

Страница 3: ...the Modbus or Serial Port Address 2 3 Changing from Half Bridge 3 Wire to Full Bridge 4 Wire 2 3 Enabling Remote Sense 2 3 Enabling Remote Loop Voltage for the 0 20mA 4 20mA 2 3 Enabling the Modbus 5...

Страница 4: ...Rate 3 7 Channel Enable 3 7 Tare 3 8 APPENDIX A PRODUCT SPECIFICATIONS A 1 APPENDIX B KISTLER MORSE PROTOCOL SERIAL COMMANDS B 1 Introduction B 1 Command Table B 1 Checksum Calculation B 4 Examples B...

Страница 5: ...n analog signal from either half bridge sensors transducers Load Cell Microcell Load Stand II and Load Disc II or from full bridge sensors transducers The analog engine is calibrated using the calibra...

Страница 6: ...o not mount the STXplus near high power equipment contactors SCR drives 440V lines etc Refer to Appendix A for environmental specifications before mounting Stand Alone STXplus with Customer Supplied P...

Страница 7: ...nnected to the protective earth PE terminal See Appendix D Page D 8 for Installation Instructions for AC Line Varistors Refer to the instructions below and Appendix D DC STXplus operates on 12 30VDC p...

Страница 8: ...ches to set the port Changing from Half Bridge 3 Wire to Full Bridge 4 Wire Half bridge will have 12V excitation and full bridge will have 10V excitation automatically Enabling Remote Sense The remote...

Страница 9: ...tor is used where there is a long cable run causing a loss of communications The end of line resistor is used on the last device in the serial chain Changing from RS 422 to RS 485 SW5 changes the Seri...

Страница 10: ...seconds the STXplus exits the programming mode Trim the 0mA Current Output 1 Press the DOWN or UP buttons until the PARAM LEDs look like Press the ENTER button 2 Press the UP button to adjust the 0mA...

Страница 11: ...rocedure sets up the input voltage range for all 4 channels simultaneously Setting Range 1 Press the DOWN or UP buttons until the PARAM LEDs look like Press the ENTER button 2 Press the UP or DOWN but...

Страница 12: ...Accuracy Calibration If a monitoring device is not being used connect the ammeter positive lead to the positive terminal of the current loop Connect the negative lead to the negative terminal of the c...

Страница 13: ...own Quantity of Material NOTE If you do not press a button within 15 seconds the STXplus exits the programming mode Once step 3 has been completed above the HI Span value will be restored Calibration...

Страница 14: ...DOWN buttons until the appropriate current output is achieved Press the ENTER button 3 Add a known quantity of material to the vessel 4 Press the DOWN or UP buttons until the PARAM LEDs look like Pre...

Страница 15: ...net The default is gross weight Current Output Fail safe If the STXplus detects a problem one of three fail safe Fsafe conditions can be applied to the analog current output 1 0mA or 4mA 2 20mA 3 No c...

Страница 16: ...t output as well as the serial output The DSP when in analog mode will use a default factor of 80 and a quality of 3 DSP Enable DSP Enable turns the DSP Filter on and off The default state is on DSP S...

Страница 17: ...the STXplus current output is in net mode the current output will correspond to the change in weight since the last time the vessel was tared rather than the total weight of material in the vessel 2 W...

Страница 18: ...CHAPTER 3 STAND ALONE ANALOG CALIBRATION AND SET UP Table 3 2 3 9...

Страница 19: ...remote marque display or slave communications via Kistler Morse protocol Port 2 RS 485 Baud Rate 9600 19 2K 38 4K 115 2K Modbus RTU protocol ANALOG OUTPUT Format 0 20mA 4 20mA 20 0mA or 20 4mA Resolut...

Страница 20: ...ocol syntax used for serial communications between the host or master PC etc and the STXplus Detailed explanations and examples of the commands are included If any parameter or set of parameters that...

Страница 21: ...APPENDIX B KISTLER MORSE PROTOCOL SERIAL COMMANDS B 2...

Страница 22: ...APPENDIX B KISTLER MORSE PROTOCOL SERIAL COMMANDS B 3...

Страница 23: ...character A and the checksum character ss Overflows from the addition are ignored Request To request gross engineering units such as weight from an STXplus the command is aaWssr If the STXplus s addre...

Страница 24: ...oduct identification code code is 36 for the STXplus For this example the master requests the code from an STXplus at address 01 which returns a code of 36 and a checksum of 69 Request from Master Res...

Страница 25: ...Xplus at address 01 which returns a net weight of 4466 and a checksum of 2F assuming tht the format selected was 2 X Request from Master Response from STXplus aaBssr A ffffffssr Format 01BA3r A 4466 2...

Страница 26: ...format to 4 to an STXplus at address 01 Any of the 6 leading zeros may be omited Request from Master Response from STXplus aawa000000dssr Ar Format 01wa00000048Dr Ar Example A Command Read Current Out...

Страница 27: ...ful but there was a less than desirable difference between the HI Span and LO Span values or 2 for successful but the HI Span value was less than the LO Span value For this example the master sends th...

Страница 28: ...sr Addssr Format 01V0E7r A0161r Example G0 Command Read Vessel Name This command is sent by the master to request the STXplus to send its vessel name The maximum number of characters for a vessel name...

Страница 29: ...of 1 0 20mA and a checksum of 51 Request from Master Response from STXplus aan2ssr A000000dssr Format 01n200r A000000151r Example m2 Command Write Output Current Range This command is sent by the mas...

Страница 30: ...esponse from STXplus aaR2ssr A fffffffssr Format 01R2E5r A92347 56Cr Example w2 Command Write Digital Delta Scale Factor Weight This command is sent by the master to set the delta weight calibration v...

Страница 31: ...us which would only be in effect when in digital mode This would force a re calibration of the digital zero counts value based on the A D counts currently being read applied to the zero weight value t...

Страница 32: ...uests the digital high span weight for an STXplus at address 01 assuming a format of 3 X X which returns 347 5 engineering units and a checksum of 01 Request from Master Response from STXplus aaR6ssr...

Страница 33: ...ital Low Span Weight This command is sent by the master to request the STXplus to send the low span weight calibration value which would only be in effect when in digital mode This would be the weight...

Страница 34: ...in digital mode refer to commands n1 m1 for analog digital mode required in order for the current output to change over the entire range that the current output is set to refer to commands n2 m2 for c...

Страница 35: ...Xplus aawC fffffffssr Ar Format 01wC14865 51r Ar Example RD Command Read Tare Weight This command is sent by the master to request the STXplus to send the tare weight value This value would be the dif...

Страница 36: ...e 0 for DSP Filter disabled or 1 for DSP Filter enabled Thedefault value is 1 enabled For this example the master requests the DSP Filter enable state for an STXplus at address 01 which returns 1 enab...

Страница 37: ...r an STXplus at address 01 assuming a format of 2 X which returns 1896 and a checksum of 06 Request from Master Response from STXplus aaRYssr Affffffffssr Format 01RY0Cr A1896 06r Example wY Command W...

Страница 38: ...f an STXplus The trim value is used to calibrate the current output engine at the 20mA point The range of acceptable values is 0 65535 For this example the master sets the 20mA trim value for an STXpl...

Страница 39: ...nd is sent by the master to request the STXplus to send the current output high weight calibration value This would be the maximum A D counts if operating in analog mode or the maximum weight units if...

Страница 40: ...fssr Format 01RAF4r A347 501r Example wA Command Write Current Output Low Weight This command is sent by the master to set the current output low weight calibration value of an STXplus This would be t...

Страница 41: ...not enabled and a checksum of 50 Request from Master Response from STXplus aatIssr A000000dssr Format 01tI1Er A000000050r Example bI Command Write Current Output Test Mode This command is sent by the...

Страница 42: ...dddssr Format 01tJ1Cr A000784366r Example bJ Command Write Current Output Value in Counts This command is sent by the master to set the current output value of an STXplus This can only be done if the...

Страница 43: ...a checksum of 51 Request from Master Response from STXplus aaG8nssr A000000dssr Format 01G8212r A000000151r Example P8 Command Write Setpoint Fail safe Mode This command is sent by the master to set...

Страница 44: ...and a checksum of 50 Request from Master Response from STXplus aaG7nssr A000000dssr Format 01G7211r A000000050r Example P7 Command Write Setpoint Tracking Mode This command is sent by the master to s...

Страница 45: ...ddress 01 which returns 0 test mode disabled and a checksum of 50 Request from Master Response from STXplus aaGTnssr A000000dssr Format 01GB21Cr A000000050r Example PB Command Write Setpoint Test Mode...

Страница 46: ...lus aaGSnssr A ffffffffssr Format 01GS12Cr A347 5132r Example PS Command Write Raw In Linearization Value This command is sent by the master to set the raw in linearization value of an STXplus Accepta...

Страница 47: ...r A000000050r Example m3 Command Write Linearization Enable This command is sent by the master to set the linearization enable status of an STXplus The range of acceptable values is 0 1 where 0 is dis...

Страница 48: ...L3 Command Write AB RIO Address This command is sent by the master to set the AB RIO address of an STXplus The range of acceptable values is 0 255 For this example the master sets AB RIO address for a...

Страница 49: ...000dssr Ar Format 01L5113r Ar Example K6 Command Read AB RIO Last Rack This command is sent by the master to request the STXplus to send the AB RIO last rack The range of acceptable values is 0 1 wher...

Страница 50: ...STXplus aaK1ssr A000000dssr Format 01K8E4r A000000050r Example K9 Command Read DeviceNet Address This command is sent by the master to request the STXplus to send the DeviceNet address The range of a...

Страница 51: ...at 01KBEEr A1234CAr Example KC Command Read ProfiBus PCB Present This command is sent by the master to request the STXplus to send confirmation that the ProfiBus PCB has been detected The range of acc...

Страница 52: ...monitor state for an STXplus at address 01 to 1 On which returns a checksum of 32 Request from Master Response from STXplus aawWnssr Ar Format 01wW60r Ar Example e1 Command Read Serial Port 1 Baud Rat...

Страница 53: ...d ModBus Port Baud Rate This command is sent by the master to request the STXplus to send the ModBus port baud rate The range of acceptable values is 0 3 where 0 for 9600K 1 for 19 2K 2 for 38 4K or 3...

Страница 54: ...eserved for exception responses When a message is sent the function code field tells what kind of action to perform Function code 0 is not valid Sub function codes are added to some function codes to...

Страница 55: ...er all the bytes of the message have been applied is the CRC value When the CRC is appended to the message the low order byte is appended first followed by the high order byte Modbus PDU for serial li...

Страница 56: ...Quantity of Registers 2 Bytes 1 to 125 0x7D Response Function code 1 Byte 0x03 Byte count 1 Byte 2 x N Register value N x 2 Bytes N Quantity of Registers Error Error code 1 Byte 0x83 Exception code 1...

Страница 57: ...of the request returned after the coil state has been written Request Function code 1 Byte 0x05 Output Address 2 Bytes 0x0000 to 0xFFFF Output Value 2 Bytes 0x0000 or 0xFF00 Response Function code 1...

Страница 58: ...The exception response message has two fields that differentiate it from a normal response Function Code Field In a normal response the device echoes the function code of the original request in the...

Страница 59: ...DBUS PROTOCOL SERIAL COMMANDS COMMANDS Tare Request Used to force a tare on the vessel The response is an echo of the query after the Action state has been forced Data 0xFF00 will force a tare to be p...

Страница 60: ...the device IMPORTANT POINTS All register values that are numeric are either 1 byte 1 word or 1 double word integers For those values that are floating point values you must read the format register t...

Страница 61: ...APPENDIX C MODBUS PROTOCOL SERIAL COMMANDS Table C 1 Modbus Address Map C 8...

Страница 62: ...APPENDIX C MODBUS PROTOCOL SERIAL COMMANDS C 9 Table C 1 Modbus Address Map continued...

Страница 63: ...APPENDIX C MODBUS PROTOCOL SERIAL COMMANDS Table C 1 Modbus Address Map continued C 10...

Страница 64: ...APPENDIX C MODBUS PROTOCOL SERIAL COMMANDS C 11 Table C 1 Modbus Address Map continued...

Страница 65: ...APPENDIX C MODBUS PROTOCOL SERIAL COMMANDS Table C 1 Modbus Address Map continued C 12...

Страница 66: ...CAL DRAWINGS This appendix contains the following technical drawings for the STXplus signal processor DRAWING NUMBER TITLE TI SP STXP 01 Model STXplus Enclosure Boardset Installation Dimensions TI SP...

Страница 67: ...APPENDIX D TECHNICAL DRAWINGS D 2...

Страница 68: ...APPENDIX D TECHNICAL DRAWINGS D 3...

Страница 69: ...APPENDIX D TECHNICAL DRAWINGS D 4...

Страница 70: ...APPENDIX D TECHNICAL DRAWINGS D 5...

Страница 71: ...APPENDIX D TECHNICAL DRAWINGS D 6...

Страница 72: ...APPENDIX D TECHNICAL DRAWINGS D 7...

Страница 73: ...uctions For AC Line Varistors Shipped along with your STXplus you will find a small plastic bag with 3 Varistors These devices must be installed on the incoming AC line that feeds the AC DC power supp...

Страница 74: ...NOTES...

Страница 75: ...NOTES...

Страница 76: ...rg SC 29306 800 426 9010 Toll Free 864 574 2763 Phone 864 574 8063 Fax www kistlermorse com sales kistlermorse com O Or rd de er r f fr ro om m C C A A B Br ri ig gg gs s C Co om mp pa an ny y 622 Mar...

Отзывы: