Robert Carlsson
Member
Hey! I'm trying to transfer an array of Int to a DB I created using SFC22. The code I am using for the transfer is this:
datasize is the array of Int's I want to transfer
creat_db1 is the DB number SFC22 returned when creating the DB
Network 38:
LAR1 P##source_ptr
L W#16#1005
T W [AR1,P#0.0]
L 128
T W [AR1,P#2.0]
L 0
T W [AR1,P#4.0]
L DW#16#85000000
L P##datasize
SLD 4
+D
T D [AR1,P#6.0]
Network 39:
LAR1 P##dest_ptr
L W#16#1005
T W [AR1,P#0.0]
L 128
T W [AR1,P#2.0]
L #creat_db1
T W [AR1,P#4.0]
L DW#16#84000000
T D [AR1,P#6.0]
Network 40:
CALL "BLKMOV"
SRCBLK :=#source_ptr
RET_VAL:=#blkmove_ret
DSTBLK :=#dest_ptr
in the blkmove_ret I get error code 8124, which means (if I understand everything correctly), it means "Range error when reading a parameter", where could this range error occur?
datasize is the array of Int's I want to transfer
creat_db1 is the DB number SFC22 returned when creating the DB
Network 38:
LAR1 P##source_ptr
L W#16#1005
T W [AR1,P#0.0]
L 128
T W [AR1,P#2.0]
L 0
T W [AR1,P#4.0]
L DW#16#85000000
L P##datasize
SLD 4
+D
T D [AR1,P#6.0]
Network 39:
LAR1 P##dest_ptr
L W#16#1005
T W [AR1,P#0.0]
L 128
T W [AR1,P#2.0]
L #creat_db1
T W [AR1,P#4.0]
L DW#16#84000000
T D [AR1,P#6.0]
Network 40:
CALL "BLKMOV"
SRCBLK :=#source_ptr
RET_VAL:=#blkmove_ret
DSTBLK :=#dest_ptr
in the blkmove_ret I get error code 8124, which means (if I understand everything correctly), it means "Range error when reading a parameter", where could this range error occur?