Вы находитесь на странице: 1из 30

Z4700

3
CoMMUniCation ProtoCol ChaPter

end User ManUal

3 Communication
Protocol

Page 3.59
Z4700

3
Chapter CommuniCation protoCol
end user manual

3 COMUNICATION PROTOCOL
The communication protocol allows to manage and remotely control the status of the Z5700
system, properly connected to the network through the ethernet cable.

By using an application able to establish a TCP raw connection (for example Telnet) connect
to the system using its IP address and the 43110 port.

By inserting a simple command in the window that will open, is possible to query the Z5700
on the current state of its parameters or give new instructions for the rest of the printings.

Some parameters are read-only, then simply for consultable, other also in writing, then
possibly modifiable.

Parameters are grouped into categories, each of which is then divided into sub-entries.

LIST OF PARAMETERS

Here is the complete tree of the parameters that can be accessed by:

variable
speed
Type
Var1
Var2
Factor
aspect
Intensity
Quality
setup
LeftOn
UpOn
ExternalStartOn
PrintDistance
IndexedOn
SyncIndexOn
copy
Length
Number

3.60 page
Z4700

3
CoMMUniCation ProtoCol ChaPter

end User ManUal

physical
Pressure
Suction
HighVoltageValue
AmplitudeOscillator
InkTypeName
InkCoefX2
InkCoefX1
InkCoefK3
InkPigmentOn
SetPointViscosimeter
InkThreshold
MakeupThreshold
TankThreshold
GutterThreshold
NozzleDiameter
alarms
PressureOn
HighVoltageOn
GutterOn
PumpOn
connections
RS232Enable
RS232Address
RS232BaudRate
RS485Enable
RS485Address
RS485BaudRate
service
WorkTimeFromReset
WorkTimeThreshold
DateThreshold
external_field
string
bitmap
table
message
number
count
index
names
command
purge
print
visco
makeup
ink
keycode
retcode

Page 3.61
Z4700

3
Chapter CommuniCation protoCol
end user manual

info
x_resolution
y_resolution
BCDin
state
alarms
warnings
errors
valves
hw_indicators
state
message
proto_func
all_states
measure
board_temp
ink_temp
ink_level
full_level
mek_level
gutter_level
phase_peak
high_voltage
fly_time
pump_rpm
pressure
viscosity
set_point
all_measures
time_count
sys_time
abs_time
work_time
reset_time
count_abs
all_time
lock
mek_lock
to_mek_lock
ink_lock
to_ink_lock
purge_time
all_lock
peripheral
peripheral_ide
serial_number
proto_version
all
system
date_time
logs
level

3.62 page
Z4700

3
CoMMUniCation ProtoCol ChaPter

end User ManUal

READING THE PARAMETERS

By pressing “Enter” (without entering anything before), the system will display the list of
available categories:

By typing a command (followed by “Enter” for confirmation) the system will show all its
accessible sub-items.

For example, typing “variable” the system will display:

In order to read a parameter of the system, type the commands that compose the path.

For example, in order to get the current value of the bold of the characters, type:
“variable aspect Intensity”: the system will return the value currently set (1, in the example)

or simply type “variable aspect”: the system will display the values of all the sub-entries,
among them the one of the bold too.

Page 3.63
Z4700

3
Chapter CommuniCation protoCol
end user manual

Correctly enter uppercase or lowercase.

For convenience, it’s also possible to type only portion of the command; for
example the command “variable” can be invoked simply by typing “var” o “v”.
In case multiple commands begin with the characters entered, the system will
consider the first of the list of the sub-entries; for example “var se“ will invoke the
command “setup” as placed before, in the list than the command “service”.

Some parameters return a value difficult to understand, as not in the unit we


would expect to see (it’s an hexadecimal or a value used by the system).
n these caI ses, add the letter “v” (=verbose) at the end of the command in order
to display the value in the correct way.
Example: “info measure board_temp v“

