Omron SYSMAC C200HS Operation Manual page 258

Programmable controllers
Hide thumbs Also See for SYSMAC C200HS:
Table of Contents

Advertisement

Special Math Instructions
Creating the Program
1, 2, 3...
Program
00000
25315
248
Follow the procedure outlined below in creating the program.
1. Set the target value (binary 0000 to 0FFF) in DM 0000.
2. Input the PV of the temperature sensing element (binary 000 to 0FFF) in bits
0 to 11 of word 101.
3. Output the operation amount of the heater to bits 0 to 11 of word 110 by
means of the first PID(––) instruction in the following program.
4. Output the operation amount of the fan to bits 0 to 11 of word 111 by means of
the second PID(––) instruction in the following program.
5. Convert the PV of the temperature sensing element (binary 000 to FFF) to
temperature data (0000°C to 0200°C) by means of SCL(––), and output it to
DM 0200.
@MOV(21)
#0F00
DM0000
@MOV(21)
DM0000
HR00
@MOV(21)
DM0000
HR40
PID(––)
101
HR00
110
PID(––)
101
HR40
111
SCL
101
DM0100
DM0200
END
Target value
Parameter leading word for first
PID(––) instruction
Parameter leading word for second
PID(––) instruction
PV of temperature sensing element
Heater operation amount
Fan operation amount
PV of temperature sensing element (binary)
Leading word of converted parameter
Present temperature of temperature sensing
element (°C)
Section 5-21

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents