This work is focused on implementation of the fuzzy controller into PLC. To check of succsessful implementation, we have used two B&R PLCs. One PLC was used as a controller and second one as a plant. The PLCs were connected through analog inputs/outputs on module X20 CM 8281. The resutls of control of the fuzzy controller was compared with results of control of PID and PSD controllers. The controllers were created in Matlab-Simulink and code was generated in Simulink by Automation Studio Target for Simulink. Keywords: Simulink, B&R PLC, Automation Studio Target for Simulink, fuzzy controller. and Práca je zameraná na implementáciu fuzzy regulátora do PLC. Na overenie správnej implementácie sme použili dve PLC. Jedno PLC sme použili ako regulátor a druhé PLC ako sústavu. PLC boli prepojené analógovo cez karty X20CM8281. Výsledky regulácie fuzzy regulátora boli porovnané s výsledkami regulácie PID a PSD regulátora. Regulátory boli vytvorené v Matlab-Simulink a kód bol generovaný pomocou Automation Studio Target for Simulink.