modify PDO entry based on index from twincat