Chapter 4: Parameter passing
63
Passing parameter out of range
MD current value data range is -32768~32767, T preset value data range is 0~9999. If MD
current value is passed to T as preset value, obviously sometimes MD current may greater T preset
value upper limit, or less than T preset value down limit. This moment SG2 will use upper limit or
down limit value as its preset value. Similar situation of passing parameter, SG2 will use the same
processing method.
Example1:
When B006(MD01)=30000, MD01’s value 30000 is passed to other function block as preset
value. Passing to B002(T01 time base is 0.01s) as preset value. 30000 is greater than upper limit
of T01 9999, so automatically as 99.99;
Passing to B003(C01) as preset value. The number 30000 is not out of data range of C01, so
C01 preset value automatically as 30000;
Passing to B004(AR01) as preset value. The number 30000 is greater than upper limit of
AR01 20000, so automatically as 20000;
PDF compression, OCR, web optimization using a watermarked evaluation copy of CVISION PDFCompressor