Welcome, Guest. Please login or register.
June 24, 2024, 11:39:08 AM

Login with username, password and session length
* Home Help Arcade Login Register
.
+  Forum
|-+  Homebrew Player Tracking and EFT Systems.
| |-+  NLG Homebrew Player Tracking and EFT Systems.
| | |-+  SAS Host controller DLL. What do you want to see?
0 Members and 16 Guests are viewing this topic. « previous next »
Pages: 1 2 [3] 4 5 6 ... 20 Go Down Print
Author Topic: SAS Host controller DLL. What do you want to see?  (Read 239093 times)
AndyP
NLG Member 101 to 500 Post
***

Total Karma Storms: 127
Offline Offline

Posts: 212



« Reply #50 on: February 15, 2011, 02:11:34 AM »

I am getting some questions about DCS and some machines. I dont know much about this stuff so can someone explain to me what DCS is and what the electrical interface is. Example schematics would be great.

My experience is failry limited to Australian based gear, and we dont have huge amounts of SAS enabled machines here. What we do have is fairly restricted to linked electronic table games like Vegas Star and the like.
Logged
TZtech
Contributing Gold NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 129
Offline Offline

Gender: Male
Posts: 1113



« Reply #51 on: February 15, 2011, 02:47:23 PM »

Hi Guys

The DCS (Data communication System - I had to look that up) is found on the S+,Pe+,S2000 and I Game machines. (Not to sure about AVP platform).
On S2000/Igame it talks to this port on channel2. On S+/PE+ this is your only comms options.

I have attached the schematics for I Game and PE+ backplanes showing the pinouts and circuitry. Most of the systems I have worked with have some kind of interface board or muodule to convert RS232 to DCS levels. I will see if I can get some more details on this.

Regards
Ian

* Mother Board Schematic.pdf (94.73 KB - downloaded 378 times.)
* S+ Backplane.pdf (67.46 KB - downloaded 343 times.)
Logged
stayouttadabunker
Senior Full time Member.
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 1039
Offline Offline

Gender: Male
Posts: 13447



« Reply #52 on: February 15, 2011, 03:01:41 PM »

TZ,
Do you think you might be able to get this communicator to work with
the more widely popular S+ and S2000 platforms?
Logged
Foster
The S2000 GURU
Contributing NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 345
Offline Offline

Gender: Male
Posts: 2872



« Reply #53 on: February 15, 2011, 03:15:10 PM »

The S2000 has a Comm Board with RS232 on it.
Logged

A Slot Machine and Coca-Cola Addict!!
"If it is not broke do not fix it" I keep forgetting that!
TZtech
Contributing Gold NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 129
Offline Offline

Gender: Male
Posts: 1113



« Reply #54 on: February 15, 2011, 03:32:18 PM »

SB - The cable Pinout I poasted for the I Game will work on S2000 as the comms boards are identical.

Foster - Did you manage to get your S2000 working ? Not sure why you are not getting channel3 as an option. Do you have the PSR for your base maybe that will shed some light?

Unfortunately I dont currently have a S2000 or S+ to test on but if we get a usable interface to the PE+ (Which I do have) it will work on the S+.
I will document the settings for SAS 5 and SAS 6 and post that once done.
I can assist anybody with WMS Bluebird but agian dont have a machine to test - This one has a RS232 port so a standard crossover cable will work here.
Bally reels will work from S6000 upwards and Video from Game Makers upwards - Will have to check manuals for interface details.
Universals will work if equiped with a comms board. (I will document these as well as I have a mach)
Atronic Cashlines will also need a commsboard.

Ian
Logged
Foster
The S2000 GURU
Contributing NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 345
Offline Offline

Gender: Male
Posts: 2872



« Reply #55 on: February 15, 2011, 03:46:37 PM »

Here is the PSR for game chips I am using

I can not get communications will try it again in a few hours.

* SG000363 PSR.pdf (146.77 KB - downloaded 1176 times.)
« Last Edit: February 15, 2011, 03:51:56 PM by Foster » Logged

A Slot Machine and Coca-Cola Addict!!
"If it is not broke do not fix it" I keep forgetting that!
stayouttadabunker
Senior Full time Member.
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 1039
Offline Offline

Gender: Male
Posts: 13447



« Reply #56 on: February 15, 2011, 03:49:10 PM »

Excellent answer TZ!
Like others, I'm watching with extreme interest and
only wish I could contribute more to help...  yes
Unfortunately, I don't know a whole lot about what you guys are talking about
when it comes to deciphering the signaling processes and
making them communicate with each other... rotflmao
It's pretty neat though and I'm learning quite a bunch!

