You are on page 1of 13

Cimbria Sorter Machine Remote Control

1
1 OPC UA SERVER TECHNICAL SPECIFICATIONS

1 OPC UA Server Technical Specifications


The Remote Control of the Cimbria Sorter Machine from the industrial plant is based on a Ethernet communi-
cation bus. We offer a multi-protocol service (ModBus-TCP, OPC-UA, HTTP REST) and a HTTP interface.

The OPC UA Server is one of the options to interface the sorter machine to the industrial plant with a ethernet
bus.

The OPC-UA Specification is a client-server architecture:


• the OPC Server is responsible for the real-time data acquisition from the devices composing the Sorter
Machine, these are the PLCs and the Elaboration Pcs. It provides, through the OPC Unified Architecture
standard, an interface for reading and writing data from remote devices.
• the OPC Client makes requests to the OPC Server. Data can then be used in an HMI application and
gathered for analysis.
The OPC-UA was released in 2008. It is a platform independent service-oriented architecture that integrates
all the functionalities of the individual OPC Classic specification into an extensible architecture.
The following sections describe the data configuration of the OPC Server. The customer OPC Client can be
set accordingly.
Note: We don’t implement the OPC Historical Data specification since we are not dealing with statistical
data.

1.1 Network Configuration


This is the connection scheme of a typical wiring connection to the Sorter Machine. Note that the server subnet
may differ from the client subnet, in that case, the connection is made through an optional IP router/gateway.
Multiple OPC Data Access Servers can be on the same network, one for each different sorter.

1.2 Server Identification


An OPC server is identified by a server IP and Port address, and can be accessed using the standard OPC-UA
connection string, for example:
opc.tcp://IPaddress:Port
IPaddress stands of course for the current IP by means of which the sorter talks to the outer network, it can be
read from Control Panel / Network and Sharing Center. For the port, there are two possible ways to connect to
the sorter, each of them has its default port.

Page 2 of 13 2 CIMBRIA S.R.L.


2 STATUS AND STATISTICS REGISTERS

1.3 Client Authentication


It is up to the OPC Server to use authentication mechanisms. This is needed to identify the clients and be sure
of the validity of their credentials when they ask for access to a specific object.
Presently the OPC-UA server that comes with the Cimbria Sorter Machine does not implement any authenti-
cation system, but a password one has to type as value in the Password register with tag 64, by default
this password is set to 7832.
Another thing you will have to keep in mind is that at the time being only one Client at a time can connect
to the machine through the OPC protocol.

1.4 Client Authorization


After the Client authentication, a new session is created. The resources accessed by the OPC client in a
session are determined by the value stored in the “Password” register labeled with tag 64.
The Client can insert the password on the int register. The password can be set from a configuration file too.
If the wrong password was typed, the register returns the value “0” and the registers can accessed in read-only
mode (see read and write table, last column first value), while if the password is correct the register returns the
value “1” and the table assumes the correct read and write permissions (see read and write table, last column
second value).

Tag Type Description Value


64 int Password (0, 1)

Note: All the data Tags are organized in this namespace: /Root/Objects/Tags

1.5 General Default Parameters and Supported Versions

Connection protocol Default Port Default Password


OPC 4840 7832
MODBUS 502 7832

You must have installed at least PLC 566 and Bench 379 to read the registers through the OPC.

2 Status and statistics registers


Here we present a brief overview of the read-only registers. For the full list we refer to section 3.5.

Targa : the machine targa


Total Hours Counter : total hours counter

Remote Status : serves to check wether the sorter is communicating with the PLC and wether the user has
read-only authorization or is able to write the command registers too. Under normal conditions the register
should hop between two values, meaning that the sorter and its PLC are communicating through a “live-bit”.
When this is not the case you should check for alarms or you should check that MD108 (Remote Control) value
is equal to 1.

Machine Status : this register is a bit list which we report in section 4. The register describes the current
machine status. Its normal value should be 17 (not loading a recipe, not shutting down and ready to start) or
25 (running). It is 0 (every bit down) when loading a recipe, while the bit number 3 raised denotes an alarm
situation.

Alarms : this is a bit list which covers most of the possible alarm causes. For the meaning of each bit we refer
to section 6.

CIMBRIA S.R.L. 3 Page 3 of 13


