
4.LADDER LANGUAGE B-63983EN/02
- 358 -
4.11.3 WINDR (Reading CNC Window Data: SUB 51)
This function reads various data items via the window between the
PMC and the CNC.
The "WINDR" is classified into two types. One type completes reading
a data during one scan time. Another type completes reading a data
during a few scan times. The former is called the function of a high-
speed response and the latter is called the function of a low-speed
response.
Format
Fig. 4.11.3 shows the ladder format and Table 4.11.3 shows the
mnemonic format.
CT
WINDR
SUB 51
¡¡¡¡
W1
Control data
address
Fig. 4.11.3 Format of WINDR instruction
Table 4.11.3 Mnemonic of WINDR instruction
Mnemonic format Status of operation result
Step
number
Instruction
Address
No.
Bit No. Remarks ST3 ST2 ST1 ST0
1RD ¡¡¡¡ .¡ ACT ACT
2 SUB 51 WINDR instruction
3(PRM) ¡¡¡¡ Control data address
4WRT ¡¡¡¡ .¡ Read completion W1
Control condition
ACT=0: The WINDR function is not executed.
ACT=1: The WINDR function is executed. Using the function of a
high-speed response, it is possible to read the data
continuously by always keeping ACT on. However, using the
function of a low-speed response, as soon as reading a data is
completed (W1=1), reset "ACT" once (ACT=0).