JCM EBA 40 escrow issue

Support for the Milan Intelligent interface, sold by Money Controls as the Paylink USB unit and for the earlier PCI card version.

Moderators: aardvark, davebush, Admin

Post Reply
Sasko
Posts: 15
Joined: Tue Feb 09, 2016 3:40 pm

JCM EBA 40 escrow issue

Post by Sasko »

Hello, im testing banknote acceptor JCM EBA 40 with escrow system but there is problem. There is an inconsistency between acceptor and paylink. When an acceptor rejects a banknote, it does not pass this information to the paylink that is waiting for the banknote to be stacked. The acceptor no longer receives any notes and cannot be turned on again. I attach the log. Please help.

Code: Select all

14:25:54.097 ccCoin: Enable
14:25:54.097 DP: ccCoin Status to 0
14:25:54.097 ccNote: Enable
14:25:54.097 DP: ccNote Status to 0
14:25:54.097 ccCoin: Enable all coins
14:25:54.097 ccCoin: enables to ffff
14:25:54.191 ccNote: Enable acceptance
14:25:54.238 ccNote: inhibits to ff ff
14:26:11.839 cctalk:       0 < 00
14:26:11.839 cctalk:      63 > 02
14:26:11.839 cctalk:      23 < 00
14:26:11.839 cctalk:      63 > 08
14:26:11.839 cctalk: Timeout (88) for 217 to ccHopper @ 8
14:26:11.839 ccHopper@8: No response to message
14:26:11.885 ccHopper@8: Re-Identifying hopper
14:26:12.057 ccHopper@8: Hopper count 14326 OK
14:26:12.057 DP: SUH1 Hopper S/N 201072, Address 8, Value 5 at 1390  updated
14:26:12.839 ccNote: New event 100, Old 99, note 6 in escrow
14:26:13.448 ccCoin: Disable
14:26:13.448 DP: ccCoin Status to 4
14:26:13.511 ccCoin: Inhibit all coins
14:26:13.557 DP: Escrow value 500000 accepted
14:26:13.714 ccNote: Stack Escrow Note
14:26:14.761 ccNote: New event 101, Old 100, note 6 stacked
14:26:14.823 PC: Update Interlock Set. (5878 != 5876 / 5876)
14:26:14.839 PC: Interlock Now Clear. (After 1 tries.)
14:26:14.870 ccCoin: Enable
14:26:14.870 DP: ccCoin Status to 0
14:26:14.964 ccCoin: Enable all coins
14:26:14.964 ccCoin: enables to ffff
14:26:18.980 ccNote: New event 102, Old 101, note 6 in escrow
14:26:19.589 ccCoin: Disable
14:26:19.589 DP: ccCoin Status to 4
14:26:19.589 ccCoin: Inhibit all coins
14:26:19.698 DP: Escrow value 500000 accepted
14:26:19.714 ccNote: Stack Escrow Note
14:26:20.464 ccNote: New event 103, Old 102, note 6 stacked
14:26:20.573 ccCoin: Enable
14:26:20.573 DP: ccCoin Status to 0
14:26:20.651 ccCoin: Enable all coins
14:26:20.667 ccCoin: enables to ffff
14:26:23.327 02:36
14:26:24.858 ccNote: New event 104, Old 103, note 5 in escrow
14:26:24.936 PC: Update Interlock Set. (5988 != 5986 / 5986)
14:26:24.952 PC: Interlock Now Clear. (After 1 tries.)
14:26:25.499 ccCoin: Disable
14:26:25.499 DP: ccCoin Status to 4
14:26:25.561 ccCoin: Inhibit all coins
14:26:25.608 DP: Escrow value 200000 accepted
14:26:25.874 ccNote: Stack Escrow Note
14:26:43.831 cctalk:       0 < 00
14:26:43.831 cctalk:      63 > 04
14:26:43.831 cctalk:      12 < 00
14:26:43.831 cctalk:       3 > 04
14:26:43.831 cctalk: Timeout (88) for 163 to ccHopper @ 4
14:26:43.831 ccHopper@4: No response to message
14:26:43.862 ccHopper@4: Re-Identifying hopper
14:26:44.034 ccHopper@4: Hopper count 55431 OK
14:26:44.034 DP: SUH1 Hopper S/N 200439, Address 4, Value 50 at 12ac  updated
14:26:58.537 ccCoin: Enable
14:26:58.537 DP: ccCoin Status to 0
14:26:58.615 ccCoin: Enable all coins
14:26:58.631 ccCoin: enables to ffff
14:27:08.650 cctalk:       0 < 00
14:27:08.650 cctalk:      63 > 28
14:27:08.650 cctalk:      22 < 00
14:27:08.650 cctalk:      63 > 06
14:27:08.650 cctalk: Timeout (88) for 217 to ccHopper @ 6
14:27:08.650 ccHopper@6: No response to message
14:27:08.697 ccHopper@6: Re-Identifying hopper
14:27:08.869 ccHopper@6: Hopper count 26774 OK
14:27:08.869 DP: SUH1 Hopper S/N 201068, Address 6, Value 20 at 12f8  updated
14:27:23.013 02:37
14:28:22.673 02:38
14:29:22.367 02:39
14:29:33.808 cctalk:       0 < 00
14:29:33.808 cctalk:      63 > 28
14:29:33.808 cctalk:      22 < 00
14:29:33.808 cctalk:      63 > 04
14:29:33.808 cctalk: Timeout (88) for 217 to ccHopper @ 4
14:29:33.808 ccHopper@4: No response to message
14:29:33.855 ccHopper@4: Re-Identifying hopper
14:29:34.027 ccHopper@4: Hopper count 55431 OK
14:29:34.027 DP: SUH1 Hopper S/N 200439, Address 4, Value 50 at 12ac  updated
14:29:49.221 cctalk:       0 < 00
14:29:49.221 cctalk:      63 > 28
14:29:49.221 cctalk:      22 < 00
14:29:49.221 cctalk:      63 > 06
14:29:49.221 cctalk: Timeout (88) for 217 to ccHopper @ 6
14:29:49.221 ccHopper@6: No response to message
14:29:49.284 ccHopper@6: Re-Identifying hopper
14:29:49.440 ccHopper@6: Hopper count 26774 OK
14:29:49.440 DP: SUH1 Hopper S/N 201068, Address 6, Value 20 at 12f8  updated
14:30:15.070 cctalk:       0 < 00
14:30:15.070 cctalk:      63 > 06
14:30:15.070 cctalk:      12 < 00
14:30:15.070 cctalk:       3 > 06
14:30:15.070 cctalk: Timeout (88) for 163 to ccHopper @ 6
14:30:15.070 ccHopper@6: No response to message
14:30:15.102 ccHopper@6: Re-Identifying hopper
14:30:15.269 ccHopper@6: Hopper count 26774 OK
14:30:15.269 DP: SUH1 Hopper S/N 201068, Address 6, Value 20 at 12f8  updated
14:30:22.046 02:40
davebush
Posts: 482
Joined: Fri Oct 22, 2004 12:20 pm

