...
The variable names are listed below.
Info |
---|
Remember: To change the IO type, update the 0th element of the array, i.e. g. rf_in_1_product1always put [0] = 0 |
Info |
Remember: To change the IO channel, update the 1st element of the array, behind the variable name, e.g.:
|
rf_in_1_product1
: first product sensor on the primary conveyorrf_in_1_product2
: second product sensor on the primary conveyorrf_in_1_product3...8
: additional sensors on the primary conveyor (up to 8 supported)rf_in_2_product1
: first product sensor on the secondary conveyorrf_in_2_product2
: second product sensor on the secondary conveyorrf_in_2_product3...8
: additional sensor on the secondary conveyor (up to 8 supported)rf_in_overflow1
: priority sensor on the first conveyorrf_in_overflow2
: priority sensor on the second conveyorrf_in_button_P1
: right pallet confirmation signalrf_in_button_P2
: left pallet confirmation signal
To simulate a constant HIGH signal, set the corresponding input type to -11.
To simulate a constant LOG signal, set the corresponding input type to -1.
The complete list of available IO types can be found here.
Examples
Example 1) simulate the operator has pushed the Right pallet confirmation button
...
Code Block |
---|
rf_in_1_product1[0] = -11 # simulate product presence |
Example 3) switch between two digital inputs for product sensor 2, depending on box size (experimental)evaluate two sensors, set pick signal to HIGH only when both are HIGH
Code Block |
---|
if (big_boxget_standard_digital_in(0) and get_standard_digital_in(1)): rf_in_1_product2product1[10] = 3-11 # usignsimulate DIGITALproduct INpresent 3 else: rf_in_1_product2product1[10] = 2-1 # usignsimulate DIGITALno INproduct 2present |