wats the % for before the letter %R000.0 could you help me understand why the want %R000.0 why not just C0 like in directsoft that gives you the firest virtual coil. is this the same (C1 C2 C3 C4) AS (%R000.0 %R000.1 %R000.2 %R000.3 %R000.4)
%R0001.1 %r0001.2 %R0001.3 are all bits within a register.
%R0001 is a 16 bit register but can be used as described above. broken down to Bools.
You can use as Booleans or same as C1, C2, c3 in Direct Soft.
Also, %M type booleans can be used as c1, C2, c3, etc.
%T are also Booleans though the difference between %M and %T is that %M is retentive and %T is not.
You have 1999 %m type bools and 1999 %T type bools avilable.
If you use a lot or think you may run out, start using the %R type set up.
How are you getting pulses from your encoder.
OCS has a build in HSC and you need to utilize that in order to pick up quick pulses from an encoder.
Not sure what hardware you have.
You can set up your HSC inputs for rate, Quad, etc, it is done through the software when you configure your I/O.
If you do not setup the inputs through the I/O configuration, then, the inputs are used as any other discrete input.
If you do ude a HSC certain registers and I/O can be used for functions of the HSC such as reset, accumulator and stuff.
More info on hardware and your set up would be helpfull.