![background image](http://html1.mh-extra.com/html/omron/sysmac-c200h-pid0-series/sysmac-c200h-pid0-series_operation-manual_742432052.webp)
44
Sample Program
DIFU (13)
23200
23201
23200
23201
MOV (21)
#1250
102
MOV (21)
#5100
100
MOV (21)
#0200
101
DIFD (14)
23203
23202
KEEP(11)
23202
10701
(C200H)
10700
25315
10701
(C200H)
10700
23201
10608
#1250
#5100
R
S
Normal
1 cycle ON
Normal
SW2-2 (10701) switch ON detection
(C200H PC)
Program runs when operation is started or
SW2-2 turned ON
Loop 2 executed bank number
Loop 1 executed bank number
SP setting instruction
Bank number
Bit data : 0101
Loop 1
Write
Wait for completion of write,
and then proceed to next step
Write complete
Write data (20.0)
Next page
DIFD (14)
23205
MOV (21)
#6200
100
MOV (21)
#0805
101
23203
23204
KEEP(11)
23204
23203
10608
23205
MOV (21)
#5012
100
MOV (21)
#0001
101
S
R
#6200
0110
0101
SP setting command
Bank number
Bit data:
Loop 2
Write
Write data (8.05)
Write complete
Decimal point position
command
Bank number not required
Bit data:
Loop 1
Write
Write data (1st digit)
Wait for completion of write,
and then proceed to next step
#5012
Run bit ON
Programming