52
Sample Program
MOV (021)
#0080
2000
END (001)
A20011
1 cycle ON
200701
200700
MOV (021)
#0200
2001
MOV (021)
#1300
2002
CPU Unit
Fixed
#1300
Set #0080 for word 2000 (Loop 1 SP).
Set #0200 for word 2001 (Loop 2 SP).
Set #1300 for word 2002 (executed bank number).
Loop 2 executed bank number
Loop 1 executed bank number
•
Be sure to set the correct values for the Loop 1 and Loop 2 SP. The value is
#0000 (0
°
C) if no data is set.
•
If the executed bank number is set to a value out of the range from 1 to 8, the
bank number reverts to the previous value (default value = 1).
Read monitored data into the program using Wd (n+3) to (n+9).
Example 1: Write Set for Normal Memory Allocations
Description and Conditions
Example
The user program makes the following settings.
This example writes to EEPROM. To write to RAM, add 4 to the leftmost
digit of the command.
Loop 1 SP = 200
°
C (Bank no. = 1)
Loop 2 SP = 250
°
C (Bank no. = 2)
Loop 1 executed bank number = 1
Loop 2 executed bank number = 2
Loop 1 heater burnout current value = 2.0 A
Loop 2 heater burnout current value = 2.5 A
Conditions C200H-TC001 (thermocouple)
SW202 set to 2 (K).
Unit number set to 0 (allocated memory: CIO 2000 to CIO 2009).
SW2-1 set ON (Normal) and SW2-2 set ON (CPU Unit).
Sample Program
Reading Monitored Data
Programming
Section 4-3
electronic components distributor