Program control RUN
1:00 2:00
200
0
0:30 1:00
2:00
300
4.6.3 Write (Address 1, 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. 4.6.3-1)
When writing the above program pattern, command data section converts to the following.
Data: Data in the following table is converted to Hexadecimal.
MEWTOCOL Data Item Data Data (Converted to Hexadecimal)
DT01000 1000H
Step 1 SV 200
00C8H
DT01001 1001H
Step 1 time 60 minutes (1:00)
003CH
DT01002 1002H
Step 1 wait value 10
000AH
DT01003 1003H
Step 2 SV 200
00C8H
DT01004 1004H
Step 2 time 120 minutes (2:00)
0078H
DT01005 1005H
Step 2 wait value 0
0000H
DT01006 1006H
Step 3 SV 300
012CH
DT01007 1007H
Step 3 time 30 minutes (0:30)
001EH
DT01008 1008H
Step 3 wait value 10
000AH
DT01009 1009H
Step 4 SV 300
012CH
DT01010 100AH
Step 4 time 60 minutes (1:00)
003CH
DT01011 100BH
Step 4 wait value 0
0000H
DT01012 100CH
Step 5 SV 0
0000H
DT01013 100DH
Step 5 time 120 minutes (2:00)
0078H
DT01014 100EH
Step 5 wait value 0
0000H
• Write command from the master (When writing the above program pattern data)
1 2 1 2 1 5 5
% Address # WD D Starting data No. Ending data No.
25H 30H 31H 23H 57H 44H 44H 30H 31H 30H 30H 30H 30H 31H 30H 31H 34H
0 1 0 1 0 0 0 0 1 0 1 4
4 4 2 1
Write
Starting data
Write
Starting data + 1
Write
Starting data + 2
Write
Ending data
BCC C
R
43H 38H 30H 30H 33H 43H 30H 30H 30H 41H 30H 30H 30H 30H 30H 30H 32H 31H 0DH
C 8 0 0 3 C 0 0 0 A 0 0 0 0 0 0 2 1
• Response from the slave in normal status
1 2 1 2 2 1
% Address $ WD BCC C
R
25H 30H 31H 24H 57H 44H 31H 33H 0DH
0 1 1 3