Definitions:
Reactions:
Remedy:
Program Continuation:
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.
Example 1:
WHENEVER $AA_IM[X] > $A_IN[1] 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[1] DO ...
Example 2:
WHENEVER ... DO $AC_MARKER[1]=$AA_IM[X]-$AA_MM[X]
Improvement:
WHENEVER ... DO $AC_PARAM[1]=$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