Data transfer within the PLC
814
Part III FP Instructions
F4_GETS
Reading of the Numbers of the First WX and the First WY of the
Specified Slot
This instruction also exists as a P instruction (for FP2/2SH, FP3/5, FP10/10SH PLC types), which
is only executed at the rising edge of the EN trigger. Select [Insert P instruction] from the
"Instructions" pane if you require a P instruction. To facilitate reuse, the instruction then appears
under "Recently used" in the pop-up menu. Press <Ctrl>+<Shift>+<v> within the programming
area to open the list of recently used elements.
Double-click the I/O map configuration in the project navigator for the settings required.
PLC types Availability of F4_GETS (see page 1325)
Variable Data type Function
s_Slot Slot number from which the information is required
d_FirstWX Number of the first WX of the specified slot
d_FirstWY
ANY16
Number of the first WY of the specified slot
For Relay T/C Register Constant
s_Slot WX WY WR WL SV EV DT LD FL dec. or hex.
d_FirstWX WX WY WR WL SV EV DT LD FL
d_FirstWY - WY WR WL SV EV DT LD FL -
Description
The head word No. of the specified slot is read.
Example
Data types
Operands