2.1 Recipe registers 3 COMMAND REGISTERS

2.1 Recipe registers


These are Current Recipe Number, Current Recipe and Recipe List. The latter two are only available on an
opc connection, not on a modbus one because they are string registers. Their purpose is to show the current
recipe, its number and the full list of recipes available on the sorter.
The Current Recipe string value is continuously updated while the Recipe List register is updated once per
minute.
NOTE: at the time being the Recipe List registers is unavailable for the TRUE sorter.

2.2 Vibrators registers


Vibrator On/Off : is a bit list too. Each bit tells which of the vibrator is currently working but beware that the
vibrators are forbidden to move in some occasions, the most important of which is that you forgot to start Bench.

Section On/Off : same as above for the sections. A sorter can have up to 7 vibrators and 4 sections.

Before to continue we must do a short digression to explain how the final speed of a vibrator is output: Each
vibrator has a number from 1 to 7. The total speed of a vibrator is made of 3 contributions : one contribution
belonging to that specific vibrator. This is called “Correction” and ranges from 0 to 100.
One contribution affects all the vibrators in a section, this is called Section “Adjust” and ranges from -100 to
100.
Last but not least there is a contribution which applies to a whole section and depends on the level of product
in the hopper. There are currently 3 levels + one called CEV (External Electrovalves Control). These are given
a suitable value from -100 to 100
and the user may only swtich one level on or off by raising the corresponding bit in the register bit list.
The three contributions sum up and the result, which may only range from 0 to 100, is display in the Total
Vibrator Speed registers. The Adjust registers are called Adjust Sec... Speed and the levels and CEV
registers are called barely Sec... Levels and CEV Status.
In addition to these registers, there are 4 registers named Main Sec... Vibrators Speed which display the sum
of Section Adjust + Level.

2.3 The Statistics Registers


Some of the read-only registers are devoted to display the average product flow and number of shots per chute.
These are the registers named Shots per second for Chute... , KG_H_5s_CH... and KG_H_60s_CH... .
These last two display the average flow in kg per hour on a 5 seconds time average and on a 60 seconds time
average, these values however are updated every 1 second.
Beware that in order to get a realistic value for the flow the user has to set the correct product density expressed
in grams / pixel in the recipe.

2.4 Optional registers


One or more registers can be dedicated to the display of additional information upon customer’s explicit request.
Register number 55 is the first of this kind and is a read-only register. This register is normally unavailable.
Its meaning is chosen under previous accordance. An example of its use could be to display the number of
matches per image from a camera. Moreover, these register are only available from Bench version 404 or
newer.
NOTE: at the time being these registers are not available for the TRUE sorter.

3 Command Registers
There is another kind of register besides the status and statistics registers, these are the command registers.
To use them first of all you have to type the correct password in the Password register, this will give you the
necessary authorization. Otherwise they will behave as read-only registers.
The command registers divide in Request registers and Write command registers. Some commands may be
immediately sent through the approriate Request register. Others need first that you store the desired value in
a Request register and later you send it acting on a Write Command register.

Page 4 of 13 4 CIMBRIA S.R.L.


3 COMMAND REGISTERS 3.1 Command Structure

3.1 Command Structure


Below we give as example the sequence of actions the user has to take to change the Adjust value of a Section:

1. set the Sec1 Vibrator Adjust Request register with tag 73 to the value you wish, let’s say 50;

2. set the Sec1 Vibrator Adjust Write Command register with tag 74 from 0 to 1.

This reflects the correct way to send a command to the machine whenever you wish the machine to behave in
some way:

• check that you have remote control on the machine (MD108 = 1 and Remote Status !=0)

• check that you have typed the correct password in the password register

• type a value in a Request register

• set the Write Command register from 0 to 1 to execute a particular command:

– set the register to the value “0”


– wait for 1 second
– set the register to the value “1”
– wait for 1 second ( before changing again the same register )

This hierarchy is important: one does not want many requests to come altogether and immediately change the
value stored in a register, because this would translate in a sudden change of the machine status and operation
(the vibrators speed, for instance). One is forced to write the request first on the “Request” register and then to
send the request with the “Write Command” register.
The variations on a register form a queue which is managed from the PLC through the arrival time of the “Write
Commands” starting from the latest one.
The Write Command registers execute the write on the rising edge of the value, so the client has to send a
pulsed signal to the register to perform the action: sending persistent signals to the write register does not
generate any action. For example if the value is 0 already and you enter ”0” (or if the value is 1 already and
you enter ”1”), the command will not be accepted. Also passing from 1 to 0 is not valid, because only the rising
edge of the signal is considered as a command.

