D450 Index 9. FOREWORD TO THE ADVANCED USER MANUAL 10. PROGRAMMING OF SERIAL LINE COMMUNICATION 10.1 Symbols used 10.2 Strings 2-10 10.2.1 Cb (or Bilanciai) string 2-10 10.2.2 Extended string 2-11 10.2.3 Extraction string 2-13 10.2.4 Visual string 2-14 10.2.5 Idea string 2-15 10.2.6 Cma...
Page 4
D450 10.4.30 Lock keypad 2-29 10.4.31 Unlock keypad 2-29 10.4.32 Remote commands with checksum 2-29 10.4.33 Remote commands with addressing 2-31 10.5 Remote commands for Input/Output management 2-32 10.5.1 How to set a single output 2-32 10.5.2 How to zero-set a single output 2-33 10.5.3 How to test a single output...
D450 9. FOREWORD TO THE ADVANCED USER MANUAL This manual describes the procedures for terminal personalization in order to adapt it to the specific weighing system in which it is installed. It contains the software commands used to interface the terminal with a PC, PLC and host computers in general.
D450 10. PROGRAMMING OF SERIAL LINE COMMUNICATION 10.1 Symbols used The following conventions are used to denote the characters used in serial line communication. Normal characters are indicated with their usual symbols. Control characters appear in brackets and are written in uppercase.
PLCs, etc.. The user can choose the type of transmission protocol to be used from among those already present on the terminal. The user may also personalize the serial transmission parameters using the specific menu (see par. 11.6.14 on page 2-76). 10.2.1 Cb (or Bilanciai) string start string character $(24H) character <s>...
D450 10.2.2 Extended string start string character $(24H) character net weight with sign and decimal point (if present) character space <SP>(20H) character tare with sign and decimal point (if present) character space <SP>(20H) character <um> Unit of measurement character <SP>(20H)
Page 12
D450 When a bit assumes the value "1" the corresponding signal is "true"; the significance of the signals is as follows: <s1> bit 0 minimum weighment signal bit 1 tare locked signal bit 2 tare preset(1)/self-weighed (0) entered signal bit 3 centre zero signal <s2>...
D450 10.2.3 Extraction string In the case of loading or unloading extraction operation, the net weight and tare (2 to 10 characters and 12 to 20 characters in the Extended string) are replaced respectively by the extracted weight and gross weight characters.
D450 10.2.4 Visual string start string character $(24H) character fixed zero character 0(30H) character <s> s=stability character s=0 weight stable s=1 weight not stable s=3 weight not valid (negative or overload) net weight with sign; if the weight consists of more than 5...
D450 10.2.5 Idea string <cis> cis=@(40H) character Start string character on pressing cis=$(24H) Start string character in other cases <s> s=stability character s=0 weight stable s=1 weight not stable s=3 weight not valid (negative or overload) net weight if the weight consists of more than 5...
D450 10.2.8 Customized string The string format may be customized using the program "Dialogic". For further information contact the Manufacturer. 2-16...
D450 10.3 Protocols for cyclic strings 10.3.1 ACK-NAK protocol The string is only sent on request of the user via the request transmission key or from an external input (see par. 11.6.15 on page 2-77). After transmission of the weight, the terminal behaves as follows: if it receives the "ACK"...
D450 10.4 Remote commands protocol There are a number of serial line commands with which various operations can be commanded from a remote device (PC, PLC etc.). WARNING Remote commands are only enabled if the extended string format was selected during terminal configuration (see par.
D450 10.4.1 Response times CMD = Remote command ANS = Response to remote command = command time. Depends on the number of characters, the number of bits per character and the baud rate. E.g.: XB<CR>; with 3 characters, 8N1, 9600 then t = 3,3ms = response delay time.
D450 10.4.2 Reply to an incorrect command ??<CR><LF> This reply string is sent: if the command syntax is incorrect; if the command cannot be executed. 10.4.3 Reply to a correct command In the case of the command being accepted, if the command requests the transmission of information, the reply will consist of the transmission of the requested data item;...
D450 10.4.7 Request for net weight XN<CR> The terminal responds with the following string: n<SP><um><SP>NT<CR><LF> n = 9 characters (see par. 10.1 on page 2-9). 10.4.8 Request transmission of tare XT<CR> The terminal responds with the following string: n<SP><um><SP>TE<CR><LF> if the tare has been entered manually;...
Page 22
D450 When a bit assumes the value "1" the corresponding signal is "true"; the significance of the signals is as follows: <s1> bit 0 minimum weighment signal bit 1 tare locked signal bit 2 tare preset(1)/self-weighed (0) entered signal bit 3 centre zero signal <s2>...
D450 10.4.10 Request transmission of scale status (version EV2001) XS<CR> In the case of a positive reply, the terminal responds with the following string: <s1><s2><CR><LF> The characters s1 and s2 are ASCII characters that must be interpreted as hexadecimal values.
D450 10.4.14 Cancellation of an entered tare CT<CR> This command cancels any tare value in memory. 10.4.15 Request transmission of general data table ND<CR> The terminal responds to this command with a sequence of strings terminating in <CR><LF> each containing the number of the data item and its description;...
D450 10.4.17 Request to enter the value "y" in the general data item "n" yXln<CR> where "y" is the value you wish to assign to the data item "n". Obviously the value to be entered must conform to the format of the data item.
D450 10.4.19 Request for transmission of net weight and scale status with 6 bytes YS<CR> When the command is received, the terminal replies with the following string: n<SP><um><SP><s1><s2><s3><s4><s5><s6><CR><LF> n = 9 characters (see par. 10.1 on page 2-9). The meaning of the <s1>, <s2>, <s3> and <s4> bits is described in par.
D450 10.4.20 Request for transmission of the net weight, tare and scale status with 6 bytes YT<CR> When the command is received, the terminal replies with the following string: n<SP>y<SP><um><SP><s1><s2><s3><s4><s5><s6><CR><LF> where: n = net weight; n = 9 characters (see par. 10.1 on page 2-9) y = tare;...
D450 10.4.24 Request division value Xe<CR> The terminal responds with the string: e= n<SP><um><CR><LF> 10.4.25 Request for net weight in high resolution YN<CR> The reply string is: n<SP>y<SP><um><SP><s1><s2><s3><s4><CR><LF> n= net weight; n = 9 characters (see par. 10.1 on page 2-9) y= net weight in high resolution;...
D450 10.4.28 Lock keypad and display LD<CR> The message "DISPLOCK" is displayed in place of the weight and all keys are disabled. 10.4.29 Unlock keypad and display UD<CR> The keypad and display are re-enabled. 10.4.30 Lock keypad LK<CR> Only the keypad is locked and the terminal displays the message "KEYLOCK".
Page 30
D450 An example of a gross weight transmission with checksum is given below: XB chk1chk2 <CR> where, supposing that value 1A is obtained from XOR: chk1 is the first checksum character ("1" or rather 31H) chk2 is the second checksum character ("A" or rather 41H).
D450 10.4.33 Remote commands with addressing When using the string "On request with address" or if the RS485 communication interface is selected, the remote commands described in par. 10.4 on page 2-18 will also have to include the number of the terminal to be interrogated.
D450 10.5 Remote commands for Input/Output management 10.5.1 How to set a single output Output n2 of slot n1 can be set by means of the following command: SO n1 n2 <CR> where: n1 is 1 hexadecimal character that defines the slot position of the output;...
D450 10.5.2 How to zero-set a single output Output n2 of slot n1 can be zero-set by means of the following command: RO n1 n2 <CR> where: n1 is 1 hexadecimal character that defines the slot position of the output;...
D450 10.5.3 How to test a single output The status of each output can be requested by means of the following command: TO n1 n2 <CR> where: n1 is 1 hexadecimal character that defines the slot position of the output;...
D450 10.5.4 How to test a single input The status of each input can be requested by means of the following command: TI n1 n2 <CR> where: n1 is 1 hexadecimal character that defines the slot position of the input;...
D450 10.5.5 How to test all the outputs The status of all the slot outputs can be requested by means of the following command: LO<CR> The terminal replies with the following string: n1n2n3<CR><LF> where: n1 is 1 character that is the logic combination of the status (0 or 1) of the outputs (max.
Page 37
D450 where: 01 lines on slot 1: line 1 activated (bit 0 = 1), line 2 (bit 1 = 0) not activated; 1000 lines on terminal: line 1 (bit 0 = 0), 2 (bit 1 = 0), 3 (bit 2 = 0) not activated, line 4 (bit = 1) activated;...
D450 10.5.6 How to change the status of all the outputs The status of all the slot outputs can be changed by means of the following command: n1n2n3WO<CR> where: n1 is 1 character that is the logic combination of the status (0 or 1) of the outputs (max.
D450 10.5.7 How to test all the inputs The status of all the slot inputs can be requested by means of the following command: LI<CR> The terminal replies with the following string: n1n2n3<CR><LF> where: n1 is 1 character that is the logic combination of the status (0 or 1) of the inputs (max.
D450 10.6 Remote commands for digital cells The following conventions will now be used besides the symbols already given in par. 10.1 on page 2-9: c number that identifies the digital cell; n and m indicate numerical fields with possible spaces at the beginning, decimal separator, - sign and + sign.
D450 10.6.4 Request for power supply DAc<CR> The terminal replies with this string: n<SP>m<CR><LF> n = cell power supply voltage rating; m = strain gauge power supply voltage rating. 10.6.5 Request for cell serial numbers DMc<CR> The terminal replies with this string: n<SP>m<CR><LF>...
D450 10.6.7 Request for number of cells in system DN<CR> The terminal replies with this string: n<CR><LF> n = number of cells that form the system 10.6.8 Request for cell status DSc<CR> The terminal replies with this string: <s1><s2><s3><s4><CR><LF> Characters s1, s2, s3, s4 are ASCII characters that must be interpreted as hexadecimal value.
Page 43
D450 When the value of a bit is "1", this means that the corresponding signal is in the true status. The meaning of the signals is as follows: <s1> bit 0 temperature error bit 1 not utilised bit 2 not utilised...
D450 10.6.9 Request for digital scale status DB<CR> The terminal replies with this string: <s1><s2><s3><s4><CR><LF> Characters s1, s2, s3, s4 are ASCII characters that must be interpreted as hexadecimal value. Each character represents 4 bits with different meanings. For example, the ASCII "A" character on the input must be interpreted as hexadecimal figure "A":...
Page 45
D450 When the value of a bit is "1", this means that the corresponding signal is in the true status. The meaning of the signals is as follows: <s1> bit 0 not utilised bit 1 not utilised bit 2 not utilised...
D450 10.7 Communication in MPP operation 10.7.1 Operation Terminals equipped with the MPP option can operate in the four different modes described in the following paragraphs. The operating mode used for MPP memory operation is selected during installation (par. 11.6.11 on page 2-72).
D450 10.7.2 Weighing request from keypad with data transmission on completion of operation After having enabled the MPP memory (consult the Options chapter of the user manual), load the weight onto the scale, wait for weight stable signal, then press The terminal will save the weight data in memory and then transmit them.
Page 48
D450 If the Terminal number item has been selected in the Setup Menu (par. 11.6.11 on page 2-72), the data transmitted are: $(24H) character M(4DH) character P(50H) character MPP terminal number character MPP identification code or indications about the scale status: character NO<SP>STAB weight not stable...
Page 49
D450 If the Serial Number item has been selected in the Setup Menu (par. 11.6.11 on page 2-72), the data transmitted are: $(24H) character M(4DH) character P(50H) character Serial number character MPP identification code or indications about the scale status: character NO<SP>STAB weight not stable...
D450 10.7.3 Weighing request from serial command with transmission on completion of operation After having loaded the weight on the scale, send the memorise weight and data request command via the computer: MP<CR> If the response is affirmative, the terminal will transmit one of the strings described in par.
D450 10.7.5 Weighing and transmission request from serial command After loading the weight on the scale, send the memorise weight command from the computer: MP<CR> Once the weight validity conditions are satisfied, the terminal memorises the data. The external computer must then transmit the data request command: MP<CR>...
D450 11. PERSONALIZATION 11.1 Foreword WARNING Personalization procedures strictly reserved specialised personnel only. However, the user is permitted to modify certain of the terminal operating parameters. We recommend that extreme care is taken when modifying these parameters to prevent possible malfunctions caused by incorrect settings.
D450 11.4 Setup menu The personalization parameters menu is a tree structure which can be followed from the roots to the branches using the navigation keys described in the Use of the terminal chapter of the user manual. 11.4.1 Conditioned menu During the parameter personalization procedure, the menu adapts according to the selections made.
D450 11.4.5 NOT MODIFIABLE parameter or menu The message "not modifiable" indicates that the parameter displayed cannot be modified if the setup menu was accessed by pressing the relative key on power up. 11.4.6 NOT AVAILABLE parameter or menu The message "not available" indicates that the parameter will only be available in future versions.
Page 56
D450 REPEATER scale ANALOGUE scale DIGITAL scale Repeater scale parameters Configurations Configurations Serial port Metrological Metrological String General General Analogue scale parameters Digital scale parameters Conversion rate N. of load cells Calibration Baud Rate Execute Calibration Display data Execute Display data Correction Angle calibr.
Page 57
D450 Terminal test Serial ports Serial communication ports Com01 Com02 Inputs/outputs Manual Automatic Keypad Terminal configuration port Analogue output Voltage calibr. Current calibr. Complete calibr. Battery Upgrade Serial line Maintenance Serial number Parameter history Inizialization Cancel MPP Board Inizialize MPP codes...
D450 11.6 Descriptions of the main menus and parameters Unless specified differently, the description of the parameters given in the following paragraphs is valid for both analogue and digital scales. 11.6.1 Setup Menu/Scale/Configurations/Metrological The metrological parameters entered during the installation phase can be displayed (but not modified).
D450 11.6.2 Setup Menu/Scale/Configurations/General menu Digital filter no, 4, 8, 16, 32, 64 Serves to enable/disable a digital filter. Switches on or off a software filter on the output from the analogue/digital converter. The higher the number, the higher the degree of filtration.
D450 autozero On power up, the terminal performs the autozero procedure. In the case of a legally approved instrument, the autozero will be within a range of -5% and +15% of the full-scale value around the calibrated zero. In the case of a non-legal weighing instrument, the range is -50% to +50%.
D450 11.6.6 Setup Menu/Scale/Test Display points The number of points in the converter can be displayed if the scale is the analogue type. If the scale is the digital type, the number of output points of each individual scale (scale 0-200.000) can be displayed along with the...
Page 62
D450 Angular coefficient The following information is indicated (**) alongside the identification number of each cell: the correction made by means of angular cell calibration recorded in the cell; the same correction recorded in the terminal. Serial number (**) The following information is indicated...
D450 11.6.7 Setup Menu/Personalizations/Operating modes Terminal language Italian, English, Français, Deutsch, Español, Portugues The language used during normal operation (may differ from the menu display language) Decimal separator Point, Comma Single Weight Standard, Sum weighing, Unloading operation extraction, Loading extraction (see Use of the terminal chapter of the user manual) see par.
Page 64
D450 This function is to be used in conjunction with Connection to the personalization program supplied by the external processor Manufacturer. This program enables you to: select which of the data managed by the terminal are to be transmitted or printed;...
D450 11.6.8 Setup Menu/Personalizations/Operating modes /Printer/ Model You can select the type of printer and its operating parameters. EZ2 Citoh Thermal labelling machine (formatted to print a maximum 25 characters per line). Label length Corresponds to the distance between the beginning of one label and the next.
Page 66
D450 Extra Feed Number of line feeds for correct positioning of the label. Enter a value between 1 and 7. STB112 Continuous sheet or card printer. Handles forms 112 mm wide in the standard version with a maximum 64 characters per line.
Page 67
D450 Print Manufacturer Select YES to print the name of the manufacturer of the instrument, otherwise select NO. The manufacturer's name can only be printed if the printer is the tape type. Epson TM295 Multicopy document printer Document block Select YES to enable blocking of the...
Page 68
D450 Type of Format Defines the type of format handled by the printer, which can be Single or Continuous. Output Line Feed Number of advancements to select in order to position the print. DPT282 Thermal printer Roll expulsion: YES, NO Advances the page so that it is correctly positioned for tearing.
D450 Type of Cutting Establishes the way the cutter operates at the end of each print. If you select: NO no cut will be made; Partial a partial cut will be made; Complete a full cut will be made. STB60 Stampante termica Not yet available.
D450 11.6.10 Setup Menu/Personalizations/Operating modes/ Printer / Prints You can select the characteristics of the printout format. Standard Print gross To enable printing of the gross weight select YES, otherwise select NO. Print tare You can enable printing of the tare.
Page 71
D450 N. of copies weight print Establishes the number of copies to be printed automatically (only for STB112 and DPT282). Enter a numerical value as explained in the Use of the terminal chapter of the user manual. Print logo Select YESto print the logo, otherwise select...
D450 11.6.11 Setup Menu/Personalizations/Operating modes/MPP operation Also consult the Options chapter of the user manual. MPP with Printer YES, NO Weighing request from keypad, from serial command Data transmission at end of weighing, from serial command PC commun. port NO, com01, com02...
D450 11.6.12 Setup Menu/Personalizations/Operating modes/Traffic light Once red output01 and green output02 (or vice versa) have been entered (par. 11.6.15 on page 2-77), the following parameters must be entered in order to manage the semaphore: Weight variation Traffic light timeout (sec.)
D450 11.6.13 Setup Menu/Personalizations/Outputs/Serial/Com xy Com xy string, Bar code reader, not utilised, occupied by printer string Extended, Cb, Visual, Idea, Cma, On request with address, Extraction, Personalized terminal number editor Only for Cma and on Request with address protocol...
Page 75
D450 Code type Standard CB Enter the check digit as explained in the Use of the terminal chapter of the user manual. Neutral Type of generic code Configuration Consult par. 11.6.14 on page 2-76 for the hardware specifications of the serial output.
D450 11.6.14 Setup Menu / Personalizations / Outputs / Serial / String /.../ Com xy configuration After having selected the string type, you access the menu for configuration of the hardware characteristics of the serial port, which contains the following parameters:...
Page 78
D450 Stop In extraction mode (consult the Use of the terminal chapter of the user manual), this forces the cycle itself to end by deactivating the Output 1 (Request) and Output 2 (Slow) contacts. The same operation can be carried out by pressing STOP on the display of the terminal.
Page 79
D450 Green This must be entered in order to handle the semaphore (par. 11.6.12 on page 2-73). This must be entered in order to handle the semaphore (par. 11.6.12 on page 2-73). 2-79...
D450 11.6.16 Setup Menu/Personalizations/Outputs/Analogue output output data Gross, Net Voltage 0-10 V Output type Current 0-20 mA Current 4-20 mA 11.6.17 Setup Menu/Personalizations/Outputs/BCD updating time editor expresses updating time of the port in hundredths of a second data not valid time...
D450 11.6.18 Setup Menu/Personalizations/Messages Print If a printer is connected, you can print a list of the current messages. The list printed is similar to that shown in par. 11.6.19 on page 2-82. Prints the number, the original message and, where applicable, the modified message.
D450 11.6.19 List of modifiable messages General data messages Date General net total Time General weighing number Extracted Partial gross total Gross Partial tare total Tare Partial net total Partial weighing number Status Product net total Tare 1 Product weighing number...
Page 84
D450 User menu messages User menu With memory Data management With printer Display Code management Entering 15 mm digits Reprint 30 mm digits Range Selection Range 01 Extraction Range 02 Display tare Range 11 Contrast Range 12 Totals management Range 13...
D450 11.6.20 Setup Menu/Personalizations/Shortcut keys Customize shortcut The quantity and position of the keypad keys shortcuts assigned to terminal functions can be modified. To add shortcut keys to those already selected (up to a maximum of 20) proceed as follows: press NEW;...
Page 86
D450 To change the position of shortcut keys shown on the display, proceed as follows: position the cursor in correspondence with the position of the function to be changed ; press ENTER; position the cursor in correspondence with the function you wish to assign to the previously selected position;...
D450 11.6.21 Setup Menu/Personalizations/Texts Entering Editor You can define two sets of messages, each comprising 3 lines of 25 characters, which may be inserted at the head or foot of a printout. Proceed as follows: select the set of messages which you wish to insert : In heading or At foot of page;...
D450 11.6.22 Setup Menu/Personalizations/Files Memory status You can verify how much of the terminal memory is occupied and, if necessary, recover used memory. The recovery operation may take a few minutes. Do not switch off the terminal during this operation otherwise data may be lost from memory.
D450 When a file exceeds the maximum permitted size, the terminal will display a warning that there is insufficient space available. In this case, if you still wish to proceed, you will have to reduce the size of the other files. Care must be taken when reducing the size of a file, as this could lead to the loss of data.
D450 11.6.24 Setup Menu/Personalizations/Backup-Restore This submenu contains the file transfer functions of Backup and Restore. The files are transferred using a program on a PC which allows the data in the terminal memory to be saved in binary files. These files can be subsequently transferred back to the original terminal or to another terminal of the same model.
Page 91
D450 To transfer files from the terminal to a Personal Computer proceed as follows: use a communication program that contains the KERMIT transfer mode for binary files (e.g. Windows Hyperterminal), and set the same communication parameter settings as the terminal;...
Page 92
D450 To transfer files from a Personal Computer to the terminal proceed as follows: go to the directory containing the previously transferred files; connect the terminal to the PC using a serial line cable as previously described in the Backup procedure;...
D450 11.7 Test procedures To access terminal function tests, press on power up and follow the menu path: select language>Terminal Tests>select test 11.7.1 Terminal Tests/Serial Ports Connect the "blind" connector to the ports. The term "blind" connector denotes a connector that connects the inputs to the outputs.
D450 11.7.4 Terminal Tests/Terminal Configuration Report If a printer port has been enabled through the relative menu, the terminal configuration report will be printed via this port. If no port has been enabled, connect a printer and a PC to the COM1 serial port with fixed 9600,8,N,1 configuration.
D450 11.8 Repeater scale The following paragraphs describe the parameters required to set up the repeater scale Refer to all paragraphs from par. 11.6.7 on page 2-63 to par. 11.6.24 on page 2-90 for the Customizing Menu and par. 11.7 on page 2-93 for the Test procedures.
D450 11.8.2 Setup Menu/Repeater scale/Repeater scale parameters/String Extended See par. 10.2.2 on page 2-11 Comunication You can select the type of dialogue between the slave and main terminal: Full-duplex: the communication signals can be transferred at the same time in both directions;...
Page 97
D450 range capacity This displays the 1 range capacity value entered during the installation phase. range capacity This displays the 2 range capacity value entered during the installation phase. See par. 10.2.1 on page 2-10 Unit of measurement Displays the unit of measurement selected during the installation phase.
Page 99
SOCIETÀ COOPERATIVA BILANCIAI SOC. COOP. BILANCIAI CAMPOGALLIANO A.R.L. 41011 Campogalliano (MO) Via Ferrari, 16 tel. +39 (0)59 893 611 - fax +39 (0)59 527 079 home page: http://www.coopbilanciai.it E-mail:cb@coopbilanciai.it servizio post-vendita after sales service service apres-vente Kundendienstservice servicio post-venta serviço pós-venda...
Need help?
Do you have a question about the D450 and is the answer not in the manual?
Questions and answers