WRITING THE PARAMETERS

In order to eventually modify (if possible) a parameter of the system, type the commands
that compose the path and assign the desired value to the parameter to update.

For example, in order to modify the value of the bold of the characters, type:
“variable aspect Intensity=4”: the system will set the bold value to 4.

3.64 page
Z4700

3
CoMMUniCation ProtoCol ChaPter

end User ManUal

The name of the parameter value must be typed completely; in the previous
example, the string “var asp Intensity=4“ is correct, while the string
“var asp Int=4“ is not correctly recognized.

In giving value to the parameters that can be assigned a string, specify the
string between ““ ““ (the system will print the part included, without the quotes),
otherwise there will be taken into consideration only the characters up to the
first blank space.

In giving value to the parameters that can be assigned a hexadecimal value,


specify the string between ““ ““ (the system will print the part included, without
the quotes) or preceded by the string 0x.

READING AND WRITING OF THE PRINTING PARAMETERS

To consult and eventually modify, the current value of the variables in the system, type the
respective string.
Commands that can be valorized remotely contain the = symbol followed by the value to
assign (for example “variable speed Type=0”); the same command without the valorization
(for example “variable speed Type”) is read-only, to know the current status of the parameter.

Encoder Enabling

variable speed Type=0/1 0=encoder disabled


1=encoder enabled

Speed line

Only with the encoder disabled (variable speed Type=0)


variable speed Var1=xx (xx=speed expressed in m/min)

Encoder settings

Only with the encoder enabled (variable speed Type=1)


variable speed Var1=xxxx (xxxx=resolution expressed in ppr)
variable speed Var2=y.yy (y.yy=pulley diameter expressed in m)

Page 3.65
Z4700

3
Chapter CommuniCation protoCol
end user manual

Stretch

variable speed Factor=x.xx (x.xx=stretch of labels expressed in decimals


compared to the size of the layout of the
messages (1.00=100%))

Bold

variable aspect Intensity=x (x=1...8 expressed in columns of thickness)

Codify

variable aspect Quality=0/../10 0=17-S


1=16-HS
2=3L-9x7
3=24-S
4=24-HQ
7=4L-7x5
8=4L-5x5
9=1L-7x5
10=2L-7x5
11=3L-7x5

Reverse Print

variable setup LeftOn=true/false true=reverse print enabled


false=reverse print disabled

Inverted Print

variable setup UpOn=true/false true=inverted print enabled


false=inverted print disabled

Photocell enabling

variable setup ExternalStartOn=true/false true=photocell enabled


false= photocell disabled

Print delay

variable setup PrintDistance=xxx (xxx=delay expressed in mm)

3.66 page
Z4700

3
CoMMUniCation ProtoCol ChaPter

end User ManUal

Indexed message

variable setup IndexedOn=true/false true=use of indexed messages (Bcd)


false=not use of indexed messages

Synchronization signal for indexed messages

Only with the Indexed Message modality enabled (variable setup IndexedOn=true)
variable setup SyncIndexOn=true/false true=strobe enabled
false=strobe disabled

Repeater

variable copy Number=0/1/N 0=repeater enabled and continuos


1=repeater disabled
N=repeater enabled for N times

Distance between printings

Only with the Repeater modality enabled (variable copy Number=0 or =N)
variable copy Length=x.xx (x.xx=distance between the printings
expressed in m)

Pressure set

variable physical Pressure=xxxxx (xxxxx=pressure set expressed in KPa)

Suction set

variable physical Suction=xxxx (xxxx=suction set expressed in rpm)

Deflection Plates

variable physical HighVoltageValue=xx (xx=deflection plates value)

Oscillator Amplitude

variable physical AmplitudeOscillator=xxx (xxx=oscillator amplitude value)

Page 3.67
Z4700

3
Chapter CommuniCation protoCol
end user manual

Pressure Alarm

