Pre-assembly
From PlcWiki
(Created page with 'There are stations in production that are not connected to the kernel, so-called pre-assembly. This station does not check the sequence. The input is only a predefined product ID…')
Current revision as of 12:25, 13 October 2020
There are stations in production that are not connected to the kernel, so-called pre-assembly. This station does not check the sequence. The input is only a predefined product ID format which starts the product. The ID is scanned or generated by the client. To generate the ID, a parameter must be set in the client
workplace.snassume = Automatic
It is also possible to set the format of the generated number. It is performed by parameters
workplace.snassume.type = [012]
0: MoMoWpYYMMDDHHMMSSss 1: MoMoWpYYMMDDHHMMSSss 2: MoYMMDDWpnnn
Data from this station is not stored in the product table, but in another table specified in the configuration by the parameter below.
line.SQLProductTableName = preassembly
The structure of the table is the same as the table product .
There is a workplace on the main line with an operation that ensures the transfer of data from the pre-assembly table to the main product table. This operation is usually of the SerialCheck type. The connection to the pre-assembly is ensured by the parameters below.
operation.PartCheck_Traviesa.SQLTable = preassembly
After completing this operation, the client generates a query on the main line SQL, which ensures the transfer of data from the pre-assembly table to the main table product . The key to select from the pre-assembly table is the value scanned on the main line in the link operation.