EasyManua.ls Logo

marposs Quick Digit - I;O Bits

Default Icon
36 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
CHAPTER 5
25/10/17
Quick Digit
TM
Bluetooth
®
Driver
29
3.6
5.3 I/O BITs
The number of INPUT BIT handled by the Driver is equal to N + 3:
where
N = number of Quick Digit
TM
Bluetooth
®
devices congured
where
BIT 1: OR of the status of all the Qdigit Digit buttons (OR of the BITS 2..N+1);
BIT i i=[2..N+1]: Quick Digit
TM
Bluetooth
®
i-1 button status (BIT2= Quick
Digit
TM
Bluetooth
®
1, BIT 3= Quick Digit
TM
Bluetooth
®
2, ...).
Please note that the value of the BITs i (i=[2...N+1]) is 1 only when Quick
Digit
TM
Bluetooth
®
i-1 is programmed in “Send From Button” mode AND the
button on the device is pressed.
BIT N+2: DRIVER_WORKING_BIT (not used in the calculation of BIT1).
its value is
● 1 when the Driver is working;
● 0 when the Driver is locked or one of the dongles is locked.
BIT N+3: DEVICES_CONNECTED_BIT (not used in the calculation of BIT1).
Devices connection status (1 if all the Quick Digit
TM
Bluetooth
®
congured
are connected, 0 if at least one Quick Digit
TM
Bluetooth
®
is unconnected for
any reason) its value is
● 1 when all the programmed QDigit are connected;
● 0 if at least one QDigit is unconnected.
Please note that DEVICES_CONNECTED_BIT = 0 doesn’t means an error. It depends
on the application to decide if a value equal to 0 is an error for the application or not.
In those cases where it is needed that a QDigit is used out-of-range it is normal that
DEVICES_CONNECTED_BIT became 0 when the Qdigit is used to measure the part.
The reasons of the unconnection can be:
● a low battery power;
● an out of range Quick Digit
TM
Bluetooth
®
;
● a switched off Quick Digit
TM
Bluetooth
®
;
● radio noise that causes an unconnection;
● an unplugged dongle;
● ....
This bit can be used by the Application Flow control to check if all the batteries are
ok, all the Quick Digit
TM
Bluetooth
®
are correctly speaking with the driver and so on,
and can be used to inform the operator that something wrong is occouring (a low
battery, an unplugged dongle, ...) before the operator starts to measure the part.
Example:
you will have a 9 INPUT BIT in total:
● 1 is the OR of all the buttons
● 6 are the single QDigit buttons
● 1 is the DRIVER_WORKING_BIT
● 1 (the last one) is the DEVICES_CONNECTED_BIT.