![background image](http://html1.mh-extra.com/html/abb/ac-800m/ac-800m_library-object-style-manual_3371230096.webp)
Special functions
Section 6 Program Code Issues
96
3BSE042835-600
Special functions
Handling of Input and Output Values
The code shall handle its input and output values in the following way:
The code shall have a predictable and reasonable behavior for all input values. Input
values, which are considered invalid, shall be mapped to valid input values. It shall
be described in the parameter description which values are considered invalid and
which valid values these are mapped to. For further details see
The object must have a predictable behavior when calculating output parameter
values. Situations like divide by zero and sqrt() of negative numbers shall be
prevented or handled in the code. The library object shall not give an overflow
output value if none of the input parameters have an overflow value.
Parameters of direction out and Parameters of direction in_out with the description
keyword OUT or OUT(IN) shall be written to in each scan.
Summary of Contents for AC 800M
Page 2: ......
Page 3: ...AC 800M Library Object Style Guide System Version 6 0...
Page 12: ...Related Documentation About This User Manual 12 3BSE042835 600...
Page 18: ...Naming Convention Section 1 Libraries 18 3BSE042835 600...
Page 108: ...SIL Mark Restrictions Section 6 Program Code Issues 108 3BSE042835 600...
Page 116: ...Standard Library Parameters Appendix A Names and Abbreviations 116 3BSE042835 600...
Page 119: ......