11/17/2015 3:21 PM | |
Posts: 46 Rating: (1) |
Thanks Duris Do you mean I cant use an Array of Byte type for more then 256 nos? I would glad to have the relevant manual for this form you! --- Regards |
11/17/2015 3:47 PM | |
Joined: 1/21/2013 Last visit: 3/19/2024 Posts: 4618 Rating: (705) |
Hello counter, I think this thread is almost the same, have look: declaration limitation of initial values for array of 300 INT ... |
This contribution was helpful to2 thankful Users |
11/17/2015 4:08 PM | |
Posts: 5225 Rating: (1187) |
A nice answer.. but how is it that <counter> could declare What I have seen is that having less initiated values than declared elements is okay, but having more elements than declared is a problem. Example... X as Array [0..2] of BYTE |
This contribution was helpful to1 thankful Users |
11/17/2015 4:27 PM | |
Joined: 4/28/2015 Last visit: 2/7/2024 Posts: 10533 Rating: (819) |
Again trying find relevant answer: http://www.ing.unibs.it/~flammini/SSA_PLC/Laboratorio/SCLV4_e.pdf Maybe old SCL... Edit: thnx <Counter> for info about TIA. |
Last edited by: Duris_I at: 11/17/2015 4:29:06 PMWith best regards... |
|
11/17/2015 5:25 PM | |
Posts: 46 Rating: (1) |
I have values distributed. So 900(0) will not work. and I have values till around 931. --- Regards |
This contribution was helpful to1 thankful Users |
11/20/2015 8:26 AM | |
Joined: 4/28/2015 Last visit: 2/7/2024 Posts: 10533 Rating: (819) |
Hello counter, I've tryed something with Step7 5.5, look at attachment and give info pls. What I've did, no problems with compile UDT1, but in DB is some 64k restriction of amount data. When I put in UDT1 definition f.ex. ........ Array ......:=256(16#0) or in 2nd line :=994(16#0), no problem with compile. AttachmentUDT1.zip (125 Downloads) |
With best regards... |
|
Follow us on