Professional Documents
Culture Documents
Manufacturer: burster przisionsmetechnik gmbh & co kg Talstrae 1-5 P.O. Box 1432 76593 Gernsbach 76587 Gernsbach +49(0)7224-645-0
Note:
The following information may be amended without prior notice. No part of this document may be reproduced or processed using electronic system without prior consent in writing. burster provides no warranty of any kind respect to this material, including the implied warranty of merchantable quality and fitness for purpose. burster is not liable under any circumstances for errors, incidental damage or consequential loss sustained in connection with the function or use of this material.
BA_9310-Vxxx0-EN.doc
BA_9310-Vxxx0-EN.doc
DIGIFORCE 9310
External Interface Commands RS232 / 485 / Ethernet
BA_9310-Vxxx0-EN.doc
Table of Content
1 2
2.1 2.2
2.3 Communication protocol ......................................................................................................... 10 2.3.1 Establishing a connection.................................................................................................... 10 2.3.2 Selection with response ...................................................................................................... 11 2.3.3 Fast Selection...................................................................................................................... 11 2.3.4 Polling.................................................................................................................................. 12 2.3.5 Data transfer........................................................................................................................ 12 2.3.6 Terminating a connection .................................................................................................... 12 2.3.7 Command structure............................................................................................................. 13 2.3.7.1 Commands without parameters ................................................................................... 13 2.3.7.2 Commands with parameters ........................................................................................ 13 2.3.7.3 Strukture of an answer on a aaaa? command ............................................................. 13 2.3.8 Examples of the communication sequence......................................................................... 14 2.3.8.1 Communication Selection with response (sample).................................................... 14 2.3.8.2 Communication with Fast Selection (sample) ........................................................... 15 2.3.9 Qbasic sample..................................................................................................................... 16 2.3.9.1 Communication with Selection with response ........................................................... 16 2.3.9.2 Communication with Fast Selection .......................................................................... 18 2.3.10 Construction and fragmentation of Ethernet UDP frames.................................................. 20 2.4 General instructions................................................................................................................. 22 2.4.1 Interface watchdog timer ..................................................................................................... 22 2.4.1.1 Timer A (response timer) ............................................................................................. 22 2.4.1.2 Timer B (receive timer)................................................................................................. 22 2.4.2 Information about the command descriptions ..................................................................... 23
INTERFACE COMMANDS................................................................................. 24
3.1 Comman Comands ................................................................................................................... 24 3.1.1 Default Calibration ............................................................................................................... 24 3.1.1.1 LGRK Load default calibration ..................................................................................... 24 3.1.2 Informationen for PC-software DIGICONTROL .................................................................. 25 3.1.2.1 DIGI DIGICONTROL specific device properties ....................................................... 25 3.1.2.2 IDEN? Serial number and device information............................................................. 26 3.2 General settings........................................................................................................................ 28 3.2.1 Access authorization ........................................................................................................... 28 3.2.1.1 MPAS Master password.............................................................................................. 28 3.2.1.2 UPAS User password ................................................................................................. 29 3.2.1.3 PASP Activate password............................................................................................ 30 3.2.1.4 ZUGR Access levels ................................................................................................... 31 3.2.2 INFO .................................................................................................................................... 33 3.2.2.1 INFO Info line ............................................................................................................ 33 3.2.2.2 STAN Station number................................................................................................. 33 3.2.3 LCD contrast........................................................................................................................ 34 3.2.3.1 LCDK LCD contrast .................................................................................................... 34 3.2.4 Menu language.................................................................................................................... 35 3.2.4.1 SPRA Menu language ................................................................................................ 35 3.2.5 RS232 interface................................................................................................................... 35
4
BA_9310-Vxxx0-EN.doc
3.2.6 Ethernet Interface ................................................................................................................ 36 3.2.6.1 IPEX IP address, Gateway address, subnet mask and UDP Port............................. 36 3.2.6.2 PORT UDP port number ............................................................................................. 37 3.2.6.3 IPVE Software version of the Ethernet modul............................................................. 38 3.2.6.4 COMM coded/uncoded Ethernet communication ....................................................... 39 3.2.6.5 HOST Host IP addresses access restriction.............................................................. 40 3.2.6.6 BUID? 9310 device identifiers..................................................................................... 41 3.2.6.7 MAST! Ethernet host can reserve a DIGIFORCE 9310.............................................. 43 3.2.7 PROFIBUS-interface ........................................................................................................... 44 3.2.7.1 PBAD PROFIBUS-address......................................................................................... 44 3.2.7.2 PBUE PROFIBUS-Control.......................................................................................... 45 3.2.7.3 PBIN Digital Inputs .................................................................................................... 46 3.2.7.4 PMEM Einstellen der Messmen Anwahl bei Profibusverkehr................................... 47 3.2.8 Reset ................................................................................................................................... 48 3.2.8.1 RSET Start Reset ....................................................................................................... 48 3.2.9 Block Measurement............................................................................................................. 49 3.2.9.1 MEFR Block Measurement ......................................................................................... 49 3.2.10 READY-Mode ...................................................................................................................... 50 3.2.10.1 RDYM Activate READY-Mode .................................................................................. 50 3.2.10.2 REDY Release READY-Signal ................................................................................. 50 3.2.11 Administration of Measurement programs .......................................................................... 51 3.2.11.1 DEFA Default-Initializing of all Measurement programs .......................................... 51 3.2.11.2 DEFP Default-Initializing of discrete Measurement programs ................................. 51 3.2.11.3 CMPR Copy a Measurement program...................................................................... 51 3.2.12 OK/NOK graphical display................................................................................................... 52 3.2.12.1 INGR Selection OK/NOK graphical display ............................................................. 52 3.2.13 Choose Measurement menu ............................................................................................... 53 3.2.13.1 MENU Choose Measurement menu .......................................................................... 53 3.2.14 LCD update ......................................................................................................................... 54 3.2.14.1 UPDA Control LCD update ........................................................................................ 54 3.2.15 Burster Logo activation........................................................................................................ 55 3.2.15.1 LOGO Burster Logo ..................................................................................................... 55 3.3 Program specific setup ............................................................................................................ 56 3.3.1 General programm settings................................................................................................. 56 3.3.1.1 PRNR Program number .............................................................................................. 56 3.3.1.2 PNAM Program name ................................................................................................. 57 3.3.1.3 NAME Program name (on each measurement program) ............................................ 58 3.3.1.4 BDEX User-defined unit X-channel ............................................................................ 59 3.3.1.5 BDEY User-defined unit Y-channel ............................................................................ 60 3.3.1.6 AUSC Switch on/off of Auto-Scaling........................................................................... 61 3.3.1.7 SCAL Manual Scaling of Measurement curve ........................................................... 62 3.3.1.8 NIOA NOK-display in percent/absolute ..................................................................... 63 3.3.2 Measurement menu release................................................................................................ 64 3.3.2.1 MFRE Measurement menues ..................................................................................... 64 3.3.3 Connection of sensors......................................................................................................... 66 3.3.3.1 EINX Unit X ............................................................................................................... 66 3.3.3.2 EINY Unit Y ............................................................................................................... 67 3.3.3.3 XPOT Channel setting X Potentiometer ..................................................................... 68 3.3.3.4 XNOR Channel setting X standard signal ................................................................... 69 3.3.3.5 YNOR Channel setting Y standard signal ................................................................... 70 3.3.3.6 YDMS Channel setting Y strain gage.......................................................................... 71 3.3.3.7 YPIE Set the range for Piezo sensor ........................................................................ 72 3.3.3.8 PIKZ! Short circuit for the Piezo amplifier (close and open) ...................................... 73 3.3.3.9 FILX Filter X.............................................................................................................. 74 3.3.3.10 FILY Filter Y ........................................................................................................... 75 3.3.3.11 INVX Inverting X-channel........................................................................................ 76 3.3.3.12 INVY Inverting Y-channel........................................................................................ 77 3.3.3.13 SKAX Scalar values X.............................................................................................. 78
5
BA_9310-Vxxx0-EN.doc
3.3.3.14 SKAY Scalar value Y................................................................................................ 79 3.3.3.15 KALX Calibration values X....................................................................................... 80 3.3.3.16 KALY Calibration values Y....................................................................................... 81 3.3.3.17 MKLX Measure calibration value X-channel ............................................................ 82 3.3.3.18 MKLY Measure calibration value Y-channel ............................................................ 82 3.3.3.19 DOKX Execute calibration on X-channel .................................................................. 82 3.3.3.20 DOHX Execute calibration on X-channel with envelope correction ............................. 82 3.3.3.21 DOKY Execute calibration on Y-channel .................................................................. 83 3.3.3.22 DOHY Execute calibration on Y-channel with envelope correction ............................. 83 3.3.4 Zero signal........................................................................................................................... 84 3.3.4.1 XORG? Originally zero signal X channel .................................................................... 84 3.3.4.2 YORG? Originally zero signal Y channel .................................................................... 84 3.3.5 Sensor test .......................................................................................................................... 85 3.3.5.1 SETX Teach-in sensor test X ...................................................................................... 85 3.3.5.2 SETY Teach-in sensor test Y..................................................................................... 86 3.3.5.3 STTX Tolerance sensor test X................................................................................... 87 3.3.5.4 STTY Tolerance sensor test Y................................................................................... 88 3.3.5.5 STST Execute sensor test ......................................................................................... 89 3.3.5.6 STWX Reference value for sensor test channel X...................................................... 89 3.3.5.7 STWY Reference value for sensor test channel Y...................................................... 90 3.3.6 Setting of measurement function......................................................................................... 91 3.3.6.1 MFKT Measurement function ...................................................................................... 91 3.3.6.2 RAST Sampling rate................................................................................................... 92 3.3.6.3 BZUG Reference ........................................................................................................ 93 3.3.6.4 TRGP Trigger point..................................................................................................... 94 3.3.6.5 UKPT Turning Point.................................................................................................... 95 3.3.6.6 STMD Start mode ....................................................................................................... 96 3.3.6.7 STSP Start/Stop internal ............................................................................................ 97 3.3.6.8 STAR PLC Tare function ............................................................................................. 98 3.3.6.9 TARA Start Function via interface .............................................................................. 98 3.3.7 Evaluation............................................................................................................................ 99 3.3.7.1 Window......................................................................................................................... 99 3.3.7.2 Switch points .............................................................................................................. 103 3.3.8 During Measurement......................................................................................................... 105 3.3.8.1 MSTA Status of Measurement.................................................................................. 105 3.3.9 Output of Measurement results ......................................................................................... 106 3.3.9.1 Short form................................................................................................................... 106 3.3.9.2 Window results ........................................................................................................... 110 3.3.9.3 Statistics ..................................................................................................................... 114 3.3.9.4 Measurement curve ................................................................................................... 115 3.3.10 Envelope............................................................................................................................ 117 3.3.10.1 Evaluation result......................................................................................................... 117 3.3.10.2 Configuration of the envelope .................................................................................... 122 3.3.10.3 Envelope setup .......................................................................................................... 129 3.3.10.4 Selecting the display from the setup menu ................................................................ 141 3.3.11 Remaining blade thickness (RBD) / Plate pack thickness (BPD) ..................................... 145 3.4 Commands optimized in respect of transfer time............................................................... 146 3.4.1 Transfer of the measurement curve .................................................................................. 146 3.4.1.1 MRED Command ....................................................................................................... 146 3.4.1.2 KURX optimized transfer of the X values of the measurement curve ....................... 147 3.4.1.3 KURY optimized transfer of the Y values of the measurement curve ....................... 148 3.4.2 Envelope............................................................................................................................ 149 3.4.2.1 KXWE optimized transfer of the X values of the reference curve............................ 149 3.4.2.2 KYWE optimized transfer of the Y mean values of the reference curve (tracked values) 151 3.4.2.3 KYSU optimized transfer of the Y cumulative values of the reference curve .......... 153 3.4.2.4 KYTR optimized transfer of the Y mean value values of the reference curve (nontracked values) ............................................................................................................................. 155
6
BA_9310-Vxxx0-EN.doc
3.4.2.5 3.4.2.6
KYMI optimized transfer of the delta Y minimum values of the reference curve ..... 157 KYMA optimized transfer of the delta Y maximum values of the reference curve... 159
3.5 9310-V2xxx specific commands (Black box module) ......................................................... 161 3.5.1 TRAX Transmitter supply X channel ................................................................................. 161 3.5.2 TRAY Transmitter supply Y channel ................................................................................. 162 3.6 Error status ............................................................................................................................. 163 3.6.1 FSTA Error status ............................................................................................................. 163 3.6.2 ERRO? Read out of device error status........................................................................... 164 3.7 Testmode................................................................................................................................. 165 3.7.1 TEST Testmode On/Off..................................................................................................... 165 3.7.2 BERX Setting of the X-channel range ............................................................................. 166 3.7.3 DMSY Setting of Y-channel range (DMS type) ............................................................... 167 3.7.4 PIEY Setting of Y-channel range (Piezo type) ................................................................ 168 3.7.5 SPEI Setting of the Y-channel supply (DMS type) .......................................................... 169 3.7.6 POTB Adjustment of the potential connection for strain gauge supply............................ 170 3.7.7 UINT? Internal voltage values .......................................................................................... 171 3.7.8 ROHW? A/D converter and voltage values...................................................................... 172 3.7.9 Test of the PLC inputs and outputs ................................................................................... 173 3.7.9.1 SPSI Read the PLC inputs......................................................................................... 173 3.7.9.2 SPSO Set the PLC outputs ........................................................................................ 173 3.7.10 ALED! Test of the warning LED ....................................................................................... 174 3.7.11 RESE! Test of the RESET button..................................................................................... 174
BA_9310-Vxxx0-EN.doc
1 Revision History
Status
28.02.2007 / KS 18.08.2006 / KS
description
EthernetUDP protocol included envelope commands inserted chapter Seral communication inserted chapter Testmode inserted new commands to manage the ethernet interface inserted
BA_9310-Vxxx0-EN.doc
2 Serial communication
The PC-Software Digicontrol 9310 for device configuration, backup and data recording is available (Ordering code 9310-P10x). The software is available in two versions. The P101 version is for device configuration and backup. The P100 version supports an additional automatized data recording.
2.1
During measurement of the DIGIFORCE 9310 there is no communication possible. The device does not answer to a commad.
2.2
The settings have to be defines in the general settings menue Baudrate: Data bits: Stop bits: Parity: Blockcheck: no hardware handshake
(*)
300, 600, 1200, 2400, 4800, 9600 , 19200, 38400, 56000, 57600 (*) 7 or 8 (*) 1 or 2 (*) no , even, odd (*) OFF , ON
(*)
BA_9310-Vxxx0-EN.doc
2.3
Communication protocol
<STX> 0x02 <ETX> 0x03 <ENQ> 0x05 <ACK> 0x06 <S> 0x20 <NAK> 0x15 <LF> 0x0A <EOT> 0x04 <NUL> 0x00 => start of Text => end of Text => anquiry => acknowlege => space => not Acknowlege => line feed => end of transmission => NUL sign
Kontrollzeichen:
ANSII standard X3.28-1976 Subcategory 2.5, A4 is used as the communications protocol. This standard is used in systems in which a number of secondary stations exist in a non-switched multipoint connection, and all commands are sent by a control station. Only one transmitter (master) and one receiver (slave) are ever active on the bus at one time. One station is the control station. The control station is given master status and sends commands to a selected slave station, or relinquishes its master status to a secondary station and assumes slave status to receive data. A connection between two secondary stations is not allowed. The control station monitors the connection continuously.
When establishing a connection, the control station can either: (1) specify a slave station in order to set up a connection i.e. send a command to the addressed slave or (2) carry out polling, to grant master status to a secondary station, i.e. request a response to a previously sent command and hence assign the transmit right to the slave.
10
BA_9310-Vxxx0-EN.doc
The selection supervisory sequence of the 9310 has the following format. <Address>sr<ENQ> <Address> device address (decimally 0..99) sr ASCII-string "s" und "r" <ENQ> ASCII code ENQ
A secondary station that recognizes its selection supervisory sequence assumes slave status and sends one of two responses: (1) If the station is ready to receive data, it sends <ACK>. On receiving this response, the master station initiates data transfer. (2) If the station is not ready to receive data, it sends <NAK>. On receiving this response, the master station can attempt call up the same station again. If the master station receives an invalid response or none at all, it can attempt to address the same station again or end the transmission.
11
BA_9310-Vxxx0-EN.doc
2.3.4 Polling
The control station sends a "polling supervisory sequence". The polling supervisory sequence is used to retrieve requested data from the 9310. The prefix selects a single station. <ENQ> defines the end of the Polling supervisory sequence: The Polling Supervisory Sequence of DIGIFORCE 9310 has the following structure: <Address>po<ENQ> <Address> hexadezimal device address (0..99) po ASCII-string "p" und "o" <ENQ> ASCII code ENQ
A secondary station that recognizes its polling supervisory sequence responds using one of two options: (1) If the station has data ready to send, it starts the data transfer. The control station assumes slave status. (2) If the station has no data ready to send, it sends <EOT>, which terminates its master status. The master status returns to the control station. If the control station receives an invalid response or none at all, it terminates the connection by sending <EOT>.
12
BA_9310-Vxxx0-EN.doc
2.3.7.1
aaaaB<LF> aaaa B <LF>
commad name, 4 ASCII-characters command type, ? read out, ! set Line Feed, 0x0A
2.3.7.2
aaaaB<S>P1,P2,...,Px<LF> aaaa B <S> P1,P2,...,Px <LF> commad name, 4 ASCII-characters command type, ? read out, ! set space, 0x20 Parameter 1.....x, separated by comma Line Feed, 0x0A
2.3.7.3
Command aaaa B <LF>
DIGIFORCE 9310 answers (example with three parameters): P1<NUL>,P2<NUL>,P3<NUL><LF> Px <NUL> <LF> Parameter x NUL sign, ASCII code 0x00 Line Feed, 0x0A
Note: One exception forms the KURV? Command, with no <NUL>-sign within the answer.
13
BA_9310-Vxxx0-EN.doc
2.3.8.1
Host sends:
to make sure that any open connections are terminated and the 9310 receive buffer is cleared. Host sends: 00sr<ENQ> Selection: DIGIFORCE 9310 with address 0 is addressed 9310 answers: Acknowledge from 9310 <ACK> <STX>info?<LF><ETX> <STX>info?<LF><ETX><BCC>
Host sends (Blockcheck OFF): Host sends (Blockcheck ON): 9310 answers: Acknowledge from 9310 <ACK>
Host sends: <EOT> The host controller unaddresses the device in order to start a polling sequence immediately. Host sends: 00po<ENQ> The 9310 with address 0 is requested to send all existing responses If block check is OFF, 9310 answers: <STX>V200101<NUL>,SN123456<NUL>,09.03.2001<NUL><LF><ETX> If block check is ON, 9310 answers: <STX>V200101<NUL>,SN123456<NUL>,09.03.2001<NUL><LF><ETX><BCC> (here BCC = CEhex) This is the correct response to the info? command Host sends: <ACK> The controller has received the response and accepted it. Does the 9310 have other queries saved for which a response can now be sent? 9310 answers: <EOT> No. This ends the communication sequence and the 9310 has unaddressed itself.
14
BA_9310-Vxxx0-EN.doc
2.3.8.2
Host sends: <EOT> to make sure that any existing connections are terminated and the 9310 receive buffer is cleared. Host sends: 00sr<STX>info?<LF><ETX> Command sequence: The 9310 with address 0 is to be addressed and the info? command is to be executed 9310 answers: <ACK> The 9310 signals that it accepts the addressing and recognizes and has understood the info? command Host sends: <EOT> The host controller unaddresses the device in order to start a polling sequence immediately. Host sends: 00po<ENQ> The 9310 with address 0 is requested to send all existing responses 9310 answers: <STX>V200101<NUL>,SN123456<NUL>,09.03.2001<NUL><LF><ETX> This is the correct response to the info? command Host sends: <ACK> The controller has received the response and accepted it. Does the 9310 have other queries saved for which a response can now be sent? 9310 replies with: <EOT> No. This ends the communication sequence and the 9310 has unaddressed itself.
15
BA_9310-Vxxx0-EN.doc
2.3.9.1
REM REM REM REM REM REM REM REM REM REM
*********************************************************************** ** ** ** 9310_1.bas Developped by:MN,Li ** ** Communication Prog. language: Qbasic 1.1 ** ** exe-File created with QB 4.5 ** ** with selection with ** ** response date: 13.03.2000, 05.05.2003 ** ** example: ask for ID-string ** ** ** ***********************************************************************
REM (1) Definition of ASCII-Control Characters REM STX Start of text: STX$ = CHR$(2) REM ETX End of text: ETX$ = CHR$(3) 0x02
0x03
REM EOT End of transmission: EOT$ = CHR$(4) REM ENQ Enquiry: ENQ$ = CHR$(5) 0x05
0x04
REM ACK Acknowledge: ACK$ = CHR$(6) REM LF line feed: LF$ = CHR$(10)
0x06
0x0a
REM CR carriage return: CRE$ = CHR$(13) REM NAK not acknowledge: NAK$ = CHR$(21)
0x0d
0x15
REM++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ REM Dialog: Selection and opening/initialisation of PC-Interface REM++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ CLS INPUT "Which interface do you want to use? (1 -> COM1, 2 -> COM2)"; a IF ((a <> 1) AND (a <> 2)) THEN PRINT "illegal Interface": END IF (a = 1) THEN com$ = "COM1" IF (a = 2) THEN com$ = "COM2" openstr$ = com$ + ":9600,N,8,1" PRINT REM ** rs232 initialisation OPEN openstr$ FOR RANDOM AS #3
REM++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ REM Ask Device (adr 0) for ID-String with Mode "selection with response" REM (one of the two communication modes) REM++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ PRINT "-------->>>>> Connecting Device with adress 1...." REM ** Sending "selection supervisory sequence" and pick up answer other (probably unanswered) enquiries PRINT #3, EOT$ + "00" + "sr" + ENQ$ REM clear answer string ant$ = "" REM read characters from serial interface ant$ = INPUT$(1, #3) REM new char should be an ACK send EOT first to end
16
BA_9310-Vxxx0-EN.doc
IF ant$ <> ACK$ THEN PRINT "Comunication error, not (ACK) received but:"; ant$ PRINT "selection supervisory string sent" REM press 'enter' to proceed INPUT "ENTER TO GO ON"; a$: a$ = "" REM ** Sending command "INFO?" to 9310 (enclosed with STX and ETX) PRINT #3, STX$ + "INFO?" + ETX$ REM clear answer string ant$ = "" REM read characters from serial interface ant$ = INPUT$(1, #3) REM new char should be an ACK IF ant$ <> ACK$ THEN PRINT "Comunication error, not (ACK) received but:"; ant$ REM !!IMPORTANT!! de-adress before start polling PRINT #3, EOT$ PRINT "ID-Enquiry sent" REM press 'enter' to proceed INPUT "ENTER TO GO ON"; a$: a$ = "" REM 9310 wants to answer now and waits for polling REM start polling PRINT #3, "00" + "po" + ENQ$ REM clear answer string ant$ = "" REM initialize variable char$ to anything but ETX char$ = STX$ REM read from serial interface until ETX and add to answer-string WHILE (char$ <> ETX$) char$ = INPUT$(1, #3) ant$ = ant$ + char$ WEND REM ID-string received, send ACK PRINT #3, ACK$ REM Printing "Dev 0 INFO:" on PC-sreen: PRINT "DEVICE 0 answers: ", ant$ REM Reading EOT from 9310 ant$ = "" ant$ = INPUT$(1, #3) REM new char should be an EOT IF ant$ <> EOT$ THEN PRINT "Comunication error, not (EOT) received but:"; ant$ PRINT "Program has ended successfully" END
17
BA_9310-Vxxx0-EN.doc
2.3.9.2
REM REM REM REM REM REM REM Rem
*********************************************************************** ** ** ** 9310_2.bas Developped by:MN,Li ** ** Prog. language: Qbasic 4.5 ** ** Communication exe-File created with QB 4.5 ** ** with fast selection date: 13.03.2000 ** ** example: ask for ID-string with fast selection ** ***********************************************************************
REM Definition of ASCII-Control Characters REM STX Start of text: STX$ = CHR$(2) REM ETX End of text: ETX$ = CHR$(3) 0x02
0x03
REM EOT End of transmission: EOT$ = CHR$(4) REM ENQ Enquiry: ENQ$ = CHR$(5) 0x05
0x04
REM ACK Acknowledge: ACK$ = CHR$(6) REM LF line feed: LF$ = CHR$(10)
0x06
0x0a
REM CR carriage return: CRE$ = CHR$(13) REM NAK not acknowledge: NAK$ = CHR$(21)
0x0d
0x15
REM++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ REM Dialog: Selection and opening/initialisation of PC-Interface REM++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ CLS INPUT "Which interface do you want to use? (1 -> COM1, 2 -> COM2)"; a IF ((a <> 1) AND (a <> 2)) THEN PRINT "illegal Interface": END IF (a = 1) THEN com$ = "COM1" IF (a = 2) THEN com$ = "COM2" openstr$ = com$ + ":9600,N,8,1" PRINT REM ** rs232 initialisation OPEN openstr$ FOR RANDOM AS #3 PRINT PRINT PRINT PRINT PRINT "Please set up the 9310 with:" " baudrate = 9600, Data bits = 8," " Stopp bits = 1, No parity, no blockcheck" " adress 0"
REM++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ REM Ask Device (adr 0) for ID-String with Mode "fast selection" REM (one of the two communication modes) REM All commands in the user manual are described in this mode REM++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ PRINT "-------->>>>> Connecting Device with adress 0...." REM send EOT first to end other (probably un-answered) enquiries (strongly recommended) PRINT #3, EOT$ REM Create and send command PRINT #3, "00" + "sr" + STX$ + "INFO?" + ETX$ REM clear answer string ant$ = "" REM read characters from serial interface ant$ = INPUT$(1, #3)
18
BA_9310-Vxxx0-EN.doc
REM new char should be an ACK IF ant$ <> ACK$ THEN PRINT "Comunication error, not (ACK) received but:"; ant$ REM press 'enter' to proceed INPUT "ENTER TO GO ON"; a$: a$ = "" REM !!IMPORTANT!! de-adress before start polling PRINT #3, EOT$ REM 9310 wants to answer now and waits for polling REM start polling PRINT #3, "00" + "po" + ENQ$ REM clear answer string ant$ = "" REM initialize variable char$ to anything but ETX char$ = STX$ REM read from serial interface until ETX and add to answer-string WHILE (char$ <> ETX$) char$ = INPUT$(1, #3) ant$ = ant$ + char$ WEND REM ID-string received, send ACK PRINT #3, ACK$ REM Printing "INFO" on PC-sreen: PRINT "Device (0) answers: ", ant$ REM Reading EOT from 9310 ant$ = "" ant$ = INPUT$(1, #3) REM new char should be an EOT IF ant$ <> EOT$ THEN PRINT "Comunication error, not (EOT) received but:"; ant$ PRINT "Program has ended successfully" END
19
BA_9310-Vxxx0-EN.doc
20
<STX>Key, Identifier, Status, 0, Data <ETX><Block-Check> Number 0 means no fragmentation. End sign is ETX (no fragmentation). With fragmentation (example: data packet 18000 Byte) 1st fragment <STX>Key, Identifier, Status, 0, Data 17500<ENQ><Block-Check> 2nd fragment <STX>Key, Identifier, Status, 1, Data 750115000<ENQ><Block-Check> 3rd fragment <STX>Key, Identifier, Status, 2, Data 17500<ETX><Block-Check>
UDP frame format from HOST to DIGIFORCE 9310 <STX>Key, Identifier, Data,<End Sign>Block-Check
0x02 0: message is not coded 1: message is coded continuous number 1..999 (ASCII) User data in ASCII format ETX (0x03) or ENQ (0x05) with fragmentation 1 Byte Checksum, all Bytes after STX including ETX/ENQ are XOR-combined
Example: Host sends INFO?-command to DIGIFORCE 9310 Host sends: <STX>0,1,INFO?<ETX><179> DIGIFORCE 9310 answers: <2>0,1,0,0,V200606 ,298043 ,15.11.2006<3><242>
BA_9310-Vxxx0-EN.doc
2.4
General instructions
Timer A is used by the DIGIFORCE 9310 to protect itself from an invalid response or no response. Start: Timer A is started after data transfer has been terminated with <ETX>. The instrument waits for an acknowledgement by the master. Stop: Timer A is stopped if a valid response <ACK> has been received. Timeout: If a timeout occurs, the DIGIFORCE 9310 sends an <EOT> and returns to its initial state (ready for a new command).
2.4.1.2
Timer B is used by the receive station, to protect itself against non-recognition of the <ETX> character. Start: Timer B is started after receiving the <STX> character. Restart: Timer B is restarted as long as data is being received in order to allow variable data block lengths to be received. Stop: Timer B is stopped when the <ETX> character has been received. Timeout: If a timeout occurs, the received data (command) is discarded. The instrument enters the initial state and waits for new commands.
22
BA_9310-Vxxx0-EN.doc
Meaning of the symbol syntax used in the following examples: <Address> <STX> 0x02 <ETX> 0x03 <ENQ> 0x05 <ACK> 0x06 <NAK> 0x15 <LF> 0x0A <EOT> 0x04 <NUL> 0x00 <S> 0x20 => device address (00 .. 99) => Start of Text => End of Text => Enquiry => Acknowlege => Not Acknowlege => Line Feed => End Of Transmission => NUL sign => Space
23
BA_9310-Vxxx0-EN.doc
3 Interface commands
3.1 Comman Comands
With the command LGRK! the default calibration from EEPROM is loaded into the 9310 buffered RAM. Host sends: DIGIFORCE answers: Host sends: <Address>sr<STX>LGRK!<ETX>[<BCC>] <ACK> <EOT>
24
BA_9310-Vxxx0-EN.doc
3.1.2
3.1.2.1
With the command DIGI? the host can read out specific information about the device software. Host sends: DIGIFORCE answers: Host sends: Host sends: DIGIFORCE antswers: Host sends: DIGIFORCE answers: <Address>sr<STX>DIGI?<ETX>[<BCC>] <ACK> <EOT> <Address>po<ENQ> <STX>P1,P2,P3,P3,P5,P6,P7<ETX>[<BCC>] <ACK> <EOT>
P2
P3
P4
P5
P6
Value Bit0 = 0 DMS (standard) Bit0 = 1 Piezo (hex, unsigned short) Version of the communikation 0x0: standard (RS232/485) hardware Bit0: 1 PROFIBUS available Bit1: 0 = RS485 Bit1: 1 = Ethernet Bit2: 0 = display device Bit2: 1 = Blackbox unsigned short Counter an software changes with On every change of the 9310 influence on serial communication software with influence on serial communication this value is incremented. The value starts on version V200208 with 0 (decimally, unsigned short) Identifier of specific software version Bit0: = 0 standard; = 1 specific (first Byte) software Bit1: PC software totally locked Bit2: reserved Bit3: reserved Bit4: Upload locked Bit5: Download locked Bit6: reserved Bit7: Laboratory operation mode locked (hex, unsigned short) Identifier of specific software version Bit0: General settings locked (second Byte) Bit1: Access authorization locked Bit2: Program access locked Bit3: reserved Bit4: reserved Bit5: reserved Bit6: reserved Bit7: reserved (hex, unsigned short) Identifier of specific software version Bit0: Channel settings locked (third Byte) Bit1: Measuring mode locked Bit2: Sendor test locked Bit3: Evaluation locked Bit4: Switch points locked Bit5: Darstellung gesperrt Bit6: Envelope locked Bit7: reserved (hex, unsigned short) 25
BA_9310-Vxxx0-EN.doc
P7
Identifier of specific software version Bit0: reserved Bit1: reserved (fourth Byte) Bit2: reserved Bit3: reserved Bit4: reserved Bit5: reserved Bit6: reserved Bit7: reserved (hex, unsigned short)
3.1.2.2
Readout of the present value With the command IDEN? device specific settings and informations can be read out. The PC-software Digicontrol 9310 use this command while searching 9310 devices on Ethernet network. To differentiate several devices with the same IP address (e.g. the default address) the Digicontrol 9310 softwaree uses the device serial number.
Host sends: DIGIFORCE answers: Host sends: Host sends: DIGIFORCE answers: Host sends: DIGIFORCE answers:
<Address>sr<STX> IDEN?<ETX>[<BCC>] <ACK> <EOT> <Address>po<ENQ> <STX>P1,P2,P3,P4,P5,P6 ,P7,P8,P9,P10,P11,P12,P13,P14,P15,P16,P17 ,P18,P19,P20,P21,P22,P23<ETX>[<BCC>] <ACK> <EOT>
Meaning of parameter Pn Parameter Meaning P1 Device type P2 Version of device software P3 Serial number P4 Calibration date (dd.mm.yy) P5 Station number P6 9310 Device options
P7
P8
P9
P10
value String 9310 String String String String Bit0: 0 = DMS (standard) Bit0: 1 = Piezo Bit1: 0 = Anzeigegert Bit1: 1= Blackbox (hex, unsigned short) 0x0: Standard (RS232/485) Bit0: 1 = PROFIBUS available Bit1: 0 = RS485 Bit1: 1 = Ethernet (hex, unsigned short) On every change of the 9310 software with influence on serial communication this value is incremented. The value starts on version V200208 with 0 (decimally, unsigned short) Bit0: = 0 standard; = 1 specific software Bit1: PC software totally locked Bit2: reserved Bit3: reserved Bit4: Upload locked Bit5: Download locked Bit6: reserved Bit7: Laboratory operation mode locked (hex, unsigned short) Bit0: General settings locked Bit1: Access authorization locked Bit2: Program access locked Bit3: reserved
26
BA_9310-Vxxx0-EN.doc
P11
P12
P13 P14 P15 P16 P17 P18 P19 P20 P21 P22 P23
Subnet mask Gateway address Version of the ethernet modul Address of the serial interface MAC address IP 1 access restriction Host IP address 1 IP 2 access restriction Host IP address 2 IP 3 access restriction Host IP address 3
Bit4: reserved Bit5: reserved Bit6: reserved Bit7: reserved (hex, unsigned short) Bit0: Channel settings locked Bit1: Measuring mode locked Bit2: Sendor test locked Bit3: Evaluation locked Bit4: Switch points locked Bit5: Display locked Bit6: Envelope locked Bit7: reserved (hex, unsigned short) Bit0: reserved Bit1: reserved Bit2: reserved Bit3: reserved Bit4: reserved Bit5: reserved Bit6: reserved Bit7: reserved (hex, unsigned short) Long (32 Bit) HEXFORMAT Long (32 Bit) HEXFORMAT String 00 .. 99 String e.g. 11-22-33-44-55-66 0 -> access not possible 1 -> access possible Long (32 Bit) HEXFORMAT 0 -> access not possible 1 -> access possible Long (32 Bit) HEXFORMAT 0 -> access not possible 1 -> access possible Long (32 Bit) HEXFORMAT
27
BA_9310-Vxxx0-EN.doc
3.2
General settings
Value 0..9999
Readout of the present value With the command MPAS? the present master password can be read out. Host sends: DIGIFORCE answers: Host sends: Host sends: DIGIFORCE answers: Host sends: DIGIFORCE answers: Meaning of parameter Pn Parameter P1 <Address>sr<STX>MPAS?<ETX>[<BCC>] <ACK> <EOT> <Address>po<ENQ> <STX>P1<ETX>[<BCC>] <ACK> <EOT>
Value 0..9999
28
BA_9310-Vxxx0-EN.doc
3.2.1.2
Value 0..9999
Value 0..9999
29
BA_9310-Vxxx0-EN.doc
3.2.1.3
30
BA_9310-Vxxx0-EN.doc
3.2.1.4
P2
Value GRUND Basic menu MESSP Measurement program STARE Statistics reset KANAL Channel settings MESSV Measurement mode BEWER Evaluation SCHAL Switch points EINRI Teach-in mode 0 Access denied 1 Access allowed
P2
Value GRUND Basic menu MESSP Measurement program STARE Statistics reset KANAL Channel settings MESSV Measurement mode BEWER Evaluation SCHAL Switch points EINRI Teach-in mode 0 Access denied 1 Access allowed
31
BA_9310-Vxxx0-EN.doc
Meaning Access on menu General Settings for User Access on menu Measurement program for User Access on menu Statics Reset for User Access on menu Cannel Settings for User Access on menu Measurement Mode for User Access on menu Evaluation for User Access on menu Switch points for User Access on configuration mode for User
Wert 0 Access denied 1 Access allowed 0 Access denied 1 Access allowed 0 Access denied 1 Access allowed 0 Access denied 1 Access allowed 0 Access denied 1 Access allowed 0 Access denied 1 Access allowed 0 Access denied 1 Access allowed 0 Access denied 1 Access allowed
32
BA_9310-Vxxx0-EN.doc
With the command INFO? the info line of the device can be read out. It contains the number of the software version, the Serial number and the last date of adjustment Host sends: DIGIFORCE answers: Host sends: Host sends: DIGIFORCE answers: Host sends: DIGIFORCE answers: Meaning of parameter Pn Parameter P1 <Address>sr<STX>INFO?<ETX>[<BCC>] <ACK> <EOT> <Address>po<ENQ> <STX>P1<ETX>[<BCC>] <ACK> <EOT>
3.2.2.2
33
BA_9310-Vxxx0-EN.doc
34
BA_9310-Vxxx0-EN.doc
35
BA_9310-Vxxx0-EN.doc
3.2.6 Ethernet Interface 3.2.6.1 IPEX IP address, Gateway address, subnet mask and UDP Port
Meaning Serial number of the DIGIFORCE 9310 IP address Subnet mask Gateway address Portnumber
Value Figure chain with length = 10 (e.g. 1234567890) Long (32 Bit) HEXFORMAT Long (32 Bit) HEXFORMAT Long (32 Bit) HEXFORMAT Integer (16bit) decimally
value Long (32 Bit) HEXFORMAT Long (32 Bit) HEXFORMAT Long (32 Bit) HEXFORMAT Integer (16bit) decimally
36
BA_9310-Vxxx0-EN.doc
3.2.6.2
37
BA_9310-Vxxx0-EN.doc
3.2.6.3
value String
38
BA_9310-Vxxx0-EN.doc
3.2.6.4
Host sends: DIGIFORCE answers: Host sends: Host sends: DIGIFORCE answers: Host sends: DIGIFORCE answers:
39
BA_9310-Vxxx0-EN.doc
3.2.6.5
meaning IP 1 access restriction Host IP address 1 IP 2 access restriction Host IP address 2 IP 3 access restriction Host IP address 3
value 0 -> access not possible 1 -> access possible Long (32 Bit) HEXFORMAT 0 -> access not possible 1 -> access possible Long (32 Bit) HEXFORMAT 0 -> access not possible 1 -> access possible Long (32 Bit) HEXFORMAT
meaning IP 1 access restriction Host IP address 1 IP 2 access restriction Host IP address 2 IP 3 access restriction Host IP address 3
value 0 -> access not possible 1 -> access possible Long (32 Bit) HEXFORMAT 0 -> access not possible 1 -> access possible Long (32 Bit) HEXFORMAT 0 -> access not possible 1 -> access possible Long (32 Bit) HEXFORMAT
40
BA_9310-Vxxx0-EN.doc
3.2.6.6
Meaning of parameter Pn Parameter Meaning P1 Device ID P2 Serial number P3 Device name P4 Status if the device is reserved from a host
P5
MAC address IP address Subnet mask Gateway address Version of the Ethernet modul UDP Portnummer Version of the sensor hardware
P13
P14
P15
P16
value ASCII String: 9310 ASCII String ASCII String 0 device not reserved <Address> IP Address of the host (long (32Bit) HEXFORMAT) On every change of the Ethernet modul software this value is incremented. The value start at version V200604 with 0 (decimally, unsigned short) String e.g. 11-22-33-44-55-66 Long (32 Bit) HEXFORMAT Long (32 Bit) HEXFORMAT Long (32 Bit) HEXFORMAT String Integer (16bit) decimally Bit0 = 0 DMS (standard) Bit0 = 1 Piezo (hex, unsigned short) 0x0: standard (RS232/485) Bit0: 1 PROFIBUS available Bit1: 0 = RS485 Bit1: 1 = Ethernet Bit2: 0 = display device Bit2: 1 = Blackbox unsigned short On every change of the 9310 software with influence on serial communication this value is incremented. The value starts on version V200208 with 0 (decimally, unsigned short) Bit0: = 0 standard; = 1 specific software Bit1: PC software totally locked Bit2: reserved Bit3: reserved Bit4: Upload locked Bit5: Download locked Bit6: reserved Bit7: Laboratory operation mode locked (hex, unsigned short) Bit0: General settings locked Bit1: Access authorization locked Bit2: Program access locked Bit3: reserved Bit4: reserved Bit5: reserved
41
BA_9310-Vxxx0-EN.doc
P17
P18
Bit6: reserved Bit7: reserved (hex, unsigned short) Bit0: Channel settings locked Bit1: Measuring mode locked Bit2: Sendor test locked Bit3: Evaluation locked Bit4: Switch points locked Bit5: Display locked Bit6: Envelope locked Bit7: reserved (hex, unsigned short) Bit0: reserved Bit1: reserved Bit2: reserved Bit3: reserved Bit4: reserved Bit5: reserved Bit6: reserved Bit7: reserved (hex, unsigned short)
42
BA_9310-Vxxx0-EN.doc
3.2.6.7
This command can also used durin a running measurement. Input of a new value
With the command MUST! The Ethernet host can temporary reserve an DIGIFORCE 9310 to block communicatin with other hosts. Host sends: DIGIFORCE answers: Host sends: <Address>sr<STX> MAST! P1 <ETX>[<BCC>] <ACK> <EOT>
Meaning of parameter Pn Parameter Meaning P1 Time units in 100ms to reserve the 9310
Value 0 -> device not reserved >0 -> time units in 100ms (unsigned long ) e.g. a value of 10 reserve the device 1 second
Note: Within the running time the host have to send a new MAST! command to ensure that the device is blocked for other hosts.
43
BA_9310-Vxxx0-EN.doc
This command only exists in the instrument if the option PROFIBUS DP is installed. If this is not the case, the request will be answered by NAK.
44
BA_9310-Vxxx0-EN.doc
3.2.7.2
PBUE PROFIBUS-Control
This command only exists in the instrument if the option PROFIBUS DP is installed. If this is not the case, the request will be answered by NAK.
45
BA_9310-Vxxx0-EN.doc
3.2.7.3
This command only exists in the instrument if the option PROFIBUS DP is installed. If this is not the case, the request will be answered by NAK.
46
BA_9310-Vxxx0-EN.doc
3.2.7.4
The command PMEM is only active if the Pfofibus hardware is available (device option). Otherwise DIGIFORCE answers with NAK.
Meaning of parameter Pn Parameter Meaning Value P1 Activation of measurement menu AUTO 9310 goes into measurement mode if the AUTO bit is during Proifibus access set STD 9310 goes into measurement mode as soon as Profibus access is active
Meaning of parameter Pn Parameter Meaning Value P1 Activation of measurement menu AUTO 9310 goes into measurement mode if the AUTO bit is during Proifibus access set STD 9310 goes into measurement mode as soon as Profibus access is active.
47
BA_9310-Vxxx0-EN.doc
With the command RSET! the Statistics-Reset can be started. Host sends: DIGIFORCE answers: Host sends: <Address>sr<STX>RSET!<ETX>[<BCC>] <ACK> <EOT>
48
BA_9310-Vxxx0-EN.doc
49
BA_9310-Vxxx0-EN.doc
Meaning Ready-Mode
Meaning Ready-Mode
3.2.10.2
With the command REDY! the READY-Signal can be released. This command makes sense only when the READY-Mode PC-controlled is active. Host sends: DIGIFORCE answers: Host sends: <Address>sr<STX>REDY?<ETX>[<BCC>] <ACK> <EOT>
50
BA_9310-Vxxx0-EN.doc
3.2.11 Administration of Measurement programs 3.2.11.1 DEFA Default-Initializing of all Measurement programs
With the command DEFA! all seven Measurement programs are initialized with Default-values. All entries are erased. Host sends: DIGIFORCE answers: Host sends: <Address>sr<STX>DEFA! <ETX>[<BCC>] <ACK> <EOT>
Value 0 ... 7
Meaning Source program number Target-START program number Target-END program number
51
BA_9310-Vxxx0-EN.doc
3.2.12 OK/NOK graphical display 3.2.12.1 INGR Selection OK/NOK graphical display
52
BA_9310-Vxxx0-EN.doc
Meaning of parameter Pn Parameter Meaning P1 Measurement display curve Meas. display single window evaluation Meas. display NOK-statistics of windows Meas. display total result Meas. display general curve data
Value M1 M2 M3 M4 M5
With the command MENU? the presently configured Measurement menu can be read out.
Host sends: DIGIFORCE answers: Host sends: Host sends: DIGIFORCE answers: Host sends: DIGIFORCE answers: <Address>sr<STX>MENU?<ETX>[<BCC>] <ACK> <EOT> <Address>po<ENQ> <STX>P1<ETX>[<BCC>] <ACK> <EOT>
Meaning of parameter Pn Parameter Meaning P1 Measurement display curve Meas. display single window evaluation Meas. display NOK-statistics of windows Meas. display total result Meas. display general curve data
Value M1 M2 M3 M4 M5
53
BA_9310-Vxxx0-EN.doc
54
BA_9310-Vxxx0-EN.doc
55
BA_9310-Vxxx0-EN.doc
3.3
Value 0 ... 7
Value 0 ... 7
56
BA_9310-Vxxx0-EN.doc
3.3.1.2
57
BA_9310-Vxxx0-EN.doc
3.3.1.3
58
BA_9310-Vxxx0-EN.doc
3.3.1.4
59
BA_9310-Vxxx0-EN.doc
3.3.1.5
60
BA_9310-Vxxx0-EN.doc
3.3.1.6
Meaning Auto-Scaling
Meaning Auto-Scaling
61
BA_9310-Vxxx0-EN.doc
3.3.1.7
Meaning Lower display limit X Upper display limit X Lower display limit Y Upper display limit Y
Value Floating point number without unit Floating point number without unit Floating point number without unit Floating point number without unit
Meaning Lower display limit X Upper display limit X Lower display limit Y Upper display limit Y
Value Floating point number without unit Floating point number without unit Floating point number without unit Floating point number without unit
62
BA_9310-Vxxx0-EN.doc
3.3.1.8
Meaning NOK-display
Meaning NOK-display
63
BA_9310-Vxxx0-EN.doc
P2
Display
Value MESS1 Menu 1: Curve display MESS2 Menu 2: Window evaluation MESS3 Menu 3: Window statistics MESS4 Menu 4: Total evaluation MESS5 Menu 5: General curve data 0 do not show menu 1 show menu
P2
Display
Value MESS1 Menu 1: Curve display MESS2 Menu 2: Window evaluation MESS3 Menu 3: Window statistics MESS4 Menu 4: Total evaluation MESS5 Menu 5: General curve data 0 do not show menu 1 show menu
64
BA_9310-Vxxx0-EN.doc
Meaning Display Measurement menu 1 Display Measurement menu 2 Display Measurement menu 3 Display Measurement menu 4 Display Measurement menu 5
Wert 0 do not show menu 1 show menu 0 do not show menu 1 show menu 0 do not show menu 1 show menu 0 do not show menu 1 show menu 0 do not show menu 1 show menu
65
BA_9310-Vxxx0-EN.doc
66
BA_9310-Vxxx0-EN.doc
3.3.3.2
EINY Unit Y
Value 0 user-defined 1 N 2 kN 3 Nm
Value 0 user-defined 1 N 2 kN 3 Nm
67
BA_9310-Vxxx0-EN.doc
3.3.3.3
68
BA_9310-Vxxx0-EN.doc
3.3.3.4
Parameter P2
69
BA_9310-Vxxx0-EN.doc
3.3.3.5
70
BA_9310-Vxxx0-EN.doc
3.3.3.6
2.5V 2,5V-input voltage 5V 5V-input voltage Positive Floating-point numbers, Sensitivity in [mV/V] e.g. 1.498 End value of sensor Floating-point numbers, e.g. 150.0 Used range of sensor, how great are Floating-point numbers, e.g. 125.0 the maximum sensor forces that occur in the given application?
P2 P3 P4 P5
Value 1 Strain gage 0 no strain gage but standard signal Input terminal voltage 2.5V 2,5V-input voltage 5V 5V-input voltage Sensitivity in [mV/V] Floating-point numbers, e.g. 1.498 End value of sensor Floating-point numbers, e.g. 150.0 Used range of sensor, how great are Floating-point numbers, e.g. 125.0 the maximum sensor forces that occur in the given application?
71
BA_9310-Vxxx0-EN.doc
3.3.3.7
Value 1NC Input range 1 nC 2NC Input range 2 nC 5NC Input range 5 nC 10NC Input range 10 nC 20NC Input range 20 nC 50NC Input range 50 nC 100NC Input range 100 nC 200NC Input range 200 nC 400NC Input range 400 nC
Value 1NC Input range 1 nC 2NC Input range 2 nC 5NC Input range 5 nC 10NC Input range 10 nC 20NC Input range 20 nC 50NC Input range 50 nC 100NC Input range 100 nC 200NC Input range 200 nC 400NC Input range 400 nC
72
BA_9310-Vxxx0-EN.doc
3.3.3.8 open)
measurement you have to send the PIKZ! command with the value 0 (open).
Host sends: DIGIFORCE answers: Host sends: Meaning of parameter Pn Parameter P1 <Adress>sr<STX> PIKZ! P1<ETX>[<BCC>] <ACK> <EOT>
73
BA_9310-Vxxx0-EN.doc
3.3.3.9
FILX Filter X
Filter off Filter with fg=5Hz Filter with fg=10Hz Filter with fg=25Hz Filter with fg=50Hz Filter with fg=100Hz Filter with fg=200Hz Filter with fg=400Hz
Filter off Filter with fg=5Hz Filter with fg=10Hz Filter with fg=25Hz Filter with fg=50Hz Filter with fg=100Hz Filter with fg=200Hz Filter with fg=400Hz
74
BA_9310-Vxxx0-EN.doc
3.3.3.10
FILY Filter Y
Filter off Filter with fg=5Hz Filter with fg=10Hz Filter with fg=25Hz Filter with fg=50Hz Filter with fg=100Hz Filter with fg=200Hz Filter with fg=400Hz
Filter off Filter with fg=5Hz Filter with fg=10Hz Filter with fg=25Hz Filter with fg=50Hz Filter with fg=100Hz Filter with fg=200Hz Filter with fg=400Hz
75
BA_9310-Vxxx0-EN.doc
76
BA_9310-Vxxx0-EN.doc
3.3.3.12
77
BA_9310-Vxxx0-EN.doc
3.3.3.13
78
BA_9310-Vxxx0-EN.doc
3.3.3.14
79
BA_9310-Vxxx0-EN.doc
3.3.3.15
80
BA_9310-Vxxx0-EN.doc
3.3.3.16
81
BA_9310-Vxxx0-EN.doc
3.3.3.17
With the command MKLX! the calibration values for the X-channel can be measured. It must be indicated which calibration value is to be measured. The entered values, however, are only taken over after a new calibration for this channel has been calculated (DOKX/DOKY)! This input is valid only for the present measurement program. Host sends: DIGIFORCE answers: Host sends: Meaning of parameter Pn Parameter P1 <Address>sr<STX>MKLX! P1<ETX>[<BCC>] <ACK> <EOT>
3.3.3.18
With the command MKLY! the calibration values for the Y-channel can be measured. It must be indicated which calibration value is to be measured. The entered values, however, are only taken over after a new calibration for this channel has been calculated (DOKX/DOKY)! This input is valid only for the present measurement program. Host sends: DIGIFORCE answers: Host sends: Meaning of parameter Pn Parameter P1 <Address>sr<STX>MKLY! P1<ETX>[<BCC>] <ACK> <EOT>
3.3.3.19
With the command DOKX! a calculation of calibration data for the X-channel is started. Only then the calibration data is taken over. During calculation the data is being checked. If this check has a negative outcome the device sends a NAK and does not take over the calibration. The command has no further parameters. This input is valid only for the present measurement program. Host sends: DIGIFORCE answers: Host sends: <Address>sr<STX>DOKX!<ETX>[<BCC>] <ACK> <EOT>
82
BA_9310-Vxxx0-EN.doc
83
BA_9310-Vxxx0-EN.doc
Meaning
3.3.4.2
Bedeutung
84
BA_9310-Vxxx0-EN.doc
85
BA_9310-Vxxx0-EN.doc
3.3.5.2
86
BA_9310-Vxxx0-EN.doc
87
BA_9310-Vxxx0-EN.doc
88
BA_9310-Vxxx0-EN.doc
3.3.5.5
With the command STST? the sensor test is executed and the result is transferred. Host sends: DIGIFORCE answers: Host sends: Host sends: DIGIFORCE answers: Host sends: DIGIFORCE answers: Meaning of parameter Pn Parameter P1 <Address>sr<STX>STST?<ETX>[<BCC>] <ACK> <EOT> <Address>po<ENQ> <STX>P1<ETX>[<BCC>] <ACK> <EOT>
Value IO Sensor is within the specs. NIOX X-Sensor is out of tolerance NIOY Y-Sensor is out of tolerance NIOXY X- und Y-Sensor are out of tolerance
89
BA_9310-Vxxx0-EN.doc
90
BA_9310-Vxxx0-EN.doc
91
BA_9310-Vxxx0-EN.doc
92
BA_9310-Vxxx0-EN.doc
Value ABS Absolute reference TRI Trigger reference END Block reference BLF Block window
Value ABS Absolute reference TRI Trigger reference END Block reference BLF Block window
93
BA_9310-Vxxx0-EN.doc
94
BA_9310-Vxxx0-EN.doc
95
BA_9310-Vxxx0-EN.doc
Start/Stop controlled by PLC / Field bus Start/Stop controlled by internal threshold value X-channel
Start/Stop controlled by PLC / Field bus Start/Stop controlled by internal threshold value X-channel
96
BA_9310-Vxxx0-EN.doc
97
BA_9310-Vxxx0-EN.doc
3.3.6.8
With the command STAR the PLC tare function can be configured or read out. Configure PLC tare function: Host sends: DIGIFORCE answers: Host sends: Meaning of parameter Pn Parameter P1 <Address>sr<STX> STAR! P1<ETX>[<BCC>] <ACK> <EOT>
Value X Only tare X is started Y Only tare Y is started X+Y -> Tare X and Y are started
Read out an already configured PLC tare function: Host sends: DIGIFORCE answers: Host sends: Host sends: DIGIFORCE answers: Host sends: DIGIFORCE answers: Meaning of parameter Pn Parameter P1 <Address>sr<STX>STAR??<ETX>[<BCC>] <ACK> <EOT> <Address>po<ENQ> <STX>P1 <ETX>[<BCC>] <ACK> <EOT>
Value X Only tare X is started Y Only tare Y is started X+Y -> Tare X and Y are started
3.3.6.9
With the command TARA! the tare X or Y can be started via the serial interface. Host sends: DIGIFORCE answers: Host sends: Meaning of parameter Pn Parameter P1 P2 <Address>sr<STX> TARA! P1,P2 <ETX>[<BCC>] <ACK> <EOT>
Value X Tare X Y Tare Y 1 Start tare function 0 Take back tare function
98
BA_9310-Vxxx0-EN.doc
Value 1 ... 3 AUS Window is switched off DURCH Window is a pass through type BLOCK Window is a block type ONLINE Window is an online type
Value 1 ... 3 AUS Window is switched off DURCH Window is a pass through type BLOCK Window is a block type ONLINE Window is an online type
99
BA_9310-Vxxx0-EN.doc
Meaning Window number Window border Xmin Window border Xmax Window border Ymin Window border Ymax
Value 1 ... 3 Floating-point number without unit Floating-point number without unit Floating-point number without unit Floating-point number without unit
Meaning Window number Window border Xmin Window border Xmax Window border Ymin Window border Ymax
Value 1 ... 3 Floating-point number without unit Floating-point number without unit Floating-point number without unit Floating-point number without unit
100
BA_9310-Vxxx0-EN.doc
Entry on left Entry on right Entry on top Entry on bottom Entry does not matter
Entry on left Entry on right Entry on top Entry on bottom Entry side does not matter
101
BA_9310-Vxxx0-EN.doc
Exit to left Exit to right Exit to top Exit to bottom Exit side does not matter
Exit to left Exit to right Exit to top Exit to bottom Exit side does not matter
102
BA_9310-Vxxx0-EN.doc
3.3.7.2
Switch points
Value X X-channel Y Y-channel Floating-point number without unit ABS Reference: Absolute TRIG Reference: Trigger (Only channel X and if Trigger is active)
Value X X-channel Y Y-channel Floating-point number without unit ABS Reference: Absolute TRIG Reference: Trigger (Only channel X and if Trigger is active)
103
BA_9310-Vxxx0-EN.doc
Value X X-channel Y Y-channel Floating-point number without unit ABS Reference: Absolute TRIG Reference: Trigger (Only channel X and if Trigger is active)
Value X X-channel Y Y-channel Floating-point number without unit ABS Reference: Absolute TRIG Reference: Trigger (Only channel X and if Trigger is active)
104
BA_9310-Vxxx0-EN.doc
Value 0 Since last reset no measurement was started 1 Present measurement, results have been read out 2 Present measurement, no results have yet been read out
105
BA_9310-Vxxx0-EN.doc
3.3.9.1.1 MERG Measurement result Input of a new value With the command MERG! The pieces counter and NOK-counter can be set (for backup)
Host sends: DIGIFORCE answers: Host sends: Meaning of parameter Pn Parameter P1 P2 <Address>sr<STX>MERG! P1,P2 <ETX>[<BCC>] <ACK> <EOT>
Value 32 0 ... 2 32 0 ... 2 NOK Evaluation result: not as per specs. OK Evaluation result: in good order NOT Evaluation result: NOK as result of passing the trend limiting (with actice clinch point monitoring);
106
BA_9310-Vxxx0-EN.doc
value 0 -> X-channel not in overrange 1 -> X-channel in overrange 0 -> Y-channel not in overrange 1 -> Y-channel in overrange
107
BA_9310-Vxxx0-EN.doc
Meaning Smallest force, X-coordinate Smallest force, Y-coordinate Greatest force, X-coordinate Greatest force, Y-coordinate Smallest displacement, X-coordinate Smallest displacement, Y-coordinate Greatest displacement, X-coordinate Greatest displacement, Y-coordinate Last point, X-coordinate Last point, Y-coordinate First point, X-coordinate First point, Y-coordinate
Value Floating-point number with unit Floating-point number with unit Floating-point number with unit Floating-point number with unit Floating-point number with unit Floating-point number with unit Floating-point number with unit Floating-point number with unit Floating-point number with unit Floating-point number with unit Floating-point number with unit Floating-point number with unit
P2 P3
Value YMIN Smallest force YMAX Greatest force XMIN Smallest displacement XMAX Greatest displacement LAST Last point FIRST First point Floating-point number with unit Floating-point number with unit
108
BA_9310-Vxxx0-EN.doc
3.3.9.1.4 MALL? Common curve data With the command MALL? a summery of all curve and evaluation results can be read out. Single parts can be ead with the commands MERG?, AKRV? and KRVA?
Host sends: DIGIFORCE answers: Host sends: Host sends: DIGIFORCE answers: Host sends: DIGIFORCE answers:
Meaning of parameter Pn Parameter Meaning P1 Unit X-Axis P2 Unit Y-Axis P3 M X axis (zero point of X values) P4 M Y axis (zero point of Y values) P5 K X axis (gradient of X values) P6 K Y axis (gradient of Y values) P7 Number of measurement values P8 Pieces counter P9 NOK-counter P10 Total result
P11 P12 P13 P14 P15 P16 P17 P18 P19 P20 P21 P22 P23 P24 P25
Smallest force, X-coordinate Smallest force, Y-coordinate Greatest force, X-coordinate Greatest force, Y-coordinate Smallest displacement, X-coordinate Smallest displacement, Y-coordinate Greatest displacement, X-coordinate Greatest displacement, Y-coordinate Last point, X-coordinate Last point, Y-coordinate First point, X-coordinate First point, Y-coordinate X-channel overrange Y-channel overrange Status: max. number of values reached
value Character chain with 4 figures Character chain with 4 figures float float float float 0 ... 4000 32 0 ... 2 32 0 ... 2 NOK Evaluation result: not as per specs. OK Evaluation result: in good order NOT Evaluation result: NOK as result of passing the trend limiting (with actice clinch point monitoring); Floating-point number with unit Floating-point number with unit Floating-point number with unit Floating-point number with unit Floating-point number with unit Floating-point number with unit Floating-point number with unit Floating-point number with unit Floating-point number with unit Floating-point number with unit Floating-point number with unit Floating-point number with unit 0 -> X-channel not in overrange 1 -> X-channel in overrange 0 -> Y-channel not in overrange 1 -> Y-channel in overrange 0 -> Max. number of values not reached 1 -> Max. number of values is reached
109
BA_9310-Vxxx0-EN.doc
3.3.9.2
Window results
P2
Result window 2
P3
Result window 3
Window was not in specs. Window was in specs. Window was not activated Window was not in specs. Window was in specs. Window was not activated Window was not in specs. Window was in specs. Window was not activated
110
BA_9310-Vxxx0-EN.doc
3.3.9.2.2 FCNT Window NOK counter Input of a new value With the command FCNT! the window NOK counter can be set
Host sends: DIGIFORCE answers: Host sends: <Address>sr<STX> FCNT! P1,P2,P3<ETX>[<BCC>] <ACK> <EOT>
Meaning of parameter Pn Parameter Meaning P1 Window 1 NOK counter P2 Window 2 NOK counter P2 Window 3 NOK counter
Readout of present value With the command FCNT! the window NOK counter can be read out.
Host sends: DIGIFORCE answers: Host sends: Host sends: DIGIFORCE answers: Host sends: DIGIFORCE answers: <Address>sr<STX>FCNT?<ETX>[<BCC>] <ACK> <EOT> <Address>po<ENQ> <STX>P1,P2,P3<ETX>[<BCC>] <ACK> <EOT>
Meaning of parameter Pn Parameter Meaning P1 Window 1 NOK counter P2 Window 2 NOK counter P2 Window 3 NOK counter
111
BA_9310-Vxxx0-EN.doc
Meaning of parameter Pn Parameter Meaning P1 Window number P2 Window entry, X-coordinate P3 Window entry, Y-coordinate P4 Window exit, X-coordinate (for block window: block value X) P5 Window exit, Y-coordinate (for block window: block value Y)
Value 1 ... 3 Floating-point number with unit Floating-point number with unit Floating-point number with unit Floating-point number with unit
112
BA_9310-Vxxx0-EN.doc
Host sends: DIGIFORCE answers: Host sends: Host sends: DIGIFORCE answers: Host sends: DIGIFORCE answers:
P4 P5 P6 P7 P8 P9
Statistics window 1 Window 1 entry, X-coordinate Window 1 entry, Y-coordinate Window 1 exit, X-coordinate (for block window: block value X) Window 1 exit, Y-coordinate (for block window: block value Y) Reslt window 2
value String String NOK Window was not in specs. OK Window was in specs. OFF Window was not activated Floating-point number with unit (%) Floating-point number with unit Floating-point number with unit Floating-point number with unit Floating-point number with unit NOK Window was not in specs. OK Window was in specs. OFF Window was not activated Floating-point number with unit (%) Floating-point number with unit Floating-point number with unit Floating-point number with unit Floating-point number with unit NOK Window was not in specs. OK Window was in specs. OFF Window was not activated Floating-point number with unit (%) Floating-point number with unit Floating-point number with unit Floating-point number with unit Floating-point number with unit
Statistics window 2 Window 2 entry, X-coordinate Window 2 entry, Y-coordinate Window 2 exit, X-coordinate (for block window: block value X) Window 2 exit, Y-coordinate (for block window: block value Y) Reslt window 3
Statistics window 3 Window 3 entry, X-coordinate Window 3 entry, Y-coordinate Window 3 exit, X-coordinate (for block window: block value X) Window 3 exit, Y-coordinate (for block window: block value Y)
113
BA_9310-Vxxx0-EN.doc
3.3.9.3
Statistics
Value Floating-point number with unit (%) Floating-point number with unit (%) Floating-point number with unit (%)
114
BA_9310-Vxxx0-EN.doc
3.3.9.4
Measurement curve
Meaning of parameter Pn Parameter Meaning P1 Unit X-Axis P2 Unit Y-Axis P3 M X-Axis P4 M Y-Axis P5 K X-Axis P6 K Y-Axis P7 Number of measurement values P8 Status: Max. number of values reached
Value Character chain with 4 figures Character chain with 4 figures Floating-point number Floating-point number Floating-point number Floating-point number 0 ... 4000 0 1 max. numeber not reached max. number is reached
115
BA_9310-Vxxx0-EN.doc
Host sends: <Address>po<ENQ> DIGIFORCE answers: <STX>X1,Y1,X2,Y2,X3,Y3,X4,Y4,X5,Y5, X6,Y6,X7,Y7,X8,Y8,X9,Y9,X10,Y10, LF<ETX>[<BCC>] Host sends: <ACK> DIGIFORCE answers: <STX>X11,Y11, ..... ,X20,Y20, LF<ETX>[<BCC>] Host sends: <ACK> .................. DIGIFORCE answers: <EOT>
Whereas (X1|Y1) are the coordinates for the first point of the curve. With the command KURV! data in the output buffer, arosen from an interrupted KURV? command, could be erased.
116
BA_9310-Vxxx0-EN.doc
3.3.10
Envelope
envelope was violated data within envelope curve band envelope not active
3.3.10.1.2 HCNT Envelope NOK counter Input of a new value With the command HCNT! the NOK counter of the envelope evaluation can be set
Host sends: DIGIFORCE answers: Host sends: <Address>sr<STX>HCNT! P1 <ETX>[<BCC>] <ACK> <EOT>
Readout of present value With the command HCNT! the NOK counter of the envelope evaluation can be read out. The command is only valid if the envelope is active.
Host sends: DIGIFORCE answers: Host sends: Host sends: DIGIFORCE answers: Host sends: DIGIFORCE answers: <Address>sr<STX>HCNT?<ETX>[<BCC>] <ACK> <EOT> <Address>po<ENQ> <STX>P1<ETX>[<BCC>] <ACK> <EOT>
117
BA_9310-Vxxx0-EN.doc
3.3.10.1.3 TCNT Ternd limit violated NOK counter Input of a new value With the command TCNT! the NOK counter of the trend limit can be set.
Host sends: DIGIFORCE answers: Host sends: <Address>sr<STX>TCNT! P1<ETX>[<BCC>] <ACK> <EOT>
Readout of present value With the command TCNT! the NOK counter of the trend limit can be read out. The command is only valid if the envelope is active.
Host sends: DIGIFORCE answers: Host sends: Host sends: DIGIFORCE answers: Host sends: DIGIFORCE answers: <Address>sr<STX>TCNT?<ETX>[<BCC>] <ACK> <EOT> <Address>po<ENQ> <STX>P1 <ETX>[<BCC>] <ACK> <EOT>
118
BA_9310-Vxxx0-EN.doc
3.3.10.1.4 HSTX Envelope NOK statistic With the HSTX? command, the envelope NOK statistic can be queried. This relates to the NOK fraction (in percent) of the envelope relative to the total NOK evaluations.
Host sends: DIGIFORCE answers: Host sends: Host sends: DIGIFORCE answers: Host sends: DIGIFORCE answers: <Address>sr<STX>HSTX?<ETX>[<BCC>] <ACK> <EOT> <Address>po<ENQ> <STX>P1<ETX>[<BCC>] <ACK> <EOT>
3.3.10.1.5
With the HNIO? command, the X/Y coordinate can be retrieved, at which, in the NOK case, the envelope has been crossed. The command is only valid if the envelope is activated.
Host sends: DIGIFORCE answers: Host sends: Host sends: DIGIFORCE answers: Host sends: DIGIFORCE answers:
Meaning of parameter Pn Parameter Meaning P1 X coordinate of the point where the envelope has been crossed. P2 Y coordinate of the point where the envelope has been crossed.
119
BA_9310-Vxxx0-EN.doc
3.3.10.1.6 TGRZ Trend limit reached With the TGRZ? command, the result of trend tracking can be retrieved. Has the trend limit been reached and where? Through the envelope, the online window or the block window. The command in only allowed if trend tracking is activated. If the online or the block window is off, then a 0 is returned.
Host sends: DIGIFORCE answers: Host sends: Host sends: DIGIFORCE answers: Host sends: DIGIFORCE answers: <Address>sr<STX>TGRZ?<ETX>[<BCC>] <ACK> <EOT> <Address>po<ENQ> <STX>P1,P2,P3<ETX>[<BCC>] <ACK> <EOT>
Meaning of parameter Pn Parameter Meaning P1 Envelope trend limit reached P2 Online window trend limit reached
P3
Value 0 -> Trend limit of the envelope has not been reached 1 -> Trend limit of the envelope has not been reached 0 -> Trend limit is not reached or online window is off. 1 -> Trend limit of the online window has not been reached 0 -> Trend limit has not been reached or block window is off. 1 -> Trend limit of the block window has been reached
120
BA_9310-Vxxx0-EN.doc
3.3.10.1.7 TSTX Trend limit reaches NOK statistic With the TSTX? command, the 'trend limit reached NOK statistic can be queried. This relates to the NOK fraction (in percent) of the trend limit reached relative to the total NOK evaluations. The trend limit reached
statistic only functions if clinch function is activated and trend is switched on.
Host sends: DIGIFORCE answers: Host sends: Host sends: DIGIFORCE answers: Host sends: DIGIFORCE answers:
3.3.10.1.8 TNIO trend limit reached NOK X /Y coordinate With the TNIO? command, the X/Y coordinate can be retrieved, at which, in the NOK case, the trend limit has been crossed. The command is only valid if the envelope is activated, clinch function is activated and trend
switched on.
Host sends: DIGIFORCE answers: Host sends: Host sends: DIGIFORCE answers: Host sends: DIGIFORCE answers:
Meaning of parameter Pn Parameter Meaning P1 X coordinate of the point where the trend limit has been crossed. P2 Y coordinate of the point where the trend limit has been crossed.
121
BA_9310-Vxxx0-EN.doc
Readout of present value With the HKRV? command, it can be queried whether envelope is switched on or off.
Host sends: DIGIFORCE answers: Host sends: Host sends: DIGIFORCE answers: Host sends:
DIGIFORCE answers:
<EOT>
122
BA_9310-Vxxx0-EN.doc
3.3.10.2.2 HDEY Envelope delta Y value Input of a new value With the HDEY! command, the delta Y value of the envelope can be set.
Host sends: DIGIFORCE answers: Host sends: <Address>sr<STX>HDEY! P1<ETX>[<BCC>] <ACK> <EOT>
Readout of present value With the HDEY? command, the delta Y value of the envelope can be queried.
Host sends: DIGIFORCE answers: Host sends: Host sends: DIGIFORCE answers: Host sends:
DIGIFORCE answers:
<EOT>
123
BA_9310-Vxxx0-EN.doc
3.3.10.2.3 HXGR Envelope X limits Input of a new value With the HXGR! command, Xmin and Xmax values of the envelope can be set.
Host sends: DIGIFORCE answers: Host sends: <Address>sr<STX>HXGR! P1,P2<ETX>[<BCC>] <ACK> <EOT>
Meaning of parameter Pn Parameter Meaning P1 Xmin limit of the envelope P2 Xmax limit of the envelope
Query value With the HXGR? command, the delta Y value of the envelope can be queried.
Host sends: DIGIFORCE answers: Host sends: Host sends: DIGIFORCE answers: Host sends:
DIGIFORCE answers:
<EOT>
Meaning of parameter Pn Parameter Meaning P1 Xmin limit of the envelope P2 P3 P4 Xmax limit of the envelope Permitted minimum Xmin limit of the envelope Permitted maximum Xmax limit of the envelope
Value Floating-point value with X unit Floating-point value with X unit Floating-point value with X unit Floating-point value with X unit
124
BA_9310-Vxxx0-EN.doc
3.3.10.2.4
Input of a new value With the TREN! command, the envelope can be switched on or off.
Host sends: DIGIFORCE answers: Host sends: <Address>sr<STX>TREN! P1<ETX>[<BCC>] <ACK> <EOT>
Value 0 -> Trend env. c. off, trend online window off, trend block window off 1 -> Trend env. c. on, trend online window on, trend block window on 2 -> Trend env. c. on, trend online window on, trend block window off 3 -> Trend env. c. on, trend online window off, trend block window on 4 -> Trend env. c. on, trend online window off, trend block window off
Readout of present value With the TREN? command, it can be queried whether trend is switched on or off.
Host sends: DIGIFORCE answers: Host sends: Host sends: DIGIFORCE answers: Host sends:
DIGIFORCE answers:
<EOT>
Value 0 -> Trend env. c. off, trend online window off, trend block window off 1 -> Trend env. c. on, trend online window on, trend block window on 2 -> Trend env. c. on, trend online window on, trend block window off 3 -> Trend env. c. on, trend online window off, trend block window on 4 -> Trend env. c. on, trend online window off, trend block window off
125
BA_9310-Vxxx0-EN.doc
3.3.10.2.5 TDEY trend delta Y value Input of a new value With the TDEY! command, the delta Y value of the trend can be set.
Host sends: DIGIFORCE answers: Host sends: <Address>sr<STX>TDEY! P1<ETX>[<BCC>] <ACK> <EOT>
Readout of present value With the TDEY? command, the delta Y value of the trend can be queried.
Host sends: DIGIFORCE answers: Host sends: Host sends: DIGIFORCE answers: Host sends:
DIGIFORCE answers:
<EOT>
126
BA_9310-Vxxx0-EN.doc
3.3.10.2.6 TGEW trend weighting Input of a new value With the TGEW! command, the trend weighting can be set.
Host sends: DIGIFORCE answers: Host sends: <Address>sr<STX>TGEW! P1<ETX>[<BCC>] <ACK> <EOT>
Readout of present value With the TGEW? command, the trend weighting can be queried.
Host sends: DIGIFORCE answers: Host sends: Host sends: DIGIFORCE answers: Host sends:
DIGIFORCE answers:
<EOT>
127
BA_9310-Vxxx0-EN.doc
3.3.10.2.7 HSTA envelope available or not With the HSTA? command, it can be queried whether an envelope is available or not.
Host sends: DIGIFORCE answers: Host sends: Host sends: DIGIFORCE answers: Host sends: DIGIFORCE answers: <Address>sr<STX>HSTA?<ETX>[<BCC>] <ACK> <EOT> <Address>po<ENQ> <STX>P1<ETX>[<BCC>] <ACK> <EOT>
With the RESH! command, the envelope can be reset to its teach-in value when trend tracking is switched on. The command is only valid if the clinch function is switched on
128
BA_9310-Vxxx0-EN.doc
Value NEW -> new envelope is set up MODIFY -> envelope is modified
Readout of present value With the HEIN? command, the operating mode for setting up the envelope can be queried (new / modify).
Host sends: DIGIFORCE answers: Host sends: Host sends: DIGIFORCE answers: Host sends:
DIGIFORCE answers:
<EOT>
Value NEW -> new envelope is set up MODIFY -> envelope is modified
129
BA_9310-Vxxx0-EN.doc
3.3.10.3.2 HEBE Type of confirmation when setting up the envelope (always/once) Input of a new value With the HEBE! command, the confirmation when setting up the envelope can be set. (once / always)
Host sends: DIGIFORCE answers: Host sends: <Address>sr<STX>HEBE! P1<ETX>[<BCC>] <ACK> <EOT>
Meaning of parameter Pn Parameter Meaning P1 Confirmation type when setting up the envelope.
Value ALWAYS -> Confirm after each curve ONCE -> confirm once at end
Readout of present value With the HEBE? command, the confirmation when setting up the envelope can be queried. (once / always)
Host sends: DIGIFORCE answers: Host sends: Host sends: DIGIFORCE answers: Host sends: <Address>sr<STX>HEBE?<ETX>[<BCC>] <ACK> <EOT> <Address>po<ENQ> <STX>P1<ETX>[<BCC>] <ACK>
DIGIFORCE answers:
<EOT>
Meaning of parameter Pn Parameter Meaning P1 Confirmation type when setting up the envelope.
Value ALWAYS -> Confirm after each curve ONCE -> confirm once at end
130
BA_9310-Vxxx0-EN.doc
3.3.10.3.3 HARE number of reference curves when setting up the envelope Input of a new value With the HARE! command, the number of reference curves used when setting up the envelope can be set.
Host sends: DIGIFORCE answers: Host sends: <Address>sr<STX>HARE! P1<ETX>[<BCC>] <ACK> <EOT>
Meaning of parameter Pn Parameter Meaning P1 Number of reference curves when setting up the envelope
Readout of present value With the HARE? command, the number of reference curves used when setting up the envelope can be queried.
Host sends: DIGIFORCE answers: Host sends: Host sends: DIGIFORCE answers: Host sends:
DIGIFORCE answers:
<EOT>
Meaning of parameter Pn Parameter Meaning P1 Number of reference curves when setting up the envelope
131
BA_9310-Vxxx0-EN.doc
3.3.10.3.4 RANZ number or reference curve points Input of a new value With the RANZ! command, the number of reference curve points can be set.
Host sends: DIGIFORCE answers: Host sends: <Address>sr<STX>RANZ! P1<ETX>[<BCC>] <ACK> <EOT>
Readout of present value With the RANZ? command, the number of reference curve points can be queried.
Host sends: DIGIFORCE answers: Host sends: Host sends: DIGIFORCE answers: Host sends:
DIGIFORCE answers:
<EOT>
132
BA_9310-Vxxx0-EN.doc
3.3.10.3.5 RSTA reference curve status Readout of present value With the RSTA? command, the different states of the reference curve can be queried.
Host sends: DIGIFORCE answers: Host sends: Host sends: DIGIFORCE answers: Host sends:
DIGIFORCE answers:
<EOT>
Value 0 -> no reference curve 1 -> values already retrieved 2 -> new values 0 -> no reference curve 1 -> values already retrieved 2 -> new values 0 -> no reference curve 1 -> values already retrieved 2 -> new values 0 -> no reference curve 1 -> values already retrieved 2 -> new values 0 -> no reference curve 1 -> values already retrieved 2 -> new values 0 -> no reference curve 1 -> values already retrieved 2 -> new values
Meaning of parameter Pn Parameter Meaning P1 Status of Y values of the reference curve for creating the envelope
P2
P3
P4
P5
Status of Y values of the reference curve for creating the trend curve
P6
Status of Y cumulative values of the reference curve for creating the trend curve Reserved Reserved
P7 P8
133
BA_9310-Vxxx0-EN.doc
3.3.10.3.6 RYWE Y mean values of the reference curve (tracked values) If trend is activated, this relates to the tracked values. RYWE! Values from host to unit
With this command, the Y mean values (normalized values: values corrected by the zero point) of the reference curve can be transferred from the host to the unit. The Y mean values are transferred in blocks of up to 20 values (parameters 2 to 21). Parameter 1 is the block number. With a maximum of 4000 values there is thus a maximum of 200 blocks. The block number therefore gives the number of blocks, which each contain 20 values. Full 20 value containing blocks must always be transferred. However, the unit only considers values up until the number of values has been reached. In the last block, any of the 20 values, which remain unfilled can be padded with dummies. The number of values must therefore be transferred prior to this command using the command RANZ!. Host sends: DIGIFORCE answers: Host sends: <Address>sr<STX>RYWE! P1,P2,....,P21<ETX>[<BCC>] <ACK> <EOT>
Meaning of parameter Pn Parameter Meaning P1 Block number P2-P21 Y mean values of the reference curve RYWE? Values from unit to host
Value
With this command, the Y mean values (normalized values: values corrected by the zero point) of the reference curve can be transferred from the unit to the host. 40 values are always transferred at the same time. After polling, these first 40 values are transferred. Once the host has confirmed receipt with <ACK> , the next 40 values are transferred. This continues until all values have been transferred. When all values have been transferred, the unit answers with <EOT> following the <ACK>. Full 40 value containing blocks are always transferred. The last block of 40 is padded with dummies. There may be up to 4000 values. Thus there may be up to 100 blocks. The host must previously have retrieved the number of values using the RANZ? command. Host sends: DIGIFORCE answers: Host sends: Host sends: DIGIFORCE answers: Host sends: DIGIFORCE answers: Host sends: . . . DIGIFORCE answers: <Address>sr<STX>RYWE?<ETX>[<BCC>] <ACK> <EOT> <Address>po<ENQ> <STX>P1,P2,P3,....P40<ETX>[<BCC>] <ACK> <STX>P41,P42,P43,....P80<ETX>[<BCC>] <ACK>
<EOT>
Meaning of parameter Pn Parameter Meaning P1-P4000 Y mean values of the reference curve
Value
134
BA_9310-Vxxx0-EN.doc
3.3.10.3.7 RYSU Y cumulative values of the reference curve RYSU! Values from host to unit
With this command, the Y cumulative values (normalized values: values corrected by the zero point) of the reference curve can be transferred from the host to the unit. The Y cumulative values are transferred in blocks of up to 20 values (parameters 2 to 21). Parameter 1 is the block number. With a maximum of 4000 values there is thus a maximum of 200 blocks. The block number therefore gives the number of blocks, which each contain 20 values. Full 20 value containing blocks must always be transferred. However, the unit only considers values up until the number of values has been reached. In the last block, any of the 20 values, which remain unfilled can be padded with dummies. The number of values must therefore be transferred prior to this command using the command RANZ!. Host sends: DIGIFORCE answers: Host sends: <Address>sr<STX>RYSU! P1,P2,....,P21<ETX>[<BCC>] <ACK> <EOT>
Meaning of parameter Pn Parameter Meaning P1 Block number P2-P21 Y cumulative values of the reference curve RYSU? Values from unit to host
Value
With this command, the average Y values (normalized values: values corrected by the zero point) of the reference curve can be transferred from the unit to the host. 20 values are always transferred at the same time. After polling, these first 20 values are transferred. Once the host has confirmed receipt with <ACK> , the next 20 values are transferred. This continues until all values have been transferred. When all values have been transferred, the unit answers with <EOT> following the <ACK>. Full 20 value blocks are always transferred. The last block of 20 is padded with dummies. There may be up to 4000 values. Thus there may be up to 200 blocks. The host must previously have retrieved the number of values using the RANZ? command. Host sends: DIGIFORCE answers: Host sends: Host sends: DIGIFORCE answers: Host sends: DIGIFORCE answers: Host sends: . . . DIGIFORCE answers: <Address>sr<STX>RYSU?<ETX>[<BCC>] <ACK> <EOT> <Address>po<ENQ> <STX>P1,P2,P3,....P20<ETX>[<BCC>] <ACK> <STX>P21,P22,P23,....P40<ETX>[<BCC>] <ACK>
<EOT>
Meaning of parameter Pn Parameter Meaning P1-P4000 Y cumulative values of the reference curve
Value
135
BA_9310-Vxxx0-EN.doc
3.3.10.3.8 RXWE X values of the reference curve RXWE! Values from host to unit
With this command, the X values (normalized values: values corrected by the zero point) of the reference curve can be transferred from the host to the unit. The X values are transferred in blocks of up to 20 values (parameters 2 to 21). Parameter 1 is the block number. With a maximum of 4000 values there is thus a maximum of 200 blocks. The block number therefore gives the number of blocks, which each contain 20 values. Full 20 value containing blocks must always be transferred. However, the unit only considers values up until the number of values has been reached. In the last block, any of the 20 values, which remain unfilled can be padded with dummies. The number of values
must therefore be transferred prior to this command using the command RANZ!.
Host sends: DIGIFORCE answers: Host sends: <Address>sr<STX>RXWE! P1,P2,....,P21<ETX>[<BCC>] <ACK> <EOT>
Meaning of parameter Pn Parameter Meaning P1 Block number P2-P21 X values of the reference curve
RXWE? Values from unit to host With this command, the X values (normalized values: values corrected by the zero point) of the reference curve can be transferred from the unit to the host. 40 values are always transferred at the same time. After polling, these first 40 values are transferred. Once the host has confirmed receipt with <ACK> , the next 40 values are transferred. This continues until all values have been transferred. When all values have been transferred, the unit answers with <EOT> following the <ACK>. Full 40 value containing blocks are always transferred. The last block of 40 is padded with dummies. There may be up to 4000 values. Thus there may be up to 100 blocks. The host must previously have
. . . DIGIFORCE answers:
<EOT>
Value Hex values without 0 termination
136
BA_9310-Vxxx0-EN.doc
3.3.10.3.9 RYMI delta Y minimum values of the reference curve RYMI! Values from host to unit
With this command, the delta Y minimum values of the reference curve are transferred from the host to the unit. The delta Y minimum values are transferred in blocks of up to 20 values (parameters 2 to 21). Parameter 1 is the block number. With a maximum of 4000 values there is thus a maximum of 200 blocks. The block number therefore gives the number of blocks, which each contain 20 values. Full 20 value containing blocks must always be transferred. However, the unit only considers values up until the number of values has been reached. In the last block, any of the 20 values, which remain unfilled can be padded with dummies. The number of values
must therefore be transferred prior to this command using the command RANZ!.
Host sends: DIGIFORCE answers: Host sends: <Address>sr<STX>RYMI! P1,P2,....,P21<ETX>[<BCC>] <ACK> <EOT>
Meaning of parameter Pn Parameter Meaning P1 Block number P2-P21 Delta Y minimum values of the reference curve
RYMI? Values from unit to host With this command, the delta Y minimum values of the reference curve are transferred from the unit to the host. 40 values are always transferred at the same time. After polling, these first 40 values are transferred. Once the host has confirmed receipt with <ACK> , the next 40 values are transferred. This continues until all values have been transferred. When all values have been transferred, the unit answers with <EOT> following the <ACK>. Full 40 value containing blocks are always transferred. The last block of 40 is padded with dummies. There may be up to 4000 values. Thus there may be up to 100 blocks. The host must previously have
. . . DIGIFORCE answers:
<EOT>
Value Hex values without 0 termination
Meaning of parameter Pn Parameter Meaning P1-P4000 Delta Y minimum values of the reference curve
137
BA_9310-Vxxx0-EN.doc
3.3.10.3.10 RYMA!
With this command, the delta Y maximum values of the reference curve are transferred from the host to the unit. The delta Y maximum values are transferred in blocks of up to 20 values (parameters 2 to 21). Parameter 1 is the block number. With a maximum of 4000 values there is thus a maximum of 200 blocks. The block number therefore gives the number of blocks, which each contain 20 values. Full 20 value containing blocks must always be transferred. However, the unit only considers values up until the number of values has been reached. In the last block, any of the 20 values, which remain unfilled can be padded with dummies. The number of values
must therefore be transferred prior to this command using the command RANZ!.
Host sends: DIGIFORCE answers: Host sends: <Address>sr<STX>RYMA! P1,P2,....,P21<ETX>[<BCC>] <ACK> <EOT>
Meaning of parameter Pn Parameter Meaning P1 Block number P2-P21 Delta Y maximum values of the reference curve
RYMA? Values from unit to host With this command, the delta Y maximum values of the reference curve are transferred from the unit to the host. 40 values are always transferred at the same time. After polling, these first 40 values are transferred. Once the host has confirmed receipt with <ACK> , the next 40 values are transferred. This continues until all values have been transferred. When all values have been transferred, the unit answers with <EOT> following the <ACK>. Full 40 value containing blocks are always transferred. The last block of 40 is padded with dummies. There may be up to 4000 values. Thus there may be up to 100 blocks. The host must previously have
. . . DIGIFORCE answers:
<EOT>
Meaning of parameter Pn Parameter Meaning Value P1-P4000 Delta Y maximum values of the reference Hex values without 0 curve termination
138
BA_9310-Vxxx0-EN.doc
3.3.10.3.11
If trend is activated, this relates to the non-tracked values. RYTR! Values from host to unit
With this command, the Y mean values (normalized value: values corrected by the zero point) of the reference curve can be transferred from the host to the unit. The Y mean values are transferred in blocks of up to 20 values (parameters 2 to 21). Parameter 1 is the block number. With a maximum of 4000 values there is thus a maximum of 200 blocks. The block number therefore gives the number of blocks, which each contain 20 values. Full 20 value containing blocks must always be transferred. However, the unit only considers values up until the number of values has been reached. In the last block, any of the 20 values, which remain unfilled can be padded with dummies. The number of values
must therefore be transferred prior to this command using the command RANZ!.
Host sends: DIGIFORCE answers: Host sends: <Address>sr<STX>RYTR! P1,P2,....,P21<ETX>[<BCC>] <ACK> <EOT>
Meaning of parameter Pn Parameter Meaning P1 Block number P2-P21 Y mean values of the reference curve
RYTR? Values from unit to host With this command, the Y mean values (normalized value: values corrected by the zero point) of the reference curve can be transferred from the unit to the host. 40 values are always transferred at the same time. After polling, these first 40 values are transferred. Once the host has confirmed receipt with <ACK> , the next 40 values are transferred. This continues until all values have been transferred. When all values have been transferred, the unit answers with <EOT> following the <ACK>. Full 40 value containing blocks are always transferred. The last block of 40 is padded with dummies. There may be up to 4000 values. Thus there may be up to 100 blocks. The host must previously have
. . . DIGIFORCE answers:
<EOT>
Value Hex values without 0 termination
Meaning of parameter Pn Parameter Meaning P1-P4000 Y mean values of the reference curve
139
BA_9310-Vxxx0-EN.doc
3.3.10.3.12 RACC!
After the reference curve has been completely received from the host, the RACC! command can be used to start calculation of the envelope. Completely mean values the following commands must previously have been implemented: (RXWE! or KXWE!, RYMI! or KYMI!, RYMA! or KYMA!, RYTR! or KYTR!, RANZ!)
Host sends: DIGIFORCE answers: Host sends: <Address>sr<STX>RACC!<ETX>[<BCC>] <ACK> <EOT>
140
BA_9310-Vxxx0-EN.doc
3.3.10.4.1 AEHK display selection in the envelopes setup menu Input of a new value With the AEHK! command, the display selection when setting up the envelope, can be set. (Current curve / reference curve / trend curve) If trend is not activated, then display of the trend curve is not possible. If envelope is not active, then display of reference and trend curves is not possible.
Host sends: DIGIFORCE answers: Host sends: <Address>sr<STX>AEHK! P1<ETX>[<BCC>] <ACK> <EOT>
Meaning of parameter Pn Parameter Meaning P1 What is displayed in the envelopes setup menu
Value MESS -> display of the current measurement curve REF -> display of the reference curve TREND -> display of the trend curve (with reference curve)
Readout of present value With the AEHK? command, the display selection when setting up the envelope can be queried. (Current curve / reference curve / trend curve)
Host sends: DIGIFORCE answers: Host sends: Host sends: DIGIFORCE answers: Host sends: <Address>sr<STX>AEHK?<ETX>[<BCC>] <ACK> <EOT> <Address>po<ENQ> <STX>P1<ETX>[<BCC>] <ACK>
DIGIFORCE answers:
<EOT>
Meaning of parameter Pn Parameter Meaning P1 What is displayed in the envelopes setup menu
Value MESS -> display of the current measurement curve REF -> display of the reference curve TREND -> display of the trend curve (with reference curve)
141
BA_9310-Vxxx0-EN.doc
3.3.10.4.2 AEHF switch on/off window display in the envelopes setup menu Input of a new value With the AEHF! command, window display in the envelopes setup menu can be switched on or off. If trend curve is switched on, then window display cannot be switched on.
Host sends: DIGIFORCE answers: Host sends: <Address>sr<STX>AEHF! P1<ETX>[<BCC>] <ACK> <EOT>
Meaning of parameter Pn Parameter Meaning P1 Window display in the envelopes setup menu
Value 0 -> windows are not displayed 1 -> windows are displayed
Readout of present value With the AEHF? command, it can be queried whether window display in the envelopes setup menu is switched on or off.
Host sends: DIGIFORCE answers: Host sends: Host sends: DIGIFORCE answers: Host sends:
DIGIFORCE answers:
<EOT>
Meaning of parameter Pn Parameter Meaning P1 Window display in the envelopes setup menu
Value 0 -> windows are not displayed 1 -> windows are displayed
142
BA_9310-Vxxx0-EN.doc
3.3.10.4.3 AEHK display selection in the window setup menu Input of a new value With the AEFK! command, the display selection when setting up the window can be set. If trend is not activated, then display of the trend limits is not possible. If envelope is not active, then display of reference curve and trend limits is not possible. (Current curve / reference curve / trend limits)
Host sends: DIGIFORCE answers: Host sends: <Address>sr<STX>AEFK! P1<ETX>[<BCC>] <ACK> <EOT>
Meaning of parameter Pn Parameter Meaning P1 What is displayed in the window setup menu
Value MESS -> display of the current measurement curve REF -> display of the reference curve TREND -> display of the trend limits (with window)
Readout of present value With the AEFK? command, the display selection when setting up the window can be queried. (Current curve / reference curve / trend curve)
Host sends: DIGIFORCE answers: Host sends: Host sends: DIGIFORCE answers: Host sends: <Address>sr<STX>AEFK?<ETX>[<BCC>] <ACK> <EOT> <Address>po<ENQ> <STX>P1<ETX>[<BCC>] <ACK>
DIGIFORCE answers:
<EOT>
Meaning of parameter Pn Parameter Meaning P1 What is displayed in the window setup menu
Value MESS -> display of the current measurement curve REF -> display of the reference curve TREND -> display of the trend limits (with window)
143
BA_9310-Vxxx0-EN.doc
3.3.10.4.4 AEHF switch on/off envelopes display in the window setup menu Input of a new value With the AEFH! command, envelopes display in the window setup menu can be switched on or off. (If envelope is not activated, then envelope display cannot be switched on.
Readout of present value With the AEFH? command, it can be queried whether envelope display in the window setup menu is switched on or off.
Host sends: DIGIFORCE answers: Host sends: Host sends: DIGIFORCE answers: Host sends:
DIGIFORCE answers:
<EOT>
144
BA_9310-Vxxx0-EN.doc
145
BA_9310-Vxxx0-EN.doc
3.4
Input of a new value With the MRED! command, the reducing factor can be set with which the curve is transferred using the KURX and KURY commands. The values 1 to 20 can be set. 1 means no reduction. Example: a reducing factor of 4 means that when the KURX and KURY commands are applied, only every 4th value is transferred. The first and last values of the measurement curve are always transferred independent of the set reducing factor.
Host sends: DIGIFORCE answers: Host sends: <Address>sr<STX>MRED! P1<ETX>[<BCC>] <ACK> <EOT>
Readout of present value With the MRED? command, the current reducing value can be queried. Description - see over for the ! form of the command.
Host sends: DIGIFORCE answers: Host sends: Host sends: DIGIFORCE answers: Host sends: <Address>sr<STX>MRED?<ETX>[<BCC>] <ACK> <EOT> <Address>po<ENQ> <STX>P1<ETX>[<BCC>] <ACK>
DIGIFORCE answers:
<EOT>
146
BA_9310-Vxxx0-EN.doc
3.4.1.2 curve
With the KURX? the X values of the measurement curve can be read in a time-optimized manner.
The measurements are transferred in hexadecimal format without 0-termination (to save time).
The first value is transferred as an absolute value, all other values are transferred as a difference from the preceding value. If more that two sequential difference values are the same, then these are no transferred individually, but rather in the following form: M<factor>*<difference value> M is the marker that indicates that this is not a single difference value. It is followed by a factor that indicates the number of sequential difference values that are the same. The * character separates factor and difference value. It is followed by the difference value.
The parameter separator between the individual values is the comma. 20 values are always transferred, then a LF is transferred. After host acknowledgement with ACK, the next 20 value pairs are transferred and so on. Querying continues until there are no more available measurements. If the last block has less than 20 difference values, then transfer is terminated early. If there are no more available measurements, then an EOT is sent in response to the ACK acknowledgement. The host must calculate the absolute values from the difference values (with the exception of the 1st value). Absolute value[n] = absolute value[n-1] + difference value[n] The transferred difference values and the absolute values calculated from them are integer values (16 bit). These values are used with the zero point and gradient values, which are retrieved using the KRVA command, to calculate the floating-point values in their respective units. Floating-point value = (absolute value - zero point) * gradient Host sends: DIGIFORCE answers: Host sends: <Address>sr<STX>KURX? (P1)<ETX>[<BCC>] <ACK> <EOT>
Host sends: <Address>po<ENQ> DIGIFORCE answers: <STX>abs1, dif 2, dif 3, dif 4, dif 5, dif 6, dif 7, , dif 8,...., dif 20 LF<ETX>[<BCC>] Host sends: <ACK> DIGIFORCE answers: <STX> dif 21,..... , dif 40 LF<ETX>[<BCC>] Host sends: <ACK> .................. DIGIFORCE answers: <EOT>
The command KURX!, can be used to delete any data still in the output buffer if the KURX? command has been interrupted. Parameter P1 is optional: no parameter means the curve will not be reduced prior to transfer. Parameter = 0 means the curve will not be reduced prior to transfer. Parameter = 1 means the curve is reduced prior to transfer corresponding to the reducing factor (1 to 20) which can be set using the MRED command. Parameter = 2 means the curve is transferred with minus optimization Parameter = 3 means the curve is reduced and transferred with the minus optimization Example: Reducing factor = 4 means only every 4th value is transferred, although the first and last values of the measurement curve are always transferred.
147
BA_9310-Vxxx0-EN.doc
3.4.1.3 curve
With the KURY? command the Y values of the measurement curve can be read in a time-optimized manner.
The measurements are transferred in hexadecimal format without 0-termination (to save time).
The first value is transferred as an absolute value, all other values are transferred as a difference from the preceding value. If more that two sequential difference values are the same, then these are no transferred individually, but rather in the following form: M<factor>*<difference value> M is the marker that indicates that this is not a single difference value. It is followed by a factor that indicates the number of sequential difference values that are the same. The * character separates factor and difference value. It is followed by the difference value.
The parameter separator between the individual values is the comma. 20 values are always transferred, then a LF is transferred. After host acknowledgement with ACK, the next 20 value pairs are transferred and so on. Querying continues until there are no more available measurements. If the last block has less than 20 difference values, then transfer is terminated early. If there are no more available measurements, then an EOT is sent in response to the ACK acknowledgement. The host must calculate the absolute values from the difference values (with the exception of the 1st value). Absolute value[n] = absolute value[n-1] + difference value[n] The transferred difference values and the absolute values calculated from them are integer values (16 bit). These values are used with the zero point and gradient values, which are retrieved using the KRVA command, to calculate the floating-point values in their respective units. Floating-point value = (absolute value - zero point) * gradient Host sends: DIGIFORCE answers: Host sends: <Address>sr<STX>KURY? (P1)<ETX>[<BCC>] <ACK> <EOT>
Host sends: <Address>po<ENQ> DIGIFORCE answers: <STX>abs1, dif 2, dif 3, dif 4, dif 5, dif 6, dif 7, , dif 8,...., dif 20 LF<ETX>[<BCC>] Host sends: <ACK> DIGIFORCE answers: <STX> dif 21,..... , dif 40 LF<ETX>[<BCC>] Host sends: <ACK> .................. DIGIFORCE answers: <EOT>
The command KURY!, can be used to delete any data still in the output buffer if the KURY? command has been interrupted. Parameter P1 is optional: no parameter means the curve will not be reduced prior to transfer. Parameter = 0 means the curve will not be reduced prior to transfer. Parameter = 1 means the curve is reduced prior to transfer corresponding to the reducing factor (1 to 20) which can be set using the MRED command. Parameter = 2 means the curve is transferred with minus optimization Parameter = 3 means the curve is reduced and transferred with the minus optimization Example: Reducing factor = 4 means only every 4th value is transferred, although the first and last values of the measurement curve are always transferred.
148
BA_9310-Vxxx0-EN.doc
3.4.2 Envelope 3.4.2.1 KXWE optimized transfer of the X values of the reference curve
KXWE! Transfer values from host to unit in an optimized manner With this command, the X values (normalized integer values: only corrected by the zero point, without taking into account the gradient) of the reference curve can be transferred from the host to the unit in a time optimized manner.
The values are transferred in hexadecimal format without 0-termination (to save time).
The first value is transferred as an absolute value, all other values are transferred as a difference from the preceding value. The difference values are transferred in blocks of up to 20 values (parameters 2 to 21). Parameter 1 is the block number. With a maximum of 4000 values there is thus a maximum of 200 blocks. The block number therefore gives the number of blocks, which each contain 20 values. Full 20 value containing blocks must always be transferred. However, the unit only considers values up until the number of values has been reached. In the last block, any of the 20 values, which remain unfilled can be padded with dummies. The number of values
must therefore be transferred prior to this command using the command RANZ!.
Host sends: DIGIFORCE answers: Host sends: <Address>sr<STX>KXWE! P1,P2,....,P21<ETX>[<BCC>] <ACK> <EOT>
Meaning of parameter Pn Parameter Meaning P1 Block number P2-P21 X difference values of the reference curve
149
BA_9310-Vxxx0-EN.doc
KXWE? Transfer values from unit to host in an optimized manner With this command, the X values (normalized values: only corrected by the zero point, without taking into account the gradient) of the reference curve can be transferred from the unit to the host in a time-optimized manner. The first value is transferred as an absolute value, all other values are transferred as a difference from the preceding value. If more that two sequential difference values are the same, then these are no transferred individually, but rather in the following form: M<factor>*<difference value> M is the marker that indicates that this is not a single difference value. It is followed by a factor that indicates the number of sequential difference values that are the same. The * character separates factor and difference value. It is followed by the difference value.
The parameter separator between the individual values is the comma. 20 values are always transferred, then a LF is transferred. After host acknowledgement with ACK, the next 20 value pairs are transferred and so on. Querying continues until there are no more available measurements. If the last block has less than 20 difference values, then transfer is terminated early. If there are no more available values, then an EOT is sent in response to the ACK acknowledgement. There may be up to 4000 values. Thus there may be up to 200 blocks. The host must previously have
Host sends: DIGIFORCE answers: Host sends: Host sends: DIGIFORCE answers: Host sends: DIGIFORCE answers: Host sends:
. . . DIGIFORCE answers:
<EOT>
Value Hex values without 0 termination
Meaning of parameter Pn Parameter Meaning P1-P4000 Normalized X difference values of the reference curve
150
BA_9310-Vxxx0-EN.doc
3.4.2.2 KYWE optimized transfer of the Y mean values of the reference curve (tracked values) If trend is activated, this relates to the tracked values.
KYWE! Transfer values from host to unit in an optimized manner
With this command, the Y mean values (normalized integer values: values corrected by the zero point, without taking into account the gradient) of the reference curve can be transferred from the host to the unit.
The values are transferred in hexadecimal format without 0-termination (to save time).
The first value is transferred as an absolute value, all other values are transferred as a difference from the preceding value. The difference values are transferred in blocks of up to 20 values (parameters 2 to 21). Parameter 1 is the block number. With a maximum of 4000 values there is thus a maximum of 200 blocks. The block number therefore gives the number of blocks, which each contain 20 values. Full 20 value containing blocks must always be transferred. However, the unit only considers values up until the number of values has been reached. In the last block, any of the 20 values, which remain unfilled can be padded with dummies. The number of values
must therefore be transferred prior to this command using the command RANZ!.
Host sends: DIGIFORCE answers: Host sends: <Address>sr<STX>KYWE! P1,P2,....,P21<ETX>[<BCC>] <ACK> <EOT>
Meaning of parameter Pn Parameter Meaning P1 Block number P2-P21 Y difference values of the reference curve
151
BA_9310-Vxxx0-EN.doc
KYWE? Transfer values from unit to host in an optimized manner With this command, the Y mean values (normalized integer values: values corrected by the zero point, without taking into account the gradient) of the reference curve can be transferred from the unit to the host. The first value is transferred as an absolute value, all other values are transferred as a difference from the preceding value. If more that two sequential difference values are the same, then these are no transferred individually, but rather in the following form: M<factor>*<difference value> M is the marker that indicates that this is not a single difference value. It is followed by a factor that indicates the number of sequential difference values that are the same. The * character separates factor and difference value. It is followed by the difference value.
The parameter separator between the individual values is the comma. 20 values are always transferred, then a LF is transferred. After host acknowledgement with ACK, the next 20 value pairs are transferred and so on. Querying continues until there are no more available measurements. If the last block has less than 20 difference values, then transfer is terminated early. If there are no more available values, then an EOT is sent in response to the ACK acknowledgement. There may be up to 4000 values. Thus there may be up to 200 blocks. The host must previously have
. . . DIGIFORCE answers:
<EOT>
Value Hex values without 0 termination
Meaning of parameter Pn Parameter Meaning P1-P4000 Y difference values of the reference curve
152
BA_9310-Vxxx0-EN.doc
3.4.2.3 KYSU optimized transfer of the Y cumulative values of the reference curve
KYSU! Transfer values from host to unit in an optimized manner
With this command, the Y cumulative values (normalized value: values corrected by the zero point, without taking into account the gradient) of the reference curve can be transferred from the host to the unit.
The values are transferred in hexadecimal format without 0-termination (to save time).
The first value is transferred as an absolute value, all other values are transferred as a difference from the preceding value. The difference values are transferred in blocks of up to 20 values (parameters 2 to 21). Parameter 1 is the block number. With a maximum of 4000 values there is thus a maximum of 200 blocks. The block number therefore gives the number of blocks, which each contain 20 values. Full 20 value containing blocks must always be transferred. However, the unit only considers values up until the number of values has been reached. In the last block, any of the 20 values, which remain unfilled can be padded with dummies. The number of values
must therefore be transferred prior to this command using the command RANZ!.
Host sends: DIGIFORCE answers: Host sends: <Address>sr<STX>KYSU! P1,P2,....,P21<ETX>[<BCC>] <ACK> <EOT>
Meaning of parameter Pn Parameter Meaning P1 Block number P2-P21 Difference Y cumulative values of the reference curve
153
BA_9310-Vxxx0-EN.doc
With this command, the Y cumulative values (normalized value: values corrected by the zero point, without taking into account the gradient) of the reference curve can be transferred from the unit to the host. The first value is transferred as an absolute value, all other values are transferred as a difference from the preceding value. If more that two sequential difference values are the same, then these are no transferred individually, but rather in the following form: M<factor>*<difference value> M is the marker that indicates that this is not a single difference value. It is followed by a factor that indicates the number of sequential difference values that are the same. The * character separates factor and difference value. It is followed by the difference value.
The parameter separator between the individual values is the comma. 10 values are always transferred, then a LF is transferred. After host acknowledgement with ACK, the next 10 value pairs are transferred and so on. Querying continues until there are no more available measurements. If the last block has less than 10 difference values, then transfer is terminated early. If there are no more available values, then an EOT is sent in response to the ACK acknowledgement. There may be up to 4000 values. Thus there may be up to 400 blocks. The host must previously have
. . . DIGIFORCE answers:
<EOT>
Value Hex values without 0 termination
Meaning of parameter Pn Parameter Meaning P1-P4000 Difference Y cumulative values of the reference curve
154
BA_9310-Vxxx0-EN.doc
3.4.2.4 KYTR optimized transfer of the Y mean value values of the reference curve (non-tracked values) If trend is activated, this relates to the non-tracked values.
KYTR! Transfer values from host to unit in an optimized manner
With this command, the Y mean values (normalized integer values: values corrected by the zero point, without taking into account the gradient) of the reference curve can be transferred from the host to the unit.
The values are transferred in hexadecimal format without 0-termination (to save time).
The first value is transferred as an absolute value, all other values are transferred as a difference from the preceding value. The difference values are transferred in blocks of up to 20 values (parameters 2 to 21). Parameter 1 is the block number. With a maximum of 4000 values there is thus a maximum of 200 blocks. The block number therefore gives the number of blocks, which each contain 20 values. Full 20 value containing blocks must always be transferred. However, the unit only considers values up until the number of values has been reached. In the last block, any of the 20 values, which remain unfilled can be padded with dummies. The number of values
must therefore be transferred prior to this command using the command RANZ!.
Host sends: DIGIFORCE answers: Host sends: <Address>sr<STX>KYTR! P1,P2,....,P21<ETX>[<BCC>] <ACK> <EOT>
Meaning of parameter Pn Parameter Meaning P1 Block number P2-P21 Y difference values of the reference curve
155
BA_9310-Vxxx0-EN.doc
KYTR? Transfer values from unit to host in an optimized manner With this command, the Y mean values (normalized integer values: values corrected by the zero point, without taking into account the gradient) of the reference curve can be transferred from the unit to the host. The first value is transferred as an absolute value, all other values are transferred as a difference from the preceding value. If more that two sequential difference values are the same, then these are no transferred individually, but rather in the following form: M<factor>*<difference value> M is the marker that indicates that this is not a single difference value. It is followed by a factor that indicates the number of sequential difference values that are the same. The * character separates factor and difference value. It is followed by the difference value.
The parameter separator between the individual values is the comma. 20 values are always transferred, then a LF is transferred. After host acknowledgement with ACK, the next 20 value pairs are transferred and so on. Querying continues until there are no more available measurements. If the last block has less than 20 difference values, then transfer is terminated early. If there are no more available values, then an EOT is sent in response to the ACK acknowledgement. There may be up to 4000 values. Thus there may be up to 200 blocks. The host must previously have
. . . DIGIFORCE answers:
<EOT>
Value Hex values without 0 termination
Meaning of parameter Pn Parameter Meaning P1-P4000 Y difference values of the reference curve
156
BA_9310-Vxxx0-EN.doc
3.4.2.5 KYMI optimized transfer of the delta Y minimum values of the reference curve
KYMI! Transfer values from host to unit in an optimized manner
With this command, the delta Y minimum values (normalized integer values: values corrected by the zero point, without taking into account the gradient) of the reference curve can be transferred from the host to the unit.
The values are transferred in hexadecimal format without 0-termination (to save time).
The first value is transferred as an absolute value, all other values are transferred as a difference from the preceding value. The difference values are transferred in blocks of up to 20 values (parameters 2 to 21). Parameter 1 is the block number. With a maximum of 4000 values there is thus a maximum of 200 blocks. The block number therefore gives the number of blocks, which each contain 20 values. Full 20 value containing blocks must always be transferred. However, the unit only considers values up until the number of values has been reached. In the last block, any of the 20 values, which remain unfilled can be padded with dummies. The number of values
must therefore be transferred prior to this command using the command RANZ!.
Host sends: DIGIFORCE answers: Host sends: <Address>sr<STX>KYMI! P1,P2,....,P21<ETX>[<BCC>] <ACK> <EOT>
Meaning of parameter Pn Parameter Meaning P1 Block number P2-P21 Difference values of the delta Y minimum values of the reference curve
157
BA_9310-Vxxx0-EN.doc
KYMI? Transfer values from unit to host in an optimized manner With this command, the minimum Y values (normalized integer values: values corrected by the zero point, without taking into account the gradient) of the reference curve can be transferred from the unit to the host. The first value is transferred as an absolute value, all other values are transferred as a difference from the preceding value. If more that two sequential difference values are the same, then these are no transferred individually, but rather in the following form: M<factor>*<difference value> M is the marker that indicates that this is not a single difference value. It is followed by a factor that indicates the number of sequential difference values that are the same. The * character separates factor and difference value. It is followed by the difference value.
The parameter separator between the individual values is the comma. 20 values are always transferred, then a LF is transferred. After host acknowledgement with ACK, the next 20 value pairs are transferred and so on. Querying continues until there are no more available measurements. If the last block has less than 20 difference values, then transfer is terminated early. If there are no more available values, then an EOT is sent in response to the ACK acknowledgement. There may be up to 4000 values. Thus there may be up to 200 blocks. The host must previously have
. . . DIGIFORCE answers:
<EOT>
Value Hex values without 0 termination
Meaning of parameter Pn Parameter Meaning P1-P4000 Difference values of the delta Y minimum values of the reference curve
158
BA_9310-Vxxx0-EN.doc
3.4.2.6 KYMA optimized transfer of the delta Y maximum values of the reference curve
KYMA! Transfer values from host to unit in an optimized manner
With this command, the delta Y maximum values (normalized integer values: values corrected by the zero point, without taking into account the gradient) of the reference curve can be transferred from the host to the unit.
The values are transferred in hexadecimal format without 0-termination (to save time).
The first value is transferred as an absolute value, all other values are transferred as a difference from the preceding value. The difference values are transferred in blocks of up to 20 values (parameters 2 to 21). Parameter 1 is the block number. With a maximum of 4000 values there is thus a maximum of 200 blocks. The block number therefore gives the number of blocks, which each contain 20 values. Full 20 value containing blocks must always be transferred. However, the unit only considers values up until the number of values has been reached. In the last block, any of the 20 values, which remain unfilled can be padded with dummies. The number of values
must therefore be transferred prior to this command using the command RANZ!.
Host sends: DIGIFORCE answers: Host sends: <Address>sr<STX>KYMA! P1,P2,....,P21<ETX>[<BCC>] <ACK> <EOT>
Meaning of parameter Pn Parameter Meaning P1 Block number P2-P21 Difference values of the delta Y maximum values of the reference curve
159
BA_9310-Vxxx0-EN.doc
KYMA? Transfer values from unit to host in an optimized manner With this command, the maximum Y values (normalized integer values: values corrected by the zero point, without taking into account the gradient) of the reference curve can be transferred from the unit to the host. The first value is transferred as an absolute value, all other values are transferred as a difference from the preceding value. If more that two sequential difference values are the same, then these are no transferred individually, but rather in the following form: M<factor>*<difference value> M is the marker that indicates that this is not a single difference value. It is followed by a factor that indicates the number of sequential difference values that are the same. The * character separates factor and difference value. It is followed by the difference value.
The parameter separator between the individual values is the comma. 20 values are always transferred, then a LF is transferred. After host acknowledgement with ACK, the next 20 value pairs are transferred and so on. Querying continues until there are no more available measurements. If the last block has less than 20 difference values, then transfer is terminated early. If there are no more available values, then an EOT is sent in response to the ACK acknowledgement. There may be up to 4000 values. Thus there may be up to 200 blocks. The host must previously
. . . DIGIFORCE answers:
<EOT>
Value Hex values without 0 termination
Meaning of parameter Pn Parameter Meaning P1-P4000 Y difference values of the delta Y maximum values of the reference curve
160
BA_9310-Vxxx0-EN.doc
3.5 3.5.1
9310-V2xxx specific commands (Black box module) TRAX Transmitter supply X channel
Input of a new value With the command TRAX! The transmitter supply of chaanel X can be switched.
DIGIFORCE answers:
<EOT>
161
BA_9310-Vxxx0-EN.doc
3.5.2
TRAY
Input of a new value With the command TRAY! The transmitter supply of channel Y can be switched.
DIGIFORCE answers:
<EOT>
162
BA_9310-Vxxx0-EN.doc
3.6 3.6.1
The command FSTA? can read out the fault status on the serial interface. The reason for the last transferred NAK might be indicated here. The fault status is bit coded, i.e. multiple bits can be set simultaneously. Host sends: DIGIFORCE answers: Host sends: Host sends: DIGIFORCE answers: Host sends: DIGIFORCE answers: Meaning of parameter Pn Parameter P1 Value 0x0001 0x0002 0x0004 0x0008 0x0010 0x0020 0x0040 0x0080 0x0100 0x0200 0x0400 0x0800 0x1000 0x2000 0x4000 0x8000 Meaning PREFIX address error Enquiry received in Slave Mode Block check error Commando error Parameter Fehler Timeout Receive Timer Timeout Response Timer Unvalid ! or ? sign Unvalid configuration Scale error No valid measurement can be found A/D-changer overdriven EEPROM reading error during loading of basic calibration Overdriven by scaling The transfer of a measurement curve was cancelled by a start of a new measurement Unvalid envelope borders <Address>sr<STX>FSTA?<ETX>[<BCC>] <ACK> <EOT> <Address>po<ENQ> <STX>P1<ETX>[<BCC>] <ACK> <EOT>
163
BA_9310-Vxxx0-EN.doc
Error code Bit 7 6 5 4 3 2 1 Bit 0 Nonvolatile data are cleared in RAM EEPROM can not be programmed Calibration data are cleared Hardware error Bit7..4 = 0 (not used)
164
BA_9310-Vxxx0-EN.doc
3.7
Testmode
Meaning Testmode
Meaning Testmode
165
BA_9310-Vxxx0-EN.doc
166
BA_9310-Vxxx0-EN.doc
Value 0 -> 2,5 mV range 1 -> 5 mV 2 -> 10 mV 3 -> 25 mV 4 -> 50 mV 5 -> 100 mV 6 -> 5 V
Value 0 -> 2,5 mV range 1 -> 5 mV 2 -> 10 mV 3 -> 25 mV 4 -> 50 mV 5 -> 100 mV 6 -> 5 V
167
BA_9310-Vxxx0-EN.doc
Value 0 -> 1 nC range 1 -> 2 nC 2 -> 5 nC 3 -> 10 nC 4 -> 20 nC 5 -> 50 nC 6 -> 100 nC 7 -> 200 nC 8 -> 400 nC
Value 0 -> 1 nC range 1 -> 2 nC 2 -> 5 nC 3 -> 10 nC 4 -> 20 nC 5 -> 50 nC 6 -> 100 nC 7 -> 200 nC 8 -> 400 nC
168
BA_9310-Vxxx0-EN.doc
169
BA_9310-Vxxx0-EN.doc
3.7.6 POTB Adjustment of the potential connection for strain gauge supply
This command is only vaild if the Test mode is active Input of a new value The potential connection of the strain gauge supply is set using the POTB! command.
Host sends: DIGIFORCE answers: Host sends: Meaning of parameter Pn Parameter P1 <Address>sr<STX> POTB! P1 <ETX>[<BCC>] <ACK> <EOT>
Readout of present value The potential connection of the DMS supply is retrieved using the POTB? command. Host sends:
DIGIFORCE answers: Host sends: Host sends: DIGIFORCE answers: Host sends: DIGIFORCE answers: Meaning of parameter Pn Parameter P1 <Address>sr<STX> POTB?<ETX>[<BCC>] <ACK> <EOT> <Address>po<ENQ> <STX>P1 <ETX>[<BCC>] <ACK> <EOT>
Meaning Value Potential connection of strain gauge 0 -> internal supply 1 -> external source
170
BA_9310-Vxxx0-EN.doc
Meaning of parameter Pn Parameter Meaning P1 Supply X-channel P2 P3 P4 Supply Y-channel (not for Piezo interface) Knotenpunkt Kurzschluss (Nullpunkt)
Value Float (value in V) ( approx. 5 V) Float (value in V) (approx. 2.5 V or 5 V ) Float (approx. 1,7 V) Float (approx. 0 V )
171
BA_9310-Vxxx0-EN.doc
Meaning of parameter Pn Parameter Meaning P1 A/D converter X-channel P2 Voltage value X-channel P3 Unit of X-channel voltage value P4 A/D converter Y-channel P5 Voltage value X-channel (DMS type) Charge of Y-channel (Piezo type) P6 Unit of Y-Kanal (voltage or charge)
172
BA_9310-Vxxx0-EN.doc
3.7.9 Test of the PLC inputs and outputs 3.7.9.1 SPSI Read the PLC inputs
With the command SPSI? the nine PLC inputs can be read out.
Host sends: DIGIFORCE answers: Host sends: Host sends: DIGIFORCE answers: Host sends: DIGIFORCE answers: Meaning of parameter Pn Parameter P1 <Address>sr<STX>SPSI?<ETX>[<BCC>] <ACK> <EOT> <Address>po<ENQ> <STX>P1<ETX>[<BCC>] <ACK> <EOT>
Bit number 0 1 2 3 4 5 6 7 8
Signal name of the PLC input I-AUTO I-PROG2 I-PROG1 I-PROG0 I-STROBE I-SENSOR-TEST I-RESET-STAT I-TARA-Y I-START
3.7.9.2
This command is only vaild if the Test mode is active With the command SPSO! ? the twelve PLC outputs can be read out.
Host sends: DIGIFORCE answers: Host sends: Meaning of parameter Pn Parameter P1 <Address>sr<STX>SPSO! P1<ETX>[<BCC>] <ACK> <EOT>
Bit number 0 1 2 3 4 5 6 7 8 9 10 11
Signal name of the PLC input O-MESS-AKTIV O-PROG2 O-PROG1 O-PROG0 O-STROBE O-IO-S-TEST O-S2 O-S1 O-NIO-ONL O-NIO O-IO O-READY
173
BA_9310-Vxxx0-EN.doc
Value 0 -> RESET button is pressed 1 -> RESET button is not pressed
174