In Unity pro Index can be :
Example :
SortInterfaceOut.SortLQuantity := Decode_Pallet_Pattern[Scanner_Info[8].PIF.Pattern].CasesPerPallet;
is converted to this code by Unity pro : SortInterfaceOut.SortLQuantity := Decode_Pallet_Pattern[Scanner_InfoDecode_Pallet_PatternsPerPallet;
In order to avoid this, just affect in a temporary variable the value of "Scanner_Info[8].PIF.Pattern" :
Temp_Int := Scanner_Info[8].PIF.Pattern;
SortInterfaceOut.SortLQuantity := Decode_Pallet_Pattern[Temp_Int].CasesPerPallet;
- a value belonging to an Integer type
- an arithmetical expression made up of Integer types
Example :
SortInterfaceOut.SortLQuantity := Decode_Pallet_Pattern[Scanner_Info[8].PIF.Pattern].CasesPerPallet;
is converted to this code by Unity pro : SortInterfaceOut.SortLQuantity := Decode_Pallet_Pattern[Scanner_InfoDecode_Pallet_PatternsPerPallet;
In order to avoid this, just affect in a temporary variable the value of "Scanner_Info[8].PIF.Pattern" :
Temp_Int := Scanner_Info[8].PIF.Pattern;
SortInterfaceOut.SortLQuantity := Decode_Pallet_Pattern[Temp_Int].CasesPerPallet;
Released for: Schneider Electric Singapore




Need help?
Product Selector
Quickly and easily find the right products and accessories for your applications.
Get a Quote
Start your sales enquiry online and an expert will connect with you.
Where to buy?
Easily find the nearest Schneider Electric distributor in your location.
Help Centre
Find support resources for all your needs, in one place.