Hi,
I would like to generate random numbers in a PLC, is there a function block available to generate random numbers?
Thx in advance
Hi,
I would like to generate random numbers in a PLC, is there a function block available to generate random numbers?
Thx in advance
I found a library and an appropriate function block for my case:
CmpCrypto Implementation Library Documentation
Title: CmpCrypto Implementation
Version: 3.5.17.0
Author: CODESYS Development GmbH
with the function CmpCrypto_Implementation.CryptoGenerateRandomNumber(SIZEOF(u1), ADR(u1));
Â