154
<Procedure example of Program Download>
In order to download a program, first, the DELPRG command is sent and all the specified memory
areas of a program number are deleted. Since ">" will be replied if deletion is completed, please send
the SETPRG command after receiving this. Since ">" is returned also after SETPRG command
reception, please send the following SETPRG command after receiving this. If END is finally received,
the program will be automatically written in a flash memory.
">" is answered that writing is completed.
※ A part of program cannot be changed.
<Procedure example of Program Upload>
DELPRG 0
SETPRG 0, 0, AXI1:PULS_1000
SETPRG 0, 1, LoopS_10
SETPRG 0, 2, AXI1:GO_CW:DW
SETPRG 0, 3, LoopE
SETPRG 0, 4, END
⇒ Delete range ofProgram No.0
← > (after 500ms)
⇒ Store to step 0 of Program No.0
← > (after 30ms)
⇒ Store to step 1 of Program No.0
← > (after 30ms)
⇒ Store to step 2 of Program No.0
← > (after 30ms)
⇒ Store to step 3 of Program No.0
← > (after 30ms)
⇒ Store to step 4 of Program No.0
Write in flash memory
← > (after 500ms)
PC
DS102/DS112
GETPRG_0, 0
GETPRG_0, 1
GETPRG_0, 2
GETPRG_0, 3
GETPRG_0, 4
⇒
← AXI1:PULS_1000
⇒
← LoopS_10
⇒
← AXI1:GO_ CW:DW
⇒
← LoopE
⇒
← END
PC
DS102/DS112
Summary of Contents for DS102MS
Page 166: ...166...