发布于 2007-07-05 13:41:25
0楼
Des cription
With SFC 2 "SET_RTM" (set runtime meter), you set a runtime meter of the CPU to a selected value. The number of runtime meters you can set depends on the particular CPU you are using.
Parameter Declaration Data Type Memory Area Des cription
NR INPUT BYTE I, Q, M, D, L,
constant Input NR contains the number of the
runtime meter you want to set (possible
values: 0 to 7).
PV INPUT INT I, Q, M, D, L,
constant Input PV contains the setting for the
runtime meter (default).
RET_VAL OUTPUT INT I, Q, M, D, L If an error occurs while the function is
being executed, the return value contains
an error code.
执子之手