The reason why you have to wait 1 second to make another change in the same Write Command register is
that in this way the command will be accepted from the PLC ruling the commands interchange.

This ”acceptability” is defined through a minimum refresh time of 500 ms below which the Write Command is
considered invalid. This means that you have to wait for at least 500 ms after having set the Write Command
from 0 to 1 and you may not reset it from 1 to 0 before 500 ms have passed or the first command won’t be
considered, because the new typed value has to last at least 500 ms. See picture below.

CIMBRIA S.R.L. 5 Page 5 of 13


3.2 How to Execute a command 3 COMMAND REGISTERS

The time lapse of 1 second mentioned in the boldface list above is a time interval that we tested and for which
we guarantee the command will be accepted. For this reason the user is recommended to stick to the procedure
stated in this section and in the next section.
For shorter time intervals the “Request” registers are always immediately changed. Regarding the “Write Com-
mand” registers, it is likely that you may have to wait before the command produces the desired modification,
which is read out on the related read-only register.
Certainly one can’t hope to reduce the interval below the 500 ms of refresh time of the PLC.

3.2 How to Execute a command


In this section you will be taught to send commands to the sorter in the correct way through case examples.
Each possible situation is covered and you are invited to refer to this section when using the machine for the
first time. The full list of commands is reported in section3.6.
For any kind of command you are given the list of actions you have to pass through. In the following we will
always omit the “step 0” that is you must have set the correct password in the “Password” register or you will
have read-only access to the registers. This step is performed only once, then you will have “read and write”
access until the end of session.

3.2.1 Load a Recipe

To load a recipe in the Sorter Machine you have to work with three registers:

1. wait until the bit 0 of the Machine Status register with Tag 2 is up (which means the machine is ready).
Also check that bit 2 of the same register is not raised (Alarm condition4);

2. set the Load Recipe Number Request register with Tag 65 to load the recipe number “x” of the Sorter
machine (check that recipe no. x actually exists before doing that!);

3. set the Load Recipe Number Write Command register with Tag 66 from 0 to 1 and wait for 1 second;

4. set the Load Recipe Request register with Tag 67 from 0 to 1 and wait for 1 second;

5. the bit 0 in the Machine Status register will go to zero, meaning that the new recipe is being loaded. You
then have to wait for the status bit to be raised again, meaning the machine is ready, before performing
any action. The time it takes to load a recipe is not fixed and may last on average 25 s.

And you are done. You can check that the new recipe is the one you wanted by inspection of the Current
Recipe Number register with tag 3 if you are using a modbus connection and you can also read the recipe
name from the Current Recipe register with tag 106 if you are using an opc connection.
You may reload the same recipe inserting the Current Recipe Number in the Recipe Number Request register
and proceed with the normal workflow. When you try to load a recipe which doesn’t exist the sorter reloads the
last loaded recipe.
NOTE: BEWARE that to load a recipe deletes every modification the user made and did not save. AL-
WAYS SAVE YOUR PROGRESSES BEFORE LOADING A RECIPE OR THEY WILL BE LOST!
NOTE: one is NOT allowed to load a recipe before the machine is READY, which means bit 0 UP in the
Machine Status register. That’s because after you have loaded the recipe the machine has to perform
some routine tasks (like tidy-up, temperature check, and so on) that you cannot skip, before you can
change the recipe again.

3.2.2 Machine Start / Stop

You need just one register to start or stop the sorter machine, this is the “Machine Start/Stop Request” register:

1. set Value from 0 to 1 in the Machine Start/Stop Request with Tag 68 to send the Start Request to the
machine;

or

1. set Value from 1 to 0 in the Machine Start/Stop Request with Tag 68 to send the Stop Request to the
machine.

Page 6 of 13 6 CIMBRIA S.R.L.


3 COMMAND REGISTERS 3.3 Clear and Bypass Alarms

And you are done. You can follow the changes in the machine status by inspecting the “Machine Status” register
with tag 2.