variable alarms PressureOn=true/false true=Pressure alarm enabled


false=Pressure alarm disabled

High Voltage Alarm

variable alarms HighVoltageOn=true/false true=High Voltage alarm enabled


false=High Voltage alarm disabled

Gutter Alarm

variable alarms GutterOn=true/false true=Gutter alarm enabled


false=Gutter alarm disabled

Force Pumpa Alarm

variable alarms PumpOn=true/false true=Force Pump Alarm enable


false=Force Pump Alarm disable

RS232 Serial Connection

variable connections RS232Enable=true/false true=RS232 serial line enabled


false=RS232 serial line enabled

Buadrate RS232 Serial Connection

variable connections RS232BaudRate=0/../4 0=4800


1=9600
2=19200
3=38400
4=56800

RS485 Serial Connection

variable connections RS485Enable=true/false true=RS485 serial line enabled


false=RS485 serial line enabled

3.68 page
Z4700

3
CoMMUniCation ProtoCol ChaPter

end User ManUal

Buadrate RS485 Serial Connection

variable connections RS485BaudRate=0/../4 0=4800


1=9600
2=19200
3=38400
4=56800

Ink used into the System

variable physical InkType=xxx (xxx=number of ink)

Set Point Viscometer

variable physical SetPointViscosimeter=xxx (xxx=set point)

Nozzle Diameter

variable physical NozzleDiameter=50/70 (50=diameter 50µ


70= diameter 70µ)

Threshold Warning Ink Level Low

variable physical InkThreshold=xxxx (xxxx=threshold)

Threshold Warning Make Up Missing

variable physical MakeupThreshold=xxxx (xxxx=threshold)

Threshold Warning Tank Too Full

variable physical TankThreshold=xxxx (xxxx=threshold)

Threshold Gutter Alarm

variable physical GutterThreshold=xxxx (xxxx=threshold)

Page 3.69
Z4700

3
Chapter CommuniCation protoCol
end user manual

im
3 .4e.3o4f u
Tse

variable service WorkTimeFromReset=xxxxxx (xxxx=time of use expressed in


minutes)

im
3 .4e.3t5o n
Text maintenance

variable service WorkTimeThreshold=xxxx (xxxxxxx=time to next maintenance


expressed in minutes)

Maximum date next maintenance

variable service DateThreshold=xxxxxxxxxx (xxxxxxxxxx=date next maintenance


expressed in Unix time)

Valorization of the String external field

external_field string x “yyyyyyyyy“ (x=index external field;


yyyyyyyyy=string to print)

Valorization of the Bitmap external field

external_field bitmap x yyyyyyyy (x=index external field;


yyyyyyyy=bytes corresponding to the bitmap
expressed in hexadecimal
(attention: bytes, not string))

Valorization of the Table external field

external_field table x yyyyyyyy (x=index external field;


yyyyyyyyy=bytes corresponding to the indi-
ces of table to print the contents expressed
in hexadecimal
(attention: bytes, not string))

Opening/Closing Purge Valve

command purge (switches the current state)

3.70 page
Z4700

3
CoMMUniCation ProtoCol ChaPter

end User ManUal

Opening/Closing Visco Valve

command visco (switches the current state)

Opening/Closing Makeup Valve

command makeup (switches the current state)

Opening/Closing Ink Valve

command ink (switches the current state)

Enabling to printing (Enabling/Disabling High Voltage)

command print (switches the current state)

3.4.45 Execution of the function xxx

command keycode xxxx (xxxx=0110 Print


=0111 Start/Stop
=0108 System shutdown
=0109 Ink Jet turning off
=010A Ink Jet turning on
=010B System flushing
=010C Stop System flushing)

Last function executed (read-only)

command retcode

Number of messages loaded into the Bcd list (read-only)

message number

Report of the printing message (read-only)

message count

Page 3.71
Z4700

3
Chapter CommuniCation protoCol
end user manual

