- 43 -
[Supplemental remarks] Procedure of reading/writing to step information of program pattern
1) Example of procedure reading SV, time, and SV No. of step 1 of pattern No.1.
[Procedure 1] Register pattern No. and step No. of step is performed reading.
Setting
・
Pattern No. = Pattern1
・
Step No. = Step 1 (Example of command = 0110232A000204000100016CF9)
Master
→
Instrument
Command
Setting contents
Slave address
01H
Set the instrument number (MODE 8 of sending command to KP.)
Function cord
10H
Set the function cord 16 (= 10H) for writing multiple analog setting values.
Starting number(H)
23H
Ending number (L)
2AH
Specify starting number (beginning number) of reference is written
continuous.
(Set the reference number 49003(=49003-40001=9002=232AH))
Quantity (H)
00H
Quantity (L)
02H
Set two (=02H), which is the number from reference number 49003 (pattern
No.) to 49004 (step No).
Data number
04H
4 byte (04H) = 2 × 2 byte data
Pattern No. (H)
00H
Pattern No. (L)
01H
[Reference number 49003] Set the pattern No. of program pattern is written.
When write to pattern 1, set 01 (0001H)
Step No. (H)
00H
Step No. (L)
01H
[Reference number 49004] Set the step No. of program pattern is written.
When write to pattern 1, set 01 (0001H)
CRC(L) 6CH
CRC(H) F9H
Set the cord for error check.
(When it is MODBUS_RTU protocol, set the error check value of CRC-16.)
[Procedure 2] Notify parameter type of step information is performed reading (master
→
instrument).
Specify the reading of
・
SV
・
Time
・
SV No.
(Example of command = 0103232D00051E44)
Master
→
Instrument
Command
Setting contents
Slave address
01H
Set the instrument number (MODE 8 of sending command to KP.)
Function cord
03H
Set the function cord 03 (= 03H) for reading analog setting values.
Starting number(H)
23H
Ending number (L)
2DH
Specify starting number (beginning number) of reference is written
continuous.
(Set the reference number 49006(=49006-40001=9005=232DH))
Quantity (H)
00H
Quantity (L)
05H
Set five (=05H), which is the number from reference number 49006 (SV) to
49010 (SV No).
CRC(L) 1EH
CRC(H) 44H
Set the cord for error check.
(When it is MODBUS_RTU protocol, set the error check value of CRC-16.)
*When perform reading again to same pattern No. and step No., skip procedure 1.