RMA
Member
Another one for Simon! This is related to the BLOCK_DB question in as much as it's the same program. I need to pass over the Cell address in the Cognex Camera where my data is to be found. This address is in Excel form i.e. "G107" and needs to be passed to the camera as a String. I declared an Array with 6 entries as a Parameter (to cope with cell addresses like "AB1234", although 4 Characters will usually suffice). The FB accepted the Array as a parameter but I can't find any way to give the above cell address as a Parameter. Perhaps not surprisingly, a STRING input 'G107' didn't work, but neither did DW#16#47313037.
Is this sort of thing possible? Would it work with a STRING (I thought I was making things easier for the subsequent manipulation by using an Array), or must I separate the Parameters into Column as CHAR or BYTE and Row as INT. This could then easily be strung together inside the FB.
Cheers
Roy
Is this sort of thing possible? Would it work with a STRING (I thought I was making things easier for the subsequent manipulation by using an Array), or must I separate the Parameters into Column as CHAR or BYTE and Row as INT. This could then easily be strung together inside the FB.
Cheers
Roy