3 - 37
3. CC-LINK COMMUNICATION FUNCTIONS
(2) Write instruction codes (8000h to 91 1Fh)
Instruction code
(RWwn+2)
Instruction code
processing
Instruction code
execution completion
(RXn9)
Writing data
(RWwn+3)
Instruction code
execution demand
(RYn9)
Write in execution
Respond code
(RWrn+2)
Set the write instruction code (refer to section 3.5.4 (2)) to Instr uction code (RWwn+2) and the data to be
written (data to be executed) to Writing data (RW wn+3) in hexadecimal, and turn Instruction code executio n
demand (RYn9) to ON.
Turning instruction code execution completion t o ON sets the data set in Wiring data (RWwn+3) to the item
corresponding to the write instruction code. W hen write is executed, Instruction code execution comple tion
(RXn9) turns to ON.
If the instruction code not in the specificat ions is set to Instruction code (RWwn+2), the cor responding error
code ( 1) is set to respond code.
Turn Instruction code execution demand (RYn9) to OFF after Instruction code execution completi on (RXn9)
has turned to ON.