Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

...

This protocol supports data reading/writing from the controllers of ALYA lubricant reservoirs.
Since July 2015, this protocol supports a group of I/O tags for data reading/writing from/to the Manex production lines - see Table 4.
From January 2023, a TCP/IP-TCP line is supported for reading data from the Big-bag scale controlled by 3BR electronics.


Kotva
komunikacna_linka
komunikacna_linka
Communication line configuration

...

  • Communication protocol: ALYA Lubrikacie.
  • The station address is an the address of the control station for the communication over the RS485 bus. The address is a one-byte value.
    Note: commonly used station addresses (A, B, C...) must be configured as their ASCII codes, i.e. 65, 66, 67 ...

...

If a keyword with an invalid value in the initialization string is used, the corresponding default value according to the table 1 will be used.

Kotva
merany_bod
merany_bod
I/O tag configuration

...

I/O tag address is an abbreviation of the mnemonic name of the I/O object. The list of objects is shown in the table below (not every device supports all objects):

Table 2

AddressMeaningValue typeRead/Write
AVActual (current) weight [kg]AiR
BVBrutto weight [kg]AiR
NVNetto weight [kg]AiR
CVTotal weight [kg]AiR
EVError Current weight [kg]AiR
HIEmergency minimum [kg]Ai, AoR/W
HAEmergency maximum [kg]Ai, AoR/W
PNOperating minimum [kg]Ai, AoR/W
PXOperating maximum [kg]Ai, AoR/W
SPFilling status (TRUE - filling, FALSE - draining)DiR
ENError number - see Table 3AiR
WSWrite to serial EEPROM (all changes of Ao must be written to EEPROM - if not, they will be lost during the next reset)DoW
RTReset (it causes the reset of the control station)DoW

...

AddressMeaningValue typeRead/Write
RNNew weighted roving. After weighing and printing the weight ticket, the application writes a text string into the I/O tag in the format:
ID;CV;VZ;POC;ZD;

where:
  • ID - identification number of weighting. Autoincrement integer [1, 2, 3, ...].
  • CV - the number of the scale [1, 2].
  • VZ - preparing from the outside in meters, integer.
  • POC - number of unspool cycles [0, 1, 2].
  • ZD - inclusion into the line. Integers, which are separated by blank spaces. The first number means a priority line, the second one, and others represent the alternative lines, e.g. 7 5 6.
Example of written value: "5247;2;60;1;6 4 5;"
TxtOWrite
RXCanceling of a roving. After an operator puts down the roving from the scale, the application will write the number of the scale (1 or 2) into the I/O tag.CoWrite
Kotva
pc
pc
PC
The number of spools on the lines. The I/O tag is in the format "C1;C2;C3; … Cn;", where Ci represents an integral number that indicates the number of spools on the line i.
Example: "626;42;0;78;562;489;28;55;"
TxtIRead
NCReset the counters of spools on the lines. Write any valid value, to reset the counters. The control unit will send a message in the format "C1;C2;C3; … Cn;", where Ci represents an integer number that indicates the number of spools which that were included on line i since  since the most recent information on the number of spools was sent (see PC).
This message will be set as a new value of the I/O tag with the NC address.
TxtOWrite

...