Versions Compared

Key

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

...

The variable names are listed below.

Info

Remember: To change the IO type, update the 0th element of the array, e.g.

rf_in_1_product1[0] = 0

Info

Remember: To change the IO channel, update the 1st element of the array, e.g.

rf_in_1_product1[1] = 7

  • rf_in_1_product1: first product sensor on the primary conveyor

  • rf_in_1_product2: second product sensor on the primary conveyor

  • rf_in_1_product3...8: additional sensors on the primary conveyor (up to 8 supported)

  • rf_in_2_product1: first product sensor on the secondary conveyor

  • rf_in_2_product2: second product sensor on the secondary conveyor

  • rf_in_2_product3...8: additional sensor on the secondary conveyor (up to 8 supported)

  • rf_in_overflow1: priority sensor on the first conveyor

  • rf_in_overflow2: priority sensor on the second conveyor

  • rf_in_button_P1: right pallet confirmation signal

  • rf_in_button_P2: left pallet confirmation signal

Info

Remember: To change the IO type, update the 0th element of the array, e.g.

rf_in_1_product1[0] = 0

...

Remember: To change the IO channel, update the 1st element of the array, e.g.

...

Examples

Example : 1) simulate the operator has pushed the Right pallet confirmation button

...

This will detach the program from the physical IO channel and evaluate as True and False.

Example : 2) simulate a product on the first pick position on the primary conveyor

Code Block
rf_in_1_product1[0] = -11 # simulate product presence

Example : 3) switch between 2 two digital inputs for product sensor 2, depending on box size (experimental)

...