Controlling Temperature According to the Program Pattern
The optimum PID parameters for each step are used to control temperature according to the pro-
gram pattern.
The processing procedure is as follows:
1
The user changes the value of ACSP_Enable to the AC_StepProgram instruction to TRUE.
The AC_StepProgram instruction is executed and the value of step number StepNo changes to
0.
2
The user changes the value of execution condition Run to the PIDAT instruction to TRUE.
The PIDAT instruction is executed.
3
For each task period, manipulated value MV from the PIDAT instruction is output.
4
The TimeProportionalOut instruction performs time-proportional output according to the value of
MV.
5
After a while, processing moves to the next step.
6
Steps 3 to 5 are repeated through the end step.
Setup with the Sysmac Studio
To use the sample programming, you must use the Sysmac Studio to set the network configuration, I/O
map, and data type definitions.
Network Settings
The configuration of the network is given in the following table. A Slave Terminal with the following
configuration is connected at EtherCAT node address 1. The device names that are given in the fol-
lowing table are used.
Unit number
0
1
2
NY-series Instructions Reference Manual (W560)
Model number
NX-ECC201
EtherCAT Coupler Unit
NX-TS2101
Temperature Input Unit
NX-OD3121
Digital Output Unit
2 Instruction Descriptions
Unit
Device name
E001
N1
N2
2
2-787