[Alex / Den]
I've encountered a problem that C1:PEM-SEIS_GUR1_X_IN1 is saved in the int format. It turned out that inside the code the signal is also in the int format. It is not just a saving error. It should not be so as ADC works at 64k and the model runs at 2k.
Why? There is a bug somewhere in the generation of the code. c1pem.c looks suspicious to Alex because there is a mismatch in the ADC numbers with the simulink model.
Solution: upgrade to 2.4 version - most probably it was fixed there. If not, Alex will handle this problem.