Index of the printing message (read-only)

message index

Names of messages loaded into the Bcd list (read-only)

message names (il sistema mostra anche il numero di messaggi caricati)

Horizontal resolution of the printing message (read-only)

info x_resolution (espressa in dpi)

e.r4ti.c5a2l rV
3 esolution of the printing message (read-only)

info y_resolution (espressa in dpi)

Bcd input of the printing message (read-only)

info BCDin

Current state of the system (read-only)

info state state v

Alarms in the system (read-only)

info state alarms v (alarms currently present)

a.r4n.i5n6gsWin the system (read-only)


3

info state warnings v (warnings currently present)

a.l4
3 v.e5s7oV
pened in the system (read-only)

info state valves v (valves currently opened)

3.72 page
Z4700

3
CoMMUniCation ProtoCol ChaPter

end User ManUal

Errors in the system (read-only)

info state errors v (errors currently present)

Hardware devices working (read-only)

info state hw_indicators v (hardware currently working)

Index and total report of the printing message (read-only)

info state message (expressed as “index;total report of the message;


value of the report from the last reset”)

Last functions executed (read-only)

info state proto_func v

All the states (solo in lettura)

info state all_states (the system returns all the current states (the
sub-items of “info state”) expressed in hexadecimal)

e.m
3 4.p6e3raTture Logib Board (read-only)

info measure board_temp v (temperature expressed in °C)

e.m
3 4.p6e4raTture Ink (read-only)

info measure ink_temp v (temperature expressed in °C)

Level Missing Ink (read-only)

info measure ink_level (current level)

Level Full Ink (read-only)

info measure full_level (current level)

Page 3.73
Z4700

3
Chapter CommuniCation protoCol
end user manual

Level Missing Make-Up (read-only)

info measure mek_level (current level)

Level ink into the Gutter (read-only)

info measure gutter_level (current level)

Phase Peak (read-only)

info measure phase_peak (last value)

High Voltage between the Deflection Plates (read-only)

info measure high_voltage (current voltage expressed in V)

Fly Time (read-only)

info measure fly_time (last value expressed in µsec)

Force Pump revolutions (read-only)

info measure pump_rpm (current revolutions expressed in rpm)

Current Pressure (read-only)

info measure pressure current pressure expressed in KPa)

Current Set Point (read-only)

info measure viscosity

Reference Set Point (read-only)

info measure set_point (reference set point for the current temperature)

3.74 page
Z4700

3
CoMMUniCation ProtoCol ChaPter

end User ManUal

All the measures (read-only)

info measure all_measures (the system returns all the measurement parameters
(the sub-items of “info measure”); temperatures are
not expressed in °C)

Current date and time (read-only)

info time_count sys_time (date expressed in Unix Time)

System locked for Make-Up missing (read-only)

info lock mek_lock 0=system not locked


1=system locked

im
3 .4e.7t9o sTystem locking for Make-Up missing (read-only)

info lock to_mek_lock

3.4.80 System locked for Ink missing (read-only)

info lock ink_lock 0=system not locked


1=system locked

im
3 .4e.8t1o sTystem locking for Ink missing (read-only)

info lock to_ink_lock

3.4.82 Length manual purge (read-only)

info lock purge_time (expressed in s)

u.t4te.8l3e iTnfo sul bloccaggio del sistema (solo in lettura)


3

info lock all_lock (the system returns all the sub-items of “info lock”)

Page 3.75
Z4700

3
Chapter CommuniCation protoCol
end user manual

ID Peripheral (read-only)

peripheral peripheral_ide

Serial Number (read-only)

peripheral serial_number

Communication Protocol Version (read-only)

peripheral proto_version

All the info about Peripheral (read-only)

peripheral all (the system returns all the sub-items of “peripheral”)

Date and Time (read-only)

system date_time (currently set on the system)

Events on the system (read-only)

