Okay so for Mazda PATS you will need to do an Incode/Outcode conversion...they're 2 types of outcodes single and dual, the tool will give you either type with a code
Example Single Oucode:
0040
Example Dual Outcodes:
1DC0BE-000000
Now you need a calculator to convert the outcodes into incodes
Go to www.autokeyprog.com and create an account it's free
Now go under the services tab
Then PATS login calculator
Type in those Outcodes your tool gave you, the calculator will convert them to incodes