Program control RUN
1:00
2:00
200
0
0:30 1:00
2:00
300
(4) Write (Slave address 1, multiple pieces of program pattern data)
Program pattern setting example
Step 1 2 3 4 5
SV ( ) 200 200 300 300 0
Time 1:00 2:00 0:30 1:00 2:00
Wait value ( ) 10 0 10 0 0
(Fig. 5.6.1-1)
When writing the above program pattern, message data section converts to the following.
Amount of data: 15 (000FH)
Number of bytes: 30 (1EH)
Data: Data in the following table is converted to Hexadecimal.
Data Item Data Data (Converted to Hexadecimal)
1000H
Step 1 SV 200
00C8H
1001H
Step 1 time 60 minutes (1:00)
003CH
1002H
Step 1 wait value 10
000AH
1003H
Step 2 SV 200
00C8H
1004H
Step 2 time 120 minutes (2:00)
0078H
1005H
Step 2 wait value 0
0000H
1006H
Step 3 SV 300
012CH
1007H
Step 3 time 30 minutes (0:30)
001EH
1008H
Step 3 wait value 10
000AH
1009H
Step 4 SV 300
012CH
100AH
Step 4 time 60 minutes (1:00)
003CH
100BH
Step 4 wait value 0
0000H
100CH
Step 5 SV 0
0000H
100DH
Step 5 time 120 minutes (2:00)
0078H
100EH
Step 5 wait value 0
0000H
• Request message from the master (When writing the above program pattern data)
Header
(3AH)
Slave
address
(30H 31H)
Function
code
(31H 30H)
Data item
[1000H]
(31H 30H 30H 30H)
1 2 2 4
Data
[000F1E00C8003C000A00C800780000012C001E000A012C003C0000000000780000H]
(30H 30H 30H 46H 31H 45H 30H 30H ・・・・・・30H 30H 37H 38H 30H 30H 30H 30H)
66
Error check
LRC
(32H 45H)
Delimiter
CR+LF
(0DH 0AH)
2 2