Re: JCM EBA 40 escrow issue

Post by davebush »

So from the log, I assume we're talking about this point:
14:26:25.874 ccNote: Stack Escrow Note
At this point, Paylink has sent a command to the acceptor and is now waiting for anything at all to happen at the acceptor. All activity by an acceptor is reported to Paylink (and hence the application) as events in a message such as:
14:26:24.858 ccNote: New event 104, Old 103, note 5 in escrow
At present I regard this as proof that the acceptor is malfunctioning as it is not reporting anything (no New event messages are output). What happens if you actually try to do things to the acceptor? e.g. Remove the banknote, open the top etc., insert a new banknote, turn it off and on again?

If you can re-create the problem then you can get more details on the cctalk traffic (to confirm the acceptor malfunction) by using step 5 in this document: http://aesoffice.eu.com/HTTPSpace/Payli ... %20Log.pdf
Aardvark software developer. Please put all communication on the problem through the board for the benefit of others.
Sasko
Posts: 15
Joined: Tue Feb 09, 2016 3:40 pm

Re: JCM EBA 40 escrow issue

Post by Sasko »

If I remove the banknote nothing happens. When I read the acceptor status, it reports OK. It will only help end the original instance and start a new one. I attach a detailed log of the event.

Code: Select all

http://update.8u.cz/share/log.txt
davebush
Posts: 482
Joined: Fri Oct 22, 2004 12:20 pm

Re: JCM EBA 40 escrow issue

Post by davebush »

Hi,

Thanks for that. From the detail in the log I can see that the acceptor reports a banknote in escrow at 16:36:29.380, but at 16:36:30.146 it returns a "no note in escrow" error to the stack command!

I've updated the code to deal with this error code (as an Escrow note returned event) and this: https://d.pr/f/Sn0wY4 version implements the changes.

Please post a reply if this fixes your problem.

Regards

Dave
Aardvark software developer. Please put all communication on the problem through the board for the benefit of others.
Sasko
Posts: 15
Joined: Tue Feb 09, 2016 3:40 pm

Re: JCM EBA 40 escrow issue

Post by Sasko »

Many thanks for the fix. Would it be possible to incorporate the modification into a stable version? I use an acceptor in production and if the problem goes away, it will run on another 15 machines.
davebush
Posts: 482
Joined: Fri Oct 22, 2004 12:20 pm

Re: JCM EBA 40 escrow issue

Post by davebush »

Hi,

Good to hear it.

This fix will be in the next full release, 4-1-12-10 - which is due this summer.

