Table of Contents
19
27. Edge detection instructions .................................................................. 883
DF Rising edge differential
884
DFN Falling edge differential
885
DFI Rising edge differential (initial execution type)
886
ALT Alternative out
888
28. High-speed counter instructions .......................................................... 889
28.1 Introduction ........................................................................................................................... 890
28.2 Writing the high-speed counter control code ........................................................................ 891
28.3 High-speed counter: writing and reading the elapsed value ................................................. 894
F165_HighSpeedCounter_Cam Cam control
895
F166_HighSpeedCounter_Set Target value match ON (high-speed counter)
901
F167_HighSpeedCounter_Reset Target value match OFF (high-speed counter)
905
F178_HighSpeedCounter_Measure Input pulse measurement
909
29. Timer instructions.................................................................................. 913
TM_1ms_FB Timer for 1ms intervals (0 to 32.767s)
914
TM_10ms_FB Timer for 10ms intervals (0 to 327.67s)
917
TM_100ms_FB Timer for 100ms intervals (0 to 3276.7s)
920
TM_1s_FB Timer for 1s intervals (0 to 32767s)
923
TM_1ms Timer for 1ms intervals (0 to 32.767s)
926
TM_10ms Timer for 10ms intervals (0 to 327.67s)
928
TM_100ms Timer for 100ms intervals (0 to 3276.7s)
930
TM_1s Timer for 1s intervals (0 to 32767s)
932
F137_STMR Timer 16-bit
934
F183_DSTM Timer 32-bit
935
30. Process control instructions................................................................. 937
30.1 Explanation of the operation of the PID instuctions .............................................................. 938
F355_PID_DUT PID processing instruction
942
F356_PID_PWM PID processing with optional PWM output
945
PID_FB PID processing instruction
952
PID_FB_DUT PID processing instruction
954
SCALE_INT Scales INTEGER data
956
SCALE_INT_UINT Scale INTEGER data into unsigned INTEGER data
958