5/26/2015 12:44 PM | |
Posts: 1 Rating: (0) |
Hello, I'm working with Tia Portal V11, with a S7-1200. I need to define an Real array . I have predefined: Vector as Array[0..11,0..2] of Real. Now I need to define all the values, and I would like not doing one by one. Can I do something like: Vector[0..11,0..2]= 0.0000, 0.1101,-0.0489,0.0014, 0, 0.0040, 0.0001,0.1443,-0.0898,0.0026, 0, 0.0096; 0.0001,0.1781,-0.1304,0.0038, 0,0.0152, 0.0001, 0.2119, -0.1709, 0.0049,0 ,0.0207; 0.0002,0.3130,-0.2922,0.0085, 0, 0.0374, -0.0006 ,-1.6521, 0.7333, -0.0206,0 ,-0.0607 ?? I mean, I need to define more than one array, with not small dimension, so I would like to define all at the same time, using copy and paste for all the values. If I can't do that, I would need to write one by one and they are most than 2 thousand...it should be other way, isn't it? Thank you
---------------------------------------------------------------------------------------------------- |
Last edited by: U_43a34a53-21ad-4d6e-9d92-2fa483db28fa at: 5/26/2015 12:45:06 PMLast edited by: Min_Moderator at: 5/26/2015 3:08:25 PMNew subject after splitting Last edited by: U_43a34a53-21ad-4d6e-9d92-2fa483db28fa at: 5/26/2015 4:08:56 PM |
|
Follow us on