system logs (expressed as date_event; time_event;N;type_task;task;content;


id_peripheral;serial_number_peripheral;connection-channel;
type_protocol)

3.76 page
Z4700
general InforMatIon
4
ChaPter

end User ManUal

4 General information

Page 4.77
Z4700
4
Chapter General InformatIon
end User manUal

external label

4.78 paGe
Z4700
general InforMatIon
4
ChaPter

end User ManUal

Internal label

Page 4.79
Z4700
4
Chapter General InformatIon
end User manUal

4 GENERAL INFORMATION

GENERAL REMARKS

Serial number: it is on CE lable on the outer side of the console.


The external lable comprises:

Model Z4700
Serial number univolcal code for the system identification
Year year of production

and a chart with the electrical characteristics.

In the hydraulic compartment inside the cabinet a second label is present with a code for
the Manufacturer’s use.

THE MANUFACTURER’S OFFICIAL LANGUAGE IS ITALIAN.

The manual refers to the state of the system when delivered.


ZANASI reserves the right to update manuals without being obliged to update the
previouses.

ZANASI is not responsable in case of incorrect use of the system, such as:

a) improper use of the machinery by untrained personnel;

b) use not conform to the specific standards;

c) improper installation;

d) supply errors;

e) maintenance faults;

f) unauthorized changes or interventions;

g) use of not original or unsuitable spare parts;

h) failure to comply with the instructions provided;

i) use of not originals inks and solvents;

l) use of the machinery with covers removed or disabled;

4.80 paGe
Z4700
4
Chapter General InformatIon
end User manUal

HOW TO USE THE MANUAL

• This manual has been devised in order to provide the user with a detailed knowledge
of the machinery and with the instructions to use it in a proper way.

• Before moving to installation, maintenance and repair procedures, please read carefully
this manual

• Controls and maintenance should be carried out as scheduled in this manual in order to
make sure the printer is properly functioning throughout its life cycle and under normal
operating conditions.

ARNING
W :
Any change to the machinery unauthorized by the manufacturer will make the
warranty null and void.

The following instructions are part of the standard behaviour operators must comply with
when operating the printing system.

A.R
4 3RA
WNTY

During the period of warranty, the user must carry out all the preventive maintenance
procedures described in this manual. In case of failure to comply with such procedures,
the manufacturer is not responsable for any faults affecting the proper functioning of the
system, making the warranty null.

4.80 paGe
Z4700
general InforMatIon
4
ChaPter

end User ManUal

4.4 UNALLOWED USES AND CONTRA-INDICATIONS

It’s forbidden use the system:

• without covers and/or when the safety devices are deactivated;


• in case of maintenance failures;
• after unauthorized changes or interventions;
• in case of either partial or total failure to comply with the instructions provided;

The printer cannot be used:


• in an esplosive atmosphere
• with relative humidity exceeding 95%;

Any changes unauthorized by the Manufacturer affecting the proper functioning of the
machinery by means of altered hazards and/or by adding further hazards will be the sole
responsibility of the person(s) carrying out such changes, relieving Zanasi of any respon-
sability.
Such changes, when carried out without the permission by the manufacturer, will make
the warranty null.

WARNING:
Specific parts of the system are powered with high voltage. The electronic com-
partment should not be opened and the print head cover should not be removed
by untrained personnel

WARNING:
The print head must be mounted onto a fixed support free of vibrations.

4.4.1 Electric safety

Installation procedures must be complied according to the instructions provided in Chapter 1.


Pay particular attention to the paragraphs concerning specifications and requirements of
electric power supply.
When replacing electric or electronic components, the POWER SUPPLY of the system must
be OFF. The power supply cable must be disconnected from the system before removing
covers to compartments or before accessing such compartments.

It’s forbidden to deactivate the electrical safety devices of the system.

Page 4.81
Z4700
4
Chapter General InformatIon
end User manUal

RESIDUAL RISKS

Fire hazard

