Please follow
link
for PLCSlib! Be aware that PLCSlib is set up to operate with frames.