Channel %1 block %2 motion synchronous action: type conflict in variable %3
%1 = Channel number %2 = Block number %3 = Source symbol
Type conversion is not possible for on-line variables $A.. or $V.., which are evaluated or written in the interpolation cycle. Only variables of the same type can be used together in logic operations or assigned to one another.
WHENEVER $AA_IM[X] > $A_IN DO ...
An on-line variable of the REAL type (actual value) cannot be compared with a variable of the BOOL type (digital input)
The operation is possible if the following change is made:
WHENEVER $AA_IM[X] > $A_INA DO ...
WHENEVER ... DO $AC_MARKER=$AA_IM[X]-$AA_MM[X]
WHENEVER ... DO $AC_PARAM=$AA_IM[X]-$AA_MM[X]
- Correction block
- Interface signals are set.
- Alarm display.
Modify part program: Use variables of the same type.
Clear alarm with the RESET key. Restart part program
© Siemens AG 2005 All Rights Reserved