Download FX2N-16CCL-M CC-Link SYSTEM MASTER BLOCK USER`S
Transcript
FX2N-16CCL-M CC-Link System Master Block 5.10 Functions 5 Data Link Stop/Restart This function stops and restarts the data link in the host station. When the data link is stopped in the master station, the data link is stopped in the entire system. 1) The following link special relays are used in programs: SB0000: Request for data link restart SB0002: Request for data link stop SB0041: Completion of data link restart SB0045: Completion of data link stop 2) The figure below shows a program example to stop/restart the data link. 1) Relationship between the PLC and the master station PLC Master station TO M15 ~ M0 M35 ~ M20 FROM 5E0H Link special relay (SB) SB000F ~ SB0000 5E4H SB004F ~ SB0040 2) Program example M8000 FROM K0 K1 Reads the status of SB0040 to SB004F. SET M2 Turns ON M2 (SB0002) (data link stop). RST M2 Turns OFF M2 (SB0002) (data link stop). SET M0 Turns ON M0 (SB0000) (data link restart). RST M0 Turns OFF M0 (SB0000) (data link restart). K4M0 K1 Writes to SB0000 to SB000F. H05E4 K4M20 RUN monitor Stop command Data link stop M25(SB0045) Restart command Data link restart M21(SB0041) M8000 TO K0 H05E0 RUN monitor Point When you have stopped the data link using SB0002, make sure to start up the data link using SB0000. 5-19