128
Note: When the edge instruction is triggered, the automatic addition and subtraction operation
is performed for each trigger. If it is triggered by normally open/normally closed, the
operation of auto-addition and auto-subtraction will be performed in each scanning period
after the conduction.
4-6-6 Mean [MEAN, DMEAN]
1)Summary
Get the mean value of data
Normally ON/OFF,
rising/falling edge
2)Operands
The source datastart address
3)Suitable soft components
*Notes: D includes D, HD; TD includes TD, HTD; CD includes CD, HCD, HSCD, HSD;
DM includes DM, DHM; DS includes DS, DHS. M includes M,HM,SM;S includes S,HS;
T includes T,HT;C includes C, HC.
Store the mean value of source data (source sum divide by source quantity n). give the
remainder .
The n cannot larger than soft component quantity, otherwise there will be error.
tudonghoatoancau.com