Cho cái này nè:
http://www.plcdev.com/s7_library_functions