GX-Developer7: compare array of char

Machinery

Member
Join Date
May 2004
Posts
25
I,ve got a problem creating an any-pointer in GX-developer 7(not IEC).

I want to find an array of 10 char in a memory range of 5 array's.
1) I thought I use the function "DSER" , but 10 char won't fit in
1 dint.
2) I compare the array of 10 char, 5 times with function "BKCMP".
This function didn't work.
3) I find the char array(string) with function "INSTR". This didn't
work also.

The manual mentions to use a variable array ,but this only for IEC-software.

My questions are:
- Is it possible to convert the array of 10 char into a dint?
because then I can use "DSER".
- Is it possible to create an any-pointer so I can use "BKCMP" ,
"INSTR"?

Thanks, a siemen-S7 programmer.
 

Similar Topics

hey, you all here I've have a problem with GX IEC Developer thoes days you see in the block F5_convery_auto_block var_input is off status and...
Replies
14
Views
4,009
Help please. Im new to Omron and have a machine down. I have a compare = for barcode label scan. I've attached two pics. On the Mnemonics you can...
Replies
4
Views
622
Hi everyone! Accidentally closed it and it wont appear again. Checked and unchecked the option and seem to make no difference. Running v7.10.00...
Replies
16
Views
1,904
I'm working on an array that contains a UDT of 5 Items Array[4] DataType[0] - Part 1 - Part 2 - Part 3 - Part 4...
Replies
1
Views
839
Hi. I have 2 files where I would like to see the ladder logic differences (similar to the Rockwell compare function). I am using TISoft Siemens...
Replies
1
Views
1,263
Back
Top Bottom