9
PROGRAMMING
This chapter describes program examples of CC-Link IE Field Network Basic.
For the program example of the general-purpose Ethernet, refer to the following.
MELSEC iQ-F FX5 User's Manual (Ethernet Communication)
9.1
Interlock Programs of Cyclic Transmission
When creating a cyclic transmission program, configure an interlock such that the processing is performed when normal cyclic
transmission between the master station and remote stations is performed.
Program using labels
A program using labels is provided below.
Labels used in the program
Classification
Label name
Module label
FX5ENET_1.bnSts_uval_Various_states_D[0]
FX5ENET_1.bnSts_CyclicTransmission_Station_D[1]
FX5ENET_1.bnSts_CyclicTransmission_Station_D[2]
Label to be
Define global labels as shown below.
defined
Description
Cyclic transmission status
Cyclic transmission status of each
station (station No.1)
Cyclic transmission status of each
station (station No.2)
9 PROGRAMMING
9.1 Interlock Programs of Cyclic Transmission
9
Device
U1\G4160.b0
U1\G4100.b0
U1\G4100.b1
93