421
CHAPTER 11 PROGRAMMING
11
11.4 Using Link Special Relay (SB) and Link Special Register (SW)
(11)Checking the station number setting status of the own station
The station number setting status of the own station can be checked in the CC-Link IE Field Network diagnostics.
It can be also checked using link special relays (SBs) and a link special register (SW).
(a) Setting the station number in the network parameter window of GX Works2
1. Setting the station number turns off Station number setting status of the own station (SB0046) and
Station number status of the operating station (SB004F).
2. The station number of the own station is stored in Station number (SW0042).
(b) Setting the station number using the UINI instruction
1. When the module is powered on, the station number is not set. Therefore, Station number setting
status of the own station (SB0046) turns on. Station number status of the operating station
(SB004F) also turns on.
2. FF
H
is stored in Station number (SW0042).
3. Executing the UINI instruction to set the station number turns off Station number setting status of
the own station (SB0046).
4. The station number of the own station is stored in Station number (SW0042).
(12)Dedicated instructions
The following link special relays (SBs) and link special registers (SWs) are used for dedicated instructions.
( Page 236, CHAPTER 10)
(a) RECV instruction ( Page 294, Section 10.9)
1. When data are stored in the own station channel area, the corresponding RECV execution request
flag (SB0030 and SB0031) turns on.
Use the flag as a start contact and execute the RECV instruction.
After the completion of the RECV instruction, the flag is turned off.
Number Description Number Description
SB0046 Station number setting status of the own station SW0042 Station number
SB004F Station number status of the operating station
Number Description Number Description
SB0030 RECV execution request flag (1)
SB0031 RECV execution request flag (2)
SB0047 Baton pass status (own station)