Frame and KNMR pairing

From PlcWiki

(Difference between revisions)
Jump to: navigation, search
(Created page with 'Na lince je skenovací operace, kde se skenují rámy. Ta má nastavený parametr send data to kernel. File:parovani1.png Stanice, která má tuto operaci, musí mít v pl…')
 
(One intermediate revision not shown)
Line 1: Line 1:
-
Na lince je skenovací operace, kde se skenují rámy. Ta má nastavený parametr send data to kernel.
+
There is a scanning operation on the line where frames are scanned. It has the send data to kernel parameter set.
-
[[File:parovani1.png]]
+
[[File: parovani1.png]]
-
Stanice, která má tuto operaci, musí mít v plánu na kernelu definovaný WorkplaceDataFile
+
The station that has this operation must have a WorkplaceDataFile defined in the kernel
-
[[File:parovani2.png]]
+
[[File: parovani2.png]]
-
Celé párování KNMR a rámu se děje na kernelu pomocí skriptů, jež se nachází v adresáři operation_data_scripts (/usr/local/plc/bin/operation_data_scripts). Tam stačí mít symbolický link se jménem operace. Kernel jej zavolá v momentu, kdy od operace obdrží data. Symbolický link vede na skript upf-mix_lineRAM, který zajistí spárování KNMR a rámu.
+
The entire KNMR-frame pairing is done on the kernel using scripts located in the operation_data_scripts directory (/ usr / local / plc / bin / operation_data_scripts). There you just need to have a symbolic link with the name of the operation. The kernel calls it when it receives data from the operation. The symbolic link leads to the upf-mix_lineRAM script, which ensures the pairing of the KNMR and the frame.
-
[[File:parovani3.png]]
+
[[File: parovani3.png]]
-
Log párování KNMR a rámu se nechází v /usr/loca/plc/log a má vždy jméno ve formátu opdata_WPID operace.log Tedy například log párování KNMR a rámu na stanici OC v rámci operace OC1 má log opdata_OC1.log.
+
The KNMR-frame pairing log is not in / usr / loca / plc / log and always has a name in the format opdata_WPID of the operation.log Thus, for example, the KNMR-frame pairing log on the OC station within the OC1 operation has the opdata_OC1.log.
-
[[File:parovani4.png]]
+
[[File: parovani4.png]]

Current revision as of 12:46, 13 October 2020

There is a scanning operation on the line where frames are scanned. It has the send data to kernel parameter set.

File: parovani1.png

The station that has this operation must have a WorkplaceDataFile defined in the kernel

File: parovani2.png

The entire KNMR-frame pairing is done on the kernel using scripts located in the operation_data_scripts directory (/ usr / local / plc / bin / operation_data_scripts). There you just need to have a symbolic link with the name of the operation. The kernel calls it when it receives data from the operation. The symbolic link leads to the upf-mix_lineRAM script, which ensures the pairing of the KNMR and the frame.

File: parovani3.png

The KNMR-frame pairing log is not in / usr / loca / plc / log and always has a name in the format opdata_WPID of the operation.log Thus, for example, the KNMR-frame pairing log on the OC station within the OC1 operation has the opdata_OC1.log.

File: parovani4.png

Personal tools