IMPORTANT!
Fire hazard degree varies and depends on the nature as well as on the composition
of the substances. Inks made up of alcohol mixtures can burn.

Specific information can be found in the safety or material data sheets provided together
with inks and solvents.
In case of fire, use powder or dry extinguishers. Do not use water. Smothering a small fire
with a blanket is an effective means to extinguish a fire. In case you are not sure about
the precautions to take in case of fire, comply with the instructions provided by the local
fire authority.

Exalations hazard

Inks and solvents used with the system can produce hazardous exhalations (see safety
and material data sheet provided with inks and solvents).

In order to avoid such hazard, the system must be installed in a large, well-ventilated space.

4.82 paGe
Z4700
general InforMatIon
4
ChaPter

end User ManUal

RAEE DIRECTIVE

Standards on the disposal of equipments in the European Union:

according to the implementation of Directives 2002/95/CE, 2002/96/CE and 2003/108/


CE on the restriction of the use of certain hazardous substances in electrical and
electronic equipment and on waste disposal.

The crossed-out trash bin on the equipment means that the product, at the end of its
useful life cycle, must be separatedly collected.

The divesified garbage of this equipment at the end of its useful life cycle is organized
and managed by the manufacturer. The user that would get rid of this equipment must
contact the manufacturer and follow the way he choose to allow the diversified garbage
for it.

The adequate divesified garbage for the equipment recycing, treatment and disposal en-
vironmentally compatible contributes to avoid possible negative effects on the environ-
ment and to the health and thus favouring recycling of materials making up the product.

Illegal WEEE disposal shall be sanctioned according to the laws in force.

Page 4.83
Z4700
4
Chapter General InformatIon
end User manUal

CE DECLARATION OF CONFORMITY

We hereby declare under our responsability that the system

System Description: Continuous Ink Jet Printer


Type: Z4700
Identification: dal n° di serie AE-SY-00303
Manufacturer: Zanasi s.r.l.
via Marche 10, 41049 Sassuolo (Modena), Italia

complies with the requirement:

Directive 2004/108/EC (ELECTROMAGNETIC COMPATIBILITY - EMC)


Directive 2006/95/EC (LOW VOLTAGE)

and has been designed and manufactured in accordance with the harmonized European
standards:

EN60204-1:2006-06 Electrical Equipment


EN60950-1:2006 Safety of Equipment
EN61000-6-4:2007 EMC Emissions
EN61000-6-2:2005 EMC Immunity

The manufacturer keeps information about the system technical construction data.

Sassuolo (Mo), April 04th, 2014 Gianni Zanasi (Managing Director)

Version 5.040414

4.84 paGe
Z4700
general InforMatIon
4
ChaPter

end User ManUal

GLOSSARY

High Voltage (H.V.): deflects the drops.

Binary Coded Decimal (BCD): prints messeges selected from external devices such as
PLC.

Umbilical cord: it’s the armored conduit from the cabinet to the print-head.

Display: it’s the user interface to program the system and visualize parameters.

Charge electrode: provides the correct amount of charge to each droplet.

Encoder: sensor to detect the product speed to be printed.

Photocellul/product sensor: detects the product to print.

Gutter: collects the ink droples not used in the printing process.

Serial lines RS232/RS485: data comunication lines to connect the system to an external
device (Personal Computer - PLC).

Make-up: fluid to keep the system viscosity constant.

Character Matrix: it’s made of rows and columns, made by ink droplets.

Oscillator: changes the ink stream into singles droplets.

Deflection plates: electrically deflect the charged droplets.

Print Head: generates the ink stream to create the printed characters.

Pressure transducer: sensor to measure the ink pressure inside the system.

Tubus: generathes the doplets.

Viscosimeter: measure the ink viscosity in the system.

Page 4.85
Z4700
4
Chapter General InformatIon
end User manUal

SOFTWARE RELEASE UPDATES

4.86 paGe