195
SECTION 6
Serial Gateway
This section provides an overview of the Serial Gateway, information on I/O memory allocations, and procedures for using
the functions. Information on protocol conversion, routing table requirements, and communications frames is also
provided. The Serial Gateway can be used only for Unit Ver. 1.2 or later.
6-1 Serial Gateway Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
6-1-1 Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
6-1-2 Operating Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
6-1-3 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
6-1-4 Serial Gateway Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
6-2 DM Area Allocations (Using Serial Gateway Mode) . . . . . . . . . . . . . . . . . . . 201
6-3 Auxiliary Area and CIO Area in Serial Gateway Mode . . . . . . . . . . . . . . . . . 204
6-4 Using the Serial Gateway . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
6-5 Protocol Conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212
6-5-1 Types of Protocol Conversion. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212
6-5-2 Converting FINS to CompoWay/F . . . . . . . . . . . . . . . . . . . . . . . . . . 212
6-5-3 CompoWay/F Connection Examples . . . . . . . . . . . . . . . . . . . . . . . . 216
6-5-4 Converting FINS to Modbus-RTU . . . . . . . . . . . . . . . . . . . . . . . . . . 217
6-5-5 Converting from FINS to Modbus-ASCII . . . . . . . . . . . . . . . . . . . . 220
6-5-6 Converting from FINS to Host Link FINS . . . . . . . . . . . . . . . . . . . . 221
6-6 Serial Gateway . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226
6-6-1 Serial Gateway Execution Timing for Protocol Macros. . . . . . . . . . 226
6-6-2 Serial Gateway Timeout Monitoring . . . . . . . . . . . . . . . . . . . . . . . . 228
6-6-3 Other Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230
6-7 Conditions Requiring Routing Tables. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230
6-7-1 Treating Serial Communications Paths as Networks . . . . . . . . . . . . 230
6-7-2 Using a PLC as the Target . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231
6-7-3 Using a non-PLC Component as the Target . . . . . . . . . . . . . . . . . . . 233
6-7-4 Explanation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
6-8 Communications Frames. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
6-8-1 CompoWay/F . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
6-8-2 Modbus-RTU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
6-8-3 Modbus-ASCII . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
6-8-4 Host Link FINS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240
6-8-5 Sending Commands Using the CMND(490) Instruction . . . . . . . . . 241