GX Works 2 Copy Structure

DanyaalK123

Member
Join Date
Sep 2022
Location
Glasgow
Posts
1
I have 2 variables which have the same structured data type and I'm trying to copy the contents of one to the other.

I could use BMOV but is there a way to make a pointer which points to the variable then puts it into BMOV so I don't have use device numbers and can just use labels.
 
When you say a structured data type what is the structure ? perhaps post a pic of the structure. you cannot put pointers into a block move as such there is a way of getting the absolute address of a variable but not sure it will work as an input parameter of a block move. In any case non devices i.e. label only do use actual addresses, these are located at compile time the compiler reserves addresses in the top end i.e. "D" types as D9000 onwards (depends on the PLC used and the compiler settings).
As I said post the structure, also, not sure how a structure would be handled if it contained a mix of different data types.
 

Similar Topics

We need to copy 32 bits from a REAL to a DWORD. We don't want any conversions done. We want a bitwise copy like the AB COP command. In GX Works...
Replies
0
Views
1,973
i use FC81 in order to copy data. i want to copy db18.dbw8 to db17.dbw30....the program works....but the value remains the same........
Replies
10
Views
2,903
I'm running Modsoft V2.5 program software for a Modicon - Quantum Processor. Segment Status Display: Seg Networks 1 1-300 2...
Replies
0
Views
5,814
Hey everyone and anyone that can lend a helping hand. I have a project that I am being asked to add some animations of Solidworks or "3D" models...
Replies
8
Views
136
PLC: Fx5u CPU As Per manual High Speed Input Module can add from Navigation window  [Parameter]  [Module Information]  Right-click  [Add New...
Replies
1
Views
71
Back
Top Bottom