...
The variable names are listed below.
Info |
---|
Remember: To change the IO type, update the 0th element of the array, i.e. always put [0] 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
Info |
---|
Remember: To change the IO type, update the 0th element of the array, e.g.
|
Info |
---|
Remember: To change the IO channel, update the 1st element of the array, e.g.
|
Examples
Example: 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
...
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 : switch between 2 digital inputs depending on box size (experimental)3) 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 |