When you start the machine, if everything is in order, you should hear the sound of the vibrators and see that
they are moving. This is another quick check that you can do, that the machine really started when you required
it to start.
Always remember to wait for the recommended time of 1 second ( or at least for a minimum of 500 ms ) between
a start and a stop or the change won’t be detected and the machine will remain in stop condition.
You perform the Start requests on the raising edge of the signal ( from 0 to 1 ) and the Stop requests on the
falling edge ( from 1 to 0 ). Moreover the last request sent is the one which will be processed.
This is particularly useful when you may wish to start or stop the sorter from different places and prevent the
command queue to freeze.

3.2.3 Adjust Vibrator Speed

As we have seen before, the total speed of a single vibrator is the sum of three contribution: Correction + Adjust
+ Level/CEV. The total speed of a single vibrator is displayed from the corresponding “Vibrator Total Speed”
register. You may vary each of the three components separately. You can also read the exact value of “Adjust”
and “Level/CEV” you set in their related read-only register, but the third component, the “correction” value, can
only be read out from the “Vibrator Total Speed” register, which is the sum of the three.

In this section we just learn to set the “Correction” part of the vibrator total speed, the allowed values for the
“Correction” span form 0 to 100.
To adjust the “Correction” value of a single vibrator you need two registers. Here is an example for Vibrator 1:

1. set the Adjust Vibrator 1 Speed Request register with tag 81 to the value you wish, let’s say 50;

2. set the Adjust Vibrator 1 Speed Write Command register with tag 82 from 0 to 1 and wait for 1 second.

And you are done. You cannot read the value you set for the Correction, but you can see the variation of the
total speed in the “Vibrator1 Total Speed” register with tag 11 register.

3.2.4 Section Vibrator Adjust

The procedure to adjust the vibrators of an entire section is the same as for the speed of a single vibrator. Here
we just report an example for Section 1 of the machine:

1. set the Sec1 Vibrator Adjust Request register with tag 73 to the value you wish, let’s say 50;

2. set the Sec1 Vibrator Adjust Write Command register with tag 74 from 0 to 1.

And you are done. You can read the value you set for the “Adjust” of Vibrator 1 in the “Adjust Sec1 Speed”
register with tag 18.

3.3 Clear and Bypass Alarms


The purpose of the Clear Alarms Request register with tag 103 is to try to clear the alarms list. You perform
the action by changing the value of the register from 0 to 1. If the action succeded you should see that the bits
from 0 to 16 in the read-only register ”Alarms” with Tag 8 are down. You can also check the ”Machine Status”
register with Tag 2 and see wether the bit number 2 is down. A quick look at the bit tables may help (sections
from 4 through 6).
The purpose of the Bypass Alarms Request register with tag 104 is to tell the machine to keep on working
regardless of the alarms. You perform the action by changing the value of the register from 0 to 1. If the action
succeded you should see that the bit 5 from the ”Machine Status” register with Tag 2 is up.
Be aware of the fact that the PLC is always checking the alarms situation within a fixed refresh time. Therefore
even if you have cleared the alarms list, if you didn’t eliminate what caused them, they will show up again after
the refresh time.
In such a situation you may wish to run the machine anyways. You can then mask the alarms using the “Bypass
Alarms Request”, but in such case the correct functioning of the machine and its selection capabilities are not
guaranteed.

CIMBRIA S.R.L. 7 Page 7 of 13


3.4 Sorter-Plant Communication 3 COMMAND REGISTERS

3.4 Sorter-Plant Communication

We forgot to mention one more register which is named Send Livebit (tag 105). This is a command register
which can be used to handle communication interruptions between the sorter machine and the plant (or PLC,
etc...). We will try to explain it through a case example.

Suppose that the communication between the sorter machine and the plant is suddenly lost for whatever reason,
what should the machine do when it’s left alone? Should it stop or should it keep on going until a new connection
is established?

One can change the machine settings accordingly. If for example we would like the machine to stop, we just
had to go in the GUI under Settings -> Parameters -> Edit Machine Data as it is shown in the following picture.

Here you will have to put MD108 = 3.

MD108 is a bit mask, when the zeroth bit is up, the user has the remote control of the machine and we have
already seen this. We the first bit is up, the livebit fault alarm is enabled. Then you have to go under Alarms ->
Configurations and put a tick on 015 Enable stop vibrators with alarm on Level 1.

