Frame and KNMR pairing
From PlcWiki
(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…') |
|||
Line 1: | Line 1: | ||
- | + | 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]] |
- | + | The station that has this operation must have a WorkplaceDataFile defined in the kernel | |
- | [[File:parovani2.png]] | + | [[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]] | + | [[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 log. | |
- | [[File:parovani4.png]] | + | [[File: parovani4.png]] |
Revision as of 12:43, 13 October 2020
There is a scanning operation on the line where frames are scanned. It has the send data to kernel parameter set.
The station that has this operation must have a WorkplaceDataFile defined in the kernel
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.
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 log.