9.2
Precautions on Programming
The following explains precautions on the creation of a program:
Create a program that allows the detection of data-link status and interlocking with the device stations.
In addition, create an error-handling program.
[Program example]
Set the "Special Relay(SB)" of the master station to "SB0" and the "Special Register(SW)" to "SW0", with GX Works2.
When setting the special relay (SB) refresh device and special register (SW) refresh device to SB/SW respectively, make
sure that their device numbers do not duplicate with those used in other networks.
Module error
Module ready
Host data link status
Error-handling program
Station number 1 normal operation program
Station number 2 normal operation program
CHAPTER 9 DEDICATED INSTRUCTIONS AND PROGRAMMING
SW0080 to SW0083 (Other station data link status)
9
241