Data Flow; Programming - Omron SYSMAC C200H-TC Operation Manual

Table of Contents

Advertisement

Programming

4-2

Data Flow

Data Settings
4-3
Programming
4-3-1 C200HX/HG/HE, C200HS, C200H
Example with SW2-1 with Fixed Memory Allocations
Description and Conditions
Sample Program
25315
1 cycle ON
(C200H)
Reading Monitored Data
44
Downloaded from
Elcodis.com
electronic components distributor
5. Data written by the RAM write command will disappear when the power is
turned OFF.
6. Data cannot be read using the RAM write command.
7. Refer to 3-4 Parameter Displays and Settings for details of the parameters.
Refer to 3-2 Data Flow for the data flow in the Temperature Control Unit.
Before setting data with a user program or the Programming Console, turn ON
SW2-2 of the Unit to enable data setting from the CPU Unit. However, the
executed bank number can be set with a user program or from the Programming
Console regardless of the ON/OFF setting of SW2-2.
SW2-1 (switching memory contents) may be set in either the OFF (Fixed) or ON
(Normal) position, but care is required as the setting of this switch changes the
stored data contents.
Example: The user program makes the following settings:
Conditions: C200H-TC001 (thermocouple)
10701
10700
Fixed
Be sure to set the correct values for the Loop 1 and Loop 2 SP.
The SV 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).
Loop 1 SP = 80 C
Loop 2 SP = 200 C
Loop 1 executed bank number = 1
Loop 2 executed bank number = 3
SW203 set to 2 (K).
Unit number set to 0 (allocated memory: IR100 to IR109).
SW2-1 set OFF (Fixed) and SW2-2 set ON (C200H PC).
Set #0080 for word 100 (Loop 1 SP).
MOV (21)
#0080
100
Set #0200 for word 101 (Loop 2 SP).
MOV (21)
#0200
101
Set #1300 for word 102 (executed bank number).
MOV (21)
#1300
102
#1300
END (01)
Section 4-3
Loop 2 executed bank number
Loop 1 executed bank number

Advertisement

Table of Contents
loading

Table of Contents