10/12/2015 12:11 PM | |
Joined: 6/24/2013 Last visit: 11/11/2024 Posts: 1652 Rating: (426) |
Hi Function attached (as a printout and a AWL source). It finds the min and max of selected data type (byte, int, word, dint, dword, real) in selected data block. You must specify - data block - starting address (address of first element) - number of elements (for example when REAL selected put 10 to test 10 consecutive real numbers) - data type function returns - min and max on output for selected data type - zero on all other outputs - ENO=1 when OK or ENO=0 when fault (wrong arguments). When ENO=0 all outputs are 0 NOTE: Byte is unsigned (0..255) Int / DInt are signed integers (int: -32768 .. 32767; dint: -2147483648 .. 2147483647) Word / DWord are interpreted as Unsigned Integers (word: 0..65535, dword: 0..4294967296) Regards Piotr AttachmentFC999_DB_Min_Max.zip (463 Downloads) |
11/27/2015 12:37 PM | |
Joined: 9/3/2014 Last visit: 3/13/2019 Posts: 4766 Rating: (122) |
New question published by Siemens- STL? is split to a separate thread with the subject After save, converted into STL and doesnt go back to FBD. Best regards |
Follow us on