61
5-5
Sample Program
This section provides a sample program for writing and reading files. In this pro-
gram, when execution condition IR 00000 is turned from OFF to ON and then
OFF again, the data in 100 DM words beginning with DM 0100 is written to
G:\DMSAVE.DAT. When execution condition IR 00001 is turned from OFF to ON
and then OFF again, the 100 words of data is read from DMSAVE.DAT to the DM
words from DM 0200 onwards.
Program
Execution
condition
00000
25201: Operating level #0 CMCR execution enabled.
Operating level #0
File write (newly created)
(Single-word comma separated file)
Process No. 1, File Write
Command execution
00300: Output for CMCR instruction error.
00101: CMCR execution completion
25201: Operating level #0 CMCR execution enabled.
Operating level #0
File read (newly created)
(Single-word comma separated file)
Process No. 2, File Read
Command execution
00301: Output for CMCR instruction error
00201: CMCR execution completion
Execution
condition
00001
Sample Program
Section 5-5
Содержание SYSMAC C200HW-PCS01-EV1
Страница 1: ...Cat No W313 E1 3 PC Card Unit SYSMAC C200HW PCU01 C200HW PCS01 EV1 OPERATION MANUAL...
Страница 2: ......
Страница 3: ...SYSMAC C200HW PCU01 C200HW PCS01 EV1 PC Card Unit Operation Manual Revised January 2000...
Страница 4: ......
Страница 6: ......
Страница 10: ......
Страница 12: ......
Страница 18: ......
Страница 34: ......
Страница 38: ......
Страница 60: ......
Страница 80: ......
Страница 82: ......
Страница 88: ......
Страница 120: ......
Страница 148: ......
Страница 178: ......
Страница 214: ......
Страница 220: ......
Страница 232: ......
Страница 234: ......
Страница 236: ......
Страница 238: ......
Страница 240: ......