Page 8 of 13 8 CIMBRIA S.R.L.


3 COMMAND REGISTERS 3.5 Status and Statistics Registers List

What does this all mean? The sorter machine internally generates a signal which is customarily called “livebit”
because it sends it out to the plant and, after a fixed time it wants it back. This is the way the machines tells
the plant “I’m alive” and vice-versa.
By putting MD108 = 3 you will get an alarm if the “livebit” does not make it back from the plant to the machine.
The “livebit” from the plant to the machine must be sent periodically by letting the Send Livebit register undergo
a transition ( from 0 to 1 if its previous value was 0 or from 1 to 0 if it was 1). How will the machine behave
if the external source of the “livebit” is shut down all of a sudden? We enabled Level 1 on the 015 Enable
stop vibrators with alarm alarm, therefore the sorter’s vibrators will stop and the selection will pause until the
external source sends a new “livebit”.

This means that the final user could write an application which every 500 ms changes the value stored in the
Send Livebit register (from 0 to 1 or vice-versa) and he or she could try to cut off the ethernet cable from
him/her to the sorter and he/she would see that it stops working and it only returns working when the connec-
tion is restored and a new change to the register is made.

Here we have just shown an example, but there are different ways one can program what the machine will do
when it goes on its own.

3.5 Status and Statistics Registers List

Enabled Tags Type Default Value Range Description Permissions


1 1 int 0 (0, ...) Total Hours Counter r-r-
1 2 int 0 bit Machine Status 4 r-r-
1 3 int 0 (1, 200)^ Current Recipe Number r-r-
1 4 int 0 / Level CEV Sec1 5 r-r-
1 5 int 0 / Level CEV Sec2 5 r-r-
1 6 int 0 / Level CEV Sec3 5 r-r-
1 7 int 0 / Level CEV Sec4 5 r-r-
1 8 int 0 bit Alarms 6 r-r-
1 9 int 0 bit Vibrator On/Off r-r-
1 10 int 0 bit Section On/Off r-r-
1 11 int 60 (0, 100) Vibrator1 Total Speed r-r-
1 12 int 60 (0, 100) Vibrator2 Total Speed r-r-
1 13 int 60 (0, 100) Vibrator3 Total Speed r-r-
1 14 int 60 (0, 100) Vibrator4 Total Speed r-r-
1 15 int 60 (0, 100) Vibrator5 Total Speed r-r-
1 16 int 60 (0, 100) Vibrator6 Total Speed r-r-
1 17 int 60 (0, 100) Vibrator7 Total Speed r-r-
1 18 int 0 (-100, 100) Adjust Sec1 Speed r-r-

CIMBRIA S.R.L. 9 Page 9 of 13


3.6 Command Registers List 3 COMMAND REGISTERS

Enabled Tags Type Default Value Range Description Permissions


1 19 int 0 (-100, 100) Adjust Sec2 Speed r-r-
1 20 int 0 (-100, 100) Adjust Sec3 Speed r-r-
1 21 int 0 (-100, 100) Adjust Sec4 Speed r-r-
1 22 int 0 / Main Sec1 Vibrators Speed r-r-
1 23 int 0 / Main Sec2 Vibrators Speed r-r-
1 24 int 0 / Main Sec3 Vibrators Speed r-r-
1 25 int 0 / Main Sec4 Vibrators Speed r-r-
1 26 int 0 bit Sec1 Levels and CEV Status 5 r-r-
1 27 int 0 bit Sec2 Levels and CEV Status 5 r-r-
1 28 int 0 bit Sec3 Levels and CEV Status 5 r-r-
1 29 int 0 bit Sec4 Levels and CEV Status 5 r-r-
1 30 int 0 / Shots per seconds for Chute1 r-r-
1 31 int 0 / Shots per second for Chute2 r-r-
1 32 int 0 / Shots per second for Chute3 r-r-
1 32 int 0 / Shots per second for Chute4 r-r-
1 34 int 0 / Shots per second for Chute5 r-r-
1 35 int 0 / Shots per second for Chute6 r-r-
1 36 int 0 / Shots per second for Chute7 r-r-
1 37 int none / Targa r-r-
1 38 int 0 bit Remote Status r-r-
1 39 string / / Current Recipe * r-r-
1 40 string array / / Recipe List * r-r-
1 41 int 0 / KG_H_5s_CH1 r-r-
1 42 int 0 / KG_H_5s_CH2 r-r-
1 43 int 0 / KG_H_5s_CH3 r-r-
1 44 int 0 / KG_H_5s_CH4 r-r-
1 45 int 0 / KG_H_5s_CH5 r-r-
1 46 int 0 / KG_H_5s_CH6 r-r-
1 47 int 0 / KG_H_5s_CH7 r-r-
1 48 int 0 / KG_H_60s_CH1 r-r-
1 49 int 0 / KG_H_60s_CH2 r-r-
1 50 int 0 / KG_H_60s_CH3 r-r-
1 51 int 0 / KG_H_60s_CH4 r-r-
1 52 int 0 / KG_H_60s_CH5 r-r-
1 53 int 0 / KG_H_60s_CH6 r-r-
1 54 int 0 / KG_H_60s_CH7 r-r-
1 55 int 0 / *** r-r-

