30. CCTHopperInit
GUI command
Command
Parameters/Comments
CCTHopperInit(N)
“N” is the address of the hopper you need to perform
initialization. The address depends on the hoper settings.
RASPIVEND daemon answer
Answer
Parameters/Comments
{ "HopperInitAddress" : "3" ,
"Reset" : "success" ,
"ClearComms" : "failed" ,
"RequestStatus" : "success" ,
"ManufacturerID" : "CPS" ,
"BuildCode" : "Combo" ,
"EquipmentCategory" : "Payout" ,
"HiLevelSensor" : "present" ,
"LoLevelSensor" : "present" ,
"HiLevelSensor" : "0" ,
"LoLevelSensor" : "0" ,
"HopperEnable" : "success" }
This command will perform a full init of the hopper with provided
address. The response include the status for each stage in the
initialization procedure. Your application must decide, based on
those statuses, if the init procedure is a success or not. In our
example, the procedure is a success, since the test hopper does
not support “ClearComms” command, but successfully answered
on the most important init procedures and also to the
“HopperEnable” command.
31. CCTHopperDispense
GUI command
Command
Parameters/Comments
CCTHopperDispense(N,M)
“N” is the hopper address and “M” is the number of coins to
dispense.
RASPIVEND daemon answer
Answer
Parameters/Comments
{“HopperDispenseNormal":"success"}
or
{“HopperDispenseNormal":"failed"}
This command will instruct the hopper to payout a number of
coins. After issuing this command, the customer’s application
should keep polling with command CCTHopperCheckDispense,
to get informations about the status, number of coins dispensed,
number of coins to dispense and error.
© 2016 – AUTOMATROM SRL – www.vendingtools.ro