Thank you ojz0r and AlfredoQuintero for your responses. I have seen this post before where you can define in the tag itself for the IO it should be mapped to. But unfortunately I could not find a way to map an array of BYTE to an array of IO (BYTES) in one go. The way you have described is to map one array to one object which I can by defining it as:
yourVariableName AT %IBX: yourDUT;
But I need to map an array of object to an array of object (for example a SINT or BYTE), please correct my syntax
yourVariableName AT [%IB408...%IB425] : ARRAY [0...17] OF BYTE;
(In the above example %IB408 to %IB425 are of type BYTE)
The above line gives the following error :
[ERROR] PLC: Panasonic_Robot [Device: PLC Logic: Application](Line 5): C0030: Direct address expected after AT instead of [
Would really appreciate if someone could help me on this
Thanks!