Note: r-r- means read-only


* : registers 39 and 40 are OPC only, not modbus
*** : register 106 is a special register for customized tasks, a detailed explanation can be found in paragraph
2.4
^ : for the “TRUE” sorter the recipe number can only range from 1 to 45.
Note: the highlighted registers are not available on the TRUE sorter.

3.6 Command Registers List

Enabled Tags Type Default Value Range Description Permissions


1 64 int none (0, 1) Password r-rw
1 65 int 0 (1, 200)^ Load Recipe Number Request r-rw
1 66 int 0 (0, 1) Load Recipe Number Write Command r-rw
1 67 int 0 (0, 1) Load Recipe Request r-rw
1 68 int 0 (0, 1) Machine Start/Stop Request r-rw
1 69 int 0 (0, 1) Sec1 Force CEV Write Command r-rw
1 70 int 0 (0, 1) Sec2 Force CEV Write Command r-rw
1 71 int 0 (0, 1) Sec3 Force CEV Write Command r-rw
1 72 int 0 (0, 1) Sec4 Force CEV Write Command r-rw

Page 10 of 13 10 CIMBRIA S.R.L.


4 *MACHINE STATUS BIT LIST

Enabled Tags Type Default Value Range Description Permissions


1 73 int 0 (-100, 100) Sec1 Vibrator Adjust Request r-rw
1 74 int 0 (0, 1) Sec1 Vibrator Adjust Write Command r-rw
1 75 int 60 (-100, 100) Sec2 Vibrator Adjust Request r-rw
1 76 int 60 (0, 1) Sec2 Vibrator Adjust Write Command r-rw
1 77 int 60 (-100, 100) Sec3 Vibrator Adjust Request r-rw
1 78 int 60 (0, 1) Sec3 Vibrator Adjust Write Command r-rw
1 79 int 60 (-100, 100) Sec4 Vibrator Adjust Request r-rw
1 80 int 60 (0, 1) Sec4 Vibrator Adjust Write Command r-rw
1 81 int 60 (0, 100) Adjust Vibrator 1 Speed Request r-rw
1 82 int 0 (0, 1) Adjust Vibrator 1 Speed Write Command r-rw
1 83 int 0 (0, 100) Adjust Vibrator 2 Speed Request r-rw
1 84 int 0 (0, 1) Adjust Vibrator 2 Speed Write Command r-rw
1 85 int 0 (0, 100) Adjust Vibrator 3 Speed Request r-rw
1 86 int 0 (0, 1) Adjust Vibrator 3 Speed Write Command r-rw
1 87 int 0 (0, 100) Adjust Vibrator 4 Speed Request r-rw
1 88 int 0 (0, 1) Adjust Vibrator 4 Speed Write Command r-rw
1 89 int 0 (0, 100) Adjust Vibrator 5 Speed Request r-rw
1 90 int 0 (0, 1) Adjust Vibrator 5 Speed Write Command r-rw
1 91 int 0 (0, 100) Adjust Vibrator 6 Speed Request r-rw
1 92 int 0 (0, 1) Adjust Vibrator 6 Speed Write Command r-rw
1 93 int 0 (0, 100) Adjust Vibrator 7 Speed Request r-rw
1 94 int 0 (0, 1) Adjust Vibrator 7 Speed Write Command r-rw
1 95 int 0 bit Sec1 Force Level Request r-rw
1 96 int 0 (0, 1) Sec1 Force Level Write Command r-rw
1 97 int 0 bit Sec2 Force Level Request r-rw
1 98 int 0 (0, 1) Sec2 Force Level Write Command r-rw
1 99 int 0 bit Sec3 Force Level Request r-rw
1 100 int 0 (0, 1) Sec3 Force Level Write Command r-rw
1 101 int 0 bit Sec4 Force Level Request r-rw
1 102 int 0 (0, 1) Sec4 Force Level Write Command r-rw
1 103 int 0 (0, 1) Clear Alarms Request r-rw
1 104 int 0 (0, 1) Bypass Alarms Request r-rw
1 105 int 0 (0, 1) Send Livebit r-rw