Earlier, there was a question of what info we wanted to see and of course
getting our TITO tickets to validate on our home machines would be very high on my list! yes
I would love to see the machine accounting statistics up on my
desktop LCD screen more than anything else as well...

It sounds to me that you guys are making tremendous progress towards this and
I must stand back in awe and watch it all transpire!
I will keep watching and see if I can help in any way possible!  propeller
Great work guys!  applause Clap
Logged
TZtech
Contributing Gold NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 129
Offline Offline

Gender: Male
Posts: 1113



« Reply #57 on: February 15, 2011, 03:49:54 PM »

Foster

Ok got the PSR - Did you do a keychip before setting SAS options?

7.1.5 Cashless
Controller Enables or disables the Cashless option and determines the Cashless
controller (SAS EFT, SAS AFT, or Bally Miser).


I suspect you machine is set to Miser - According to doc then

3.4.2.2 Miser Channel: Determines which channel is used by the Miser
communication protocol. The default is channel 3 (RS232 port on the
machine's communication board).


This would probably be why you cant select channel 3

Ian
Logged
knagl
Global NLG Site Moderator
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 642
Offline Offline

Gender: Male
Posts: 5489


Kevin


« Reply #58 on: February 15, 2011, 05:00:42 PM »

Andy and Ian:

Thanks and K+ to both of you for your fantastic work thus far.  While I don't understand 100% of how you guys are making this work, it's really exciting to see what's going on here, and the possibilities that it can lead to for us home users.   applause applause applause
Logged

If you find this site helpful, please consider making a small donation to help defray the cost of hosting and bandwidth.

Please do not PM me for support or "how to" requests -- please post your request in the forum so that everyone may assist you and everyone can benefit from the answer to your question!  Thanks! Smiley
AndyP
NLG Member 101 to 500 Post
***

Total Karma Storms: 127
Offline Offline

Posts: 212



« Reply #59 on: February 15, 2011, 08:40:35 PM »

Hi Guys

The DCS (Data communication System - I had to look that up) is found on the S+,Pe+,S2000 and I Game machines. (Not to sure about AVP platform).
On S2000/Igame it talks to this port on channel2. On S+/PE+ this is your only comms options.

I have attached the schematics for I Game and PE+ backplanes showing the pinouts and circuitry. Most of the systems I have worked with have some kind of interface board or muodule to convert RS232 to DCS levels. I will see if I can get some more details on this.

Regards
Ian

Just took a look at that backplane, but it only shows how the DCS port is wired to the motherboard. Need to see the interface on the motherboard. I suspect that it might be a current loop, which was fairly typical for machines of that era. If it is, its pretty easy to make it work with rs232 with couple pc817 optocouplers.
Logged
Foster
The S2000 GURU
Contributing NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 345
Offline Offline

Gender: Male
Posts: 2872



« Reply #60 on: February 16, 2011, 01:18:06 AM »

I did get a hopper low condition displayed in the test app
but that is all (I had the hopper out enough to disconnect it from the machine. Non secure hopper

I had to assume that pins on the RS232 are numbered left to right 1 to 5.
TZ to connect to the Comm board I grabbed a Netplex cable that either went to the BV or VFD display or who knows where (it was from the old Vision harnesses that I replaced with a set from a S2000)
I am getting reliable communications after I swapped the 2 data wires at the serial port.
I wonder if the FTDI chip auto detects RX/TX lines (like some ethernet cards and many switches do)
« Last Edit: February 16, 2011, 02:03:38 AM by Foster » Logged

A Slot Machine and Coca-Cola Addict!!
"If it is not broke do not fix it" I keep forgetting that!
AndyP
NLG Member 101 to 500 Post
***

Total Karma Storms: 127
Offline Offline

Posts: 212



« Reply #61 on: February 16, 2011, 01:25:41 AM »


ROM signature did not return any value and legacy Bonus seemed to multiply the value entered by 1000.


Found the problem with legacy bonus. Small bug when I convert it to BCD.
Logged
Foster
The S2000 GURU
Contributing NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 345
Offline Offline

Gender: Male
Posts: 2872



« Reply #62 on: February 16, 2011, 06:24:48 AM »

I forgot to mention that
I am running Mac OS X 10.6.6 Snow Leopard, using Oracle VirtualBox (a Virtual Machine emulation software) running Windows XP (32 bit) and using a USB to RS232 converter.
I get reilable communications between the computer and machine.

For those that want to know
This is connections I am using
I did turn off the Bally Miser stuff.
RS232 Computer      S2000/I Game J82 (RS232) on the Comm Board.                     
2 RcD     <--------------   1 TxD
3 TxD     -------------->   2 RcD
5 GND   <------------->   5 GND

RcD = Receive Data
TxD = Transmit Data

I now it is easy to forget that TX is output and RX is into that device.
Yes you have to use channel 3 on the S2000 or else it will not work.

I even got Legacy Bonus to work only if I enter multiples of 100  any other value the machine does not get the bonus or is ignoring it. I can not tell which is occurring.

I was finally able to get a picture of he VFD and LED showing the Legacy System Bonus being won and awarded.




* IMAG0002.jpg (1050.04 KB, 3264x1952 - viewed 347 times.)
« Last Edit: February 16, 2011, 07:50:18 PM by Foster » Logged

A Slot Machine and Coca-Cola Addict!!
"If it is not broke do not fix it" I keep forgetting that!
AndyP
NLG Member 101 to 500 Post
***

Total Karma Storms: 127
Offline Offline

Posts: 212



« Reply #63 on: February 16, 2011, 09:13:15 PM »

I forgot to mention that
I am running Mac OS X 10.6.6 Snow Leopard, using Oracle VirtualBox (a Virtual Machine emulation software) running Windows XP (32 bit) and using a USB to RS232 converter.
I get reilable communications between the computer and machine.

For those that want to know
This is connections I am using
I did turn off the Bally Miser stuff.
RS232 Computer      S2000/I Game J82 (RS232) on the Comm Board.                     
2 RcD     <--------------   1 TxD
3 TxD     -------------->   2 RcD
5 GND   <------------->   5 GND

RcD = Receive Data
TxD = Transmit Data

I now it is easy to forget that TX is output and RX is into that device.
Yes you have to use channel 3 on the S2000 or else it will not work.

I even got Legacy Bonus to work only if I enter multiples of 100  any other value the machine does not get the bonus or is ignoring it. I can not tell which is occurring.

I was finally able to get a picture of he VFD and LED showing the Legacy System Bonus being won and awarded.




Another mac user. I vowed after discovering windows 7 that I would toss my macbook in the bin. Alas, the crashbook wont die. I like apple hardware, but I am beginning to hate mac os. Anyway..

The problems you are having with legacy bonus may well be because of a bug in my dll. Hoping to have a new version up tomorrow, but I still have a bit of work left to do yet, so may not be till next week yet.
Logged
Foster
The S2000 GURU
Contributing NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 345
Offline Offline

Gender: Male
Posts: 2872



« Reply #64 on: February 16, 2011, 09:30:37 PM »

Have you done any updates since the first version that is posted.

I noticed that ROM Signature takes a while to respond. I am thinking it is because the machine has to calculate it but not sure.
« Last Edit: February 16, 2011, 09:37:53 PM by Foster » Logged

A Slot Machine and Coca-Cola Addict!!
"If it is not broke do not fix it" I keep forgetting that!
jdkmunch
Senior Full time Member.
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 624
Offline Offline

Gender: Male
Posts: 2640



« Reply #65 on: February 16, 2011, 10:03:34 PM »

I'm thinking that once we have a working DLL and hookup, we could use MSAccess or MySQL as a back end database to generate and store the ticket records and any other interesting machine-specific data that we can poll.

If we code this in C#.NET and/or VB.NET, we could make it a web (browser) based front end app. stir the pot / get cooking

Lets do Something easy to start - if it is in fact true that if the bill validator trys sas if it doesn't recognize the bill inserted let's just have the code add 100 credits for anything inserted. 
Logged
AndyP
NLG Member 101 to 500 Post
***

Total Karma Storms: 127
Offline Offline

Posts: 212



« Reply #66 on: February 16, 2011, 10:34:25 PM »

Have you done any updates since the first version that is posted.

I noticed that ROM Signature takes a while to respond. I am thinking it is because the machine has to calculate it but not sure.

Yup. The ROM Signature is the only asynchronous poll in SAS. You send of a request and wait for the machine to calculate the response. The newer the machine, and the bigger the software set the longer it will probably take. The AVP I have takes minute or 2.
Logged
Foster
The S2000 GURU
Contributing NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 345
Offline Offline

Gender: Male
Posts: 2872



« Reply #67 on: February 16, 2011, 10:38:19 PM »


Lets do Something easy to start - if it is in fact true that if the bill validator trys sas if it doesn't recognize the bill inserted let's just have the code add 100 credits for anything inserted.  

The BV uses Netplex to interface to the machine.
The BV does not report every rejected bill
If the BV rejects the bill and sends an error condition to the machine then the machine will send that error via SAS to the the computer that handles SAS.
If that error occurs it could be coded to call the Legacy Bonus Function with a preset value as you suggested.

I save time and just use the Legacy Bonus in the Test App and do not have to use any cash or tokens.

The best FreePlay system for the S2000

The only thing is if I enter 100, I get 10,000 credits on the machine
Andy knows about the 100 times bug in the legacy bonus code


« Last Edit: February 16, 2011, 11:10:46 PM by Foster » Logged

A Slot Machine and Coca-Cola Addict!!
"If it is not broke do not fix it" I keep forgetting that!
jdkmunch
Senior Full time Member.
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 624
Offline Offline

Gender: Male
Posts: 2640



« Reply #68 on: February 16, 2011, 10:43:06 PM »

This is so cool.

The reason for the bill would be for the wife to shove in her ticket and get some credits - not to use real $$
Logged
Foster
The S2000 GURU
Contributing NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 345
Offline Offline

Gender: Male
Posts: 2872



« Reply #69 on: February 16, 2011, 11:09:31 PM »

That would be Ticket In Ticket Out

I am not a C# programmer by any means but with the right people on here, and a SAS DLL with the features we want implemented.
We home user might be able to do TITO, read accounting data, and maybe a few other things.

Logged

A Slot Machine and Coca-Cola Addict!!
"If it is not broke do not fix it" I keep forgetting that!
AndyP
NLG Member 101 to 500 Post
***

Total Karma Storms: 127
Offline Offline

Posts: 212



« Reply #70 on: February 16, 2011, 11:19:33 PM »

I am starting too lose interest in this... All the fun parts of the code are done and now its just boilerplate coding adding in all the message definitions... Sooo boring.... Getting there slowly though. I am about halfway though adding in all the messages from the montana spec.

Once I get this done, I will line up a couple of you who have working TITO machines and see if we cant get something working via my test app.
Logged
stayouttadabunker
Senior Full time Member.
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 1039
Offline Offline

Gender: Male
Posts: 13447



« Reply #71 on: February 16, 2011, 11:22:28 PM »

How are you accomplishing this "boilerplate coding" ?
Just copy and paste method?
Logged
Foster
The S2000 GURU
Contributing NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 345
Offline Offline

Gender: Male
Posts: 2872



« Reply #72 on: February 16, 2011, 11:29:11 PM »

My S2000 can do TITO easily as long as I can figure out what settings would be the easiest to set it for.

There is some stuff under communications and key chip that I will need input from TZTech and others that deal with them regularly.
Logged

A Slot Machine and Coca-Cola Addict!!
"If it is not broke do not fix it" I keep forgetting that!
jdkmunch
Senior Full time Member.
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 624
Offline Offline

Gender: Male
Posts: 2640



« Reply #73 on: February 16, 2011, 11:34:15 PM »

I can't wait to try this dll

It should work on reel touch right - it's nothing more than an s2000
Logged
AndyP
NLG Member 101 to 500 Post
***

Total Karma Storms: 127
Offline Offline

Posts: 212



« Reply #74 on: February 16, 2011, 11:34:51 PM »

How are you accomplishing this "boilerplate coding" ?
Just copy and paste method?

Nope, manually typing it all in! I got 4 messages left to add, then I need to add in all the mechanisms to handle the messages.
Logged
Pages: 1 2 [3] 4 5 6 ... 20 Go Up Print 
« previous next »
Jump to:  


If you find this site helpful, Please Consider Making a small donation to help defray the cost of hosting and bandwidth.



Newlifegames.com    Newlifegames.net    Newlifegames.org
   New Life Games    NewLifeGames  NLG  We Bring new Life to old Games    1-888-NLG-SLOTS
Are all Copyright and Trademarks of New Life Games LLC 1992 - 2021


FAIR USE NOTICE:

This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner.
We make such material available in an effort to advance awareness and understanding of the issues involved.
We believe this constitutes a fair use of any such copyrighted material as provided for in section 107 of the US Copyright Law.
In accordance with Title 17 U.S.C. Section 107, the material on this site is distributed without profit to those
who have expressed a prior interest in receiving the included information for research and educational purposes.

For more information please visit: http://www.law.cornell.edu/uscode/17/107.shtml.

If you wish to use copyrighted material from this site for purposes of your own that go beyond fair use,
you must obtain permission directly from the copyright owner.

NewLifeGames.net Web-Site is optimized for use with Fire-Fox and a minimum screen resolution of 1280x768 pixels.


Powered by SMF 1.1.20 | SMF © 2013, Simple Machines
Loon Designed by Mystica
Updated by Runic Warrior
Page created in 0.118 seconds with 19 queries.