Simple motion
System technology > Use the onboard I/Os as PTO (pulse-train output) with 100 kHz frequency (max. 2 PTO using PTO HW channels)
The input "CwCCw" of the function block "OBIOPulseTrainOutput" determines the output 5 and
7 as "CounterClockWise" or "Direction" if it is set as PTO.
8.3.5.2
Function block
If "Set" bit is TRUE, the instruction moves the "CounterSetValue" to the "CounterValue".
If "EnableLimit" bit is TRUE, the accumulated value continues incrementing.
After "CounterValue" reaches the "LimitValueMax", the instruction writes 0 to the
"CounterValue".
182
See also the following chapter:
3ADR010635, 2, en_US
2021/06/29