FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Dear Community User! We have started the migration process.
This community is now in READ ONLY mode.
Read more: Important
information on the platform change.
01-03-2024 08:53 PM
Hi all I'm having some difficulties using the IH_S20CntIncType02 fucntion block. I am using a CTRLX core with an S20 bus coupler and the S20-CNT-INC-2/2 in the first slot. When the PLC is executing the function block is returning the error: INPUT_INVALID_ERROR, however I'm not sure why it is returning that. There is some information in the ErrorIdent array but it's in hexidecmail forma and I'm not sure where the reference information is to decode it. Here is a screen shot of a portion of the funciton call and the error Ident info any help is appreciated
Solved! Go to Solution.
01-04-2024 05:26 PM
The problem was that when setting the encoder as a rotary type, the default limit 1 and limit 2 values must be adjusted to be below the modulo value. Other wise an error occurs. Addtionally symmetrical and assymetrical refer to the number of inputs per encoder channel (A,B) so a symmetrical encoder is a differential type with two physical cable lines per channel vs an assymetrical encoder that may only have one line per channel.