Frame and KNMR pairing

From PlcWiki

Revision as of 12:46, 13 October 2020 by Jon (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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