3. Instruction Set 156 Operands: S 1 : Target frequency for zero return S 2 : JOG frequency for DOG S 3 : input device for DOG D : Pulse output device Explanations: 1. S 1 (zero return speed): max. 100kHz. S 2 (JOG speed for DOG) has to be lower than S 1. JOG speed for DOG also refers to the start frequency. 2. S 3 and D operands have to be used as an input/output set according to the table below, i.e. when S 3 specified as Y2. is specified as X4, D has to be specified as Y0; also when S 3 is specified as X6, D has to be 3. M1307 enables (ON) / disables (OFF) left limit switch of CH0 (Y0, Y1) and CH1 (Y2, Y3). M1307 has to be set up before the instruction executes.
M1305 and M1306 can reverse the pulse output direction on Y1 and Y3 and have to be set up before instruction executes. Associated left limit switch for CH0 (Y0, Y1) is X5; associated left limit switch for CH1 (Y2, Y3) is X7. All functions, input points and output points are arranged as follows: 3-399 Mnemonic Operands Function Controllers D ZRN Zero return ES2/EX2 SS2 SA2 SX2 SE Type OP Bit Devices Word Devices Program Steps X Y M S K H KnX KnY KnM KnS T C D E F DZRN:
17 steps S 1 * * * * * * * * * * S 2 * * * * * * * * * * S 3 * D * PULSE 16-bit 32-bit SA2 SA2 SA2 ES2/EX2 SS2 SX2 ES2/EX2 SS2 SX2 ES2/EX2 SS2 SX2 SE SE SE Channel CH0(Y0,Y1) CH1(Y2,Y3) Remark Input DOG point X4 X6 Left limit switch (M1307 = ON) X5 X7 The left limit switch is M1584 M1585 triggerred by a rising-edge signal or a falling-edge signal. (OFF: Rising-edge signal; ON: Falling-edge signal) (ES2/EX2/ES2-C V3.20 and above/SA2 V2.80 and above/SX2 V2.60 and above/SS2 V3.0 and above/SE V1.4 and above) Reverse pulse output direction M1305 M1306 Zero point selection M1106 M1107 Please refer to point 7 for the explanation.