dwt400 Digitaal Eng
dwt400 Digitaal Eng
BILANCIAI
Terminal D400
Index
9. FOREWORD TO THE ADVANCED USER MANUAL 2-7
10. PROGRAMMING OF SERIAL LINE COMMUNICATION 2-9
10.1 Symbols used 2-9
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 2-15
10.2.7 On request with address 2-15
10.3 Protocols for cyclic strings 2-16
10.3.1 ACK-NAK protocol 2-16
10.3.2 Cyclic protocol 2-16
10.3.3 On request protocol 2-16
10.4 Remote commands protocol 2-17
10.4.1 Reply to an incorrect command 2-17
10.4.2 Reply to a correct command 2-18
10.4.3 Suspension of cyclic transmission 2-18
10.4.4 Resumption of cyclic transmission 2-18
10.4.5 Request for gross weight 2-18
10.4.6 Request for net weight 2-18
10.4.7 Request transmission of tare 2-19
10.4.8 Request transmission of scale status 2-19
10.4.9 Request transmission of scale status (version EV2001) 2-21
10.4.10 Scale zeroing 2-21
10.4.11 Tare acquisition 2-21
10.4.12 Tare entering 2-21
10.4.13 Cancellation of an entered tare 2-22
10.4.14 Request transmission of general data table 2-22
10.4.15 Request for general data item "n" 2-22
10.4.16 Request to enter the value "y" in the general data item "n" 2-22
10.4.17 Request for transmission of the net weight and the scale status
2-22
10.4.18 Request for transmission of net weight and scale status with 6 bytes
2-24
10.4.19 Request for transmission of the net weight, tare and scale status
with 6 bytes 2-25
10.4.20 Print request 2-25
10.4.21 Read last weight acquired 2-25
10.4.22 Cancel last acquired weight 2-25
10.4.23 Request division value 2-25
10.4.24 Request for net weight in high resolution 2-26
10.4.25 Request for maximum capacity value 2-26
10.4.26 Request for net weight without unit of measurement 2-26
10.4.27 Lock keypad and display 2-26
10.4.28 Unlock keypad and display 2-26
10.4.29 Lock keypad 2-27
2-3
D400
10.4.30 Unlock keypad 2-27
10.4.31 Remote commands with checksum 2-27
10.4.32 Remote commands with addressing 2-28
10.5 Remote commands for Input/Output management 2-29
10.5.1 How to set a single output 2-29
10.5.2 How to zero-set a single output 2-30
10.5.3 How to test a single output 2-31
10.5.4 How to test a single input 2-32
10.5.5 How to test all the outputs 2-33
10.5.6 How to change the status of all the outputs 2-35
10.5.7 How to test all the inputs 2-36
10.6 Remote commands for digital cells 2-37
10.6.1 Request for cell points 2-37
10.6.2 Request for cell temperature 2-37
10.6.3 Request for version and release of cell software 2-37
10.6.4 Request for power supply 2-38
10.6.5 Request for cell serial numbers 2-38
10.6.6 Request for angle calibration coefficient 2-38
10.6.7 Request for number of cells in system 2-39
10.6.8 Request for cell status 2-39
10.6.9 Request for digital scale status 2-41
10.7 Communication in MPP operation 2-43
10.7.1 Operation 2-43
10.7.2 Weighing request from keypad with data transmission on completion
of operation 2-44
10.7.3 Weighing request from serial command with transmission on
completion of operation 2-47
10.7.4 Weighing request from keypad and transmission request from serial
command 2-47
10.7.5 Weighing and transmission request from serial command 2-48
10.7.6 MP and MC remote commands with checksum 2-48
11. PERSONALIZATION 2-49
11.1 Foreword 2-49
11.2 Accessing the parameter configuration function 2-49
11.3 Language 2-49
11.4 Setup menu 2-50
11.4.1 Conditioned menu 2-50
11.4.2 Entering numeric data 2-50
11.4.3 Validating input data 2-50
11.4.4 NOT MODIFIABLE parameter or menu 2-51
11.4.5 NOT AVAILABLE parameter or menu 2-51
11.5 Overview of the menu tree 2-51
11.6 Descriptions of the main menus and parameters 2-54
11.6.1 Setup Menu/Scale/Configurations/Metrological 2-54
11.6.2 Setup Menu/Scale/Configurations/General menu 2-55
11.6.3 Setup Menu/ANALOGUE scale/Analogue scale parameters 2-56
11.6.4 Setup Menu/DIGITAL scale/Digital scale parameters 2-56
11.6.5 Setup Menu/Scale/Calibration/Display data 2-56
11.6.6 Setup Menu/Scale/Test 2-57
11.6.7 Setup Menu/Personalizations/Operating modes 2-59
11.6.8 Setup Menu/Personalizations/Operating modes/MPP operation 2-60
2-4
D400
11.6.9 Setup Menu/Personalizations/Outputs/Serial/Com xy 2-61
11.6.10 Setup Menu / Personalizations / Outputs / Serial / String /.../ Com xy
configuration 2-62
11.6.11 Setup Menu/Personalizations/Outputs/Input-Output 2-63
11.6.12 Setup Menu/Personalizations/Outputs/Analogue output 2-65
11.6.13 Setup Menu/Personalizations/Outputs/BCD 2-65
11.7 Test procedures 2-66
11.7.1 Terminal Tests/Serial Ports 2-66
11.7.2 Terminal Tests/Inputs-Outputs 2-66
11.7.3 Terminal Tests/Keypad 2-66
11.7.4 Terminal Tests/Terminal Configuration Report 2-67
11.7.5 Terminal Tests/Analogue output 2-67
11.7.6 Terminal Tests/Battery 2-67
11.8 Repeater scale 2-68
11.8.1 Setup Menu/Repeater scale/Repeater scale parameters/Serial
port/Com xy 2-68
11.8.2 Setup Menu/Repeater scale/Repeater scale parameters/String 2-69
2-5
D400
2-6
D400
WARNING
The personalization operations described herein do not in
any way influence weighing functions but, unless correctly
performed, they may compromise the operation of the
system as a whole. The operations described in this section
of the manual should only be entrusted to qualified
technicians with specialised experience in this field.
2-7
D400
2-8
D400
2-9
D400
10.2 Strings
The terminal has two serial output ports which may be used for the
connection of external devices, such as printers, personal computers,
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.10 on page 2-62 ).
The following protocols are available: Cyclic (see par. 10.3.2 on page
2-16 ), On request (see par. 10.3.3 on page 2-16 ), ACK-NAK (see
par. 10.3.1 on page 2-16 ).
2-10
D400
The characters <s1>, <s2>, <s3>, <s4> are ASCII characters that must
be interpreted as hexadecimal values. Each character represents 4 bits
of different significance; for example, the incoming ASCII character "A"
must be interpreted as the hexadecimal digit "A";
1 0 1 0
bit3 bit2 bit1 bit0
2-11
D400
When a bit assumes the value "1" the corresponding signal is "true"; the
significance of the signals is as follows:
The following protocols are available: Cyclic (see par. 10.3.2 on page
2-16 ), On request (see par. 10.3.3 on page 2-16 ), ACK-NAK (see
par. 10.3.1 on page 2-16 ), Remote commands (see par. 10.4 on page
2-17 ).
2-12
D400
2-13
D400
2-14
D400
cis=$(24H)
Start string character in other cases
2nd character <s> s=stability
s=0 weight stable
s=1 weight not stable
s=3 weight not valid (negative or
overload)
3rd-7th net weight
character if the weight consists of more than 5
digits, the least significant digits will
not be transmitted;
8th character <CR>(ODH) end string character
10.2.6 Cma
Reserved string, not to be used. Further information supplied on
ordering.
2-15
D400
2-16
D400
WARNING
Remote commands are only enabled if the extended string
format was selected during terminal configuration (see par.
10.2.2 on page 2-11 ).
WARNING
Remote commands are not executed if cyclic serial
transmission is in progress; in this case cyclic transmission
must be suspended with the command "EX<CR>" before
giving any other remote commands.
WARNING
Insert a delay of a few ms between the reply to a command
and the next command.
2-17
D400
2-18
D400
2-19
D400
When a bit assumes the value "1" the corresponding signal is "true"; the
significance of the signals is as follows:
2-20
D400
2-21
D400
10.4.16 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.
Values for some of the general data cannot be entered (e.g. gross
weight, net weight, scale status, etc).
2-22
D400
10.4.17 Request for transmission of the net weight and the
scale status
Xn<CR>
N.B.: the command sent is comprised of an uppercase X and lowercase
n (not to be confused with generic significance assigned to the
lowercase n described in par. 10.1 on page 2-9 ).
In the case of a positive reply, the terminal responds with the following
string:
n<SP><um><SP><s1><s2><s3><s4><CR><LF>
The characters s1, s2, s3 and s4 are ASCII characters the meaning of
which is explained in par. 10.4.8 on page 2-19 .
2-23
D400
When the command is received, the terminal replies with the following
string:
n<SP><um><SP><s1><s2><s3><s4><s5><s6><CR><LF>
The meaning of the <s1>, <s2>, <s3> and <s4> bits is described in par.
10.4.8 on page 2-19 .
The meaning of the <s5> and <s6> bits is as follows:
2-24
D400
When the command is received, the terminal replies with the following
string:
n<SP><um>y<SP><um><SP><s1><s2><s3><s4><s5><s6><CR><LF>
where:
n = net weight
y = tare
The meaning of the <s1>, <s2>, <s3>, <s4>, <s5> and <s6> bits has
been described previously ( par. 10.4.18 on page 2-24 and par. 10.4.8
on page 2-19 ).
2-25
D400
2-26
D400
XB chk1chk2 <CR>
2-27
D400
2-28
D400
SO n1 n2 <CR>
where:
2-29
D400
RO n1 n2 <CR>
where:
2-30
D400
TO n1 n2 <CR>
where:
2-31
D400
TI n1 n2 <CR>
where:
2-32
D400
LO<CR>
n1n2n3<CR><LF>
where:
184<CR><LF>
1 8 4
01 1000 0100
2-33
D400
where:
2-34
D400
n1n2n3WO<CR>
where:
2-35
D400
LI<CR>
n1n2n3<CR><LF>
where:
2-36
D400
n<CR><LF>
n<CR><LF>
n<SP>m<CR><LF>
2-37
D400
n<SP>m<CR><LF>
n<SP>m<CR><LF>
n<SP>m<CR><LF>
2-38
D400
n<CR><LF>
<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":
1 0 1 0
bit3 bit2 bit1 bit0
2-39
D400
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:
2-40
D400
<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":
1 0 1 0
bit3 bit2 bit1 bit0
2-41
D400
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:
2-42
D400
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.8 on page 2-60 ).
2-43
D400
2-44
D400
If the Terminal number item has been selected in the Setup Menu (
par. 11.6.8 on page 2-60 ), the data transmitted are:
2-45
D400
If the Serial Number item has been selected in the Setup Menu (
par. 11.6.8 on page 2-60 ), the data transmitted are:
WARNING
The ACK/NACK protocol (see par. 10.3.1 on page 2-16 ) is
automatically enabled in MPP operation.
2-46
D400
2-47
D400
Once the weight validity conditions are satisfied, the terminal memorises
the data.
The external computer must then transmit the data request command:
MP<CR>
The terminal responds with the string described in par. 10.7.2 on page
2-44 .
2-48
D400
11. PERSONALIZATION
11.1 Foreword
WARNING
Personalization procedures are strictly reserved for
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.
The only parameters that may be modified are those directly
related to the program installed on the terminal.
11.3 Language
On entering setup, you can select the language in which you want the
menu to be displayed.
After selecting the setup menu language, the following information is
briefly displayed:
✔ program code
✔ version
✔ serial number of terminal (if other than zero, it will match the s/n
(serial number) on the data plate).
2-49
D400
2-50
D400
2-51
D400
ANALOGUE scale DIGITAL scale REPEATER scale
Configurations Configurations Repeater scale parameters
Metrological Metrological Serial port
General General String
Analogue scale parameters Digital scale parameters
Conversion rate N. of load cells
Calibration Baud Rate
Execute Calibration
Display data Execute
Correction Display data
Test Angle calibr.
Display points Correction
Display weight Test
Converter test Display points
Display weight
Temperature
Power supply
Angular coefficient
Serial number
Program Release (cells)
Terminal data storage
Terminal data reinstatement
Personalizations
Operating modes
Terminal language
Decimal separator
Operation
Printer
Automatic printing
MPP operation
Connection to external
processor
Outputs
Serial
Input/Output
Analogue output
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 report
Inizialization
2-52
D400
Cancel MPP Board
Test report
Copy programme on board
Cell emergency routine
Reserved
2-53
D400
2-54
D400
2-55
D400
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%.
2-56
D400
2-57
D400
2-58
D400
2-59
D400
2-60
D400
2-61
D400
2-62
D400
2-63
D400
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.
operation (output) Disab. (disabled)
Set point
Range
Requested
Can only be selected on output 1. It is
activated when a START operation is
requested in extraction mode (consult the Use
of the terminal chapter of the user manual)
and is deactivated when the value entered for
Set Point 01 has been reached.
Slow
Can only be selected on output 2. It is
activated when a START operation is
requested in extraction mode (consult the Use
of the terminal chapter of the user manual)
and is deactivated when the extracted weight
reaches the value obtained by the difference
between the value set for Set point 01 and the
value set for Set Point 02.
Print ok
Transmiss. ok (transmission ok)
2-64
D400
2-65
D400
2-66
D400
2-67
D400
2-68
D400
2-69
D400
2-70
SOCIETÀ COOPERATIVA
BILANCIAI