• Read the "FC6A Series MicroSmart All-in-One Type Communication Manual" to ensure correct operation before starting installation, wiring,
operation, maintenance, and inspection of the FC6A Series MicroSmart.
• All FC6A Series MicroSmart modules are manufactured under IDEC’s rigorous quality control system, but users must add a backup or failsafe
provision to the control system when using the FC6A Series MicroSmart in applications where heavy damage or personal injury may be caused,
in case the FC6A Series MicroSmart should fail.
• In this manual, safety precautions are categorized in order of importance:
Warning notices are used to emphasize that improper operation may cause severe personal injury or death.
• The FC6A Series MicroSmart is not designed for use in applications requiring a high degree of reliability and safety. The FC6A Series MicroSmart
should not be used for such applications.
• When using the FC6A Series MicroSmart in applications (not described above) that require a high degree of reliability in terms of functionality
and precision, appropriate measures such as failsafe mechanisms and redundant mechanisms must be taken for the system containing the
FC6A Series MicroSmart. The following are specific examples.
• Emergency stop and interlocking circuits must be configured outside the FC6A Series MicroSmart.
• If relays or transistors in the FC6A Series MicroSmart output circuits should fail, outputs may remain at on or off state. For output signals
which may cause serious accidents, configure monitor circuits outside the FC6A Series MicroSmart.
• The FC6A Series MicroSmart self-diagnostic function may detect internal circuit or program errors, stop programs, and turn outputs off.
Configure circuits so that the system containing the FC6A Series MicroSmart is not jeopardized when outputs turn off.
• Turn off power to the FC6A Series MicroSmart before installation, removal, wiring, maintenance, and inspection of the FC6A Series MicroSmart.
Failure to turn power off may cause electrical shocks or fire hazard.
• Special expertise is required to install, wire, program, and operate the FC6A Series MicroSmart. People without such expertise must not use the
FC6A Series MicroSmart.
• Install the FC6A Series MicroSmart according to the instructions described in the "FC6A Series MicroSmart All-in-One Type User’s Manual".
Improper installation will result in falling, failure, or malfunction of the FC6A Series MicroSmart.
Caution notices are used where inattention might cause personal injury or damage to equipment.
• The FC6A Series MicroSmart is designed for installation in a cabinet. Do not install the FC6A Series MicroSmart outside a cabinet.
• Install the FC6A Series MicroSmart in e nvironments described in the "FC6A Series MicroSmart All-in-One Type Us er’s Manual". If the FC6A Series
MicroSmart is used in places where the FC6A Series MicroSmart is subjected to high-temperature, high-humidity, condensation, corrosive gases,
excessive vibrations, or excessive shocks, then electrical shocks, fire hazard, or malfunction will result.
• The environment for using the FC6A Series MicroSmart is "Pollution degree 2." Use the FC6A Series MicroSmart in environments of pollution
degree 2 (according to IEC 60664-1).
• Prevent the FC6A Series MicroSmart from falling while moving or transporting the FC6A Series MicroSmart, otherwise damage or malfunction of
the FC6A Series MicroSmart will result.
• Wiring must use lead sizes that are appropriate for the applied voltage and current. Terminal screws must be tightened with the prescribed
tightening torque.
• Prevent metal fragments and pieces of wire from dropping inside the FC6A Series MicroSmart housing. Put a cover on the FC6A Series
MicroSmart modules during installation and wiring. Ingress of such fragments and chips may cause fire hazard, damage, or malfunction.
• Use a power supply of the rated value. Use of a wrong power supply may cause fire hazard.
• Use an IEC 60127-approved fuse on the power line outside the FC6A Series MicroSmart. This is required when equipment containing the FC6A
Series MicroSmart is destined for Europe.
• Use an IEC 60127-approved fuse on the output circuit. This is required when equipment containing the FC6A Series MicroSmart is destined for
Europe.
• Use an EU-approved circuit breaker. This is required when equipment containing the FC6A Series MicroSmart is destined for Europe.
• Make sure of safety before starting and stopping the FC6A Series MicroSmart or when operating the FC6A Series MicroSmart to force outputs on
or off. Incorrect operation of the FC6A Series MicroSmart may cause machine damage or accidents.
• Do not connect the ground wire directly to the FC6A Series MicroSmart. Connect a protective ground to the cabinet containing the FC6A Series
MicroSmart using an M4 or larger screw. This is required when equipment containing the FC6A Series MicroSmart is destined for Europe.
• Do not disassemble, repair, or modify the FC6A Series MicroSmart modules.
• The FC6A Series MicroSmart contains electronic parts and batteries. When disposing of the FC6A Series
MicroSmart, do so in accordance with national and local regulations.
Preface-1FC6A S
ERIES MICROSMART ALL-IN-ONE TYPE COMMUNICATION MANUAL
FC9Y-B1730
ABOUT THIS MANUAL
This manual describes functions, specifications, installation, and operation basics of the FC6A Series MicroSmart. Also included is
information on the powerful communications tools of the FC6A Series MicroSmart, as well as troubleshooting procedures.
Chapter 1: General Information
General information about the FC6A Series MicroSmart with communication interfaces.
Chapter 2: Devices
Descriptions of the allocations of devices such as inputs, outputs, internal relays, registers, timers, and counters that are used in
the basic and advanced instructions, as well as details about the allocations of special internal relays and special data registers for
communication functions.
Chapter 3: Communication Settings
Functions for the FC6A Series MicroSmart communication, how to configure them, and examples of their use.
Chapter 4 through Chapter 8:
Various communication functions such as maintenance communication, user communication, Modbus communication, data link
communication and J1939 communication.
Chapter 9: PING Instruction
Descriptions of the PING instruction that sends a ping packet to the specified remote host to check if communication is possible at
the Internet Protocol (IP) layer.
Chanpter 10: Send E-mail Function
Descriptions of the EMAIL instruction that sends preregistered e-mails.
Chanpter 11: Web Server
Description of the Web server functions in the FC6A Series MicroSmart.
Index
Alphabetical listing of key words.
Publication history
December 2015First Edition
February 2016Second Edition
April 2016Third Edition
March 2017Fourth Edition
Trademarks
FC6A Series MicroSmart is a trademark of IDEC Corporation.
FC6A S
ERIES MICROSMART ALL-IN-ONE TYPE COMMUNICATION MANUAL
FC9Y-B1730Preface-2
Regarding laws and compatible standards
IMPORTANT INFORMATION
Under no circumstances shall IDEC Corporation be held liable or responsible for indirect or consequential damages resulting from
the use of or the application of IDEC PLC components, individually or in combination with other equipment.
All persons using these components must be willing to accept responsibility for choosing the correct component to suit their
application and for choosing an application appropriate for the component, individually or in combination with other equipment.
All diagrams and examples in this manual are for illustrative purposes only. In no way does including these diagrams and
examples in this manual constitute a guarantee as to their suitability for any specific application. To test and approve all
programs, prior to installation, is the responsibility of the end user.
This product adheres to the laws and compatible standards of all countries involved, as shown below.
European laws and standards
This product complies with the following EU directives.
• Low Voltage Directive
• EMC Directive
To comply with these directives, this product has been designed and evaluated on the basis of the following international and
European standard.
• IEC/EN 61131-2: 2007
For details on the compatible standards and EU Directives, contact the distributor from which you purchased this product or visit our web site.
North America laws and standards
This product complies with the following standards.
• UL508
• CSA C22.2 No.142
• ANSI/ISA 12,12,01
• CAN/CSA C22.2 No.213
*1 Certain FC6A Series MicroSmart models are not compatible. For details, please contact IDEC Corporation.
For details on compatible standards and EU directives, please contact the dealer where purchased or check the IDEC website.
*1
*1
Preface-3FC6A S
ERIES MICROSMART ALL-IN-ONE TYPE COMMUNICATION MANUAL
FC9Y-B1730
RELATED MANUALS
The following manuals related to the FC6A Series MicroSmart are available. Refer to them in conjunction with this manual.
Type No.Manual NameDescription
Describes product specifications, installation and wiring instructions, instructions for
FC9Y-B1722
FC9Y-B1726
FC9Y-B1730
FC9Y-B1734
WindLDR Help
FC6A Series MicroSmart
All-in-One Type User’s Manual
FC6A Series MicroSmart
LAD Programming Manual
FC6A Series MicroSmart
All-in-One Type Communication
Manual (this manual)
FC6A Series MicroSmart
PID Module User's Manual
basic programming operations and special functions, device and instruction lists,
communication functions, and troubleshooting procedures for the FC6A Series
MicroSmart series.
Describes basic operations for programming with ladders on the FC6A Series
MicroSmart, monitoring methods, device and instruction lists, and details of each
instruction.
Describes specifications related to FC6A Series MicroSmart communication,
descriptions of functions, configuration methods, and usage examples.
Describes PID module specifications and functions.
Describes usage instructions for WindLDR, programming software for the FC6A
Series MicroSmart series.
FC6A S
ERIES MICROSMART ALL-IN-ONE TYPE COMMUNICATION MANUAL
FC9Y-B1730Preface-4
NAMESAND ABBREVIATIONS USEDINTHIS MANUAL
Model Names
Name Used in This ManualType Number, Part Code, or Official Name
The general term for the model with 16 I/O points
(FC6A-C16R1AE, FC6A-C16R1CE, FC6A-C16K1CE, FC6A-C16P1CE)
The general term for the model with 24 I/O points
(FC6A-C24R1AE, FC6A-C24R1CE, FC6A-C24K1CE, FC6A-C24P1CE)
The general term for the model with 40 I/O points
(FC6A-C40R1AE, FC6A-C40R1CE, FC6A-C40K1CE, FC6A-C40P1CE,
FC6A-C40R1DE, FC6A-C40R1DE, FC6A-C40K1DE, FC6A-C40P1DE,
FC6A-C40R1AEJ, FC6A-C40R1CEJ, FC6A-C40K1CEJ, FC6A-C40P1CEJ,
FC6A-C40R1DEJ, FC6A-C40K1DEJ, FC6A-C40P1DEJ)
About This Manual............................................................................................................................. Preface-2
Related Manuals................................................................................................................................ Preface-4
Names and Abbreviations Used in this Manual ..................................................................................... Preface-5
User Communication.................................................................................................................................... 1-6
Modbus Communication ............................................................................................................................... 1-7
Data Link System ........................................................................................................................................ 1-7
Using J1939 Communication ........................................................................................................................ 1-8
Special Internal Relay .................................................................................................................................. 2-3
Special Data Register ...................................................................................................................................2-9
Setting List ................................................................................................................................................. 3-1
Communication Port Settings........................................................................................................................ 3-2
Remote Host List ....................................................................................................................................... 3-16
C
HAPTER
C
HAPTER
C
HAPTER
4:Maintenance Communication
Maintenance Communication via USB Port.....................................................................................................4-3
Maintenance Communication via Port 1 ......................................................................................................... 4-4
Maintenance Communication via Ethernet Port 1 ........................................................................................... 4-6
Maintenance Communication via a Communication Cartridge (Port 2, Port 3) ................................................. 4-11
Maintenance Communication via HMI-Ethernet port ..................................................................................... 4-13
ETXD (User Communication Transmit over Ethernet) ................................................................................... 5-23
ERXD (User Communication Receive over Ethernet) ..................................................................................... 5-23
User Communication via Serial Communication ............................................................................................ 5-24
User Communication via Ethernet Communication ....................................................................................... 5-35
User Communication Error ......................................................................................................................... 5-43
ASCII Character Code Table ....................................................................................................................... 5-44
Sample Program – User Communication TXD............................................................................................... 5-45
Sample Program – User Communication RXD .............................................................................................. 5-47
6:Modbus Communication
Modbus RTU Communication via RS232C/RS485............................................................................................6-1
Modbus RTU Master Communication .............................................................................................................6-2
Modbus RTU Slave Communication ............................................................................................................... 6-8
Communication Format .............................................................................................................................. 6-12
Modbus TCP Communication via Ethernet Communication ............................................................................ 6-18
Modbus TCP Server ................................................................................................................................... 6-24
Modbus RTU Pass-Through Function ........................................................................................................... 6-27
C
HAPTER
7:Data Link Communication
Data Link System Setup ............................................................................................................................... 7-2
Data Link with Other PLCs.......................................................................................................................... 7-10
FC6A S
ERIES MICROSMART ALL-IN-ONE TYPE COMMUNICATION MANUAL
FC9Y-B1730Preface-6
T
ABLE OF CONTENTS
C
HAPTER
C
HAPTER
C
HAPTER
C
HAPTER
I
NDEX
8:J1939 Communication
9:Send PING Function
10:Send E-mail Function
11:Web Server
Overview of J1939 Communication over CAN ................................................................................................ 8-1
J1939 Communication Settings .................................................................................................................... 8-7
E-mail Address Book ..................................................................................................................................10-8
System Web Page ......................................................................................................................................11-8
User Web Pages ...................................................................................................................................... 11-12
Preface-7FC6A S
ERIES MICROSMART ALL-IN-ONE TYPE COMMUNICATION MANUAL
FC9Y-B1730
1:G
ENERAL INFORMATION
Introduction
This chapter describes an overview of the FC6A Series MicroSmart, which is equipped with a communication interface.
Description
The FC6A Series MicroSmart can perform RS232C and RS485 communication using serial port 1. The communication ports can be
expanded by using communication cartridges to allow for multiple instances of RS232C and RS485 communication. The Ethernet
port is standard equipment to enable communication using Ethernet. Also, the Ethernet port can be expanded by using an HMI
module. The CAN J1939 All-in-One Type is equipped with a CAN port to enable J1939 communication.
Communication Interfaces
An overview and the specifications of the communication interfaces are shown below.
USB Port
Maintenance communication can be performed by using this port to connect to a computer.
Communication TypeUSB2.0 Full speed, CDC class
Communication FunctionsCapable of maintenance communication with a PC, program downloads via USB power
ConnectorUSB mini-B
Isolation between Internal CircuitNot isolated
Serial Port 1
This port can be used to communicate with RS232C/RS485 communication-compatible external devices such as computers,
operator interfaces, and printers.
Maintenance communication, user communication, Modbus RTU communication (master/slave), and data link communication
(master station/slave station) are possible.
Communication TypeEIA RS-232C or RS-485 software selectable
Maximum Communication Speed115,200 bps
Communication Functions
ConnectorRJ45
Cable
Maximum Cable Length
Isolation between Internal CircuitNot isolated
Maintenance communication, user communication, Modbus RTU communication, data link
communication
This port can be used to communicate with Ethernet communication-compatible external devices such as computers and operator
interfaces.
This port has eight connections that can be used with Ethernet communication. Each of these connections can simultaneously use
a different communication protocol. Each connection can be configured for maintenance communication (server), user
communication (server/client), or Modbus TCP communication (server/client).
Communication TypeIEEE 802.3 compliant
Communication Speed10BASE-T, 100BASE-TX
Number of Connections8 maximum
Communication FunctionsMaintenance communication, user communication, Modbus TCP server/client
ConnectorRJ45
CableCAT 5. STP
Maximum Cable Length100 m
Isolation between Internal CircuitPulse transformer isolated
FC6A S
ERIES MICROSMART ALL-IN-ONE TYPE COMMUNICATION MANUAL
FC9Y-B17301-1
1: G
ENERAL INFORMATION
Communication Cartridge
The communication cartridges can only be used when connected to cartridge slots 1 and 2 of the CPU module.
This port can be used to communicate with RS232C/RS485 communication-compatible external devices such as computers,
operator interfaces, and printers. Maintenance communication, user communication, Modbus RTU communication (master/slave),
and data link communication (master station/slave station) are possible.
Type No.FC6A-PC1FC6A-PC3
Electrical CharacteristicsEIA RS232CEIA RS485
Maximum Communication Speed115,200 bps115,200 bps
Communication FunctionsMaintenance communication, user communication, Modbus communication, data link communication
Maximum Cable Length5 m200 m
Isolation between Internal CircuitNot isolatedNot isolated
The CAN J1939 All-in-One Type can use this port to perform J1939 communication.
Communication TypeCAN bus communication
Communication Speed250 kbps
Communication FunctionsJ1939 communication
ConnectorFC6A-PMTE05PN02
Cable
Maximum Cable Length
Terminating Resistance120 Ω (0.5 W or higher)
Isolation between Internal Circuit
SAE-J1939-11: Shielded twisted-pair
SAE-J1939-15: Unshielded twisted-pair
SAE-J1939-11: 40 m, stub 1 m maximum
SAE-J1939-15: 40 m, stub 3 m maximum
Power supply: Transformer isolated
Signal:Galvanic isolation, photocoupler isolated
HMI-Ethernet Port
The HMI-Ethernet port can only be used when a CPU module and an HMI module are connected.
This port can be used to communicate with Ethernet communication-compatible external devices such as computers and operator
interfaces.
This port has eight connections that can be used with Ethernet communication. Each connection can be configured for
maintenance communication (server).
This port also supports the web server function and the send E-mail function.
Communication TypeIEEE 802.3 compliant
Communication Speed10BASE-T, 100BASE-TX
Number of Connections8 maximum
Communication ModeMaintenance Communication
Web Server FunctionYes
Web Data StorageFROM
Web Data
Capacity
Send E-mail FunctionYes
ConnectorRJ45
CableCAT 5. STP or higher
Maximum Cable Length100 m
Isolation between Internal CircuitPulse transformer isolated
System Web PageUsedUsedNot usedNot used
Web Page EditorUsedNot usedUsedNot used
Area Available to User 2.5 MB4.5 MB3.0 MB5.0 MB
Caution
• When accessing the FC6A Series MicroSmart over the Internet, adequate security measures for the network to prevent
unauthorized access are required. Be sure to consult your network administrator or Internet service provider. IDEC bears
no responsibility for damages or problems caused due to security in Ethernet communication.
• Restrict the access to FC6A Series MicroSmart with IP addresses and ports by using appropriate measures such as the
firewall.
1-2FC6A S
ERIES MICROSMART ALL-IN-ONE TYPE COMMUNICATION MANUAL
FC9Y-B1730
1: G
ENERAL INFORMATION
List of CPU Modules and Communication Interfaces
The following are the communication interfaces that the CPU modules are equipped with or can be expanded with.
For the locations of the communication interfaces in each module, see Chapter 2 "Product Specifications" in the "FC6A Series
MicroSmart All-in-One Type User's Manual".
Type No.USB PortSerial Port 1Ethernet Port 1
FC6A-C16R1AE
FC6A-C16R1CE
FC6A-C16K1CE
FC6A-C16P1CE
FC6A-C24R1AE
FC6A-C24R1CE
FC6A-C24K1CE
FC6A-C24P1CE
FC6A-C40R1AE
FC6A-C40R1CE
FC6A-C40K1CE
FC6A-C40P1CE
FC6A-C40R1DE
FC6A-C40K1DE
FC6A-C40P1DE
FC6A-C40R1AEJ
FC6A-C40R1CEJ
FC6A-C40K1CEJ
FC6A-C40P1CEJ
FC6A-C40R1DEJ
FC6A-C40K1DEJ
FC6A-C40P1DEJ
*1 The communication cartridges can only be used when connected to cartridge slots 1 and 2 of the CPU module.
*2 The HMI-Ethernet port can only be used when a CPU module and an HMI module are connected.
1
1
1
—1
Communication
Cartridge
1 maximum
2 maximum
*1
CAN PortHMI-Ethernet Port
—
*2
1 maximum
FC6A S
ERIES MICROSMART ALL-IN-ONE TYPE COMMUNICATION MANUAL
FC9Y-B17301-3
1: G
ENERAL INFORMATION
Communication Ports, Serial Port 1, Cartridge Slot 1 and 2 Corresponding Table
The communication ports that are used in serial communication support the following communication interfaces.
Type No.
Port 1Port 2Port 3
Serial Port
FC6A-C16R1AE
FC6A-C16R1CE
FC6A-C16K1CE
FC6A-C16P1CE
FC6A-C24R1AE
No supported communication
interface
FC6A-C24R1CE
FC6A-C24K1CE
FC6A-C24P1CE
Serial Port 1
*1
FC6A-C40R1AE
FC6A-C40R1CE
FC6A-C40K1CE
FC6A-C40P1CE
Cartridge Slot 1
communication cartridge*2
*4
FC6A-C40R1DE
FC6A-C40K1DE
FC6A-C40P1DE
FC6A-C40R1AEJ
Cartridge Slot 2
communication cartridge*3
*4
FC6A-C40R1CEJ
FC6A-C40K1CEJ
FC6A-C40P1CEJ
FC6A-C40R1DEJ
No supported communication
interface
FC6A-C40K1DEJ
FC6A-C40P1DEJ
*1 Can be used as port 1 for RS232C communication or RS485 communication.
To use, configure the interface under Communication Port in Function Area Settings.
*2 Can be used as port 2 by installing the RS232C communication cartridge (FC6A-PC1) or the RS485 communication cartridge (FC6A-PC3).
*3 Can be used as port 3 by installing the RS232C communication cartridge (FC6A-PC1) or the RS485 communication cartridge (FC6A-PC3).
*4 Cannot be set to "Data Bits: 7 bits" and "Parity: None".
Notes:
• For the locations of serial port 1, cartridge slot 1, and cartridge slot 2, see Chapter 2 "Parts Description" in the "FC6A Series MicroSmart All-
in-One Type User’s Manual".
• For serial port 1 wiring, see Chapter 2 "Other Inputs and Ports" in the "FC6A Series MicroSmart All-in-One Type User’s Manual". For
communication cartridge wiring, see Chapter 2 "Terminal Arrangement and Wiring Examples" in the "FC6A Series MicroSmart All-in-One Type
User’s Manual".
1-4FC6A S
ERIES MICROSMART ALL-IN-ONE TYPE COMMUNICATION MANUAL
FC9Y-B1730
1: G
FC6A Series MicroSmart
Windows Computer
USB Port
(USB 2.0 Mini-B Connector)
USB Cable
HG9Z-XCM42 USB Maintenance Cable
Type A PlugMini-B Plug
USB Port
O/I Communication Cable: FC6A-KC2C
(D-sub 9-pin connector style, cable length: 5 m)
Operator Interface
FC6A Series MicroSmart
Serial Communication Port
(RS232C)
Serial Port 1
(Port 1)
ENERAL INFORMATION
Communication Functions Overview
The FC6A Series MicroSmart supports maintenance communication, user communication, Modbus communication, data link
communication, and J1939 communication functions.
This section describes an overview of and connection examples for the communication functions.
Maintenance Communication
The maintenance communication of the FC6A Series MicroSmart enables you to check the operating status and I/O status of the
FC6A Series MicroSmart, monitor and change device values, and download and upload user programs with the PLC programming
software WindLDR installed on a computer. For details on maintenance communication, see "Maintenance Communication" on
page 4-1.
Supported ports
*1
USB PortSerial Port 1Ethernet Port 1
YesYesYesYesNoYes
*1 Depending on the port that will be used, there are restrictions on the maintenance communication methods that can be used. For details on the
restrictions, see the "Maintenance Communication" on page 4-1.
Note: When an HMI module is connected, maintenance communication can be performed by using the HMI-Ethernet port. For details, see Chapter
7 "HMI Function" in "FC6A Series MicroSmart All-in-One Type User’s Manual".
Communication
Cartridge
CAN Port
HMI-Ethernet
Port
■ 1:1 Maintenance Communication System
This example shows a 1:1 maintenance communication system in which a FC6A Series MicroSmart and a computer are connected
with USB. The USB maintenance cable (HG9Z-XCM42) is used.
■ 1:1 Maintenance Communication Example with an IDEC Operator Interface Using Serial Port 1
This example shows maintenance communication between the FC6A Series MicroSmart and an operator interface, as well as
monitoring and changing FC6A Series MicroSmart device values using the operator interface. An IDEC operator interface is
connected to serial port 1 of the FC6A Series MicroSmart.
*1 For details on O/I communication cables, see Appendix "Cables" in the "FC6A Series MicroSmart All-in-One Type User’s Manual".
FC6A S
ERIES MICROSMART ALL-IN-ONE TYPE COMMUNICATION MANUAL
FC9Y-B17301-5
1: G
Windows Computer
FC6A Series MicroSmartFC6A Series MicroSmartFC6A Series MicroSmart
Ethernet Hub
Ethernet Port 1Ethernet Port 1Ethernet Port 1
Serial Port 1
(Port 1)
Barcode Reader
FC6A Series MicroSmart
ENERAL INFORMATION
■ 1:N Maintenance Communication System
This example shows a 1:N maintenance communication system in which three FC6A Series MicroSmart and a computer are
connected over Ethernet. The Ethernet cables are connected to the Ethernet port 1 of three FC6A Series MicroSmart, and those
FC6A Series MicroSmart are connected to the computer via an Ethernet hub.
User Communication
The user communication of the FC6A Series MicroSmart enables you to control external devices such as computers, printers, and
barcode readers. For details on user communication, see "User Communication Instructions" on page 5-1.
Supported ports
USB PortSerial Port 1Ethernet Port 1
■ User Communication Using Serial Port 1
This example shows a system in which a FC6A Series MicroSmart receives the data read by a barcode reader. A barcode reader is
connected to port 1 of the FC6A Series MicroSmart.
Communication
Cartridge
NoYe sYesYesN oNo
CAN Port
HMI-Ethernet
Port
1-6FC6A S
ERIES MICROSMART ALL-IN-ONE TYPE COMMUNICATION MANUAL
FC9Y-B1730
1: G
INVERTER
RUN
RVS
ALM
COM
Temperature Controller
Inverter
Serial Port 1
(Port 1)
FC6A Series MicroSmart
FC6A Series MicroSmart
(Slave Station 1)
FC6A Series MicroSmart
(Slave Station 31)
Serial Port 1
(Port 1)
FC6A Series MicroSmart
(Master Station)
ENERAL INFORMATION
Modbus Communication
The FC6A Series MicroSmart is compliant with Modbus RTU protocol and can be used as either a Modbus communication master or
slave. With Modbus communication, the FC6A Series MicroSmart can monitor and modify the data of inverters and temperature
controllers.
For details on Modbus communication, see "Modbus Communication" on page 6-1.
Supported ports
USB PortSerial Port 1Ethernet Port 1
Communication
Cartridge
CAN Port
HMI-Ethernet
Port
NoYe sYesYesN oNo
■ Modbus RTU Communication Using Serial Port 1
This example shows a system in which a FC6A Series MicroSmart is communicating with a temperature controller and an inverter
that support Modbus RTU. The A temperature controller is connected to port 1 of the FC6A Series MicroSmart.
Data Link System
The FC6A Series MicroSmart supports data link communication, and it can share data between CPU modules using serial port 1
and cartridge slots. The FC6A Series MicroSmart can also share data with FC5A Series and FC4A Series CPU modules. Configure
the settings in WindLDR to enable distributed control of a maximum of 31 CPU modules.
For details about the data link communication, see "Data Link Communication" on page 7-1.
Supported ports
■ Data Link Communication Using Serial Port 1
This example shows communication between multiple CPU modules with the FC6A Series MicroSmart as the master station. A
slave station CPU module is connected to port 1 of the FC6A Series MicroSmart.
USB PortSerial Port 1Ethernet Port 1
Communication
Cartridge
CAN Port
NoYesNoYesNoNo
FC6A S
ERIES MICROSMART ALL-IN-ONE TYPE COMMUNICATION MANUAL
FC9Y-B17301-7
HMI-Ethernet
Port
1: G
Engine
FC6A Series MicroSmart
(CAN J1939 All-in-One Type)
CAN Port
CAN
ENERAL INFORMATION
Using J1939 Communication
The CAN J1939 All-in-One Type can be connected to a J1939 communication network using the CAN port and it can communicate
with other J1939 communication-compatible devices. Messages that conform to the SAE J1939 standard can be sent and received.
For details on J1939 communication, see "J1939 Communication" on page 8-1.
Supported ports
USB PortSerial Port 1Ethernet Port 1
NoNoNoNoYesNo
Communication
Cartridge
CAN Port
HMI-Ethernet
Port
■ CAN Port Usage Example
This example shows the FC6A Series MicroSmart communicating with a J1939-compatible engine. The CAN port of the CAN J1939
All-in-One Type is connected to the engine.
1-8FC6A S
ERIES MICROSMART ALL-IN-ONE TYPE COMMUNICATION MANUAL
FC9Y-B1730
2:D
EVICE
This chapter provides detailed descriptions of the allocations of devices such as inputs, outputs, internal relays, registers, timers,
and counters that are used in the basic and advanced instructions, as well as details about the allocations of special internal relays
and special data registers.
Please use this chapter as a reference when entering and editing devices in the user program.
Note: The entry and operation of FC6A Series MicroSmart user programs requires specialist knowledge.
Take the time to develop a thorough understanding of the contents and programs in this manual before using the FC6A Series MicroSmart.
Device Addresses
DeviceSymbolUnit
*1
Inputs
Expansion Input Relays
*1
Output
Expansion Outputs
Internal Relay
Special Internal Relay
Shift RegisterRBit
TimerTBit/Word
CounterCBit/Word
Data RegisterDBit/Word
Special Data RegisterDBit/Word
*1 The least significant digit of the device address is an octal number (0 to 7).
*2 I190 to I507 and Q190 to Q507 are devices that can only be used when an expansion module (expansion interface side) is connected using the
expansion interface module.
*3 I310 to I627 and Q310 to Q627 are devices that can only be used when an expansion module (expansion interface side) is connected using the
expansion interface module.
*1
*1
*1*3
*1
IBit
IBit
QBit
QBit
MBit
MBit
16-I/O Type24-I/O Type40-I/O Type
I0 - I10
(9 points)
I30 - I187
(128 points)
I190 - I507
(256 points)
(7 points)
Q30 - Q187
(128 points)
Q190 - Q507
(256 points)
*2
Q0 - Q6
*2
Range (Points)
I0 - I15
(14 points)
(224 points)
I310 - I627
(256 points)
Q0 - Q11
(10 points)
Q30 - Q307
(224 points)
Q310 - Q627
(256 points)
M0 - M7997
(6,400 points)
M10000 - M17497
(6,000 points)
M8000 - M8317
(256 points)
R0 - R255
(256 points)
T0 - T1023
(1,024 points)
C0 - C511
(512 points)
D0000 - D7999
(8,000 points)
D10000 to D55999
(46,000 points)
D8000 - D8499
(500 points)
I0 - I27
(24 points)
I30 - I307
*3
Q0 - Q17
(16 points)
*3
FC6A S
ERIES MICROSMART ALL-IN-ONE TYPE COMMUNICATION MANUAL
FC9Y-B17302-1
2: D
EVICE
■ Inputs (I), Expansion Inputs (I)
Devices that input on/off information from external devices to the FC6A Series MicroSmart.
■ Outputs (Q), Expansion Outputs (Q)
Devices that output on/off information from the FC6A Series MicroSmart to external devices.
■ Internal Relays (M)
Bit devices used internally on the FC6A Series MicroSmart.
■ Special Internal Relays (M)
Bit devices used internally on the FC6A Series MicroSmart. Special functions are assigned to each bit.
■ Shift Registers (R)
Bit devices that are used with the SFR instruction and the SFRN instruction. The bit sequence of the data is shifted according to
pulse input.
■ Timer (T)
Timers used internally in the FC6A Series MicroSmart. There are three devices: Timer bits (symbol: T, unit: bit), timer preset
values (symbol: TP, unit: word), and timer current values (symbol: TC, unit: word).
These can be used as an on-delay timer or an off-delay timer. For details on timers (T), see Chapter 3 "Using Timer or Counter
as Source Device" in the "FC6A Series MicroSmart LAD Programming Manual".
■ Counters (C)
Counters used internally in the FC6A Series MicroSmart. There are three devices: Counter bits (symbol: C, unit: bit), counter
preset values (symbol: CP, unit: word), and counter current values (symbol: CC, unit: word). These can be used as an adding
counter or a reversible counter. For details on counters (C), see Chapter 3 "Using Timer or Counter as Source Device" in the
"FC6A Series MicroSmart LAD Programming Manual".
■ Data Registers (D)
Word devices that are used for writing numerical data internally in the FC6A Series MicroSmart. These can also be used as bit
devices.
■ Special Data Registers (D)
Word devices that are used for writing numerical data internally in the FC6A Series MicroSmart. Special functions are assigned to
each data register. These can also be used as bit devices.
Notes:
• Although the device symbol for internal relays (M0000 to M7997, M10000 to M17497) and special internal relays (M8000 to M8317) is the
same ("M"), the device characteristics are different. Special functions are assigned to each bit of the special internal relays.
• Although the device symbol for the data registers (D0000 to D7999, D10000 to D55999) and special data registers (D8000 to D8499) is the
same ("D"), the device characteristics are different. Special functions are assigned to each special data register.
2-2FC6A S
ERIES MICROSMART ALL-IN-ONE TYPE COMMUNICATION MANUAL
FC9Y-B1730
Special Internal Relay
Warning
Special Internal Relay Device Addresses
Do not write to data in the area marked as reserved in the special internal relays list. Otherwise the system may not operate
correctly.
Note: R/W is an abbreviation for read/write.
The notation for the R/W field is as follows.
R/W: The device can be both read from and written to
R: Read-only
W: Write-only
2: D
EVICE
Device
Address
M8000Start ControlMaintainedMaintainedR/W
M80011-s Clock ResetClearedClearedR/W
M8002All Outputs OFFClearedClearedR/W
M8003Carry (Cy) or Borrow (Bw)ClearedClearedR/W
M8004User Program Execution ErrorClearedClearedR/W
M8005Communication ErrorMaintainedClearedR/W
M8006Communication Prohibited Flag (When Data Link Master)MaintainedMaintainedR/W
M8007
M8010Status LED OperationOperatingClearedR/W
M8011
M8012
M8013Calendar/Clock Data Write/Adjust Error FlagOperatingClearedR/W
M8014Calendar/Clock Data Read Error FlagOperatingClearedR/W
M8015— Reserved ————
M8016Calendar Data Write FlagOperatingClearedR/W
M8017Clock Data Write FlagOperatingClearedR/W
M8020Calendar/Clock Data Write FlagOperatingClearedR/W
M8021Clock Data Adjust FlagOperatingClearedR/W
M8022User Communication Receive Instruction Cancel Flag (Port 1)ClearedClearedR/W
M8023User Communication Receive Instruction Cancel Flag (Port 2)ClearedClearedR/W
Supplementary Descriptions of the Special Internal Relays Related to the Communication Functions
■ M8005: Communication Error
When an error occurs during data link communication, M8005 is turned on. The state is retained even when the error is cleared.
■ M8006: Communication Prohibited Flag (When Data Link Master)
During data link communication, communication is stopped while M8006 is on.
■ M8007: Initialization Flag (When Data Link Master)/Stop Communication Flag (When Data Link Slave)
When data link master:
When this flag is turned on in the run status, the data link is initialized just once to check the connection
status. Use this when the slave configured in the data link is powered at a timing slower than the master.
When data link slave : This flag is turned on when communication from the master is interrupted for 10 s or longer. This flag is
turned off when communication can be normally received.
■ M8022: User Communication Receive Instruction Cancel Flag (Port 1)
While M8022 is on, user communication (receive instruction) executing on Port 1 is canceled.
■ M8023: User Communication Receive Instruction Cancel Flag (Port 2)
While M8023 is on, user communication (receive instruction) executing on Port 2 is canceled.
■ M8026: User Communication Receive Instruction Cancel Flag (Port 3)
While M8026 is on, user communication (receive instruction) executing on Port 3 is canceled.
■ M8080 to M8117: Data Link Communication Completed Relay
Special internal relays used for data link communication. For details, see "Data Link Communication" on page 7-1.
When M8184 is turned on, the values written to D8437 to D8456 are set as the HMI module IP address.
The IP address is not set just by changing the values of D8437 to D8456. For details on changing the HMI module network
settings, see "Network settings by HMI module special data registers" on page 3-5.
■ M8186: Executing Auto Ping
M8186 is on when auto ping is operating. M8186 is off when auto ping is stopped. For details on auto ping, see "Auto Ping
Function" on page 3-18.
■ M8187: Auto Ping Stop Flag
While M8187 is on, auto ping stops. While M8187 is off, auto ping is executed. At that time, auto ping is executed from the
smallest remote host number specified in the remote host list, regardless of the previous end status.
■ M8190: Change CPU Module Network Settings Trigger
When M8190 is turned on, the values written to D8304 to D8323 are set as the CPU module IP address.
The IP address is not set just by changing the values of D8304 to D8323. For details on changing the CPU module network
settings, see "Network settings by special data registers" on page 3-4.
■ M8191: SNTP Acquisition Flag
When M8191 is turned on, the time information is acquired from the SNTP server.
■ M8200 to M8207: User Communication Receive Instruction Cancel Flag
When M8200 to M8207 are turned on, the user communication receive instruction being executed is stopped.
M8200 = User communication receive instruction being executed on client connection 1
M8201 = User communication receive instruction being executed on client connection 2
M8202 = User communication receive instruction being executed on client connection 3
M8203 = User communication receive instruction being executed on client connection 4
M8204 = User communication receive instruction being executed on client connection 5
M8205 = User communication receive instruction being executed on client connection 6
M8206 = User communication receive instruction being executed on client connection 7
M8207 = User communication receive instruction being executed on client connection 8
FC6A S
ERIES MICROSMART ALL-IN-ONE TYPE COMMUNICATION MANUAL
FC9Y-B17302-7
2: D
EVICE
■ M8211: Send E-mail Server Settings Initialization
When M8211 is turned on, the send E-mail server settings are initialized.
■ M8212 to M8221: Connection Status
While connected to a network device via the maintenance communication server, user communication server/client, or Modbus
TCP server/client, the connection status is turned on. While not connected to a network device, the connection status is turned
off.
M8212 = Connection 1
M8213 = Connection 2
M8214 = Connection 3
M8215 = Connection 4
M8216 = Connection 5
M8217 = Connection 6
M8220 = Connection 7
M8221 = Connection 8
■ M8222 to M8231: Disconnect User Communication Connection
When connected to a remote host via user communication, the corresponding connection is disconnected when M8222 to
M8231 is turned on.
M8222 = Connection 1
M8223 = Connection 2
M8224 = Connection 3
M8225 = Connection 4
M8226 = Connection 5
M8227 = Connection 6
M8230 = Connection 7
M8231 = Connection 8
These relays are enabled only when a user communication client is used.
■ M8232: HMI Module Connection Information Reference Connection Status
M8232 is turned on when there is a connection with the connection number specified by D8429. M8232 is turned off when there
is no connection.
■ M8300 to M8304: J1939 Communication
Special data registers used in J1939 communication. For details, see "Special Internal Relay Allocations" on page 8-4.
2-8FC6A S
ERIES MICROSMART ALL-IN-ONE TYPE COMMUNICATION MANUAL
FC9Y-B1730
Special Data Register
Warning
Special Data Register Device Addresses
Do not write to data in the area marked as reserved in the special data registers list. Otherwise the system may not operate
correctly.
Note: R/W is an abbreviation for read/write.
The notation for the R/W field is as follows.
R/W: The device can be both read from and written to
R: Read-only
W: Write-only
2: D
EVICE
Device
Address
D8000Quantity of InputsWhen I/O initializedR
D8001Quantity of OutputsWhen I/O initializedR
D8002CPU Module Type InformationPower-upR
D8003
D8004
D8005General Error CodeWhen error occurredR/W
D8006User Program Execution Error CodeWhen error occurredR
D8007— Reserved —―-
D8008
D8009MonthEvery 500 msR
D8010DayEvery 500 msR
D8011Day of the WeekEvery 500 msR
D8012HourEvery 500 msR
D8013MinuteEvery 500 msR
D8014SecondEvery 500 msR
D8015
D8016Month―W
D8017Day―W
D8018Day of the Week―W
D8019Hour―W
D8020Minute―W
D8021Second―W
D8022
D8023Scan Time Current Value (ms)Every scanR
D8024Scan Time Maximum Value (ms)At occurrenceR
D8025Scan Time Minimum Value (ms)At occurrenceR
D8026Communication Mode Information (Port 1 to Port 3)Every scanR