The change required here were very minor and are now permanent - in every release of Paylink from now on. Any release that ends 1-12-10 will have the fix in.
Aardvark software developer. Please put all communication on the problem through the board for the benefit of others.
Sasko
Posts: 15
Joined: Tue Feb 09, 2016 3:40 pm

Re: JCM EBA 40 escrow issue

Post by Sasko »

Hi. The problem still persists.
I attach the log. After nine minutes, the unit was turned on again, so the machine had already recovered from the problem itself.

Code: Select all

18:07:23.351 ccNote: New event 70, Old 69, note 4 in escrow
18:07:23.960 DP: Escrow value 100000 accepted
18:07:23.960 ccCoin: Disable
18:07:23.960 DP: ccCoin Status to 4
18:07:24.039 ccNote: Stack Escrow Note
18:07:24.054 ccNote: Escrow Cmd Fail 254, Note 0
18:07:24.132 ccCoin: Inhibit all coins
18:07:29.351 cctalk:       0 < 00
18:07:29.351 cctalk:      63 > 0a
18:07:29.351 cctalk:      12 < 00
18:07:29.351 cctalk:       3 > 0a
18:07:29.351 cctalk: Timeout (88) for 163 to ccHopper @ 10
18:07:29.351 ccHopper@10: No response to message
18:07:29.383 ccHopper@10: Re-Identifying hopper
18:07:29.554 ccHopper@10: Hopper count 73727 OK
18:07:29.554 DP: SUH1 Hopper S/N 201069, Address 10, Value 1 at 13dc  updated
18:07:30.664 cctalk:       0 < 00
18:07:30.664 cctalk:      63 > 06
18:07:30.664 cctalk:      13 < 00
18:07:30.664 cctalk:       3 > 06
18:07:30.664 cctalk: Timeout (88) for 163 to ccHopper @ 6
18:07:30.664 ccHopper@6: No response to message
18:07:30.695 ccHopper@6: Re-Identifying hopper
18:07:30.867 ccHopper@6: Hopper count 26960 OK
18:07:30.867 DP: SUH1 Hopper S/N 201068, Address 6, Value 20 at 12f8  updated
18:07:44.389 cctalk:       0 < 00
18:07:44.405 cctalk:      63 > 06
18:07:44.405 cctalk:      12 < 00
18:07:44.405 cctalk:       3 > 06
18:07:44.405 cctalk: Timeout (88) for 163 to ccHopper @ 6
18:07:44.405 ccHopper@6: No response to message
18:07:44.436 ccHopper@6: Re-Identifying hopper
18:07:44.608 ccHopper@6: Hopper count 26960 OK
18:07:44.608 DP: SUH1 Hopper S/N 201068, Address 6, Value 20 at 12f8  updated
18:08:02.846 10:19
18:08:52.626 cctalk:       0 < 00
18:08:52.626 cctalk:      63 > 04
18:08:52.626 cctalk:      12 < 00
18:08:52.626 cctalk:       3 > 04
18:08:52.626 cctalk: Timeout (88) for 163 to ccHopper @ 4
18:08:52.626 ccHopper@4: No response to message
18:08:52.657 ccHopper@4: Re-Identifying hopper
18:08:52.829 ccHopper@4: Hopper count 55523 OK
18:08:52.829 DP: SUH1 Hopper S/N 200439, Address 4, Value 50 at 12ac  updated
18:09:02.520 10:20
18:09:10.554 ccCoin: Selftest OK
18:09:10.554 DP: Lost fault 000000e0
18:09:10.648 ccHopper@8: Selftest OK
18:09:10.664 DP: Lost event 86000060
18:10:02.210 10:21
18:11:01.884 10:22
18:12:01.574 10:23
18:13:01.262 10:24
18:14:00.950 10:25
18:15:00.640 10:26
18:16:00.329 10:27
18:16:52.094 ccNote: Disable
18:16:52.094 DP: ccNote Status to 4
18:16:52.094 ccNote: Enable
18:16:52.109 DP: ccNote Status to 0
18:16:52.125 ccNote: Enable acceptance
18:16:52.156 ccNote: inhibits to ff ff
18:17:00.034 10:28
18:17:03.581 ccNote: New event 71, Old 70, note 4 in escrow
18:17:04.222 DP: Escrow value 100000 accepted
18:17:04.222 ccNote: Stack Escrow Note
18:17:04.956 ccNote: New event 72, Old 71, note 4 stacked
18:17:05.003 ccNote: Selftest OK
18:17:05.003 DP: Lost fault 01fe0120
18:17:05.081 ccCoin: Enable
18:17:05.112 DP: ccCoin Status to 0
18:17:05.112 ccCoin: Enable all coins
18:17:05.112 ccCoin: enables to ffff
18:17:05.253 ccHopper@6: Selftest OK
18:17:05.253 DP: Lost event 84000060
18:17:05.315 ccNote: Enable acceptance
18:17:05.362 ccNote: inhibits to ff ff
18:17:05.628 ccHopper@10: Selftest OK
18:17:05.628 DP: Lost event 87000060
18:17:05.722 ccHopper@7: Selftest OK
18:17:05.722 DP: Lost event 85000060
18:17:06.019 ccHopper@4: Selftest OK
18:17:06.019 DP: Lost event 83000060
18:17:08.534 ccNote: New event 73, Old 72, note 4 in escrow
18:17:09.159 DP: Escrow value 100000 accepted
18:17:09.159 ccCoin: Disable
18:17:09.159 DP: ccCoin Status to 4
18:17:09.159 ccNote: Stack Escrow Note
18:17:09.253 ccCoin: Inhibit all coins
18:17:09.928 ccNote: New event 74, Old 73, note 4 stacked
18:17:10.037 ccCoin: Enable
18:17:10.037 DP: ccCoin Status to 0
18:17:10.037 ccCoin: Enable all coins
18:17:10.037 ccCoin: enables to ffff
18:17:12.288 ccNote: New event 75, Old 74, note 4 in escrow
18:17:12.881 DP: Escrow value 100000 accepted
18:17:12.881 ccCoin: Disable
18:17:12.881 DP: ccCoin Status to 4
18:17:12.944 ccNote: Stack Escrow Note
18:17:13.038 ccCoin: Inhibit all coins
18:17:14.038 ccNote: New event 76, Old 75, note 4 stacked
18:17:14.319 ccNote: Disable
18:17:14.319 DP: ccNote Status to 4
18:17:14.319 ccNote: Disable acceptance
davebush
Posts: 482
Joined: Fri Oct 22, 2004 12:20 pm

