FX communication
x
4.2 Setting....................................................................................................................4-3
4.2.1 Setting the Station No. (D8176)................................................................................................4-3
4.2.2 Setting the Total Number of Slave Stations (D8177) ...............................................................4-3
4.2.3 Setting the Refresh Range (D8178)..........................................................................................4-4
4.2.4 Setting Retry Count (D8179).....................................................................................................4-5
4.2.5 Setting Comms Time-out (D8180) ............................................................................................4-5
4.2.6 Program Used for Setting ........................................................................................................4-6
4.3 Example Program..................................................................................................4-7
4.3.1 System Configuration ...............................................................................................................4-7
4.3.2 Operations ................................................................................................................................4-7
4.3.3 Example of Setting Program.....................................................................................................4-8
4.3.4 Example of Error Program .......................................................................................................4-8
4.3.5 Example of Operation Program ................................................................................................4-9
5. Parallel link.............................................................................................. 5-1
5.1 Related Flags and Data Registers ........................................................................5-1
5.2 Mode and Link Device ...........................................................................................5-2
5.2.1 Normal Mode (Special auxiliary relay M8162: OFF) ................................................................5-2
5.2.2 High Speed Mode (Special auxiliary relay M8162: ON) ...........................................................5-3
5.3 Example Program..................................................................................................5-4
5.3.1 Normal Mode ............................................................................................................................5-4
5.3.2 High Speed Mode .....................................................................................................................5-4
6. Communication format (D8120)..............................................................6-1
6.1 What Is Communication Format? ..........................................................................6-1
6.2 Related Flags and Data Registers.........................................................................6-1
6.2.1 Special Auxiliary Relays ...........................................................................................................6-1
6.2.2 Special Data Registers ............................................................................................................6-1
6.3 Communication Format (D8120) ..........................................................................6-2
6.4 Example of setting program...................................................................................6-3
7. Computer Link......................................................................................... 7-1
7.1 Data Flow by Link ..................................................................................................7-1
7.2 Information Needed Before Programming.............................................................7-3
7.2.1 Programmable Controller Operation.........................................................................................7-3
7.2.2 Computer Notes........................................................................................................................ 7-3
7.3 How to Read a Control Protocol Diagram..............................................................7-4
7.4 Basic Formats of Dedicated Protocol ....................................................................7-5
7.4.1 Control Protocol Format 1 ........................................................................................................7-6
7.4.2 Control Protocol Format 4.........................................................................................................7-7
7.4.3 Control Protocol Parts Explained.............................................................................................. 7-8
7.4.4 Time-out Check Time..............................................................................................................7-11
7.5 Communication Timing Chart ..............................................................................7-12
7.5.1 Reading Data from Programmable controller .........................................................................7-12
7.5.2 Writing Data to Programmable Controller...............................................................................7-12
7.5.3 Communication Time..............................................................................................................7-13
7.6 Character Area Data Transmission .....................................................................7-14
7.6.1 Bit Device Memory..................................................................................................................7-14
7.6.2 Word Device Memory .............................................................................................................7-15
7.7 Commands and Device Ranges..........................................................................7-16
7.7.1 Commands.............................................................................................................................. 7-16
7.7.2 Device specification ranges ....................................................................................................7-17
7.8 Example Computer Program for Loopback Test .................................................7-18