Note: r-rw means writable after inserting the correct password on the Tag 64 register
^ : for the “TRUE” sorter the recipe number can only range from 1 to 45.

4 *Machine Status Bit List

Bit Description
0 Ready (Not- ‘Shutdown’, ‘Loading’)
1 Manual Operation (Tev, Test-Clean)
2 Alarm
3 Running
4 Stop (Ready To Start)
5 Bypass
6 Emptying

• Bit 0 : as the terms in parenthesis suggest, this bit is raised when the machine is ready. On the contrary,
the bit is down when you turn the machine on or off (in the first case of course the system is loading while
in the second case it is in shutdown phase) or when you load a new recipe, different from the previous
(this is also considered a loading phase). Usually, when this bit is down also the other bits go down and
the value displayed from the Machine Status register is 0. In these conditions you can’t run the machine.
You will have to wait until this bit is raised.

CIMBRIA S.R.L. 11 Page 11 of 13


5 **LEVELS AND CEV BIT LIST

• Bit 1 : this bit is raised whenever a user prompts an electrovalves test (TEV) or a tidy-up cycle test
(Test-clean). This action is usually performed through the machine GUI.
• Bit 2 : this bit is raised when something is causing the machine to be in alarm status. You can check the
cause by inspecting the Alarms register with tag 8.
• Bit 3 : this bit is raised when you run the selection process. You can also check this bit behaviour by
repeatedly clicking the “Run” button on the machine GUI home window to start and stop the sorter.
• Bit 4 : this bit is up when the machine is in stop conditions and is ready to be run.
• Bit 5 : this bit is up when a user commands the alarms bypass. This is done through the machine GUI or
by letting the Bypass Alarms Request with tag 104 do a transition from 0 to 1.

• Bit 6 :this bit is raised when the user commands to empty the hoppers. This is usually done through the
sorter GUI.

5 **Levels and CEV Bit List

Bit Description
0 //
1 Section level 1
2 Section level 2
3 Section level 3
4 Section level 4
5 Section level 5
6 Section level Out RT
7 Section level Out FR
8 CEV
9 //
10 Section level 0

Page 12 of 13 12 CIMBRIA S.R.L.


7 DOCUMENT INFORMATIONS

6 ***Alarms Bit List

Bit Description
0 //
1 Air Fault
2 Water Fault
3 Bench sync Fault
4 Neon Fault
5 Remote Fault
6 CCD Fault
7 Feeder fault
8 Total Ejector Number Fault > MD1 Ejector Number Fault
9 LED or Lamp Fault
10 Generic Bench Fault
11 Hardware Fault
12 Enable Bypass All Fault
13 Enable Fault Visualization on Panel
14 Enable Fault Out
15 Enable Stop Vibrator with Fault
16 Enable Red Light Fault Alarm
17 P51 card Fault
18 P59 card 1 Fault
19 P59 card 2 Fault
20 P47 card Fault
21 P43 card 1 Fault
22 P43 card 2 Fault
23 P49 card 1 Fault
24 P49 card 2 Fault
25 P49 card 3 Fault
26 P46 card 1 Fault
27 P46 card 2 Fault
28 //
29 //
30 Bench Sync Fault
31 Generic Bench Fault
32 Origa Fault

7 Document informations

Version Date Editor Description


2.4.1 02.04.2019 Gian Luca Montanari Highlighted non-TRUE registers

CIMBRIA S.R.L. 13 Page 13 of 13

You might also like