Re: JCM EBA 40 escrow issue

Post by davebush »

After nine minutes, the unit was turned on again
I'm not sure what you actually did here. Just looking at the log it appears that what actually made the acceptor start working again was disabling it and then enabling it again?

Can you try the test on that basis - as soon as the fault happens, disable and enable the acceptor?
Aardvark software developer. Please put all communication on the problem through the board for the benefit of others.
Sasko
Posts: 15
Joined: Tue Feb 09, 2016 3:40 pm

Re: JCM EBA 40 escrow issue

Post by Sasko »

After a few seconds the problem occurs, so I turn the acceptor off(disable) and on(enable) again in the cycle. Only after nine minutes does the acceptor really turn on.
davebush
Posts: 482
Joined: Fri Oct 22, 2004 12:20 pm

Re: JCM EBA 40 escrow issue

Post by davebush »

If you're doing the disable / enable with a program, then there's a chance you're doing it too quickly.

Paylink operates by states rather than events, so if the disable and enable are close together Paylink can miss the operation.

Try to ensure that the unit is disabled for about a second. You can tell it's worked from the log:

Code: Select all

18:16:52.094 ccNote: Disable
18:16:52.094 DP: ccNote Status to 4
18:16:52.094 ccNote: Enable
18:16:52.109 DP: ccNote Status to 0
This is the first occurrence in the log you sent after the fault.
Aardvark software developer. Please put all communication on the problem through the board for the benefit of others.
Sasko
Posts: 15
Joined: Tue Feb 09, 2016 3:40 pm

Re: JCM EBA 40 escrow issue

Post by Sasko »

I'll try, but the acceptor reenabling part is for debug only. I tried to solve the problem before I wrote here. Why is in the log

Code: Select all

ccNote : Escrow Cmd Fail 254, Note 0
?
Shouldn't there be Escrow note returned event? And why is the acceptor blocked?
davebush
Posts: 482
Joined: Fri Oct 22, 2004 12:20 pm

Re: JCM EBA 40 escrow issue

Post by davebush »

OK, to go into some detail.

The acceptor is not working properly.

At 18:07:23.351 the Acceptor notifies Paylink that a Note into Escrow event has occurred. (sequence number 70)
At 18:07:24.039 Paylink issues a Stack command, and
at 18:07:24.054 the acceptor returns an error code 254 to that command, stating there is not a note in the acceptor escrow !!!
Paylink therefore notifies you of this by removing the "Note in escrow" condition.

At 18:17:03.581 the acceptor return the next event, sequence 71, which is note in escrow. During these 10 minutes, according to the acceptor, nothing interesting has happened!

Looking at this, between 18:07:23.351 and 18:07:24.039 the acceptor disabled itself and returned the note, without generating any event to mark this.

Ideally JCM would fix the firmware in their acceptor, but it looks as though you can do a "work around" in your code by disabling the acceptor if a note in escrow just disappears.
Aardvark software developer. Please put all communication on the problem through the board for the benefit of others.
Post Reply