Dear Borte:
I've used unlinked DB for a registering application. You can't connect to an unliked DB, but you can download it to your PC to see if you have succesfully written it.
You can use SFC84 to copy or write data to a diferent DB created on the MMC (unlinked). It works correctly.
I had a problem with the ANY format. I've solved it with this funtion
DB_ANY is local variable of type ANY
DB_number is a local variable with the DB's number
L P##DB_ANY
LAR1
L B#16#10
T LB [AR1,P#0.0]
L B#16#19
T LB [AR1,P#1.0]
L W#16#1
T LW [AR1,P#2.0]
L W#16#0
T LW [AR1,P#4.0]
L #DB_number
T LD [AR1,P#6.0]
The complete code:
L P##DB_ANY_source
LAR1
L B#16#10
T LB [AR1,P#0.0]
L B#16#19
T LB [AR1,P#1.0]
L W#16#1
T LW [AR1,P#2.0]
L W#16#0
T LW [AR1,P#4.0]
L #DB_number_source
T LD [AR1,P#6.0]
Next segment:
L P##DB_ANY_Destination
LAR1
L B#16#10
T LB [AR1,P#0.0]
L B#16#19
T LB [AR1,P#1.0]
L W#16#1
T LW [AR1,P#2.0]
L W#16#0
T LW [AR1,P#4.0]
L #DB_number_Destination
T LD [AR1,P#6.0]
Next Segment:
U #execute
= L 20.0
BLD 103
CALL SFC 84
REQ :=L20.0
SRCBLK :=#DB_ANY_source
RET_VAL:=#Error_Code
BUSY :=#busy
DSTBLK :=#DB_ANY_Destination
NOP 0
I hope this helps
Kelkoon
P.S.You are still limited by the size of the Block (16kBytes in 315-2DP) You should make a function to write in several unlinked blocks. I have one in SCL but the code is too long, if you want it please send me a private message and I'll mail it to you.