Skip to content

Commit b310c6a

Browse files
committed
task speed update
1 parent 365cbf0 commit b310c6a

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

content/hardware/07.opta/opta-family/opta/tutorials/18.opta-analog-expansion-plc-ide/content.md

+12
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,10 @@ END_IF;
273273

274274
***The analog channel in voltage mode can generate up to 11 V and the DAC resolution is 13 bit, this is why we use the 8191 constant that corresponds to 2<sup>13</sup>-1.***
275275

276+
- Modify the task speed by right clicking in **Task > Fast** then click on **Task configuration** and set the Fast task period to 50 ms.
277+
278+
[Task speed configuration](assets/plc-ide-19.png)
279+
276280
- Upload the program to your Opta and enable the **Live Debug Mode** to see the output updating in real-time and use a voltmeter to measure the output.
277281

278282
![Voltage Output Demo](assets/analog-voltage.png)
@@ -300,6 +304,10 @@ END_IF;
300304

301305
***The analog channel in current mode can generate up to 25 mA and the DAC resolution is 13 bit, this is why we use the 8191 constant that corresponds to 2<sup>13</sup>-1.***
302306

307+
- Modify the task speed by right clicking in **Task > Fast** then click on **Task configuration** and set the Fast task period to 50 ms.
308+
309+
[Task speed configuration](assets/plc-ide-19.png)
310+
303311
- Upload the program to your Opta and enable the **Live Debug Mode** to see the output updating in real-time and use an ampmeter to measure the output on **O1**.
304312

305313
![Current Output Demo](assets/analog-current.png)
@@ -352,6 +360,10 @@ END_IF;
352360

353361
***The PWM output voltage is defined by the voltage applied to __V<sub>PWM</sub>__ from 8 to 24 V.***
354362

363+
- Modify the task speed by right clicking in **Task > Fast** then click on **Task configuration** and set the Fast task period to 50 ms.
364+
365+
[Task speed configuration](assets/plc-ide-19.png)
366+
355367
- Upload the program to your Opta and enable the **Live Debug Mode** to see the output updating in real-time and use an oscilloscope to measure the output on **P1**.
356368

357369
![PWM Output Demo](assets/pwm-out.png)

0 commit comments

Comments
 (0)