Hello,
have a little problem with an old Siemens project.
Have until now only had a RAM-memory, now our customer want a EPROM.
To be able to read/write to the datablocks, you cannot have them in the EPROM, you have to generate these under the start (OB21,OB22), to have them in the internal RAM-memory.
My question:
What does the instruction look like, to generate DB??
I tried with this, see below
IN OB21,22
L KY100,0 // Load 100 byte into ACCU1
G DB 10 // Generate DB10 with length of 100 bytes
Doesn't work, anyone?
Old systems ..
have a little problem with an old Siemens project.
Have until now only had a RAM-memory, now our customer want a EPROM.
To be able to read/write to the datablocks, you cannot have them in the EPROM, you have to generate these under the start (OB21,OB22), to have them in the internal RAM-memory.
My question:
What does the instruction look like, to generate DB??
I tried with this, see below
IN OB21,22
L KY100,0 // Load 100 byte into ACCU1
G DB 10 // Generate DB10 with length of 100 bytes
Doesn't work, anyone?
Old systems ..