Inhibition only acceptors and no inputs / ouputs

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
xagduran
Posts: 36
Joined: Sat Feb 15, 2020 3:15 pm

Inhibition only acceptors and no inputs / ouputs

Post by xagduran »

Hi:
The structure of the acceptors does not bring any method to inhibit them. How can I inhibit, if I have two acceptors, only one, or both, without inhibiting the rest of the Paylink functions, for example, that the acceptors are inhibited and the inputs and outputs are not.
The dispensers, if we see that if they can be inhibited individually, at least we believe so.
Thank you.

Greetings.
Angel.
davebush
Posts: 492
Joined: Fri Oct 22, 2004 12:20 pm

Re: Inhibition only acceptors and no inputs / ouputs

Post by davebush »

Hi,

You need to set (or clear) the ACCEPTOR_INHIBIT bit in the Acceptor.Status field.

In C / C#

Code: Select all

ReadAcceptorDetails(n, TheAcceptor) ;

TheAcceptor.Status |= ACCEPTOR_INHIBIT ;                  // Set inhibit
TheAcceptor.Status &= ~ACCEPTOR_INHIBIT ;               // Clear Inhibit

WriteAcceptorDetails(n, TheAcceptor) ;
Regards

Dave
Aardvark software developer. Please put all communication on the problem through the board for the benefit of others.
xagduran
Posts: 36
Joined: Sat Feb 15, 2020 3:15 pm

Re: Inhibition only acceptors and no inputs / ouputs

Post by xagduran »

Hi:
We understand that ACCEPTOR_INHIBIT can be 0 or 1:
Can these values be substituted to inhibit or not inhibit?
Thank you.
davebush
Posts: 492
Joined: Fri Oct 22, 2004 12:20 pm

Re: Inhibition only acceptors and no inputs / ouputs

Post by davebush »

ACCEPTOR_INHIBIT actually has the value 8

It is one of a number of essentially independent bits set or clear in 32 bit number Status

If it is set by the application, Paylink will inhibit the acceptor and set the ACCEPTOR_DISABLED (value 4) bit.

If it is cleared by the application, Paylink will enable the acceptor and clear the ACCEPTOR_DISABLED (value 4) bit.
Aardvark software developer. Please put all communication on the problem through the board for the benefit of others.
Post Reply