Delta OPC — 4.1.2 Simulation

Chapter 4 Advanced Functions of Delta OPC Users do not need to set any parameters.  Write count : The value written into a register automatically increases by one every time. Users do not need to set any parameters.  Random : Users have to set a value in the Position box, and a value in the Amplitude box. A random value in the range of the value in the Position box to the value in the Position box plus the value in the Amplitude box is generated.  Ramp : Users have to set a value in the Position box, a value in the Amplitud e box, a value in the Period box, and a value in the Phase box.

A ramp in the range of the value in the Position box to the value in the Position box plus the value in the Amplitude box is generated.  Sine : Users have to set a value in the Position box, a value in the Amplitud e box, a value in the Period box, and a value in the Phase box. A sine wave in the range of the value in the Position box minus the value in the Amplitude box to the value in the Position box plus the value in the Amplitude box is generated.  Square : Users have to set a value in the Position box, a value in the Amplitud e box, a value in the Period box, a value in the Phase box, and a value in the Ratio box.

A square wave in the range of the value in the Position box to the value in the Position box plus the value in the Amplitude box is generated. The ratio of the time for which a position of the square wave generated lasts to the period of the square wave depends on the value in the Ratio box. In figure 4-6, the ratio of the time for which a position of the square wave lasts to the period of the square wave is 0.2. Amplitude Position Figure 4-6 Square wave 2 8  Triangle : Users have to set a value in the Position box, a value in the Amplitud e box, a value in the Period box, a value in the Phase box, and a value in the Ratio box.

A triangle wave in the range of the value in the Position box to the value in the Position box plus the value in the Amplitude box is generated. The ratio of the time for which the triangle wave generated moves up to the period of the triangle wave depends on the value in the Ratio box. In figure 4-7, the ratio of the time for which the triangle wave moves up to the period of the triangle wave is 0.6. Figure 4-7 Triangle wave 6 4 4-5