Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • element 0: the number of pallets to be done

  • elements 1…number of pallets: the requested number of products on the N-th. pallet, or 0 means a full pallet

Example

palletmanager_daemon.insert_order(0, 0, 1231928431234, "Shipment to Sogndal", "Salmon", [1, 0])

This will create an order in the first place with name “Shipment to Sogndal”, and palletize 1 full pallet of the pattern “Salmon”. The value 1234 is not used by the program, but can be a foreign key reference to an external production management system in the factory.

Example

palletmanager_daemon.insert_order(0, 1, 2345, "Shipment to Oslo", "Salmon", [5, 10, 10, 10, 10, 53])

This will create an order in the first place a second order with name “Shipment to Sogndal”Oslo”, and palletize 5 pallets, from which 4 will contain 10 boxes and the 5th will only contain 5 3 boxes of the pattern “Salmon”. The value 123192843 2345 is not used by the program, but can be a foreign key reference to an external production management system in the factory.

...

  • element 0: the number of pallets to be done

  • elements 1…number of pallets: the number of products on the N-th. pallet, or 0 for full pallet

Delete existing Order

palletmanager_daemon.delete_order(instance, order_number)

...

Returns the number of orders in the system. This function is useful when creating a new order and adding it to the end of the order list.

Resume after program stop

Orders remain persistent in memory after program stop, and can continue when restarting the program.

The program will continue existing unfinished pallet(s) unless specified otherwise by the rf_P1_terminate and rf_P2_terminate variables. After finishing the current pallet, the program will proceed to the next order entries.

Info

Order data will be lost after reboot and poweroff.

Want to know more?

For further information, see the Pallet Manager Daemon reference manual.

...