3. Instruction Set
A. Normally, PLC only refreshes pulse output when the pulse instruction is executed. You can
use output pulse to check the pulse number but if the program is big, it may cause a bigger
different result in such a long scan.
B. When executing REF instruction with M1672-M1675, it can refresh the pulse output
immediately. And when REF instruction works with M1672-M1675 flags, it is only used to
refresh the pulse number not to refresh the actual inputs and outputs.
C. Refer to program example 5 for reference.
8. The function to update pulse number immediately is available for EC5: V1.00 and later.
Output Device Y0 Y2 Y4 Y6
Refresh current
position of output
M1672 M
1674 M1676 M1677
Pulse output number D1030/D1031 D1336/D1337 D1375/D1376 D1377/D1378
Program Example 1:
When X0 = ON, PLC will refresh the status of input points X0 ~ X7 immediately without delay.
Program Example 2:
When X0 = ON, the 4 output signals on Y0 ~ Y3 will be sent to output terminals immediately before
the program proceeds to END instruction.
Program Example 3:
When X0 = ON, I/O points starting from X10 or Y4 will all be refreshed.
X0
REF X10 K8
X0
REF Y4 K8
或