Euronet ATM machines - hidden commissions

Eurnoet ATMWe love Portugal but hate these ATM machines run by Euronet.... Twice now I have had to withdraw money and both times the machine does not mention anything or show commission rates or what they take from your account.

Is this not illegal??? 

First time... 200 euros,  commission 9 euros.  Second time 400 euros, 18 euros commission.

How can they charge commission without saying anything...  Any info from other readers would be welcome.