Download Yamaha SRCD User`s manual

Transcript
CHAPTER2 CC-Link Unit
(22) Subtraction of specified value
from point variable P .............................................................. Code 0116
The specified value is subtracted from the point variable P.
RWwn+7
RWwn+6
Command option
RWwn+5
RWwn+4
RWwn+3
RWwn+2
Subtraction value
RWrn+7
RWrn+6
Command response
RWrn+5
RWrn+4
RWrn+3
RWrn+2
(Details)
Subtraction value:
A value of 1 to 999 can be specified.
(Example)
Transmission example 1:
10 is subtracted from the point variable P.
RWwn+7 RWwn+6 RWwn+5 RWwn+4 RWwn+3 RWwn+2 RWwn+1
0000
0000
0000
0000
0000
000A
0000
RWwn
0116
Response example 1:
It is normally ended.
RWrn+7
0000
RWrn+6
0000
91
RWrn+5
0000
RWrn+4
0000
RWrn+3
0000
RWrn+2
0000
RWrn+1
0000
RWrn
0200