PDA

View Full Version : COM Panel: Dual-Centric Encoders & SIOC



AZWildk4t
02-24-2017, 01:12 PM
For my O/C COM panel, I have a dual-centric encoder (ELMA E37) that connects to the standard O/C Input Card. When I rotate either encoder, the COM frequency and decimal change by a value of 3 instead of 1. Does anyone know how to correct this?

This is the script I am currently using:
Var 0168, name ROT_COM1_SW, Link IOCARD_ENCODER, Device 8, Input 50, Aceleration 1, Type 2
{
IF &COM1_Power_ON > 0
{
&ROTACTC1_SW = 1
&ROTACTC1_SW = DELAY 0 ,500
L0 = &ROT_COM1_SW * -1
&ST_COM1High = ROTATE 18 ,36 ,L0
&tCOM1_1 = &ST_COM1High
}
}


Var 0169, name ROT_COM1_SF, Link IOCARD_ENCODER, Device 8, Input 52, Aceleration 1, Type 2
{
IF &COM1_Power_ON > 0
{
&ROTACTC1_SF = 1
&ROTACTC1_SF = DELAY 0 ,500
L0 = &ROT_COM1_SF
&ST_COM1Low = ROTATE 0 ,99 ,L0
&tCOM1_3 = &ST_COM1Low
}
}

jonesthesoftware
02-26-2017, 08:11 AM
Hi
you need to reprogram the PIC chip in the encoder card to work with the Elma E37 encoders
You'll need a PIC chip progremmer some software like WINPIC 800 and the new PIC chip code .
I have the programs and code if you need it. Email me on jonesthesoftware at gmail.com. Correct this to an email format .

regards
geoff