29. KBSet + KBSetOK
GUI command
Command
Parameters/Comments
KBSet(ABCD)
This will send a command to the VTLCOMBUS extension to
simulate a keypress to the vending machine. For the moment,
the VTLCOMBUS is only available for Necta and Wurlitzer
vending machines. We can produce any other keyboard
extensions on request.
- A is the the block number;
- B is the first block multiplexer channel control line
- C is the second block multiplexer channel control line
- D is the third block multiplexer channel control line
A full list with key correspondence will be delivered on request,
depending on you machine's manufacturer and model.
This command will send the appropriate keystroke to deliver the
product.
When you receive the correct combination as a response, then
you have to commit the command with the command
KBSetOK
RASPIVEND daemon answer
Answer
Parameters/Comments
{"KeyboardSet":"ABCD"}
or
{"KeyboartSet":"failed"}
This command will simulate a keyboard press to deliver one
product to the customer.
Keyboard truth table shows the connections between lines and columns, according to the
selected bock and multiplexer values (external keyboard simulator needed, sold
separately).
A
B
C
D
Connection (VMCR = KB row, VMCC = KB col)
1
0
0
0
VMCR3 ↔ VMCC1
1
0
0
1
VMCR2 ↔ VMCC1
1
0
1
0
VMCR1 ↔ VMCC1
1
0
1
1
VMCR4 ↔ VMCC1
1
1
0
0
VMCR5 ↔ VMCC1
1
1
0
1
VMCR2 ↔ VMCC2
1
1
1
0
VMCR1 ↔ VMCC2
1
1
1
1
Not used
2
0
0
0
VMCR3 ↔ VMCC2
2
0
0
1
VMCR5 ↔ VMCC2
2
0
1
0
VMCR4 ↔ VMCC2
2
0
1
1
VMCR2 ↔ VMCC3
2
1
0
0
VMCR1 ↔ VMCC3
2
1
0
1
VMCR4 ↔ VMCC3
2
1
1
0
VMCR3 ↔ VMCC3
3
0
0
0
VMCR5 ↔ VMCC3
© 2016 – AUTOMATROM SRL – www.vendingtools.ro