![Shinko BCS2 Скачать руководство пользователя страница 20](http://html.mh-extra.com/html/shinko/bcs2/bcs2_communication-instruction-manual_1258175020.webp)
20
Program control starts
1:00
2:00
200
0
0:30
1:00
2:00
300
(4) Write (Slave address 1, Program pattern data) (Write multiple pieces of 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. 6.4.2-1)
When writing the above program pattern, Data in the message becomes as follows.
Amount of data: 15 (000FH)
Number of bytes: 30 (1EH)
Data 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
• A request message from the master (When writing the above program pattern data)
3.5 idle
characters
Slave
address
(01H)
Function
code
(10H)
Data item
(1000H)
1
1
2
Data
(000F1E00C8003C000A00C800780000012C001E000A012C003C0000000000780000H)
33
Error check
CRC-16
(13EEH)
3.5 idle
characters
2