PLC Easy instructions (FNC60~FNC69)

FX Series total 10 article convenient instruction: initial of instruction IST (FNC60), and data search instruction SER (FNC61), and absolute type cam Shun control instruction ABSD (FNC62), and incremental type cam Shun control instruction INCD (FNC63), and teaching timing instruction TIMR (FNC64), and special timer instruction STMR (FNC65), and alternating output instruction ALT (FNC66), and slopes signal instruction RAMP (FNC67), and Control command ROTC of rotary table (FNC68) and sort order SORT (FNC69). Only part of the following instruction to us.
(1) the sequence control of the cam instructions cam cam sequence control instructions have absolute ABSD sequential control instruction (FNC62) cam and incremental sequential control instruction INCD (FNC63) are two.
Absolute cam ABSD is used to generate a set of sequential control instruction corresponds to the count value is 3600 range the output waveform, output the number of points determined by the n, as shown in Figure 3-67A. Figure n4, indicate [d.] By M0~M3 4point output. In advance using the MOV instruction will correspond to the data to be written in D300~D307, open data written to the even-numbered components, shut the breakpoint in odd-numbered component, as shown in table 3-15. When X0 when conditions change from OFF to ON, M0~M3 will waveforms are as shown in Figure 3-67B, the data can be changed by changing the D300~D307 waveform. If X0 is OFF, the output state is unchanged. This command can only be used once.


Incremental sequential control of cam INCD is also used to generate a set of instructions corresponds to the count value of the output waveform. As shown in Figure 3-68, n=4, stated that there were 4 output, namely M0~M3, their ON/OFF state cam pulse number control. Make the number M0~M3 ON the pulse of the State were stored in D300~D303 (MOV instruction writes). Waveform is D300~D303 are 20, 30, 10, and 40 o’clock output. When C0 followed by the current value of the counter is automatically reset when the D300~D303 setting is reached. C1 is used to meter reset the number of M0~M3 according to the values of C1 action in turn. Upon completion of the final section specified by n, flag M8029 set to 1, then periodically repeat. If X0 is OFF, C0, C1, reset and M0~M3 OFF when X0 connected back to work again.

Cam sequence control command source operand [S1.] Desirable KnX, KnY, KnM, KnS, t, c and D,[S2.] For c, the target operand y, m, and s. As a 16-bit instructions, 9 programs.
(2) the playback timer timers timer instructions instructions instructions TTMR (FNC64) and a special timer instructions STMR (FNC65) are two.
Use the playback timer instructions TTMR, a button can be used to adjust the timer setting time. As shown in Figure 3-69, when X10 is ON, and execute TTMR instructions, X10 press M301 recording, this time into the D300 after multiply by 10n. If the button is pressed the time is t in the D300 has a value of 10nxt. When X10 is OFF, reset D301, D300 remained unchanged. TTMR is a 16-bit instructions, step 5 program.


STMR is used to generate special timer instructions disconnect delay timer, single pulse timer, and the flashing timer. As shown in figures 3-70 and m=1~32767 to specify the timer value; [s.] T0~T199 source operation number (100ms timer). T10 set value for 100msx100=10s,M0 is the disconnect timer delay, M1 singlepulse timer M2,M3 set up for Flash.



(3) alternate ALT alternate output directive output directive (p) number is FNC66, used to load from a button control start and stop. As shown in Figure 3-71, when X0 from OFF to ON, and Y0 will change again. If Y0 ALT commands each scan cycle of the continuous changes state. [D.] Y, m, and s. ALT16operation instructions step 3 program.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.