IDEC FC5A-D12K1E, FC5A-D12S1E User Manual

FC5A
SERIES
FC9Y-B1278
User’s Manual Web Server CPU Module
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 PREFACE-1
SAFETY PRECAUTIONS
• Read this user’s manual to make sure of correct operation before starting installation, wiring, operation, maintenance, and inspection of the Web server CPU module.
• All Web server CPU 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 Web server CPU module in applications where heavy damage or personal injury may be caused in case the Web server CPU module should fail.
• In this user’s manual, safety precautions are categorized in order of importance to Warning and Caution:
• Turn off power to the Web server CPU module before installation, removal, wiring, maintenance, and inspection of the Web server CPU module. Failure to turn power off may cause electrical shocks or fire hazard.
• Special expertise is required to install, wire, program, and operate the Web server CPU module. People without such expertise must not use the Web server CPU module.
• Emergency stop and interlocking circuits must be configured outside the Web server CPU module. If such a circuit is configured inside the Web server CPU module, failure of the Web server CPU module may cause disorder of the control system, damage, or accidents.
• Install the Web server CPU module according to the instructions described in this user’s manual. Improper installation will result in falling, failure, or malfunction of the Web server CPU module.
• The Web server CPU module is designed for installation in a cabinet. Do not install the Web server CPU module outside a cabinet.
• Install the Web server CPU module in environments described in this user’s manual. If the Web server CPU module is used in places where the Web server CPU module is subjected to high-temperature, high-humidity, condensation, corrosive gases, excessive vibrations, and excessive shocks, then electrical shocks, fire hazard, or malfunction will result.
• The environment for using the Web server CPU module is “Pollution degree 2.” Use the Web server CPU module in environments of pollution degree 2 (according to IEC 60664-1).
• Prevent the Web server CPU module from falling while moving or transporting the Web server CPU module, otherwise damage or malfunction of the Web server CPU module will result.
• Prevent metal fragments and pieces of wire from dropping inside the Web server CPU module housing. Put a cover on the Web server CPU 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 Web server CPU module. This is required when equipment containing the Web server CPU module is destined for Europe.
• Use an IEC 60127-approved fuse on the output circuit. This is required when equipment containing the Web server CPU module is destined for Europe.
• Use an EU-approved circuit breaker. This is required when equipment containing the Web server CPU module is destined for Europe.
• Make sure of safety before starting and stopping the Web server CPU module or when operating the Web server CPU module to force outputs on or off. Incorrect operation on the Web server CPU module may cause machine damage or accidents.
• If relays or transistors in the Web server CPU modules should fail, outputs may remain on or off. For output signals which may cause heavy accidents, provide a monitor circuit outside the Web server CPU module.
• Do not connect the ground wire directly to the Web server CPU module. Connect a protective ground to the cabinet containing the Web server CPU module using an M4 or larger screw. This is required when equipment containing the Web server CPU module is destined for Europe.
• Do not disassemble, repair, or modify the Web server CPU modules.
• Dispose of the battery in the Web server CPU modules when the battery is dead in accordance with pertaining regulations. When storing or disposing of the battery, use a proper container prepared for this purpose. This is required when equipment containing the Web server CPU module is destined for Europe.
• When disposing of the Web server CPU module, do so as an industrial waste.
Warning notices are used to emphasize that improper operation may cause severe personal injury or death.
Warning
Caution notices are used where inattention might cause personal injury or damage to equipment.
Caution
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
PREFACE-2 WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
Revision History
Date Manual No. Description
March, 2011 B-1278(0) First print
June, 2011 B-1278(1)
• Error code 8 is added in the error code table for EMAIL instruction.
• Notes for devices of EMAIL and PING instructions are updated.
January, 2013 B-1278(2)
• Descriptions for pass-through over Modbus RTU is added in chapter 7.
• Wrong descriptions are revised.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 PREFACE-3
About This Manual
This user’s manual primarily describes entire functions, installation, and programming of the Web server CPU modules. Also included are powerful communications of the Web server CPU module and troubleshooting procedures.
Chapter 1: General Information
General information about features, brief description on special functions, and various system setup configurations for communication for the Web server CPU module.
Chapter 2: Module Specifications
Specifications of the Web server CPU module.
Chapter 3: Installation and Wiring
Methods and precautions for installing and wiring the Web server CPU module.
Chapter 4: Operation Basics
General information about setting up the Web server CPU module for programming, starting and stopping MicroSmart operation, and simple operating procedures from creating a user program using WindLDR on a PC to monitoring the MicroSmart operation.
Chapter 5: Function Area Settings
Program capacity selection, watchdog timer, network settings, SNTP server, and connection settings.
Chapter 6: Remote Host List
Detailed description on remote host list.
Chapter 7 through 9:
Various communication functions such as maintenance communication, user communication, and Modbus TCP communication.
Chapter 10: E-mail
Detailed description on configurations and procedure to configure e-mail function in WindLDR.
Chapter 11: PING Instruction
Detailed description on PING instruction.
Chapter 12: Web Server
Detailed descriptions on Web server function and system library for user’s web pages.
Chapter 13: Troubleshooting
Procedures to determine the cause of trouble and actions to be taken when any trouble occurs while operating the MicroSmart.
Appendix
Additional information about CGI of Web server and the procedure to install USB driver.
Index
Alphabetical listing of key words.
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.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
PREFACE-4 WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
RELATED MANUALS
The following manuals related to the FC5A series MicroSmart are available. Refer to them in conjunction with this manual.
Type No. Manual Name Description
FC9Y-B1278
FC5A Series MicroSmart Pentra User's Manual Web Server CPU Module Volume (this manual)
Describes FC5A Slim Type Web server CPU module specifications and functions.
FC9Y-B1268
FC5A Series MicroSmart Pentra User's Manual Basic Volume
Describes module specifications, installation instructions, wiring instructions, basic operation, special function, device addresses, instruction list, basic instructions, analog modules, user communication, data link communication, Modbus ASCII/RTU communication, and troubleshooting.
FC9Y-B1273
FC5A Series MicroSmart Pentra User's Manual Advanced Volume
Describes instruction list, move instructions, data comparison instructions, binary arithmetic instructions, boolean computation instructions, shift/ rotate instructions, data conversion instructions, week programmer instructions, interface instructions, program branching instructions, refresh instructions, interrupt control instructions, coordinate conversion instructions, average instructions, pulse output instructions, PID instructions, dual/teaching timer instructions, intelligent module access instructions, trigonometric function instructions, logarithm/power instructions, file data processing instructions, clock instructions, computer link communication, modem communication, Modbus TCP communication, expansion RS232C/ RS485 communication modules, and AS-Interface master modules.
FC9Y-B1283
FC5A Series PID Module User's Manual
Describes PID Module specifications and functions.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 I
TABLE OF CONTENTS
Revision History ............................................................................................................................... Preface-2
About This Manual .......................................................................................................................... Preface-3
CHAPTER 1: General Information
About the Web Server CPU Module.......................................................................................................... 1-1
Features..................................................................................................................................................... 1-2
Logic Engine® ................................................................................................................................. 1-2
Basic Functions .............................................................................................................................. 1-2
USB Port......................................................................................................................................... 1-2
Powerful Functions with the Ethernet Port................................................................................... 1-2
Optional Modules .......................................................................................................................... 1-2
Abundance of I/O Points................................................................................................................ 1-3
Safety and High Quality ................................................................................................................ 1-3
System Setup Example .............................................................................................................................. 1-4
Using the Web Server CPU Module in a LAN................................................................................. 1-4
Using the Web Server CPU Module via Internet ........................................................................... 1-4
Important Notes: ........................................................................................................................... 1-4
Operation Examples .................................................................................................................................. 1-5
Server/client Communications ...................................................................................................... 1-5
SNTP (Obtain Current Time) .......................................................................................................... 1-5
Send E-mail .................................................................................................................................... 1-6
Web Server .................................................................................................................................... 1-6
CHAPTER 2: Module Specifications
CPU Modules (Slim Type Web Server)....................................................................................................... 2-1
Parts Description ........................................................................................................................... 2-1
General Specifications ................................................................................................................... 2-4
Function Specifications.................................................................................................................. 2-5
CPU Module Terminal Arrangement and I/O Wiring Diagrams (Slim Type Web Server) ............ 2-10
Dimensions .............................................................................................................................................. 2-11
CPU Modules (Slim Type Web Server)......................................................................................... 2-11
CHAPTER 3: Installation and Wiring
Installation Location .................................................................................................................................. 3-1
Assembling Modules ................................................................................................................................. 3-2
Disassembling Modules ............................................................................................................................. 3-2
Installing the HMI Module......................................................................................................................... 3-3
Removing the HMI Module ....................................................................................................................... 3-4
Securing USB Extension Cable Using Cable Tie.......................................................................................... 3-5
Mounting on DIN Rail ................................................................................................................................ 3-6
Removing from DIN Rail................................................................................................................. 3-6
Direct Mounting on Panel Surface................................................................................................. 3-6
Mounting Hole Layout for Direct Mounting on Panel Surface ...................................................... 3-7
Installation in Control Panel ...................................................................................................................... 3-8
Removing the Terminal Blocks .................................................................................................................. 3-9
Removing the Communication Connector Cover .................................................................................... 3-10
Input Wiring............................................................................................................................................. 3-11
Output Wiring.......................................................................................................................................... 3-11
Contact Protection Circuit for Relay and Transistor Outputs .................................................................. 3-12
Power Supply........................................................................................................................................... 3-13
Power Supply Voltage.................................................................................................................. 3-13
Inrush Current at Powerup .......................................................................................................... 3-13
Power Supply Wiring ................................................................................................................... 3-13
Grounding .................................................................................................................................... 3-13
Precautions for Connecting Communication Devices ............................................................................. 3-14
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
TABLE OF CONTENTS
II WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
Maximum Quantity of Applicable Expansion Modules ............................................................................3-15
Allowable Total Internal Current Draw ........................................................................................3-15
Internal Current Draw by Expansion Modules .............................................................................3-15
Terminal Connection................................................................................................................................3-17
Ferrules, Crimping Tool, and Screwdriver for Phoenix Terminal Blocks ......................................3-17
Ferrule Order No. .........................................................................................................................3-17
Crimping Tool and Screwdriver Order No. ...................................................................................3-17
CHAPTER 4: Operation Basics
Start WindLDR ............................................................................................................................................4-1
PLC Selection ..............................................................................................................................................4-2
Communication Setup Procedure ..............................................................................................................4-3
USB Connection..............................................................................................................................4-3
Ethernet Connection ......................................................................................................................4-4
Start/Stop Operation..................................................................................................................................4-6
Start/Stop Schematic......................................................................................................................4-6
Start/Stop Operation Using WindLDR ............................................................................................4-6
Start/Stop Operation Using the Power Supply...............................................................................4-7
Start/Stop Operation Using Stop Input and Reset Input................................................................4-7
Simple Operation .......................................................................................................................................4-8
Sample User Program.....................................................................................................................4-8
Start WindLDR ................................................................................................................................ 4-8
Disable Tag Function ......................................................................................................................4-9
Edit User Program Rung by Rung ...................................................................................................4-9
Simulate Operation ......................................................................................................................4-12
Download Program ......................................................................................................................4-12
Monitor Operation .......................................................................................................................4-13
Quit WindLDR...............................................................................................................................4-13
CHAPTER 5: Function Area Settings
Function Area Settings ...............................................................................................................................5-1
Program Capacity Selection .......................................................................................................................5-2
Applications....................................................................................................................................5-2
Description of Functions.................................................................................................................5-2
Programming WindLDR ..................................................................................................................5-2
Watchdog Timer Setting ............................................................................................................................5-3
Applications....................................................................................................................................5-3
Description of functions .................................................................................................................5-3
Programming WindLDR ..................................................................................................................5-3
Network Settings........................................................................................................................................5-4
Applications....................................................................................................................................5-4
Description of Functions.................................................................................................................5-4
Programming WindLDR ..................................................................................................................5-4
Special Data Registers/Special Internal Relays...............................................................................5-5
SNTP Server................................................................................................................................................5-7
Applications....................................................................................................................................5-7
Description of Functions.................................................................................................................5-7
Programming WindLDR ..................................................................................................................5-7
Special Data Registers and Special Internal Relays ........................................................................5-8
Connection Settings .................................................................................................................................5-10
Applications..................................................................................................................................5-10
Description of functions ...............................................................................................................5-10
Programming WindLDR ................................................................................................................5-10
Special Data Registers/Special Internal Relays.............................................................................5-11
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 III
TABLE OF CONTENTS
CHAPTER 6: Remote Host List
Applications ............................................................................................................................................... 6-1
Description of Functions............................................................................................................................ 6-1
Programming WindLDR ............................................................................................................................. 6-1
CHAPTER 7: Maintenance Communication Server
Applications ............................................................................................................................................... 7-1
Description of Functions............................................................................................................................ 7-1
Programming WindLDR ............................................................................................................................. 7-2
Standard Maintenance Communication Server ............................................................................ 7-2
Server Connections........................................................................................................................ 7-3
CHAPTER 8: Ethernet User Communication
Ethernet User Communication Overview.................................................................................................. 8-1
User Communication Client....................................................................................................................... 8-2
Specifications (User Communication Client) ................................................................................. 8-2
Programming WindLDR (User Communication Client).................................................................. 8-3
User Communication Server...................................................................................................................... 8-5
Specifications (User Communication Server) ................................................................................ 8-5
Programming WindLDR (User Communication Server)............................................................................. 8-6
CHAPTER 9: Modbus TCP Communication
Modbus TCP Communication Overview.................................................................................................... 9-1
Modbus TCP Client .................................................................................................................................... 9-1
Modbus TCP Client Specifications ................................................................................................. 9-1
Programming WindLDR (Modbus TCP Client)................................................................................ 9-3
Processing Requests ...................................................................................................................... 9-6
Modbus TCP Server ................................................................................................................................... 9-7
Modbus TCP Server Specifications ................................................................................................9-7
Programming WindLDR (Modbus TCP Server)............................................................................... 9-8
Modbus TCP Communication Format............................................................................................ 9-9
CHAPTER 10: E-mail
EMAIL (Send E-mail) ................................................................................................................................ 10-1
Operation Details......................................................................................................................... 10-1
Valid Devices................................................................................................................................ 10-1
Devices in EMAIL Instruction ....................................................................................................... 10-1
Special Data Registers.............................................................................................................................. 10-3
Confirm the error detail of EMAIL instruction............................................................................. 10-3
Programming WindLDR ........................................................................................................................... 10-3
General Settings........................................................................................................................... 10-3
SMTP Authentication (login)........................................................................................................ 10-4
Character Set ............................................................................................................................... 10-4
E-mail Address Book ................................................................................................................................ 10-5
Settings in E-mail Address Book .................................................................................................. 10-5
Programming WindLDR ............................................................................................................... 10-5
E-mail Editor ............................................................................................................................................ 10-7
Settings in E-mail Editor............................................................................................................... 10-7
Programming WindLDR ............................................................................................................... 10-7
CHAPTER 11: PING Instruction
PING (Ping)............................................................................................................................................... 11-1
Operation Details......................................................................................................................... 11-1
Valid Devices................................................................................................................................ 11-1
Devices in PING Instructions........................................................................................................ 11-1
Programming WindLDR ........................................................................................................................... 11-2
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
TABLE OF CONTENTS
IV WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
CHAPTER 12: Web Server
Web Server Overview...............................................................................................................................12-1
Folder Structure .......................................................................................................................................12-1
Programming WindLDR............................................................................................................................12-2
Web Server Settings .....................................................................................................................12-2
User Web Page .............................................................................................................................12-2
Options .........................................................................................................................................12-2
System Web Page Overview.....................................................................................................................12-3
Data Type .....................................................................................................................................12-3
System Web Page.....................................................................................................................................12-4
PLC Status .....................................................................................................................................12-4
Batch Monitor ..............................................................................................................................12-5
Custom Monitor ...........................................................................................................................12-6
Programming WindLDR............................................................................................................................12-7
Importing web pages....................................................................................................................12-7
Exporting web pages ....................................................................................................................12-7
Adding/removing web pages .......................................................................................................12-7
Monitoring Function ..............................................................................................................................12-10
Numerical Display/Input ............................................................................................................12-10
Bit Button (Form Button)............................................................................................................12-10
Bit Button (Image) ......................................................................................................................12-11
Bar Graph (Vertical)....................................................................................................................12-12
Bar Graph (Horizontal) ...............................................................................................................12-14
Trend Graph ...............................................................................................................................12-16
JavaScript Functions...............................................................................................................................12-18
Reading Device Data...................................................................................................................12-18
Writing Device Data....................................................................................................................12-18
CHAPTER 13: Troubleshooting
ERR LED ....................................................................................................................................................13-1
Reading Error Data ...................................................................................................................................13-2
Special Data Registers for Error Information ...........................................................................................13-3
General Error Codes .................................................................................................................................13-3
CPU Module Operating Status, Output, and ERR LED during Errors........................................................13-4
Error Causes and Actions..............................................................................................................13-4
User Program Execution Error..................................................................................................................13-6
Troubleshooting Diagrams .......................................................................................................................13-8
APPENDIX
CGI (Common Gateway Interface) ............................................................................................................ A-1
Request Format (Reading Device Data)......................................................................................... A-1
Reply Format (Reading Device Data)............................................................................................. A-1
Request Format (Writing Device Data) ......................................................................................... A-2
Reply Format (Writing Device Data)..............................................................................................A-2
USB Driver Installation Procedure............................................................................................................. A-3
Installing on Windows XP .............................................................................................................. A-3
Installing on Windows Vista .......................................................................................................... A-5
Installing on Windows 7 32-bit or 64-bit Edition........................................................................... A-5
INDEX
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 1-1
1: GENERAL INFORMATION
Introduction
This chapter describes general information about the powerful capabilities of the FC5A series Web server CPU modules and the system setups to use the Web server CPU module in various ways of communication.
About the Web Server CPU Module
The FC5A series MICROSmart PentraTM Web server CPU module is a slim-type micro programmable logic controller that has built-in Ethernet and USB ports. The Web server CPU module is equipped with highly scalable modular structure and powerful communication functions as well as convenient functions.
The Web server CPU module has the compatibility with the other FC5A Series MicroSmart and can use all optional modules. The Web server CPU module has 12 I/O terminals (transistor output) and operates on 24V DC. Using expansion I/O modules, the I/O points can be expanded to a maximum of 492. The program capacity of the Web server CPU module can be selected from 62,400 bytes (10,400 steps) or 127,800 bytes (21,300 steps).
The Web server CPU module features Logic Engine® for superior ladder processing capabilities. User programs for the Web server CPU module can be edited using WindLDR on a Windows PC.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
1: GENERAL INFORMATION
1-2 WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
Features
Logic Engine®
The Web server CPU module features the Logic Engine® to achieve fast execution of instructions — 0.056 μs for a basic instruction (LOD) and 0.167 μs for an advanced instruction (MOV). This improves real-time performance for executing the user program.
Basic Functions
The Web server CPU module is fully equipped with functions as a programmable logic controller to achieve the best system.
USB Port
The Web server CPU module has a built-in Mini-B type USB port as standard. By connecting your PC to the Web server CPU module with a USB cable, it is possible to switch the operating status of the Web server CPU module, confirm the I/O status, change register values, update programs, and perform system program updates.
Powerful Functions with the Ethernet Port
Various communication functions, such as server/client communications, Web server, E-mail, and SNTP, are possible through the built-in Ethernet port.
An overview of each function is shown in the table below.
Optional Modules
The Web server CPU module can be expanded with a variety of optional modules and function modules, enabling you to add functions to match your application. If the optional modules and function modules are installed to the Web server CPU module, the following functions can be expanded.
Memory Cartridge
A user program can be stored in an optional memory cartridge using WindLDR. The memory cartridge can be installed on another CPU module to replace the user program without the need for connecting to a computer. The original user program in the CPU module is restored after removing the memory cartridge. The user program can also be downloaded to the CPU module so that the user program in the memory cartridge is retained in the CPU module even after the memory cartridge is removed.
Clock Cartridge
An optional clock cartridge can be installed on the CPU module to store real time calendar/clock data for use with advanced instructions to perform time-scheduled control.
Function Description
Maintenance Communication Server
The user program can be downloaded, uploaded, or monitored using WindLDR via Ethernet.
Server Connection
Modbus TCP server, user communication server, or maintenance communication server can be selected and used with each server connection. A maximum of eight server connections are available.
Client Connection
Modbus TCP client or user communication client can be selected and used with each client connection. A maximum of three client connections are available.
SNTP (Obtain current time)
The current time can be obtained from an SNTP server. The time obtained from the SNTP server can also be written to the clock cartridge to adjust the time. The time zone can be configured within the range of GMT-12:00 to GMT+13:00.
Send E-mail
A maximum of 255 e-mails can be configured and each e-mail can be sent using EMAIL instructions. English, Japanese, Chinese, Western European, and Unicode are supported so that you can use a variety of languages to configure e-mails. When using English, the length of the e-mail subject can be up to about 180 characters, and the e-mail message body can be up to about 1500 characters. Data register values can be embedded in the e-mail message body.
Web Server
The status and data register values of the Web server CPU module can be monitored, and data register values can be modified in the Web browser. Web pages created by the user can be imported to WindLDR and downloaded to the CPU module. The maximum capacity of the user web page is 1MB. Data register values can be displayed and modified in the user web page.
PING PING can be sent using PING instructions to confirm if the specified remote host is active.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 1-3
1: GENERAL INFORMATION
HMI Module
An optional HMI module can be installed on the HMI base module mounted next to the Web server CPU module. The HMI module makes it possible to manipulate the RAM data in the CPU module without using WindLDR.
Communication Adapter and Module
The Web server CPU module can be used with an optional RS232C or RS485 communication module to add communication port 2. With an optional HMI base module mounted with a slim type CPU module, an optional RS232C or RS485 communication adapter can also be installed on the HMI base module.
RS485 communication adapter or module is installed to use Data link communication, Modbus communication, or user communication. RS232C communication adapter or module is installed when the Web server CPU module communicates with the devices that have RS232C communication port.
Analog I/O Modules
The analog input channel can accept either voltage (0 to 10V DC) and current (4 to 20 mA) signals or thermocouple (types K, J, and T) and resistance thermometer (Pt100, Pt1000, Ni100, and Ni1000) signals. The output channel generates voltage (0 to 10V DC or –10 to +10V DC) and current (4 to 20 mA) signals.
AS-Interface Master Module
One or two AS-Interface master modules can be mounted to communicate with a maximum of 124 slaves, or 496 inputs and 372 outputs, such as actuators and sensors, through the AS-Interface bus.
PID Module
Two PID loops can be added per PID module. A maximum of seven PID modules (14 PID loops) can be connected.
Expansion RS232C/RS485 Communication Module
The Web server CPU module can be used with a maximum of five expansion RS232C/RS485 communication modules to expand up to seven communication ports. Expansion RS232C/RS485 communication modules can be used for computer link communication, user communication, data link, and Modbus communication.
Abundance of I/O Points
The I/O points can be expanded to a maximum of 492 I/O.
Safety and High Quality
The Web server CPU module maintains the safety and high quality that conforms to international standards, enabling the Web server CPU module to be used in various areas of the world.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
1: GENERAL INFORMATION
1-4 WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
System Setup Example
To use the Web server CPU module, the network environment must be arranged. Setup examples and important notes are shown below.
Using the Web Server CPU Module in a LAN
Using the Web Server CPU Module via Internet
Important Notes:
• The solid lines in the drawing represent LAN cables and the broken lines represent the external network.
• When accessing the Web server CPU module via the Internet, sufficient safety measures are necessary. Be sure to consult your network administrator or Internet service provider. IDEC bears no responsibility for problems concerning any system trouble when using the Web server CPU module via Internet.
• As the security measures, be sure to use a firewall to restrict parts and IP addresses of the network devices that can connect to the Web server CPU module.
• Use WindLDR to configure the Web server CPU module.
WĨŽƌDĂŝŶƚĞŶĂŶĐĞ WĨŽƌƌŽǁƐŝŶŐ
ZŽƵƚĞƌ
dŽƵĐŚ^ĐƌĞĞŶĨŽƌDŽŶŝƚŽƌŝŶŐ
ͻŽǁŶůŽĂĚŝŶŐ ͻhƉůŽĂĚŝŶŐ ͻDŽŶŝƚŽƌŝŶŐ ͻ^ĞƚƚŝŶŐƐĐŚĂŶŐĞƐ
ͻDŽŶŝƚŽƌŝŶŐĞĂĐŚƌĞŐŝƐƚĞƌ ͻtƌŝƚŝŶŐǀĂůƵĞƐƚŽƌĞŐŝƐƚĞƌƐ ͻZĞĐĞŝǀŝŶŐĞͲŵĂŝů
ͻDŽŶŝƚŽƌŝŶŐĞĂĐŚƌĞŐŝƐƚĞƌ ͻtƌŝƚŝŶŐǀĂůƵĞƐƚŽƌĞŐŝƐƚĞƌƐ
tĞď^ĞƌǀĞƌ WhDŽĚƵůĞ
DĂŝůƐĞƌǀĞƌW
ZŽƵƚĞƌ
dŽƵĐŚ^ĐƌĞĞŶĨŽƌDŽŶŝƚŽƌŝŶŐ
tĞď^ĞƌǀĞƌWh DŽĚƵůĞ
EĞƚǁŽƌŬ
džƚĞƌŶĂůW
WŽƌƚĂďůĞƚĞƌŵŝŶĂů ͻƌŽǁƐŝŶŐ
ͻZĞĐĞŝǀŝŶŐĞͲŵĂŝů
ͻŽǁŶůŽĂĚŝŶŐ ͻhƉůŽĂĚŝŶŐ ͻDŽŶŝƚŽƌŝŶŐ ͻ^ĞƚƚŝŶŐƐĐŚĂŶŐĞƐ
ͻDŽŶŝƚŽƌŝŶŐĞĂĐŚƌĞŐŝƐƚĞƌ ͻtƌŝƚŝŶŐǀĂůƵĞƐƚŽƌĞŐŝƐƚĞƌƐ ͻZĞĐĞŝǀŝŶŐĞͲŵĂŝů
&ŝƌĞǁĂůů
ZŽƵƚĞƌ DŽĚĞŵ
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 1-5
1: GENERAL INFORMATION
Operation Examples
Operation examples for the various functions of the Web server CPU module are described.
Server/client Communications
In addition to the three maintenance communication server connections, there are eight server connections and three client connections available in the Web server CPU module. The communication protocol can be selected for each server/client connection. The communication protocol for the server connections can be selected from maintenance communication server, user communication server, and Modbus TCP server. The communication protocol for the client connections can be selected from user communication client and Modbus TCP client.
SNTP (Obtain Current Time)
It is possible to perform calculations using year, month, day, and time information obtained from an SNTP server. The current time can be obtained from the specified SNTP server. The time obtained from the SNTP server can also be written to the clock cartridge.
EĞƚǁŽƌŬ
^ĞƌǀĞƌƐŝĚĞ
ůŝĞŶƚƐŝĚĞ
DĂŝŶƚĞŶĂŶĐĞW
^ĞƌǀĞƌƐŝĚĞ
DŽĚďƵƐdW
hƐĞƌ ŽŵŵƵŶŝĐĂƚŝŽŶ
DŽĚďƵƐdW
hƐĞƌ ŽŵŵƵŶŝĐĂƚŝŽŶ
DĂŝŶƚĞŶĂŶĐĞ ŽŵŵƵŶŝĐĂƚŝŽŶ
DĂŝŶƚĞŶĂŶĐĞ ŽŵŵƵŶŝĐĂƚŝŽŶ
EĞƚǁŽƌŬ
tĞď^ĞƌǀĞƌ WhDŽĚƵůĞ
^EdWƐĞƌǀĞƌ
ƵƌƌĞŶƚƚŝŵĞ
ƌĞĐĞŝǀĞĚ
ZĞƋƵĞƐƚĐƵƌƌĞŶƚƚŝŵĞ ZĞƋƵĞƐƚĐƵƌƌĞŶƚƚŝŵĞ
^ĞŶĚ ĐƵƌƌĞŶƚƚŝŵĞ
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
1: GENERAL INFORMATION
1-6 WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
Send E-mail
E-mails can be sent from the Web server CPU module. Data register values can be embedded in the e-mail message body. The Web server CPU module can send e-mails periodically or when any event occurs.
Web Server
Web pages, such as html or image files, can be downloaded to the Web server CPU module. The downloaded pages can be displayed in a web browser on your PC. It is possible to show the device values (data registers or internal relays) on the web page using JavaScript.
EĞƚǁŽƌŬ
DĂŝůƐĞŶƚƚŽ ŵĂŝůƐĞƌǀĞƌ
tĞď^ĞƌǀĞƌ WhDŽĚƵůĞ
džƚĞƌŶĂůW
WŽƌƚĂďůĞƚĞƌŵŝŶĂů
DĂŝůƐĞƌǀĞƌ
DĂŝůƐĞŶƚƚŽ ĞdžƚĞƌŶĂůW
DĂŝůƌĞĐĞŝǀĞĚ
DĂŝůƐĞŶƚĨƌŽŵW> DĂŝůƌĞĐĞŝǀĞĚ
EĞƚǁŽƌŬ
^ĞŶĚ,dD>ƉĂŐĞ ŝŵĂŐĞĨŝůĞĞƚĐ
tĞď^ĞƌǀĞƌ WhDŽĚƵůĞ
,dD>
/ŵĂŐĞ
ƌŽǁƐĞƌ
ZĞƋƵĞƐƚ,dD>ƉĂŐĞ
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 2-1
2: MODULE SPECIFICATIONS
Introduction
This chapter describes part names and specifications of Web server CPU modules. Variety of modules such as I/O modules and analog I/O modules are available in Web server CPU modules. For details
about each module, see FC5A User’s Manual Basic Volume.
CPU Modules (Slim Type Web Server)
Slim type Web server CPU modules are available in 12-I/O type and have 8 input and 4 output terminals. Slim type Web server CPU module has built-in Ethernet port for maintenance communication, user communication, Modbus TCP communication, sending e-mail, and Web server. Slim type Web server CPU module also has built-in USB communication port for maintenance communication, and can mount an optional RS232C or RS485 communication module for 1:N computer link, user communication, data link communication, and Modbus ASCII/RTU communication. The HMI base module can also be mounted to install an optional HMI module and a communication adapter. Every slim type CPU module has two cartridge connectors to install an optional memory cartridge and a clock cartridge.
CPU Module Type Numbers (Slim Type Web Server)
Parts Description
I/O Points Output Type Type No.
12 (8 in / 4 out)
Transistor Sink Output 0.3A FC5A-D12K1E
Transistor Source Output 0.3A FC5A-D12S1E
1PXFS4VQQMZ5FSNJOBMT
*05FSNJOBM#MPDL
64#1PSU
&YQBOTJPO$POOFDUPS
$BSUSJEHF$POOFDUPS
$BSUSJEHF$POOFDUPS
"OBMPH1PUFOUJPNFUFS
$PNNVOJDBUJPO$POOFDUPS
"OBMPH7PMUBHF*OQVU$POOFDUPS
&UIFSOFU1PSU
-JOL-&%0SBOHF
1PXFS-&%183 3VO-&%36/ &SSPS-&%&33 4UBUVT-&%45"5
0VUQVU-&%065
*OQVU-&%*/
/FUXPSL-&%(SFFO
&UIFSOFU1PSU*OEJDBUPST-&%*OEJDBUPST
-&%
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
2: MODULE SPECIFICATIONS
2-2 WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
(1) Power Supply Terminals
Connect power supply to these terminals. Power voltage 24V DC.
(2) I/O Terminal Block
For connecting input and output signals.
(3) Expansion Connector
For connecting digital and analog I/O modules.
(4) Power LED (PWR)
Turns on when power is supplied to the CPU module.
(5) Run LED (RUN)
Turns on when the CPU module is executing the user program.
(6) Error LED (ERR)
Turns on when an error occurs in the CPU module.
(7) Status LED (STAT)
The status LED can be turned on or off using the user program to indicate a specified status.
(8) Input LED (IN)
Turns on when a corresponding input is on.
(9) Output LED (OUT)
Turns on when a corresponding output is on.
(10) USB Port
For connecting a computer to download a user program and monitor the PLC operation on a computer using WindLDR. Programs written in WindLDR can be downloaded to the PLC.
(11) Ethernet Port
For connecting a LAN cable to communicate with PCs, PLCs, or any other network devices.
(12) Link LED: Orange
Turns on when the CPU module is connected to another network device using a LAN cable.
(13) Network LED: Green
Flashes when CPU module sends or receives data from the Ethernet port.
(14) Analog Potentiometer
Sets a value of 0 through 255 to a special data register. All slim type CPU modules have one potentiometer, which can be used to set a preset value for an analog timer.
(15) Analog Voltage Input Connector
For connecting an analog voltage source of 0 through 10V DC. The analog voltage is converted to a value of 0 through 255 and stored to a special data register.
(16) Cartridge Connector 1
For connecting an optional memory cartridge or clock cartridge.
(17) Cartridge Connector 2
For connecting an optional memory cartridge or clock cartridge.
64#1PSU$PWFS
%VNNZ$BSUSJEHF
&YQBOTJPO$POOFDUPS4FBM
)JOHFE-JE
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 2-3
2: MODULE SPECIFICATIONS
(18) Communication Connector
For connecting an optional communication module or HMI base module. Remove the connector cover before connecting a module.
(19) Hinged Lid
Open the lid to gain access to the cartridge connectors 1 and 2, analog potentiometer, and analog voltage input connector.
(20) Dummy Cartridge
Remove the dummy cartridge when using an optional memory cartridge or clock cartridge.
(21) USB Port Cover
Open this cover to use the USB port.
(22) Expansion Connector Seal
Remove the expansion connector seal when connecting an expansion module.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
2: MODULE SPECIFICATIONS
2-4 WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
General Specifications
Normal Operating Conditions
Power Supply
Note 1: Among relay output modules connected to the CPU module, a maximum of 54 points can be turned on simultaneously. Among
relay outputs connected beyond the expansion module, a maximum of 54 points can be turned on simultaneously. Relay outputs exceeding these limits may not turn on correctly.
Note 2: Maximum power consumption for individual CPU module is 3.0W (125 mA at 24V DC).
CPU Module
FC5A-D12K1E FC5A-D12S1E
Operating Temperature 0 to 55°C (operating ambient temperature)
Storage Temperature –25 to +70°C
Relative Humidity 10 to 95% (non-condensing, operating and storage humidity)
Pollution Degree 2 (IEC 60664-1)
Degree of Protection IP20 (IEC 60529)
Corrosion Immunity Atmosphere free from corrosive gases
Altitude
Operation: 0 to 2,000m (0 to 6,565 feet) Transport: 0 to 3,000m (0 to 9,840 feet)
Vibration Resistance
When mounted on a DIN rail or panel surface: 5 to 8.4 Hz amplitude 3.5 mm, 8.4 to 150 Hz acceleration 9.8 m/s
2
(1G)
2 hours per axis on each of three mutually perpendicular axes (IEC 61131-2)
Shock Resistance
147 m/s
2
(15G), 11 ms duration, 3 shocks per axis on three mutually perpendicular axes
(IEC 61131-2)
ESD Immunity Contact discharge: ±4 kV, Air discharge: ±8 kV (IEC 61000-4-2)
Weig ht 200g
Rated Power Voltage 24V DC
Allowable Voltage Range 20.4 to 26.4V DC (including ripple)
Maximum Input Current 700 mA (26.4V DC)
Maximum Power Consumption
(Note 1, 2)
CPU module + 7 I/O modules + expansion module + 8 I/O modules 19W (26.4V DC)
Allowable Momentary Power Interruption
10 ms (at 24V DC)
Dielectric Strength
Between power and terminals: Between I/O and terminals:
500V AC, 1 minute 500V AC, 1 minute
Insulation Resistance
Between power and terminals: Between I/O and terminals:
10 MΩ minimum (500V DC megger) 10 MΩ minimum (500V DC megger)
Noise Resistance
DC power terminals: I/O terminals (coupling clamp):
1.0 kV, 50 ns to 1 µs
1.5 kV, 50 ns to 1 µs
Inrush Current 50A maximum (24V DC)
Grounding Wire UL1015 AWG22, UL1007 AWG18
Power Supply W ire UL1015 AWG22, UL1007 AWG18
Effect of Improper Power Supply Connection
Reverse polarity: Improper voltage or frequency: Improper lead connection:
No operation, no damage Permanent damage may be caused Permanent damage may be caused
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 2-5
2: MODULE SPECIFICATIONS
Function Specifications
CPU Module Specifications
CPU Module
FC5A-D12K1E FC5A-D12S1E
Program Capacity 62,400/127,800 bytes (10,400/21,300 steps) (Note 1)
Expandable I/O Modules 7 modules + additional 8 modules using the expansion interface module
I/O Points
Input 8
Expansion: 224 (Note 2) Additional: 256 (Note 3)
Output 4
User Progra m Stora ge FROM (10,000 rewriting life)
RAM Backup
Backup Duration Approx. 30 days (typical) at 25°C after backup battery fully charged
Backup Data Internal relay, shift register, counter, data register, expansion data register
Battery Lithium secondary battery
Charging Time Approx. 15 hours for charging from 0% to 90% of full charge
Battery Life 5 years in cycles of 9-hour charging and 15-hour discharging
Replaceability Not possible to replace battery
Control System Stored program system
Instruction Words
42 basic 152 advanced
Processing Time
Basic instruction
83 µs (1000 steps) See "Execution Times for Instructions" of the basic volume (page A-1).
END processing
0.35 ms (not including expansion I/O service, clock function processing, data link processing, interrupt processing, USB communication processing, and Ethernet communication processing) See "Breakdown of END Processing Time" of the basic volume (page A-5).
Internal Relay 2,048
Shift Register 256
Tim er 256 (1-sec, 100-ms, 10-ms, 1-ms)
Counter 256 (adding, dual pulse reversible, up/down selection reversible)
Data Register 2,000
Expansion Data Register 6,000
Extra Data Register 40,000
Input Filter Without filter, 3 to 15 ms (selectable in increments of 1 ms)
Catch Input Interrupt Input
Four inputs (I2 through I5) can be designated as catch inputs or interrupt inputs
I2 and I5:
I3 and I4:
Minimum turn on pulse width: 40 µs maximum Minimum turn off pulse width: 150 µs maximum Minimum turn on pulse width: 5 µs maximum Minimum turn off pulse width: 5 µs maximum
Self-diagnostic Function
Power failure, watchdog timer, data link connection, user program sum check (FROM, external EEPROM), timer/counter preset value sum check, user program RAM sum check, keep data, user program syntax, user program writing, CPU module, clock IC, I/O bus initialize, user program execution, memory cartridge program transfer
Start/Stop Method
Turning power on and off Start/stop command in WindLDR Turning start control special internal relay M8000 on and off Turning designated stop or reset input off and on
High-speed Counter
Total 4 points
Single/two-phase selectable: 100 kHz (2 points)
Single-phase: 100 kHz (2 points)
Counting range: 0 to 4,294,967,295 (32 bits)
Operation mode:
Rotary encoder mode and adding counter mode
Analog Potentiometer
1 point
Data range: 0 to 255
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
2: MODULE SPECIFICATIONS
2-6 WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
Note 1: Select program capacity of 62,400 bytes or 127,800 bytes. When 127,800 bytes is selected, the run-time program download cannot be used.
Note 2: The maximum number of outputs that can be turned on simultaneously is 54.
Note 3: Among the additional I/O modules, the maximum number of outputs that can be turned on simultaneously is 54.
System Statuses at Stop, Reset, and Restart
Note: All expansion data registers are keep types.
Communication Function
Note 1: To use the USB port, USB driver must be installed on the PC. For the procedure to install the driver, refer to "USB Driver
Installation Procedure" on page A-3.
Note 2: A USB maintenance cable (HG9Z-XCM42) and a USB Mini-B extension cable (HG9Z-XCE21) are available as optional accessories. For instructions on using the USB extension cable, refer to "Securing USB Extension Cable Using Cable Tie" on page 3-5.
Note 3: Communication modules that can be connected to port 2 are listed in the following table.
Analog Voltage Input
Quantity: Input voltage range: Input impedance: Data range:
1 point 0 to 10V DC Approx. 100 kΩ 0 to 255 (8 bits)
Pulse Output
3 points
Maximum frequency: 100 kHz
Communication Port Communication connector for port 2
Cartridge Connector 2 points for connecting a memory cartridge (32KB, 64KB, or 128KB) and a clock cartridge
Mode Output
Internal Relay, Shift Register, Counter, Data Register, Expansion DR, Extra DR
Timer Current Value
Keep Type Clear Type
Run Operating Operating Operating Operating
Stop (Stop input ON) OFF Unchanged Unchanged Unchanged
Reset (Reset input ON) OFF OFF/Reset to zero OFF/Reset to zero Reset to zero
Restart Unchanged Unchanged OFF/Reset to zero Reset to preset
CPU Module
FC5A-D12K1E FC5A-D12S1E
USB
Function Maintenance Communication (Note 1)
Cable USB cable from the third party (A connector to Mini-B connector) (Note 2)
Isolation between Internal Circuit and Communication Port
Not isolated
USB Type USB Mini-B
USB Standard USB 2.0
Ethernet
Electrical Characteristics IEEE 802.3 compliant
Transmission Speed 10BASE-T, 100BASE-TX
Function
Maintenance communication, user communication, Modbus TCP communication, e-mail, Web server
Recommended Cable CAT. 5 STP
Isolation between Internal Circuit and Communication Port
Pulse transformer isolated
User Web Data Storage FROM
User Web Data Capacity 1MB
Port 2 (Optional) (Note 3) Possible
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 2-7
2: MODULE SPECIFICATIONS
Memory Cartridge (Option)
Note 1: User Web data is not stored.
Clock Cartridge (Option)
Communication Function
Note 1: Maximum baud rate when using data link communication is 57,600 bps.
Note 2: 1:1 Modbus communication only
Note 3: For special cables, refer to the Basic Volume Appendix “Cables” (page A-12).
Note 4: Recommended cable for RS485: Twisted-pair shielded cable with a minimum core wire of 0.3 mm
2
.
Conductor resistance 85 Ω/km maximum, shield resistance 20 Ω/km maximum.
Memory Type EEPROM
Accessible Memory Capacity
32 KB, 64 KB, 128 KB The maximum program capacity depends on the CPU module. When using the 32 KB memory cartridge on the slim type CPU module, the maximum program capacity is limited to 30,000 bytes.
Hardware for Storing Data CPU module
Software for Storing Data WindLDR
Quantity of Stored Programs One user program can be stored on one memory cartridge. (Note 1)
Program Execution Priority
When a memory cartridge is installed, the user program on the memory cartridge is executed. User programs can be downloaded from the memory cartridge to the CPU module. User programs can also be uploaded to the memory cartridge from the CPU module.
Accuracy ±30 sec/month (typical) at 25°C
Backup Duration Approx. 30 days (typical) at 25°C after backup battery fully charged
Battery Lithium secondary battery
Charging Time Approx. 10 hours for charging from 0% to 90% of full charge
Battery Life Approx. 100 recharge cycles after discharging down to 10% of full charge
Replaceability Not possible to replace battery
Communication Port Port 2
Communication Adapter FC4A-PC1 FC4A-PC2 FC4A-PC3
Communication Module FC4A-HPC1 FC4A-HPC2 FC4A-HPC3
Standards EIA RS232C EIA RS485 EIA RS485
Maximum Baud Rate 115,200 bps 115,200 bps 115,200 bps
Maintenance Communication
(Computer Link)
Possible Possible Possible
User Communication Possible Possible Possible
Modem Communication ———
Data Link Communication
Possible (31 slaves max.) (Note 1)
Possible (31 slaves max.) (Note 1)
Modbus Communication Possible (Note 2) Possible Possible
Maximum Cable Length
Special cable (Note 3)
Special cable (Note 3)
200m (Note 4)
Isolation between Internal Circuit and Communication Port
Not isolated Not isolated Not isolated
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
2: MODULE SPECIFICATIONS
2-8 WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
DC Input Specifications (Slim Type Web Server)
CPU Module
FC5A-D12K1E
FC5A-D12S1E Input Points and Common Lines 8 points in 1 common line Terminal Arrangement See CPU Module Terminal Arrangement on page 2-10. Rated Input Voltage 24V DC sink/source input signal Input Voltage Range 20.4 to 28.8V DC
Rated Input Current
I0, I1, I3, I4, I6, I7: I2, I5:
4.5 mA/point (24V DC) 7 mA/point (24V DC)
Input Impedance
I0, I1, I3, I4, I6, I7: I2, I5:
4.9 kΩ
3.4 kΩ
Turn O N Ti me
I0, I1, I3, I4, I6, I7: I2, I5:
5 µs + filter value 35 µs + filter value
Turn O FF Time
I0, I1, I3, I4, I6, I7: I2, I5:
5 µs + filter value 150 µs + filter value
Isolation
Between input terminals: Internal circuit:
Not isolated Photocoupler isolated
Input Type Type 1 (IEC 61131-2) External Load for I/O Interconnection Not needed Signal Determination Method Static
Effect of Improper Input Connection
Both sinking and sourcing input signals can be connected. If any input exceeding the rated value is applied, permanent damage may be caused.
Cable Length 3m (9.84 ft.) in compliance with electromagnetic immunity Connector on Mother Board MC1.5/16-G-3.81BK (Phoenix Contact) Connector Insertion/Removal Durability 100 times minimum
Input Operating Range
The input operating range of the Type 1 (IEC 61131-2) input module is shown below.
Input Internal Circuit
I/O Usage Limits
When using the FC5A-D12K1E/S1E at an ambient temperature of 55°C in the normal mounting direction, limit the inputs and outputs, respectively, which turn on simultaneously on each connector along line (1).
When using at 40°C, all I/Os on every slim type CPU module can be turned on simultaneously at 26.4V DC as indicated with line (2)
Inputs I0, I1, I3, I4, I6, and I7
Inputs I2 and I5
Input Current (mA)
Input Voltage (V DC)
Input Current (mA)
OFF Area
Tra ns iti on Area
ON Area
OFF Area
Tra ns iti on Area
ON Area
Input Voltage (V DC)
0.6 2.6 4.5 5.0
0
5
15
24
26.4
0
5
15
24
26.4
1.2 4.2 7 7.7
Inputs I0, I1, I3, I4, I6, and I7
Input
COM
Internal Circuit
COM
Input
Inputs I2 and I5
4.7 kΩ
3.3 kΩ
Internal Circuit
I/O Simultaneous ON Ratio (%)
Input Voltage (V DC)
24.0
26.4
0
0
506070 80 100
(1) 55°C
(2) 40°C
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 2-9
2: MODULE SPECIFICATIONS
Transistor Sink and Source Output Specifications (Slim Type Web Server)
Output Internal Circuit
CPU Module
FC5A-D12K1E FC5A-D12S1E
Output Type
FC5A-D12K1E: Sink output FC5A-D12S1E: Source output
Output Points and Common Lines 4 points in 1 common line
Term in al Arr ange me nt See CPU Module Terminal Arrangement on page 2-10.
Rated Load Voltage 24V DC
Operating Load Voltage Range 20.4 to 28.8V DC
Rated Load Current 0.3A per output point
Maximum Load Current 1A per common line
Voltage Drop (ON Vol tage) 1V maximum (voltage between COM and output terminals when output is on)
Inrush Current 1A maximum
Leakage Current 0.1 mA maximum
Clamping Voltage 39V±1V
Maximum Lamp Load 8W
Inductive Load L/R = 10 ms (28.8V DC, 1 Hz)
External Current Draw
Sink output: 100 mA maximum, 24V DC (power voltage at the +V terminal)
Source output: 100 mA maximum, 24V DC (power voltage at the –V terminal)
Isolation
Between output terminal and internal circuit: Photocoupler isolated
Between output terminals: Not isolated
Connector on Mother Board
MC1.5/16-G-3.81BK (Phoenix Contact)
Connector Insertion/Removal Durability 100 times minimum
Output Delay
Turn O N Time
Q0 to Q2: Q3:
5 µs maximum 300 µs maximum
Turn O FF Time
Q0 to Q2: Q3:
5 µs maximum 300 µs maximum
FC5A-D12K1E (Sink Output) FC5A-D12S1E (Source Output)
Internal Circuit
Internal Circuit
+V
Output
COM(–)
Output
–V
COM(+)
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
2: MODULE SPECIFICATIONS
2-10 WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
CPU Module Terminal Arrangement and I/O Wiring Diagrams (Slim Type Web Server)
FC5A-D12K1E (12-I/O Transistor Sink High-speed Output Type CPU Module) Applicable Terminal Blocks: FC5A-PMTK16EP (supplied with the CPU module)
• Outputs Q0 to Q3 are transistor sink outputs.
• COM and COM(–) terminals are not interconnected.
• COM terminals are interconnected.
• Connect a fuse appropriate for the load.
• For wiring precautions, see "Input Wiring" and "Output Wiring" on page 3-11.
FC5A-D12S1E (12-I/O Transistor Source High-speed Output Type CPU Module) Applicable Terminal Blocks: FC5A-PMTS16EP (supplied with the CPU module)
• Outputs Q0 to Q3 are transistor source outputs.
• COM and COM(+) terminals are not interconnected.
• COM terminals are interconnected.
• Connect a fuse appropriate for the load.
• For wiring precautions, see "Input Wiring" and "Output Wiring" on page 3-11.
2-wire Sensor
Load Fuse
Ter mina l No.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Input/Output
I0
I1
I2
I3
I4
I5
I6
I7
COM
COM
Q0
Q1
Q2
Q3
COM(-)
+V
24V DC
– +
NPN
+ –
– +
L
L
L
L
2-wire Sensor
Load Fuse
Term inal N o.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Input/Output
I0
I1
I2
I3
I4
I5
I6
I7
COM
COM
Q0
Q1
Q2
Q3
COM(+)
-V
L
L
L
L
– +
PNP
+ –
+ –
24V DC
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 2-11
2: MODULE SPECIFICATIONS
Dimensions
CPU Modules (Slim Type Web Server)
FC5A-D12K1E, FC5A-D12S1E
NNXIFOUIFDMBNQJTQVMMFEPVU
All dimensions in mm.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
2: MODULE SPECIFICATIONS
2-12 WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 3-1
3: INSTALLATION AND WIRING
Introduction
This chapter describes the methods and precautions for installing and wiring Web server CPU modules. Before starting installation and wiring, be sure to read “Safety Precautions” in the beginning of this manual and
understand precautions described under Warning and Caution.
Installation Location
• Turn off the power to the Web server CPU module before starting installation, removal, wiring, maintenance, and inspection of the Web server CPU module. Failure to turn power off may cause electrical shocks or fire hazard.
• Emergency stop and interlocking circuits must be configured outside the Web server CPU module. If such a circuit is configured inside the Web server CPU module, failure of the Web server CPU module may cause disorder of the control system, damage, or accidents.
• Special expertise is required to install, wire, program, and operate the Web server CPU module. People without such expertise must not use the Web server CPU module.
Warning
• Prevent metal fragments and pieces of wire from dropping inside the Web server CPU module housing. Put a cover on the Web server CPU modules during installation and wiring. Ingress of such fragments and chips may cause fire hazard, damage, or malfunction.
• Do not touch the connector pins with hand, otherwise electrostatic discharge may damage the internal elements.
• Keep the Web server CPU module wiring away from motor lines.
Caution
The Web server CPU module must be installed correctly for optimum performance. The Web server CPU module is designed for installation in a cabinet. Do not install the Web server CPU module outside
a cabinet. The environment for using the Web server CPU module is “Pollution degree 2.” Use the Web server CPU module in
environments of pollution degree 2 (according to IEC 60664-1). Make sure that the operating temperature does not drop below 0°C or exceed 55°C. If the temperature does exceed
55°C, use a fan or cooler.
Mount the Web server CPU module on a vertical plane as shown at right.
To eliminate excessive temperature build-up, provide ample ventilation. Do not install the Web server CPU module near, and especially above, any device which generates considerable heat, such as a heater, transformer, or large-capacity resistor. The relative humidity should be above 30% and below 95%.
The Web server CPU module should not be exposed to excessive dust, dirt, salt, direct sunlight, vibrations, or shocks. Do not use the Web server CPU module in an area where corrosive chemicals or flammable gases are present. The modules should not be exposed to chemical, oil, or water splashes.
Slim Type
End Clip BNL6
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
3: INSTALLATION AND WIRING
3-2 WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
Assembling Modules
The following example demonstrates the procedure for assembling the all-in-one 24-I/O type CPU module and an I/O module together. When assembling slim type CPU modules, take the same procedure.
Disassembling Modules
1. When assembling an input or output module,
remove the expansion connector seal from the 24-I/ O type CPU module.
2. Place the CPU module and I/O module side by side.
Put the expansion connectors together for easy alignment.
3. With the expansion connectors aligned correctly and
the blue unlatch button in the down position, press the CPU module and I/O module together until the latches click to attach the modules together firmly. If the unlatch button is in the up position, push down the button to engage the latches.
• Assemble Web server CPU modules together before mounting the modules onto a DIN rail. Attempt to assemble modules on a DIN rail may cause damage to the modules.
• Turn off the power to the Web server CPU module before assembling the modules. Failure to turn power off may cause electrical shocks.
Caution
Unlatch Button
1. If the modules are mounted on a DIN rail, first
remove the modules from the DIN rail as described in “Removing from DIN Rail” on page 3-6.
2. Push up the blue unlatch button to disengage the
latches, and pull the modules apart as shown. When disassembling slim type CPU modules, take the same procedure.
• Remove the Web server CPU modules from the DIN rail before disassembling the modules. Attempt to disassemble modules on a DIN rail may cause damage to the modules.
• Turn off the power to the Web server CPU module before disassembling the modules. Failure to turn power off may cause electrical shocks.
Caution
Unlatch Button
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 3-3
3: INSTALLATION AND WIRING
Installing the HMI Module
The optional HMI module (FC4A-PH1) can mount on any all-in-one type CPU module, and also on the HMI base module mounted next to any slim type CPU module. For specifications of the HMI module, see "HMI Module" of the basic volume (page 2-80). For details about operating the HMI module, see "HMI Module" of the basic volume (page 5-60).
Slim Type
1. When using the HMI module with the slim type CPU
module, prepare the optional HMI base module (FC4A-HPH1). See "HMI Base Module" of the basic volume (page 2-81).
2. Locate the HMI connector inside the HMI base
module. Push the HMI module into the HMI connector in the HMI base module until the latch clicks.
3. Remove the communication connector cover from
the slim type CPU module. See “Removing the Communication Connector Cover” on page 3-10.
4. Place the HMI base module and CPU module side by
side. With the communication connectors aligned correctly and the blue unlatch button in the down position, press the HMI base module and CPU module together until the latches click to attach the modules together firmly. If the unlatch button is in the up position, push down the button to engage the latches.
• Turn off the power to the Web server CPU module before installing or removing the HMI module to prevent electrical shocks.
• Do not touch the connector pins with hand, otherwise electrostatic discharge may damage the internal elements.
Caution
HMI Base Module
HMI Module
Unlatch Button Communication Connector Cover
Slim Type CPU Module
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
3: INSTALLATION AND WIRING
3-4 WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
Removing the HMI Module
This section describes the procedures for removing the HMI module from the optional HMI base module mounted next to any slim type CPU module.
1. Insert a thin flat screwdriver (ø3.0 mm maximum)
between the gap on top of the HMI module until the tip of the screwdriver bottoms.
2. While turning the screwdriver in the direction as
shown, disengage the latch on the HMI module and pull out the HMI module.
3. Remove the HMI module from the HMI base module.
• Turn off the power to the Web server CPU module before installing or removing the HMI module to prevent electrical shocks.
• Do not touch the connector pins with hand, otherwise electrostatic discharge may damage the internal elements.
Caution
Latch
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 3-5
3: INSTALLATION AND WIRING
Securing USB Extension Cable Using Cable Tie
When FC5A-D12K1E/S1E is installed in a control panel, it is possible to extend the USB Mini-B port of the PLC to the panel surface using a USB extension cable (Note 1). When using the USB extension cable, it is recommended that the USB extension cable is secured to the USB port cover of the PLC using a cable tie (Note 2) so that the USB extension cable does not come loose from the USB port of the PLC. This section describes the procedure to secure the USB extension cable to the USB port cover using the cable tie.
Note 1: IDEC USB extension cable for USB Mini-B (HG9Z-XCE21) is recommended.
Note 2: HellermanTyton cable tie T18R-1000 is recommended.
1. Open the USB port cover and insert the USB
extension cable into the USB port.
2. Pass a cable tie around the USB cable cover and the
USB extension cable, taking care to route the cable tie through the notches on the USB cover.
3. Insert the tip of the cable tie through the locking
section to make a loop. Tighten the loop until it is the suitable size and trim the excess cable tie using wire cutters.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
3: INSTALLATION AND WIRING
3-6 WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
Mounting on DIN Rail
Removing from DIN Rail
Direct Mounting on Panel Surface
1. Fasten the DIN rail to a panel using screws firmly.
2. Pull out the clamp from each Web server CPU
module, and put the groove of the module on the DIN rail. Press the modules towards the DIN rail and push in the clamps as shown on the right.
3. Use BNL6 end clips on both sides of the Web server
CPU modules to prevent moving sideways.
• Install the Web server CPU modules according to instructions described in this user’s manual. Improper installation will result in falling, failure, or malfunction of the Web server CPU module.
• Mount the Web server CPU modules on a 35-mm-wide DIN rail or a panel surface. Applicable DIN rail: IDEC’s BAA1000PN10 or BAP1000PN10 (1000mm/39.4” long)
Caution
Groove
35-mm-wide DIN Rail
Clamp
1. Insert a flat screwdriver into the slot in the clamp.
2. Pull out the clamps from the modules.
3. Turn the Web server CPU modules bottom out.
35-mm-wide DIN Rail
Clamp
Web server CPU modules can also be mounted on a panel surface inside a console. When mounting a slim type CPU module, digital I/O module, analog I/O module, HMI base module, or communication module, use optional direct mounting strip FC4A-PSP1P as described below.
Installing the Direct Mounting Strip
1. Remove the clamp from the module by pushing the
clamp inward.
2. Insert the direct mounting strip into the slot where
the clamp has been removed (A). Further insert the direct mounting strip until the hook enters into the recess in the module (B).
(B)
(A)
Direct Mounting Strip FC4A-PSP1P
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 3-7
3: INSTALLATION AND WIRING
Mounting Hole Layout for Direct Mounting on Panel Surface
Make mounting holes of ø4.3 mm as shown below and use M4 screws (6 or 8 mm long) to mount the Web server CPU modules on the panel surface.
FC5A-D12K1E, FC5A-D12S1E
All dimensions in mm.
Removing the Direct Mounting Strip
1. Insert a flat screwdriver under the latch of the direct
mounting strip to release the latch (A).
2. Pull out the direct mounting strip (B).
(B)
(A)


¡



Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
3: INSTALLATION AND WIRING
3-8 WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
Installation in Control Panel
The Web server CPU modules are designed for installation in a cabinet. Do not install the Web server CPU modules outside a cabinet.
The environment for using the Web server CPU module is “Pollution degree 2.” Use the Web server CPU module in environments of pollution degree 2 (according to IEC 60664-1).
When installing the Web server CPU modules in a control panel, take the convenience of operation and maintenance, and resistance against environments into consideration.
Always mount the slim type CPU modules horizontally on a vertical plane as shown on the preceding page. Any other mounting directions are not allowed.
'SPOU1BOFM
NNNJOJNVN
8JSJOH%VDU
NNNJOJNVN
NNNJOJNVN
NNNJOJNVN
NN NJOJNVN
NN NJOJNVN
NN NJOJNVN
Incorrect Mounting Direction
Incorrect Mounting DirectionIncorrect Mounting Direction
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 3-9
3: INSTALLATION AND WIRING
Removing the Terminal Blocks
This section describes the procedures for removing the terminal blocks from slim type CPU modules FC5A-D16RK1, FC5A­D16RS1, FC5A-D12K1E and FC5A-D12S1E.
1. Before removing the terminal blocks, disconnect all
wires from the terminal blocks.
Remove the shorter terminal block on the left first, then remove the longer one on the right.
2. When removing the longer terminal block, hold the
center of the terminal block, and pull it out straight.
3. Do not pull one end of the longer terminal block,
otherwise the terminal block may be damaged.
• Turn off the power to the Web server CPU module before installing or removing the terminal blocks to prevent electrical shocks.
• Use the correct procedures to remove the terminal blocks, otherwise the terminal blocks may be damaged.
Caution
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
3: INSTALLATION AND WIRING
3-10 WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
Removing the Communication Connector Cover
Before mounting a communication module or HMI base module next to the slim type CPU module, the communication connector cover must be removed from the CPU module. Break the communication connector cover on the slim type CPU module as described below.
1. Carefully push in the communication connector cover at position (1) to break bridges A as shown in either figure
below.
2. The other end (2) of the communication connector cover will come out as shown at left below. Push in this end.
3. Then, the opposite end (3) will come out. If the end does not come out, insert a thin screwdriver into the gap and
pull out the end (3).
Hold the communication connector cover at (3), and pull off the communication connector cover to break bridges B.
• When using a thin screwdriver to pull out the communication connector cover, insert the screwdriver carefully and do not damage the electronic parts inside the CPU module.
• When first pushing in the communication connector cover to break, take care not to injure your finger.
Caution
Bridges B
Bridges A
Communication Connector Cover
(1)
(2)
(3)
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 3-11
3: INSTALLATION AND WIRING
Input Wiring
Output Wiring
• Separate the input wiring from the output line, power line, and motor line.
• Use proper wires for input wiring. All-in-one type CPU modules: UL1015 AWG22 or UL1007 AWG18 Slim type CPU and I/O modules: UL1015 AWG22
Caution
• If output relays or transistors in the Web Server CPU or output modules should fail, outputs may remain on or off. For output signals which may cause heavy accidents, provide a monitor circuit outside the Web server CPU module.
• Connect a fuse to the output module, selecting a fuse appropriate for the load.
• Use proper wires for output wiring. All-in-one type CPU modules: UL1015 AWG22 or UL1007 AWG18 Slim type CPU and I/O modules: UL1015 AWG22
• When equipment containing the Web server CPU module is intended for use in European countries, insert an IEC 60127-approved fuse to each output of every module for protection against overload or short­circuit. This is required when equipment containing the Web server CPU module is destined for Europe.
Caution
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
3: INSTALLATION AND WIRING
3-12 WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
Contact Protection Circuit for Relay and Transistor Outputs
Depending on the load, a protection circuit may be needed for the relay output of the Web server CPU modules. Choose a protection circuit from A through D shown below according to the power supply and connect the protection circuit to
the outside of the CPU or relay output module. For protection of the transistor output of the Web server CPU modules, connect protection circuit C shown below to the
transistor output circuit.
Protection Circuit A
Protection Circuit B
Protection Circuit C
Protection Circuit D
This protection circuit can be used when the load impedance is smaller than the RC impedance in an AC load power circuit.
R: Resistor of approximately the same resistance value as the load C: 0.1 to 1 µF
Inductive Load
Output Q
COM
C
R
This protection circuit can be used for both AC and DC load power circuits.
R: Resistor of approximately the same resistance value as the load C: 0.1 to 1 µF
Inductive Load
Output Q
COM
or
RC
– +
This protection circuit can be used for DC load power circuits. Use a diode with the following ratings. Reverse withstand voltage: Power voltage of the load circuit × 10
Forward current: More than the load current
Inductive Load
Output Q
COM
– +
This protection circuit can be used for both AC and DC load power circuits.
Inductive Load
Output Q
COM
Var ist or
or
– +
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 3-13
3: INSTALLATION AND WIRING
Power Supply
Power Supply Voltage
The allowable power voltage range for the slim type Web server CPU module is 20.4 to 26.4V DC. Power failure detection voltage depends on the quantity of used input and output points. Basically, power failure is
detected when the power voltage drops below 20.4V DC, stopping operation to prevent malfunction. A momentary power interruption for 10 ms or less is not recognized as a power failure at the rated voltage of 24V DC.
Inrush Current at Powerup
When the slim type CPU module, expansion interface module, or expansion interface slave module is powered up, an inrush current of a maximum of 50A flows.
Power Supply Wiring
Use a stranded wire of UL1015 AWG22 or UL1007 AWG18 for power supply wiring. Make the power supply wiring as short as possible.
Run the power supply wiring as far away as possible from motor lines. For a power supply wiring example of expansion interface modules, see "Power Supply Wiring Example" of the basic
volume (page 2-77).
Grounding
To prevent electrical shocks, connect the terminal to a proper ground using a wire of UL1015 AWG22 or UL1007 AWG18. The grounding also prevents malfunctioning due to noise.
Do not connect the grounding wire in common with the grounding wire of motor equipment. Separate the grounding wires of the Web server CPU module and external devices which can be a possible noise source. Use a thick wire for grounding the Web server CPU module and make the grounding wire as short as possible to make
sure that noises from external devices can be conducted to the ground effectively.
• Use a power supply of the rated value. Use of a wrong power supply may cause fire hazard.
• The allowable power voltage range for the slim type Web server CPU module, expansion interface module FC5A-EXM2, and expansion interface slave module FC5A-EXM1S is 20.4 to 26.4V DC. Do not use the Web server CPU module on any other voltage.
• If the power voltage turns on or off very slowly, the Web server CPU module may run and stop repeatedly or I/O operation may fluctuate at a voltage lower than the rated voltage.
• When Web server CPU module I/O signals are connected to a device which may cause a major accident in case of an error, take a measure to secure safety, such as providing a voltage monitoring circuit outside the Web server CPU module.
• Use one power supply to power the CPU module and the expansion interface module or expansion interface slave module.
• When using a separate power supply, power up the expansion interface module or expansion interface slave module first, followed by the CPU module, otherwise the CPU module causes an error and cannot start and stop operation.
• Use an IEC 60127-approved fuse on the power line outside the Web server CPU module. This is required when equipment containing the Web server CPU module is destined for Europe.
Caution
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
3: INSTALLATION AND WIRING
3-14 WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
Precautions for Connecting Communication Devices
When connecting communication devices to the Web server CPU module, take possible external noise sources into consideration.
In a communication network consisting of a Web server CPU module and an external device (a communication device which has a functional ground and a signal ground connected together internally [for example, IDEC’s HG3F and HG4F operator interfaces]), if all devices are powered by a common AC or DC power source, noise generated by the external device may affect the internal circuits of the Web server CPU module and the communication device. Take the following measures depending on the operating environment.
• Use a separate power supply for the external device generating noises so that a loop circuit to induce noises can not be formed.
• Disconnect the functional ground terminal of the communication device from the ground line. This measure may result in deterioration of EMC characteristics. When taking this measure, make sure that the EMC characteristics of the entire system are satisfactory.
• Connect the functional ground terminal of the communication device to the 0V line of the power supply so that the noises from the external device do not flow through the communication line.
• Connect an isolator to the communication line so that a loop circuit to induce noises can not be formed.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 3-15
3: INSTALLATION AND WIRING
Maximum Quantity of Applicable Expansion Modules
This section describes precautions for installing the expansion RS232C communication module in connection with the internal current draw by other expansion modules.
The all-in-one 24-I/O type CPU module (except 12V DC power type) can mount a maximum of three expansion RS232C communication modules. The slim type CPU module can mount a maximum of five expansion RS232C communication modules.
Including expansion RS232C communication modules and other expansion modules, the all-in-one type CPU module can mount a maximum of four expansion modules, and the slim type CPU module can mount a maximum of seven expansion modules, unless the total internal current draw by all connected expansion modules exceeds the allowable current draw of the CPU module. Make sure that the total internal current draw does not exceed the current capacity of the CPU module.
Allowable Total Internal Current Draw
Note: The all-in-one 24-I/O type CPU module cannot use the expansion RS232C/RS485 communication module in combination with
function modules listed below. When using the expansion RS232C/RS485 communication module and these function modules, use the slim type CPU module.
Internal Current Draw by Expansion Modules
Note 1: A maximum of two AS-Interface master modules can be mounted even if the total current draw is within the limits.
Only one expansion interface module or expansion interface master module can be mounted to a CPU module, and is not included in the calculation of the total current draw by expansion modules.
Note 2: Values indicated in square brackets represent FC5A-SIF2 earlier than version 200.
CPU Module
Quantity of Expansion RS232C
Communication Modules
Quantity of Expansion
Modules
Total Internal Current Draw
(5V DC)
All-in-one 24-I/O Type
CPU Module
3 maximum (Note) 4 maximum 260 mA maximum
Slim Type CPU Module 5 maximum 7 maximum 455 mA maximum
Function Module Type No.
Analog I/O Module
FC4A-L03A1, FC4A-L03AP1, FC4A-J2A1, FC4A-J4CN1, FC4A-J8C1, FC4A-J8AT1, FC4A-K1A1, FC4A-K2C1, FC4A-K4A1
AS-Interface Master Module FC4A-AS62M
Module Type No.
Internal Current Draw
(5V DC)
Module Type No.
Internal Current Draw
(5V DC)
Input Module
FC4A-N08B1 25 mA maximum
Mixed I/O Module
FC4A-M08BR1 25 mA maximum
FC4A-N16B1 40 mA maximum FC4A-M24BR2 65 mA maximum
FC4A-N16B3 35 mA maximum
Analog I/O Module
FC4A-L03A1 50 mA maximum
FC4A-N32B3 65 mA maximum FC4A-L03AP1 50 mA maximum
FC4A-N08A11 60 mA maximum
Analog Input Module
FC4A-J2A1 50 mA maximum
Relay Output Module
FC4A-R081 30 mA maximum FC4A-J4CN1 50 mA maximum
FC4A-R161 45 mA maximum FC4A-J8C1 40 mA maximum
Trans isto r Output Module
FC4A-T08K1 10 mA maximum FC4A-J8AT1 45 mA maximum
FC4A-T08S1 10 mA maximum
Analog Output Module
FC4A-K1A1 50 mA maximum
FC4A-T16K3 10 mA maximum FC4A-K2C1 60 mA maximum
FC4A-T16S3 10 mA maximum FC4A-K4A1 65 mA maximum
FC4A-T32K3 20 mA maximum
FC4A-T32S3 20 mA maximum
AS-Interface Master Module (Note 1) FC4A-AS62M 80 mA maximum
Expansion RS232C Communication Module FC5A-SIF2
40 mA [85 mA]
maximum (Note 2)
Expansion RS485 Communication Module FC5A-SIF4 40 mA maximum
PID Module
FC5A-F2MR2 65 mA maximum
FC5A-F2M2 65 mA maximum
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
3: INSTALLATION AND WIRING
3-16 WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
Example: Installing five expansion RS232C communication modules to the slim type CPU module
In the above example, two more expansion modules can be added, with a maximum total current draw of 30 mA. The following table shows an example of installing the maximum quantity of expansion modules.
Example: Installing an expansion interface module and RS232C communication modules
When using an expansion interface module, the current draw by the expansion interface module is not included in the total of internal current draw the current capacity of the CPU module as shown in the example below.
In the additional area on the right of the expansion interface module (FC5A-EXM2, FC5A-EXM1M, and FC5A-EXM1S), a maximum of eight digital I/O modules can be mounted regardless of the internal current draw of the digital I/O modules.
Expansion RS232C communication modules cannot be mounted on the right of expansion interface module. For details about the expansion interface modules, see "Expansion Interface Module" of the basic volume (page 2-72).
Module Type No. Quantity
Internal Current Draw
(5V DC)
Total Internal Current Draw
Expansion RS232C Communication Module
FC5A-SIF2 (Earlier than V200)
5 85 mA 425 mA
Maximum Applicable Expansion Modules (Slim CPU) 7 455 mA
Balance 2 30 mA
Module Type No. Quantity
Internal Current Draw
(5V DC)
Total Internal Current Draw
Expansion RS232C Communication Module
FC5A-SIF2 (Earlier than V200)
5 85 mA 425 mA
Transistor Output Module
FC4A-T08S1 1 10 mA 10 mA
FC4A-T32K3 1 20 mA 20 mA
Total 7 4 55 m A
Area Module Type No. Quantity
Internal Current
Draw (5V DC)
To ta l I n te r na l Current Draw
Expansion
Expansion RS232C Communication Module
FC5A-SIF2 (Earlier than V200)
5 85 mA 425 mA
Tota l 5 4 25 mA
Expansion Interface Module FC5A-EXM2 or FC5A-EXM1M + FC5A-EXM1S
Additional
Input Module FC4A-N32B3 4 65 mA 260 mA
Transistor Output Module FC4A-T32K3 4 20 mA 80 mA
Total 8 340 mA
• This equipment is suitable for use in Class I, Division 2, Groups A, B, C, D or non-hazardous locations only.
• Explosion hazard — Substitution of components may impair suitability for Class I, Division 2.
• Explosion hazard — Do not disconnect equipment unless power has been switched off or the area is known to be non-hazardous.
Warning
• Make sure that the total internal current draw by all connected expansion modules does not exceed the allowable current draw of the CPU module. Otherwise the CPU and other modules do not operate correctly. The CPU module does not detect the excessive current draw.
• The expansion RS232C communication module cannot be mounted on the right of expansion interface modules (FC5A-EXM2, FC5A-EXM1M, and FC5A-EXM1S). Expansion interface modules can be mounted on the right of the expansion RS232C communication module.
Caution
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 3-17
3: INSTALLATION AND WIRING
Terminal Connection
Ferrules, Crimping Tool, and Screwdriver for Phoenix Terminal Blocks
Ferrule Order No.
Crimping Tool and Screwdriver Order No.
• Make sure that the operating conditions and environments are within the specification values.
• Be sure to connect the grounding wire to a proper ground, otherwise electrical shocks may be caused.
• Do not touch live terminals, otherwise electrical shocks may be caused.
• Do not touch terminals immediately after power is turned off, otherwise electrical shocks may be caused.
• When using ferrules, insert a wire to the bottom of the ferrule and crimp the ferrule.
• When connecting a stranded wire or multiple solid wires to a screw terminal block, use a ferrule. Otherwise the wire may slip off the screw terminal block.
Caution
The screw terminal block can be wired with or without using ferrules on the end of cable. Applicable ferrules for the Phoenix terminal blocks and crimping tool for the ferrules are listed below. The screwdriver is used for tightening the screw terminals on the Web server CPU modules. These ferrules, crimping tool, and screwdriver are made by Phoenix Contact and are available from Phoenix Contact.
Type numbers of the ferrules, crimping tool, and screwdriver listed below are the type numbers of Phoenix Contact. When ordering these products from Phoenix Contact, specify the Order No. and quantity listed below.
Quantity of Cables Cable Size Phoenix Type Order No. Pcs./Pkt.
For 1-wire connection
UL1007 AWG16 AI 1,5-8 BK 32 00 04 3 100
UL1007 AWG18 AI 1-8 RD 32 00 03 0 100
UL1015 AWG22 AI 0,5-8 WH 32 00 01 4 100
UL2464 AWG24 AI 0,25-8 YE 32 03 03 7 100
For 2-wire connection
UL1007 AWG18 AI-TWIN 2 x 0,75-8 GY 32 00 80 7 100
UL1015 AWG22 AI-TWIN 2 x 0,5-8 WH 32 00 93 3 100
Tool Name Phoenix Type Order No. Pcs./Pkt.
Crimping Tool CRIMPFOX ZA 3 12 01 88 2 1
Screwdriver
For power supply terminals SZS 0,6 x 3,5 12 05 05 3 10
For I/O modules, communication adapter, communication module, expansion RS232C/RS485 communication modules
SZS 0,4 x 2,5 12 05 03 7 10
Screw Terminal Tightening Torque
CPU modules 0.5 N·m
I/O modules Communication adapter Communication module Expansion RS232C/RS485 communication modules
0.22 to 0.25 N·m
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
3: INSTALLATION AND WIRING
3-18 WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 4-1
4: OPERATION BASICS
Introduction
This chapter describes general information about setting up the basic Web server CPU module system for programming, starting and stopping Web server CPU module operation, and introduces simple operating procedures from creating a user program using WindLDR on a PC to monitoring the Web server CPU module operation.
Start by setting up the maintenance environment. Then, connect a PC that has WindLDR installed and the Web server CPU module with a USB cable. If WindLDR is not installed on the PC, install WindLDR.
Start WindLDR
From the Start menu of Windows, select Programs > Automation Organizer > WindLDR > WindLDR. WindLDR starts and a blank ladder editing screen appears with menus and tool bars shown on top of the screen.
USB Cable
A Plug Mini-B Plug
USB Port
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
4: OPERATION BASICS
4-2 WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
PLC Selection
Before programming a user program on WindLDR, select the PLC type.
1. Select Configuration from the WindLDR menu bar, then select PLC Type.
The PLC Selection dialog box appears.
2. Select FC5A-D12X1E in the selection box.
Click OK to save the changes.
Press this button, then the same PLC will be selected as default when WindLDR is started next time.
CPU Module Type No.
FC5A-C10R2 FC5A-C10R2C FC5A-C10R2D
FC5A-C16R2 FC5A-C16R2C FC5A-C16R2D
FC5A-C24R2 FC5A-C24R2C FC5A-C24R2D
FC5A-D16RK1 FC5A-D16RS1
FC5A-D32K3 FC5A-D32S3
FC5A-D12K1E FC5A-D12S1E
PLC Selection Option
FC5A-C10R2X
FC5A-C16R2X
FC5A-C24R2X
FC5A-D16RX1
FC5A-D32X3
FC5A-D12X1E
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 4-3
4: OPERATION BASICS
Communication Setup Procedure
This section describes the procedure to set up communication between a PC and the PLC, using an example. WindLDR is used to configure the network settings of the Web server CPU module and monitor the status of the CPU module using an Ethernet connection.
USB Connection
1. Select Online from the WindLDR menu bar, then select Set Up.
The Communication Settings dialog box appears.
2. Select USB and click OK button.
3. Select Configuration from the WindLDR menu bar, and then click Network Settings.
4. The Function Area Settings dialog box appears. Enter the IP address, subnet mask, and default gateway, then click OK
button.
5. Select Online from the WindLDR menu bar, and then click Download.
Note: To communicate with the PLC using a USB connection, the USB driver must be installed on your PC. For the procedure to install
the driver, see “USB Driver Installation Procedure” on page A-3.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
4: OPERATION BASICS
4-4 WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
6. The Download dialog box appears. Click OK button.
7. After the download has been completed successfully, select Online from the WindLDR menu bar, and then click
Monitor.
8. Select Online from the WindLDR menu bar, and then click Batch.
9. The Batch Monitor dialog box appears. Confirm that the IP address for confirured in step 4 is shown in D8330 to
D8333 correctly.
Ethernet Connection
10. Exit Monitor, then select Online from the WindLDR menu bar, and then click Set Up.
11. The Communication Settings dialog box appears. Select the Ethernet and then click on the Browse button.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 4-5
4: OPERATION BASICS
12. The IP Address Settings dialog box appears. Click on the New button.
13. The Input IP Address dialog box appears. Enter the IP address configured in step 4 and click OK button.
14. Select Online from the WindLDR menu bar, and then click Monitor. The IP Address Settings dialog box appears. Click
OK button.
15. Select Online from the WindLDR menu bar, and then click Status.
16. The PLC Status dialog box appears. Confirm that the PLC type and the system program version are properly displayed.
Settings are now complete.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
4: OPERATION BASICS
4-6 WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
Start/Stop Operation
This section describes operations to start and stop the Web server CPU module and to use the stop and reset inputs.
Start/Stop Schematic
Start/Stop Operation Using WindLDR
The Web server CPU module can be started and stopped using WindLDR run on a Windows PC connected to the Web server CPU module. When the
Start button is pressed in the menu bar shown below, start control special internal relay
M8000 is turned on to start the Web server CPU module. When the
Stop button is pressed, M8000 is turned off to stop
the Web server CPU module.
1. Connect the PC to the Web server CPU module, start WindLDR, and power up the Web server CPU module. See
“Introduction” on page 4-1.
2. Check that a stop input is not designated using Configuration > Run/Stop Control > Stop and Reset Inputs. See "Stop
Input and Reset Input" of the basic volume (page 5-2).
Note: When a stop input is designated, the Web server CPU module cannot be started or stopped by turning start control special internal relay M8000 on or off.
3. Select Online from the WindLDR menu bar.
The Online tab appears.
4. Click the Start button to start operation, then the start control special internal relay M8000 is turned on.
5. Click the Stop button to stop operation, then the start control special internal relay M8000 is turned off.
The PLC operation can also be started and stopped while WindLDR is in the monitor mode. Select
Online > Monitor >
Monitor
and click the Start or Stop button.
Note: Special internal relay M8000 is a keep type internal relay and stores the status when power is turned off. M8000 retains its previous status when power is turned on again. However, when the backup battery is dead, M8000 loses the stored status, and can be turned on or off as programmed when the Web server CPU module is powered up. The selection is made in Configuration > Run/Stop Control > Run/Stop Selection at Memory Backup Error. See "Run/Stop Selection at Memory Backup Error" of the basic volume (page 5-3).
The backup duration is approximately 30 days (typical) at 25°C after the backup battery is fully charged.
• Make sure of safety before starting and stopping the Web server CPU module. Incorrect operation on the Web server CPU module may cause machine damage or accidents.
Caution
The start/stop circuit of the Web server CPU module consists of three blocks; power supply, M8000 (start control special internal relay), and stop/reset inputs. Each block can be used to start and stop the Web server CPU module while the other two blocks are set to run the Web server CPU module.
Power Supply
M8000
Start Control
WindLDR
Stop Input
Reset Input
Start PLC
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 4-7
4: OPERATION BASICS
Start/Stop Operation Using the Power Supply
The Web server CPU module can be started and stopped by turning power on and off.
1. Power up the Web server CPU module to start operation. See “Introduction” on page 4-1.
2. If the Web server CPU module does not start, check that start control special internal relay M8000 is on using
WindLDR. If M8000 is off, turn it on. See “Start/Stop Operation Using WindLDR” on page 4-6.
3. Turn power on and off to start and stop operation.
Note: If M8000 is off, the Web server CPU module does not start operation when power is turned on. To start operation, turn power
on, and turn M8000 on by clicking the Start button in WindLDR.
The response time of the Web server CPU module at powerup depends on such factors as the contents of the user program, data link usage, and system setup. The table below shows an approximate time delay before starting operation after powerup.
Response time when no data link is used:
Start/Stop Operation Using Stop Input and Reset Input
Any input terminal available on the CPU module can be designated as a stop or reset input using the Function Area
Settings. The procedure for selecting stop and reset inputs is described in "Stop Input and Reset Input" of the basic
volume (page 5-2).
Note: When using a stop and/or reset input to start and stop operation, make sure that start control special internal relay M8000 is on. If M8000 is off, the CPU does not start operation when the stop or reset input is turned off. M8000 is not turned on or off when the stop and/or reset input is turned on or off.
When a stop or reset input is turned on during program operation, the CPU stops operation, the RUN LED is turned off, and all outputs are turned off.
The reset input has priority over the stop input.
System Statuses at Stop, Reset, and Restart
The system statuses during running, stop, reset, and restart after stopping are listed below:
Note: Expansion data registers are available on slim type CPU modules. All expansion data registers are keep types.
Program Size
After powerup, the CPU starts operation in
No memory cartridge is
installed
Memory cartridge is
installed
13,800 bytes (2,300 steps) Approx. 1.7 seconds Approx. 1.5 seconds
27,000 bytes (4,500 steps) Approx. 2.5 seconds Approx. 2.1 seconds
54,000 bytes (9,000 steps) Approx. 4.5 seconds Approx. 3.5 seconds
62,400 bytes (10,400 steps) Approx. 5 seconds Approx. 4 seconds
127,800 bytes (21,300 steps) Approx. 9 seconds Approx. 7 seconds
Order of Powerup and Powerdown
To ensure I/O data transfer, power up the I/O modules first, followed by the CPU module, or power up the CPU and I/O modules at the same time. When shutting down the system, power down the CPU first, followed by I/O modules, or power down the CPU and I/O modules at the same time.
I/O Module Power
CPU Module Power
ON OFF ON OFF
0 sec or more 0 sec or more
Mode Output
Internal Relay, Shift Register, Counter, Data Register, Expansion DR, Extra DR
Timer Current Value
Keep Type Clear Type
Run Operating Operating Operating Operating
Stop (Stop input ON) OFF Unchanged Unchanged Unchanged
Reset (Reset input ON) OFF OFF/Reset to zero OFF/Reset to zero Reset to zero
Restart Unchanged Unchanged OFF/Reset to zero Reset to preset
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
4: OPERATION BASICS
4-8 WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
Simple Operation
This section describes how to edit a simple program using WindLDR on a PC, transfer the program from the PC to the Web server CPU module, run the program, and monitor the operation on the WindLDR screen.
Connect the Web server CPU module to the PC as described in “Introduction” on page 4-1.
Note: See the Basic Volume, “Chapter 7: Basic Instructions” (page 7-1) for details on instructions.
See the Basic Volume, “Chapter 12: Modbus ASCII/RTU Communication” (page 12-1) for information on how to connect the programming tool (WindLDR) and the main unit.
Sample User Program
Create a simple program using WindLDR. The sample program performs the following operation:
When only input I0 is turned on, output Q0 is turned on. When only input I1 is turned on, output Q1 is turned on. When both inputs I0 and I1 are turned on, output Q2 flashes in 1-sec increments.
Start WindLDR
From the Start menu of Windows, select Programs > Automation Organizer > WindLDR > WindLDR.
WindLDR starts and a blank ladder editing screen appears with menus and tool bars shown on top of the screen.
.
Rung No. Input I0 Input I1 Output Operation
1 ON OFF Output Q0 is turned ON.
2 OFF ON Output Q1 is turned ON.
3 ON ON Output Q2 flashes in 1-sec increments.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 4-9
4: OPERATION BASICS
Disable Tag Function
The following example describes a simple procedure without using the tag function. From the WindLDR menu bar, select
View, then click the check box of Device Address.
Edit User Program Rung by Rung
Start the user program with the LOD instruction by inserting a NO contact of input I0.
1. From the WindLDR menu bar, select Home > Basic > A (Normally Open).
2. Move the mouse pointer to the first column of the first line where you want to insert a NO contact, and click the left
mouse button.
Note: Another method to insert a NO (or NC) contact is to move the mouse pointer where you want to insert the contact, and type A (or B).
The Normally Open dialog box appears.
Check the Device Address check box.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
4: OPERATION BASICS
4-10 WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
3. Enter I0 in the Tag Name field, and click OK.
A NO contact of input I0 is programmed in the first column of the first ladder line. Next, program the ANDN instruction by inserting a NC contact of input I1.
4. From the WindLDR menu bar, select Home > Basic > B (Normally Closed).
5. Move the mouse pointer to the second column of the first ladder line where you want to insert a NC contact, and click
the left mouse button.
The Normally Closed dialog box appears.
6. Enter I1 in the Tag Name field, and click OK.
A NC contact of input I1 is programmed in the second column of the first ladder line. At the end of the first ladder line, program the OUT instruction by inserting a NO coil of output Q0.
7. From the WindLDR menu bar, select Home > Basic > OUT (Output).
8. Move the mouse pointer to the third column of the first ladder line where you want to insert an output coil, and click
the left mouse button.
Note: Another method to insert an instruction (either basic or advanced) is to type the instruction symbol, OUT, where you want to insert the instruction.
The Output dialog box appears.
9. Enter Q0 in the Tag Name field, and click OK.
A NO output coil of output Q0 is programmed in the right-most column of the first ladder line. This completes programming for rung 1.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 4-11
4: OPERATION BASICS
Continue programming for rungs 2 and 3 by repeating similar procedures. A new rung is inserted by pressing the
Enter key while the cursor is on the preceding rung. A new rung can also be
inserted by selecting
Home > Append > Append a Rung.
When completed, the ladder program looks like below.
The ladder program can be checked whether it contains any user program syntax error.
10. From the menu bar, select Home > Convert (above Program).
When the instruction symbols are connected correctly, conversion is completed successfully. If any error is found, the errors are listed on the screen. Then, make corrections as necessary.
Now, save the file with a new name.
11. Select the WindLDR application button at the upper-left corner of the WindLDR screen, followed by Save, and type
TEST01 in the File Name field. Change the Folder or Drive as necessary.
To insert a new ladder line without creating a new rung, press the down arrow key when the cursor is on the last line or press the right arrow key when the cursor is at the right-most column of the last line.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
4: OPERATION BASICS
4-12 WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
Simulate Operation
Before downloading the user program, you can simulate the operation on the WindLDR screen without connecting the Web server CPU module.
From the WindLDR menu bar, select
Online > Simulation. The Simulation screen appears.
To change an input status, place the mouse pointer on the input and right-click the mouse. In the pop-up menu, select Set or Reset to set or reset the input.
To quit simulation, from the WindLDR menu bar, select
Online > Simulation.
Download Program
You can download the user program from WindLDR running on a PC to the Web server CPU module. From the WindLDR menu bar, select
Online > Download. The Download Dialog appears, then click the OK button. The
user program is downloaded to the Web server CPU module.
Note: When downloading a user program, all values and selections in the Function Area Settings are also downloaded to the Web server CPU module.
Note: The Download Dialog is also shown by selecting Home > Download.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 4-13
4: OPERATION BASICS
Monitor Operation
Another powerful function of WindLDR is to monitor the PLC operation on the PC. The input and output statuses of the sample program can be monitored in the ladder diagram.
From the WindLDR menu bar, select
Online > Monitor > Monitor.
When both inputs I0 and I1 are on, the ladder diagram on the monitor screen looks as follows:
If the USB cable is disconnected and connected during monitoring operation, the USB port may not be detected correctly by WindLDR. See “Troubleshooting Diagram 19” on page 13-26.
Quit WindLDR
When you have completed monitoring, you can quit WindLDR either directly from the monitor screen or from the editing screen. In both cases, from the WindLDR application button, click
Exit WindLDR.
Rung 1:
When both inputs I0 and I1 are on, output Q0 is turned off.
Rung 2:
When both inputs I0 and I1 are on, output Q1 is turned off.
Rung 3:
When both input I0 and I1 are on, internal relay M10 is turned on.
M8121 is the 1-sec clock special internal relay.
While M10 is on, output Q2 flashes in 1-sec increments.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
4: OPERATION BASICS
4-14 WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 5-1
5: FUNCTION AREA SETTINGS
This chapter describes the various functions of the Web server CPU module along with applications and procedures to use those functions.
Function Area Settings
This section describes the Function Area Settings.
Device Settings Program capacity selection can be configured.
Self Diagnostic Watchdog timer value can be configured.
Network Settings Network settings and host name of the Web server CPU module can be configured.
E-mail Settings Basic settings to use E-mail function can be configured.
Network Management SNTP settings and PING timeout can be configured.
Connection Settings
Maintenance communication server, user Communication server/client, and Modbus TCP server/client can be configured.
Web Server Web server settings can be configured.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
5: FUNCTION AREA SETTINGS
5-2 WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
Program Capacity Selection
This section describes the program capacity selection.
Applications
The program capacity selection enables you to increase the program capacity to 127,800 bytes when the default program capacity of 62,400 bytes is insufficient.
Description of Functions
The program capacity selection enables you to configure the program capacity for the Web server CPU module to either 62,400 bytes or 127,800 bytes. The program capacity of your program can be confirmed under the Program Information in the Download dialog box. The user web page size is not included in the program capacity.
Notes:
• When 127,800 bytes is selected, the Online Edit cannot be used.
• When a memory cartridge is installed on the CPU module, user programs exceeding the capacity of the memory cartridge cannot be downloaded. For details, see page 2-31 of FC5A user ’s manual basic volume.
Programming WindLDR
1. Select Configuration from the WindLDR menu bar, and then click Device Settings.
The Function Area settings dialog box appears.
Program Capacity Selection
Select either 62,400 bytes or 127,800 bytes. The default program capacity is 62,400 bytes.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 5-3
5: FUNCTION AREA SETTINGS
Watchdog Timer Setting
This section describes watchdog timer setting.
Applications
The watchdog timer value for the Web server CPU module is 400 ms by default. When the default setting of 400 ms is too small, the watchdog timer value can be changed.
Description of functions
The watchdog timer value can be changed between 100 ms and 4000 ms.
Note:
• The watchdog timer can be reset by inserting a NOP instruction in a ladder program.
Caution:
• The Watchdog Timer monitors the scan time to confirm that the system is operating normally. When changing the watch dog time setting, consider the safety of the system and configure the appropriate value.
Programming WindLDR
1. Select Configuration from the WindLDR menu bar, and then click Self Diagnostic.
The Function Area settings dialog box appears.
Watchdog timer Settings
Select the watch dog timer setting between 100 ms and 4000 ms. The default time is 400 ms.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
5: FUNCTION AREA SETTINGS
5-4 WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
Network Settings
This section describes the network settings of the Web server CPU module.
Applications
The network settings are configured to utilize functions that use the Ethernet port of the Web server CPU module.
Description of Functions
The network settings can be configured in a similar manner to the network settings of the PC. It is also possible to configure the network settings using special data registers. The Web server CPU module supports DNS client, and network devices to which the Web server CPU module communicates can be specified using host names.
Programming WindLDR
1. Select Configuration from the WindLDR menu bar, and then click Network Settings.
The Function Area settings dialog box appears.
Host Settings
Specify the host name of the Web server CPU module. A maximum of 15 ASCII characters can be entered.
IP Settings
Specify the IP address, subnet mask, and default gateway.
DNS Settings
Specify the preferred DNS server and alternate DNS server. DNS server settings are required when the Web server CPU module communicates with remote hosts using its host names.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 5-5
5: FUNCTION AREA SETTINGS
IP and DNS settings can be configured with one of the following three methods:
1. Obtain network settings automatically from the DHCP server
A DHCP server must exist on the network in which the Web server CPU module is installed. All network settings are configured automatically. The network settings are obtained from the DHCP server when the user program is downloaded to the CPU module or when the CPU module is turned on.
2. Configure network settings using special data registers.
Network settings can be configured with special data registers D8304 through D8323. Values in those special data registers are applied as the network settings when the CPU module is turned on or when M8190 (IP address change flag) is turned on.
3. Configure fixed network settings.
Fixed network settings can be configured in the Function Area Settings dialog box. Network settings are applied when the user program is downloaded to the CPU module or when the CPU module is turned on.
Notes:
• The default network settings are fixed IP address of 192.168.1.5.
• The following functions require the DNS server configured.
· Send E-mail function (DNS server is required to resolve SMTP server name)
· SNTP function (DNS server is required to resolve SNTP server name)
· PING function (DNS server is required to resolve the host names of remote hosts)
· Server/Client Communications (DNS server is required to resolve the network devices to communicate with)
Special Data Registers/Special Internal Relays
Special Data Registers to Confirm Network Settings
The IP Settings and DNS Settings of the Web server CPU module can be confirmed with the special data registers D8330 through D8349.
Special data registers
Specifying IP Settings and DNS Settings Using Special Data Registers
When use special data registers is configured in the function area settings, IP settings and DNS settings can be configured with special data registers D8304 through D8323. Store 0 (function area settings) in D8303. Store the network settings to apply in D8304 through D8323 and turn on M8190. The values in D8304 through D8323 are applied as the network settings. The values in the special data registers can also be applied as the network settings by turning power off and on.
Notes:
• When the value in D8303 is 2 (Use special data registers), the special data registers can be used to configure the network settings by turning on M8190 or turning power off and on regardless of the network settings configured in the function area settings.
• When the value in D8303 is 1 (Enable DHCP), the network settings can be obtained from DHCP server by turning on M8190 or turning power off and on regardless of the network settings configured in the function area settings.
• To enable the network settings configured in the function area settings, store 0 in D8303 and turn on M8190 or turn power off and on.
Device Address Description Details
D8330-D8333 IP Address
When the address is aaa.bbb.ccc.ddd, each value is stored in special data registers as follows: (D+0)=aaa, (D+1)=bbb, (D+2)=ccc, and (D+3)=ddd. For example, when the IP address is 192.168.1.5, each value is stored as follows: D8330=192, D8331=168, D8332=1, and D8333=5.
D8334-D8337 Subnet Mask
D8338-D8341 Default Gateway
D8342-D8345 Preferred DNS Server
D8346-D8349 Alternate DNS Server
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
5: FUNCTION AREA SETTINGS
5-6 WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
Special Internal Relays
Special Data Registers
Device Address Description Operation
M8190 IP Address Change Flag
When M8190 is turned on, the values in special data registers D8304 through 8323 are applied as the network settings.
Device Address Description Operation
D8303 IP Address Switching
0, 3 to 255: Follow function area settings 1: Enable DHCP 2: Use special data registers
D8304-D8307 IP Address
When the address is aaa.bbb.ccc.ddd, each value is stored in special data registers as follows: (D+0)=aaa, (D+1)=bbb, (D+2)=ccc, and (D+3)=ddd. For example, when the IP address is 192.168.1.5, each value is stored as follows: D8330=192, D8331=168, D8332=1, and D8333=5.
D8308-D8311 Subnet Mask
D8312-D8315 Default Gateway
D8316-D8319 Preferred DNS Server
D8320-D8323 Alternate DNS Server
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 5-7
5: FUNCTION AREA SETTINGS
SNTP Server
This section describes the configurations for using SNTP server.
Applications
The Web server CPU module can obtain the current time from an SNTP server in the network. The obtained time is stored in the special data registers and can be used to adjust the clock cartridge. When the clock cartridge is not installed, calendar/clock data obtained from SNTP server can be used as a simple clock.
Description of Functions
When the Web server CPU module is powered on, the current time (GMT) is obtained from the SNTP sever and adjusted according to the time zone. The adjusted time is stored in the special data registers D8414 through D8420. After the current time is obtained from the SNTP server, the calendar/clock stored in D8414 through D8420 are updated with an internal timer of the Web server CPU module. The Web server CPU module obtains the current time from the SNTP server and adjust the current time every 10 minutes.
Programming WindLDR
1. Select Configuration from the WindLDR menu bar, and then click Network Management.
The Function Area settings dialog box appears.
2. Enable Acquire the current date and time from an SNTP server.
3. Configure SNTP server name, SNTP server port, and time zone.
SNTP Server Name: Specify the host name of SNTP server. A maximum of 40 ASCII characters can be entered. SNTP Server Port: Specify the port number of the SNTP server. The default port number is 123. Time Zone: Specify the time zone of the location where the Web server CPU module is installed. The time zone can be
configured between GMT-12:00 to GMT+13:00.
Note:
• The host name of the SNTP server is resolved using DNS server. For details about DNS server settings, see "Network Settings" on page 5-4.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
5: FUNCTION AREA SETTINGS
5-8 WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
Special Data Registers and Special Internal Relays
Special Internal Relays
Special Data Registers
The calendar/clock data obtained from the SNTP server is stored in the following special data registers.
Adjusting Clock Cartridge
Calendar/clock data obtained from an SNTP server can be used to adjust the clock cartridge. When M8191 (SNTP Calendar/Clock Data Write Flag) is turned on, the values in D8414 to D8420 are written to the clock cartridge. If M8191 is kept on, the clock cartridge is adjusted every 24 hours.
Note:
• When using a clock cartridge, week programmer instructions operate using the time information of the clock cartridge. The calendar/clock data of the clock cartridge is stored in D8008 to D8014.
Using SNTP Calendar/Clock as a Simple Clock
When a clock cartridge is not used, the calendar/clock data obtained from an SNTP server can be used as a simple clock. When a clock cartridge is not installed on the Web server CPU module, week programmer instructions operate using the calendar/clock data obtained from SNTP the server. The values in D8414 to D8420 (calendar/clock data obtained from SNTP server) are automatically transferred to D8008 to D8014 (calendar/clock data of memory cartridge). No modification is required in the ladder programs using the values in D8008 and D8014.
Note:
• When the Web server CPU module is powered, it does not have time information. Once the current time is obtained from the SNTP server, the calendar/clock data is stored in special data registers. If the Web server CPU module cannot access SNTP server, SNTP calendar/clock cannot be used.
Device Address Description Operation
M8191
SNTP Calendar/Clock Data Write Flag
When M8191 is turned on, the clock cartridge is adjusted with SNTP calendar/clock data. If M8191 is kept on, the clock cartridge is adjusted every 24 hours.
Device Address Description Details
D8414 Yea r
0 to 99 is stored. The last 2 digits of the year are stored. If the year is 2011, the stored value is 11.
D8415 Month 1 to 12 is stored.
D8416 Day 1 to 31 is stored.
D8417 Day of Week
0 to 6 is stored according to the day of the week as follows: 0=Sunday, 1=Monday, 2=Tuesday, 3=Wednesday, 4=Thursday, 5=Friday, 6=Saturday
D8418 Hour 0 to 23 is stored.
D8419 Minute 0 to 59 is stored.
D8420 Second 0 to 59 is stored.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 5-9
5: FUNCTION AREA SETTINGS
Adjusting the time zone with a special data register (D8413)
The time zone (GMT-12:00 to GMT+13:00) configured in the function area settings can be adjusted using D8413 in a multiple of 15 minutes. The time zone after the adjustment should be within GMT-12:00 to GMT+13:00. For example, when the time zone configured in the function area settings is GMT+9:00, and D8413 is 1, 15 minutes are added to the time zone, and the adjusted time zone will be GMT+09:15. When D8413 is -2, 30 minutes are subtracted from the time zone, and the adjusted time zone will be GMT+8:30.
Special Data Registers
Device Address Description Operation
D8413 Time Zone Offset
The time zone can be adjusted. When 1 is stored in D8413, the clock will advance by 15 minutes. When -1 is stored in D8413, the clock will be set back by 15 minutes. The valid range of the time zone after the adjustment is GMT-12:00 to GMT+13:00.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
5: FUNCTION AREA SETTINGS
5-10 WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
Connection Settings
This section describes the configurations for client/server connections of the Web server CPU module.
Applications
The Web server CPU module supports Ethernet communication functions with a maximum of 11 server connections and a maximum of three client connections. Using those connections, maintenance communication, user communication, and Modbus TCP communication can be used. Those communications can be configured in the Function Area Settings dialog box.
Description of functions
The Web server CPU module has a maximum of three connections for the maintenance communication server as standard. WindLDR on a PC can monitor, download, or upload the user program using the standard maintenance communication server.
In addition to the standard maintenance communication server, the Web server CPU module has eight server connections that can be used for maintenance communication, user communication, or Modbus TCP communication. Even when the maintenance communication is configured for additional server connections, the user program cannot be downloaded or uploaded through those server connections. When Modbus TCP is configured, the same port number can be configured in multiple server connections so that multiple Modbus TCP clients can access the Web server CPU module through the same port.
To limit the access to the Web server CPU module, IP address flittering can be used. By specifying the IP address that can access the Web server CPU module, anonymous access can be limited.
Programming WindLDR
1. Select Configuration from the WindLDR menu bar, and then click Connection Settings.
The Function Area settings dialog box appears.
2. Configure maintenance communication server, server connections, or client connections.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 5-11
5: FUNCTION AREA SETTINGS
Maintenance Communication Server
When Enable maintenance communication server is enabled, the standard maintenance communication server can be configured. For details, see "Maintenance Communication Server " on page 7-1.
Server Connection
Select the communication mode for each server connection in the corresponding pull-down list box. A maximum of eight server connections can be configured. Maintenance communication server, user communication server, or Modbus TCP server can be selected as the communication mode. Leave the communication mode of server connections as Unused if those connections are not used.
Client Connection
Select the communication mode for each client connection in the corresponding pull-down list box. A maximum of three client connections can be configured. User communication client or Modbus TCP client can be selected as the communication mode. Leave the communication mode of client connections as Unused if those connections are not used.
For details on each communication function, see the corresponding chapter in this manual.
Special Data Registers/Special Internal Relays
Communication Mode Information
The communication mode information of the server and client connections can be confirmed with special data registers D8278 and D8279. The communication mode information of the client connections 1 through 3 are stored in D8278. The communication mode information of the sever connections 1 through 8 are stored in D8279.
Communication mode information for client connections 1 through 3 is stored in D8278 as follows:
Communication mode information for server connections 1 through 8 is stored in D8279 as follows.
Client 1
Client 2
Client 3
00: Reserved 01: User Communication 10: Modbus TCP Client 11: Unused
D8278
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Server 1
Server 2
Server 3
Server 4
Server 5
Server 6
Server 7
Server 8
00: Maintenance Communication 01: User Communication 10: Modbus TCP Server 11: Unused
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
D8279
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
5: FUNCTION AREA SETTINGS
5-12 WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
Maintenance Communication Server Status and Connected IP Address
The connection status of the standard maintenance communication server with network client devices can be confirmed with special internal relays M8212 to M8214. When a connection with a client device is established, the corresponding special internal relay is turned on. When the connection is disconnected, the corresponding special internal relay is turned off. The IP addresses of the network client devices can be confirmed with special data registers D8350 to D8361.
Special Internal Relays
Special Data Registers
Device Address Description Details
M8212 Maintenance Communication Server 1 Status
While a connection is established with a client device, the special internal relay will be on. When no connection is established, it will be off.
M8213 Maintenance Communication Server 2 Status
M8214 Maintenance Communication Server 3 Status
Device Address Description Details
D8350-D8353
Maintenance Communication Server 1 Connected IP Address
IP address is stored in the corresponding special data registers. For example, when the IP address is aaa.bbb.ccc.ddd, each value is stored as follows: D8350=aaa, D8351=bbb, D8352=ccc, and D8353=ddd.
D8354-D8357
Maintenance Communication Server 2 Connected IP Address
D8358-D8361
Maintenance Communication Server 3 Connected IP Address
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 5-13
5: FUNCTION AREA SETTINGS
Client Connection Status and Connected IP Address
The connection status of client connections with remote hosts can be confirmed with special internal relays M8215 to M8217. When a connection with a remote host is established, the corresponding special internal relay is turned on. When the connection is disconnected, the corresponding special internal relay is turned off. The IP addresses of the remote hosts can be confirmed with special data registers D8394 to D8405.
Special Internal Relays
Special Data Registers
Sever Connection Status and Connected IP Address
The connection status of server connections with network client devices can be confirmed with special internal relays M8220 to M8227. When a connection with a client device is established, the corresponding special internal relay is turned on. When the connection is disconnected, the corresponding special internal relay is turned off. The IP addresses of the client devices can be confirmed with special data registers D8362 to D8493.
Special Internal Relays
Special Data Registers
Device Address Description Details
M8215 Client Connection 1 Status
While a connection is established with a remote host, the special internal relay will be on. When no connection is established, it will be off.
M8216 Client Connection 2 Status
M8217 Client Connection 3 Status
Device Address Description Details
D8394-D8397
Client Connection 1 Connected IP Address
IP address is stored in the corresponding special data registers. For example, when the IP address is aaa.bbb.ccc.ddd, each value is stored as follows: D8394=aaa, D8395=bbb, D8396=ccc, and D8397=ddd.
D8398-D8401
Client Connection 2 Connected IP Address
D8402-D8405
Client Connection 3 Connected IP Address
Device Address Description Details
M8220 Server Connection 1 Status
While a connection is established with a client device, the corresponding special internal relay will be on. When no connection is established, it will be off.
M8221 Server Connection 2 Status
M8222 Server Connection 3 Status
M8223 Server Connection 4 Status
M8224 Server Connection 5 Status
M8225 Server Connection 6 Status
M8226 Server Connection 7 Status
M8227 Server Connection 8 Status
Device Address Description Details
D8362-D8365 Server Connection 1 Connected IP Address
IP address is stored in the corresponding special data registers. For example, when the IP address is aaa.bbb.ccc.ddd, each value is stored as follows: D8362=aaa, D8363=bbb, D8364=ccc, and D8365=ddd.
D8366-D8369 Server Connection 2 Connected IP Address
D8370-D8373 Server Connection 3 Connected IP Address
D8374-D8377 Server Connection 4 Connected IP Address
D8378-D8381 Server Connection 5 Connected IP Address
D8382-D8385 Server Connection 6 Connected IP Address
D8386-D8389 Server Connection 7 Connected IP Address
D8390-D8393 Server Connection 8 Connected IP Address
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
5: FUNCTION AREA SETTINGS
5-14 WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 6-1
6: REMOTE HOST LIST
Introduction
This chapter describes how to configure a list of network devices (remote hosts) in the network to which the Web server CPU module communicates.
Applications
When the Web server CPU module accesses and communicates with other network devices in the network, the remote host device should be specified. The remote host list is required to use the following functions:
• PING Instructions
• ETXD/ERXD Instructions (User communication over Ethernet)
•Modbus TCP Client
Description of Functions
The remote host consists of an IP Address or a Host Name and a Port Number. When a remote host is specified with an IP address, the Web server CPU module establishes connection with the remote
host that has the specified IP address and the corresponding port number, then communication is started. When a remote host is specified with a host name, the Web server CPU module tries to obtain the IP address from the
specified host name using the DNS server. If the IP address is successfully obtained, the Web server CPU module establishes connection with the remote host that has the specified IP address and the corresponding port number, then communication is started.
For details about DNS server settings, see Network Settings in the Function Area Settings.
Programming WindLDR
1. Double-click on the Remote Host List in the Project Window.
The Remote Host List dialog box appears.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
6: REMOTE HOST LIST
6-2 WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
2. Click New button or select an existing remote host and click Edit button.
The Remote Host dialog box appears.
IP Address: Specify the remote host with an IP address. Host Name: Specify the remote host with a host name. Port Number: Specify the port number of the remote host. Comment: The comment for the remote host can be assigned. The contents or the length of the comment has no effect
on the CPU module operation.
3. Configure the parameters in the Remote Host dialog box and then click on Add button.
A new remote host will be added in the Remote Host List dialog box. If you want to add additional remote hosts, repeat the same procedure. After adding remote hosts has been completed, click on Close button.
4. If you want to delete an unused remote host, select that remote host in the Remote Host List dialog box and click on
Delete button.
Once a remote host is deleted, the remote host numbers of the following remote hosts are changed. As a result, the functions referring to those remote hosts, such as PING instructions, Modbus TCP client, or User communication client, will be affected,
Note: The PING instruction pings a remote host that has the specified IP address or host name. The port number of the remote host has no effect on the operation of the PING instruction.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 7-1
7: MAINTENANCE COMMUNICATION SERVER
Introduction
This chapter describes the specification and configuration procedure of the maintenance communication server functions of the Web server CPU module.
Applications
The Web server CPU module features the maintenance communication server functions. WindLDR can monitor the device values in the Web server CPU module and can also download or upload the user program to or from the Web server CPU module through the maintenance communication server.
Description of Functions
The Web server CPU module can be configured as a maintenance communication server. The maintenance communication server can be used simultaneously with other server/client connection communications.
By using the maintenance communication server of the Web server CPU module, the network devices supporting the maintenance communication, such as touch screens or WindLDR, can read and write the device values in the Web server CPU module. There is a maximum of three maintenance communication server connections available in the Web server CPU module as standard. In addition to those 3 connections, a maximum of eight server connections can be configured as the maintenance communication server. If all server connections are configured as the maintenance communication server, a total of 11 network devices supporting the maintenance communication can communicate with the Web server CPU module simultaneously.
The Web server CPU module also supports the pass-through over Modbus RTU. When the Web server CPU module is configured as Modbus RTU master, it is possible for a remote computer to communicate with FC5A MicroSmart CPU modules configured as Modbus RTU slaves via the Web Server CPU module. Device values or user programs of those slaves can be read/written from a remote computer.
The user program can be transferred with the Web server CPU module using the standard maintenance communication server. However, the user program cannot be transferred using the additional server connections configured as the maintenance communication server.
Pass-Through over Modbus RTU
The pass-through over Modbus RTU enables you to monitor FC5A MicroSmart CPU modules configured as Modbus RTU slaves via a Web server CPU module configured as Modbus RTU master from a remote computer. You can remotely read/ write device values or transfer the user programs of the Modbus RTU slaves.
The Web server CPU module with the system program version 1.20 or later can be used as the master of Modbus RTU pass-through. FC5A MicroSmart CPU modules with the system program version 2.40 or later can be used as the slaves of Modbus RTU pass-through. The Web server CPU modules (FC5A-K1E/S1E) cannot be used as the slaves.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
7: MAINTENANCE COMMUNICATION SERVER
7-2 WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
Configurations for Pass-Through over Modbus RTU
Configuring Modbus RTU Master
To configure a Web server CPU module as Modbus RTU master for pass-through, enable Modbus RTU Pass-Through in one of the eight server connections (Note 1) and configure the communication port 2 as Modbus RTU master (Note 2).
Configuring Modbus RTU Slave
To configure an FC5A MicroSmart CPU module as a Modbus RTU slave for pass-through, configure the communication port 2 as Modbus RTU slave (Note 2).
Note1: Only one server connection can be configured for the pass-through over Modbus RTU.
Note2: Only port 2 can be used for the pass-through over Modbus RTU.
Programming WindLDR
Standard Maintenance Communication Server
1. Select Configuration from the WindLDR menu bar, and then click Connection Settings.
The Function Area settings dialog box appears.
2. Check Enable Maintenance Communication Server. The standard maintenance communication server is enabled.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 7-3
7: MAINTENANCE COMMUNICATION SERVER
3. Click on Settings button.
The Maintenance Communication Server dialog box appears.
Local Host Port No.: The port number that the Web server CPU module opens for the maintenance communication. Number of Connections: The number of connections that the Web server CPU module accepts through the local host
port number. The maximum number of connections is three. Receive Timeout (ms): The timeout can be configured between 10 and 2550 ms. The default timeout is 500 ms. Restrict Access by IP Address: The network devices allowed to access the Web server CPU module can be specified. Enter
the IP address that is allowed to access the Web server CPU module. A maximum of three IP addresses can be specified. When all IP addresses are 0.0.0.0, no access is restricted.
Server Connections
4. Select Maintenance Communication Server in the Server Connection 1 through 8 pull-down list boxes.
The Maintenance Communication Server dialog box appears.
The server connection will be configured as the maintenance communication server. For detail about each parameter in the dialog box, see the descriptions of the standard maintenance communication server in the previous page.
When the server connections 1 through 8 are configured as the maintenance communication server, the same local host port number with the standard maintenance communication server cannot be allocated. The same local host port number can be allocated between the server connections configured as the maintenance communication server. If the same local host port number is allocated to multiple server connections, multiple network devices can access the Web server CPU module through the same port.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
7: MAINTENANCE COMMUNICATION SERVER
7-4 WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
When you enable Pass-Through over Modbus RTU option, the server connection can be used for the pass-through over Modbus RTU. You also have to configure the communication port 2 as Modbus RTU master. The port used for the pass­through over Modbus RTU cannot be used in any other server connections.
When you monitor a Modbus RTU slave with WindLDR via a Web server CPU module configured as Modbus RTU master, select Ethernet and 1:N under PLC Network Settings and then enter the slave number of the Modbus RTU slave in the Communication Settings dialog box.
When the pass-through over Modbus RTU is enabled in Web server CPU module, it is also possible for a computer to communicate with Modbus RTU slaves via the Web server CPU module using USB port. Select USB and configure the network settings in the Communication Settings dialog box.
Note: Even If the same local host port number is allocated to the multiple server connections configured as the maintenance communication server, only one IP address can be configured as the allowed IP address.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 8-1
8: ETHERNET USER COMMUNICATION
Introduction
This chapter describes the Ethernet user communication for the Web server CPU module. Ethernet user communication works on TCP/IP protocol. The Web server CPU module can be used as a user communication client/server. With Ethernet user communication instructions (ETXD and ERXD instructions), the Web server CPU module can exchange the data with devices on the network.
Except for the port number and the allocation of user communication receive instruction cancel flags, Ethernet user communication instructions (ETXD and ERXD instructions) are identical to TXD and RXD instructions. For details about TXD and RXD instructions, see chapter 10 of the FC5A user’s manual basic volume.
Ethernet User Communication Overview
The Web server CPU module can be used as an Ethernet user communication client/server. It can be used simultaneously with the maintenance communication server, Modbus TCP server, and Modbus TCP client.
When using the Web server CPU module user communication server, the client devices can access the Web server CPU module, and the communication can be performed between the Web server CPU module and the client devices. A maximum of eight server connections of the Web server CPU module can be allocated to user communication. If all eight connections are allocated to user communication, a maximum of eight client devices can simultaneously access and communicate with the Web server CPU module.
When using the Web server CPU module user communication client, the Web server CPU module can access and communicate with the server devices using the protocol of the server device. A maximum of three client connections of the Web server CPU module can be allocated to user communication.
User communication client functions and configuration are described in “User Communication Client” on page 8-2. User communication server functions and configuration are described in “User Communication Server” on page 8-5.
WindLDR version 6.4 or higher is required to use Ethernet user communication.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
8: ETHERNET USER COMMUNICATION
8-2 WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
User Communication Client
When a client connection is configured as the user communication client, the Web server CPU module communicates with the specified server device according to the settings configured in the ETXD and ERXD instructions that are programmed for the client connection. The remote host number and other communication settings can be configured in the Connection Settings tab in the Function Area Settings dialog box.
Specifications (User Communication Client)
Note 1: The settings can be configured in the Connection Settings tab in the Function Area Settings dialog box.
Establishing/Disconnecting User Communication Client Connections
When user communication clients are configured, connections are established on TCP/IP protocol. The connections are established when ETXD/ERXD instructions are executed or when the Web server CPU module is started to run (See Note 1 above). After a connection has been established, the connection will be kept open until either the Web server CPU module is stopped or a special internal relay allocated to the connection is turned on.
User Communication Client Receive Instruction (ERXD) Cancel Flag
The allocation of the user communication receive instruction cancel flags for each client connection is shown in the table below. For details about the user communication receive instruction cancel flag, see chapter 10 of the FC5A user’s manual basic volume.
Item User Communication Client
Remote host number 1 to 255
Establish connection
• When ETXD/ERXD Instructions are executed
• When the Web server CPU module starts to run (Note 1)
Disconnect connection
• When the Web server CPU module is stopped
• When special internal relays (M8230 to M8232) are turned on
Number of remote hosts that the CPU
module can communicate simultaneously
One remote host per a user communication client
Receive timeout (Note 1) 10 to 2550 ms (10 ms increments); Default: 500 ms
Device Address Description Operation
M8230 Client Connection 1 Disconnect
When the reply is turned on, the corresponding connection is disconnected.
M8231 Client Connection 2 Disconnect
M8232 Client Connection 3 Disconnect
Device Address Description
M8171 User Communication Receive Instruction Cancel Flag (Client Connection 1)
M8172 User Communication Receive Instruction Cancel Flag (Client Connection 2)
M8173 User Communication Receive Instruction Cancel Flag (Client Connection 3)
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 8-3
8: ETHERNET USER COMMUNICATION
Programming WindLDR (User Communication Client)
To use the user communication client, configure the user client communication settings in the Function Area Settings dialog box and then download the user program to the CPU module.
1. Select Configuration from the WindLDR menu bar, and then click Connection Settings.
The Function Area settings dialog box appears.
2. Select the User Communication Client as the communication mode for the client connection 1.
The User Communication Client dialog box appears.
Configure the remote host number and receive timeout. If you want the Web server CPU module to establish the connection when it starts to run, select “Make Connection when PLC starts.” Click OK button to close the dialog box.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
8: ETHERNET USER COMMUNICATION
8-4 WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
3. Edit the user program.
To insert Ethernet user communication instructions to the ladder editor, select the Ethernet user communication instructions (ETXD or ERXD instructions) in the Coil Selection dialog box.
The Ethernet User Communication Instruction dialog box appears.
Select ETXD (Transmit over Ethernet) to transmit data or ERXD (Receive over Ethernet) to receive data as the instruction type. Select the client connection from 1 through 3 and designate S1, D1, and D2. Click OK button to close the dialog box.
4. Download the user program.
The settings for the user communication client have been finished.
The specifications of Ethernet user communication instructions (ETXD and ERXD instructions) are identical to TXD and RXD instructions. For details about TXD and RXD instructions, see chapter 10 of the FC5A user’s manual basic volume.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 8-5
8: ETHERNET USER COMMUNICATION
User Communication Server
When a server connection is configured as the user communication server, a client device can access and communicate with the Web server CPU module. The Web server CPU module communicates with the client device according to the settings configured in the ETXD and ERXD instructions that are programmed for the server connection. The local host number and other communication settings can be configured in the Connection Settings tab in the Function Area Settings dialog box.
Specifications (User Communication Server)
User Communication Server Receive Instruction (ERXD) Cancel Flag
The allocation of the user communication receive instruction cancel flags for each server connection is shown in the table below. For details about the user communication receive instruction cancel flag, see chapter 10 of the FC5A user’s manual basic volume.
Item User Communication Server
Local host port number
2102 to 2109 (Can be changed between 0 and 65535)
Number of clients that can simultaneously
communicate with the CPU module
One client per a user communication server
Receive timeout
10 ms to 2550 ms (10 ms increments)
Device Address Description
M8200 User Communication Receive Instruction Cancel Flag (Server Connection 1)
M8201 User Communication Receive Instruction Cancel Flag (Server Connection 2)
M8202 User Communication Receive Instruction Cancel Flag (Server Connection 3)
M8203 User Communication Receive Instruction Cancel Flag (Server Connection 4)
M8204 User Communication Receive Instruction Cancel Flag (Server Connection 5)
M8205 User Communication Receive Instruction Cancel Flag (Server Connection 6)
M8206 User Communication Receive Instruction Cancel Flag (Server Connection 7)
M8207 User Communication Receive Instruction Cancel Flag (Server Connection 8)
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
8: ETHERNET USER COMMUNICATION
8-6 WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
Programming WindLDR (User Communication Server)
To use the user communication server, configure the user communication server settings in the Function Area Settings dialog box and then download the user program to the CPU module.
1. Select Configuration from the WindLDR menu bar, and then click Connection Settings.
The Function Area settings dialog box appears.
2. Select the User Communication Server as the communication mode for the server connection 1.
The User Communication Server dialog box appears.
Configure the local host port number and receive timeout. If you want to restrict the access using IP address, configure the allowed IP address.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 8-7
8: ETHERNET USER COMMUNICATION
3. Edit the user program.
To insert Ethernet user communication instructions to the ladder editor, select the Ethernet user communication instructions (ETXD or ERXD instructions) in the Coil Selection dialog box.
The Ethernet User Communication Instruction dialog box appears.
Select ETXD (Transmit over Ethernet) to transmit data and ERXD (Receive over Ethernet) to receive data as the instruction type. Select the server connection from 1 through 8 and designate S1, D1, and D2. Click OK button to close the dialog box.
4. Download the user program.
The settings for the user communication server have been finished.
The specifications of Ethernet user communication instructions (ETXD and ERXD instructions) are identical to TXD and RXD instructions. For details about TXD and RXD instructions, see chapter 10 of the FC5A user’s manual basic volume.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
8: ETHERNET USER COMMUNICATION
8-8 WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 9-1
9: MODBUS TCP COMMUNICATION
Introduction
This chapter describes the Modbus TCP communication of the Web server CPU module. The Web server CPU module can be used as Modbus TCP client/server. The Web server CPU module can communicate with the devices supporting Modbus TCP communication on the network.
Modbus TCP Communication Overview
The Web server CPU module can be used as Modbus TCP client/server. Modbus TCP server and client of the Web server CPU module can be used simultaneously.
When the Web server CPU module is configured as Modbus TCP server, Modbus TCP client devices can access the Web server CPU module and read and write the data. A maximum of eight server connections can be configured as Modbus TCP server. If all eight server connections are configured as Modbus TCP server, a maximum of eight Modbus TCP client devices can access and communicate with the Web server CPU module simultaneously.
When the Web server CPU module is configured as Modbus TCP client, the Web server CPU module can access Modbus TCP server devices and read or write the data. A maximum of three client connections can be configured as Modbus TCP client. The Web server CPU module can communicate with multiple Modbus TCP server devices per a client connection.
For the specification and configuration of Modbus TCP client, see “Modbus TCP Client”. For the specification and configuration of Modbus TCP server, see “Modbus TCP Server” on page 9-7.
Modbus TCP Client
Modbus TCP client communication settings and request tables for Modbus TCP servers can be programmed using the WindLDR Function Area Settings. The Web server CPU module communicate with the Modbus TCP servers according to those settings.
Communication with Modbus TCP servers are performed in synchronism with user program execution, and the communication data are processed at the END processing in the order of request numbers specified in the request table.
Modbus TCP Client Specifications
*1: Specifies the period of time before receiving a response frame from a server.
Parameter Modbus TCP Client
Number of Remote Hosts 255
Slave Number 1 to 247
Maximum Number of Servers 255
Receive Timeout *1 100 to 25,500 ms (in increments of 100 ms)
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
9: MODBUS TCP COMMUNICATION
9-2 WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
Modbus TCP Client Start and Stop
When request execution devices are designated in the Modbus TCP Client request table, internal relays as many as the request quantity are allocated to execute Modbus TCP Client communication. The internal relays are allocated in the order of requests. For example, when internal relay M0 is designated as the request execution device, M0 is allocated to request No. 1, M1 to request No. 2, and so on. To execute a request, turn on the corresponding request execution device.
When communication is completed, the request execution device turns off automatically. When it is required to send requests continuously, keep the corresponding request execution device on using a SET or OUT instruction.
When request execution devices are not designated, all requests programmed in the request table are executed continuously.
Communication Completion and Communication Error
Modbus communication finishes when a read or write process is completed successfully or when a communication error occurs. Communication error occurs when communication failure has repeated three times. When a communication error occurs, the request is canceled and the next request is transmitted. When the error status data register is designated, the communication status of each request can be confirmed.
Communication Error Data
When Error Status is configured in the Request Table from the Function Area Settings, the error data of each request can be confirmed.
Modbus TCP Communication Request Table
A maximum of 255 requests can be configured in the Modbus TCP Client Request Table.
Notes:
• 10 bytes of the user program area are needed per each request.
• Request execution devices and error status data registers are allocated in the order of request numbers. When deleting a request or changing the order of requests, the relationship of the request to the request execution devices and error status data register is changed. If the internal relay or data register is used in the user program, the device addresses must be changed accordingly.
Use a single DR for all
communication requests
Error data of each communication request
Unchecked
Error data, the remote host number (high-order byte) and error code (low-order byte), of each request in the entire request table can be confirmed. Data registers as many as the quantity of requests are reserved for storing error data. When an error occurs for a request, an error code is stored to a corresponding data register.
Checked
A single data register is shared by all requests. When an error occurs for a request, an error code is stored to the data register and the old value is overwritten.
Bit Allocation
Remote Host Number (high-order byte)
1 to 255
Error Code (low-order byte)
00h:Normal completion 01h:Function error 02h:Access destination error (address out of range, address+device quantity out of range) 03h:Device quantity error, 1-bit write data error 12h:Frame length error 14h:Slave number error 16h:Timeout error
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 9-3
9: MODBUS TCP COMMUNICATION
Programming WindLDR (Modbus TCP Client)
In order to use Modbus TCP client, configure the Modbus TCP client in the Function Area Settings dialog box and then download the user program to the CPU module.
1. From the WindLDR menu bar, select Configuration > Connection Settings.
The Function Area Settings dialog box appears.
2. Select Modbus TCP Client as the communication mode for the client connection 1.
The Modbus TCP Client Request Table dialog box appears.
3. Click on the Communication Settings button.
The Communication Settings dialog box appears. Configure the timeout and click OK button to close the Communication Settings dialog box.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
9: MODBUS TCP COMMUNICATION
9-4 WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
4. Configure the requests of the Modbus TCP Client.
A maximum of 255 requests can be entered in one request table. Specify the Modbus TCP servers with the remote host numbers. After all requests are configured, click OK button to close the dialog box.
Choose to use Request Execution Devices and Error Status data registers. When using Request Execution Devices and Error Status data registers, enter the first number of the devices.
5. Download the user program to the CPU module.
Now, programming for the Modbus TCP client is complete. Details about parameters and valid values are as follows.
Function Code
The MicroSmart accepts eight function codes as listed in the table below:
Function Code Data Size Slave Address MicroSmart as Modbus Slave
01 Read Coil Status 1 to 128 bits 000001 - 065535
Reads bit device statuses of Q (output), R (shift register), or M (internal relay).
02 Read Input Status 1 to 128 bits 100001 - 165535
Reads bit device statuses of I (input), T (timer contact), or C (counter contact).
03 Read Holding Registers
1 to 64 words 400001 - 465535
Reads word device data of D (data register), T (timer preset value), or C (counter preset value).
04 Read Input Registers 1 to 64 words 300001 - 365535
Reads word device data of T (timer current value) or C (counter current value).
05 Force Single Coil 1 bit 000001 - 065535
Changes a bit device status of Q (output), R (shift register), or M (internal relay).
06 Preset Single Register
1 word 400001 - 465535 Changes word device data of D (data register).
15 Force Multiple oils 1 to 128 bits 000001 - 065535
Changes multiple bit device statuses of Q (output), R (shift register), or M (internal relay).
16 Preset Multiple Registers
1 to 64 words 400001 - 465535 Changes multiple word device data of D (data register).
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 9-5
9: MODBUS TCP COMMUNICATION
Master Device Address
When function code 01, 02, 03, or 04 is selected to read data from Modbus servers, designate the first data register or internal relay number to store the data received from the Modbus server. When function code 05, 06, 15, or 16 is selected to write data to Modbus servers, designate the first data register or internal relay number to store the data to write to the Modbus server. Data registers and internal relays can be designated as the master device address.
Data Size and Word/Bit
Designate the quantity of data to read or write. The valid data size depends on the function code. When function code 01, 02, 05, or 15 is selected, designate the data size in bits. When function code 03, 04, 06, or 16 is selected, designate the data size in words. For valid data sizes, see “Function Code” on page 9-4.
Remote Host No.
Designate the remote host number configured in the Remote Host List dialog box. In the Remote Host List dialog box, IP address/host name and port number are configured for each remote host. The default port number of Modbus TCP communication is 502. If the Modbus TCP server uses different port number, configure that port number in the Remote Host List dialog box.
Slave No.
Designate slave numbers 1 through 247. The same slave number can be designated repeatedly for different request numbers which can be 1 through 255. The slave number is usually not referred by Modbus TCP server. Configure the slave number if Modbus TCP server requires.
Slave Address
Designate data memory addresses of Modbus servers. The valid slave address range depends on the function code. For valid slave addresses, see the table above.
Request Execution Device
To use request execution devices, click the radio button for “Use” and designate the first internal relay number in the Modbus TCP Client Request Table. Internal relays used for executing requests are automatically listed in the table. To execute a request, turn on the corresponding request execution device.
When request execution devices are not designated, all requests programmed in the Request Table are executed continuously.
Error Status Data Register
To use error status data registers, click the radio button for “Use” and designate the first data register number in the Modbus TCP Client Request Table. Data registers used for storing error statuses are automatically listed in the table. When Use a single DR for all communication requests is selected, the first data register is shared by all requests.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
9: MODBUS TCP COMMUNICATION
9-6 WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
Processing Requests
The data for Modbus communication are processed between the client and servers as shown below.
Bit Data at Servers (Function Codes 01, 02, 05, and 15)
• Master Device Address: Internal Relay
• Master Device Address: Data Register
Word Data at Slaves (Function Codes 03, 04, 06, and 16)
• Master Device Address: Internal Relay
• Master Device Address: Data Register
Internal Relay (M) Modbus Address
Master Slave
Bit +0
Bit +1
Bit +2
Bit +0
Bit +1
Bit +2
Data Register (D)
Modbus Address
Master Slave
Bit +0
Bit +1
Bit +2
Word +0
Word +1
Word +2
b15
b15
b15
b14
b14
b14
...
...
...
b2
b2
b2
b1
b1
b1
b0
b0
b0
Internal Relay (M)
Modbus Address
Master Slave
Bit +0
Bit +16
Bit +32
Word +0
Word +1
Word +2
+31
+47
+14
+30
+46
...
...
...
+2
+18
+34
+1
+17
+33
+0
+16
+32
+15
Data Register (D)
Modbus Address
Master Slave
Word +0
Word +1
Word +2
Word +0
Word +1
Word +2
b15
b15
b15
b14
b14
b14
...
...
...
b2
b2
b2
b1
b1
b1
b0
b0
b0
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 9-7
9: MODBUS TCP COMMUNICATION
Modbus TCP Server
When the Web server CPU module is configured as the Modbus TCP server, Modbus TCP client devices can access and communicate with the Web server CPU module.
When the Web server CPU module receives a valid request from a Modbus TCP client device, the data is read or written according to the request received. The communication data received from Modbus TCP clients are processed at the END processing.
Modbus TCP Server Specifications
*1: When timeout occurs, the MicroSmart discards the received data and waits for the first frame of the next valid communication.
*2: The value when all server connections are configured as Modbus TCP server is indicated.
Address Map
*1: Addresses generally used for Modbus communication. For details about the calculation method of Modbus addresses for
MicroSmart devices, see chapter 12 of FC5A user’s manual basic volume.
Parameter Modbus TCP Server
Slave Number Ignored
Response Time 1.5 ms
Receive Timeout *1 500 ms
Number of Clients that can Access Simultaneously *2 8 maximum
Port Number 502 (can be changed between 0 and 65535)
Supported Function Code
01 Read Coil Status 02 Read Input Status 03 Read Holding Registers 04 Read Input Registers 05 Force Single Coil 06 Preset Single Register 15 Force Multiple oils 16 Preset Multiple Registers
Modbus Device
Name
Modbus Address
Map (Decimal)
*1
Communication
Frame Address
MicroSmart Device
Applicable
Function Code
Coil (000000 and above)
000001 - 000504 0000 - 01F7 Q0 - Q627
1, 5, 15
000701 - 000956 02BC - 03BB R0 - R255
001001 - 003048 03E8 - 07F7 M0 - M2557
009001 - 009256 2328 - 2427 M8000 - M8317
Input Relay (100000 and above)
100001 - 100504 0000 - 01F7 I0 - I627
2101001 - 101256 03E8 - 04E7 T0 - T255 (timer contact)
101501 - 101756 05DC - 06DB C0 - C255 (counter contact)
Input Register (300000 and above)
300001 - 300256 0000 - 00FF T0 - T255 (timer current value)
4
300501 - 300756 01F4 - 02F3 C0 - C255 (counter current value)
Holding Register (400000 and above)
400001 - 408000 0000 - 1F3F D0 - D7999
3, 6, 16
408001 - 408500 1F40 - 2133 D8000 - D8499
409001 - 409256 2328 - 2427 T0 - T255 (timer preset value)
3
409501 - 409756 251C - 261B C0 - C255 (counter preset value)
410001 - 450000 2710 -C34F D10000 - D49999 3, 6, 16
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
9: MODBUS TCP COMMUNICATION
9-8 WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
Programming WindLDR (Modbus TCP Server)
In order to use Modbus TCP server, configure the Modbus TCP server in the Function Area Settings dialog box and then download the user program to the CPU module.
1. From the WindLDR menu bar, select Configuration > Connection Settings.
The Function Area Settings dialog box appears.
2. Select Modbus TCP Server as the communication mode for the server connection 1.
The Modbus TCP Server dialog box appears.
3. Configure the parameters and click on OK button.
4. Download the user program to the CPU module.
Now, programming for the Modbus TCP server is complete. The specification and setting of each parameter are the same with Modbus slave communication. For details about the Modbus slave communication, see chapter 12 of FC5A user’s manual basic volume.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 9-9
9: MODBUS TCP COMMUNICATION
Modbus TCP Communication Format
This section describes the communication format used for Modbus TCP client and server communication. Modbus TCP communication format starts with the Modbus TCP header followed by the RTU mode communication format without the idle 3.5 characters at both ends and CRC as shown below.
Modbus TCP Communication Format
Transaction ID
The Modbus TCP server (slave) returns the request ID sent from the client (master) without change. When receiving the returned request ID, the client can confirm to which request the response was returned. When confirmation is not required, designate 0 as a transaction ID.
Protocol ID
Designate 0 to identify Modbus TCP protocol.
Message Length
Designate the length of the following message in bytes.
Unit ID
The unit ID is Modbus TCP slave address (1 through 247) to identify the unit. The Modbus TCP server of the Web server CPU module ignores the unit ID.
Function Code
Designate a function code, such as 01 (read coil status) and 02 (read input status).
Data
Designate required data for each function.
Transaction ID Protocol ID
Message Length
(bytes)
Unit ID
Function
Code
Data
2 bytes 2 bytes 2 bytes 1 byte 1 byte N bytes
RTU Mode
Communication Format
Idle
3.5 characters
Slave No.
Function
Code
Data CRC
Idle
3.5 characters
1 byte 1 byte N bytes 2 bytes
Modbus TCP Header
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
9: MODBUS TCP COMMUNICATION
9-10 WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278 10-1
10: E-MAIL
Introduction
This chapter describes how to use the e-mail functions in the Web server CPU module. The EMAIL instruction sends an e-mail that is configured in WindLDR.
EMAIL (Send E-mail)
The EMAIL instruction sends an e-mail.
Symbol
Operation Details
When the input to the EMAIL instruction is on, the EMAIL instruction sends an e-mail specified by S1. Once the Web server CPU module receives a response from the sending e-mail server, the completion output specified by D1 is turned on, and the operation status (operation transition state and error code) is stored in the device specified by D2. D2+1 is reserved for the system.
In order to use EMAIL instructions, the e-mail settings, such as e-mail server name, should be configured in the Function Area Settings. E-mails to send should also be configured in the E-mail Editor dialog box.
The EMAIL instruction is executed when the input to the instruction is on. While the input to the EMAIL instruction is on, the EMAIL instruction is continuously executed. To avoid executing the EMAIL instruction continuously, a transitional off-to-on SOTU or on-to-off SOTD instruction should be used.
Valid Devices
*1: Special internal relays cannot be used.
Devices in EMAIL Instruction
S1 (Source 1)
Specify the e-mail number. A constant or data register can be specified.
D1 (Destination 1)
Specify an internal relay or output as the completion output bit. When the Web server CPU module receives a reply from the sending e-mail server, the completion output bit is turned on. The completion output bit is also turned on when there is no reply from the sending e-mail server within the timeout.
D2 (Destination 2)
Specify a data register as the operation status. Destination 2 occupies two consecutive data registers starting with the data register specified by D2. The operation status is stored in D2. D2+1 is reserved for the system. Data registers D0 to D1998, D2000 to D7998, and D10000 to D49998 can be specified.
Notes:
• When the system program version is 100, do not specify the same e-mail number in multiple EMAIL instructions. When the system program version is 100 and a data register is specified as S1, do not store the same e-mail number used by the other EMAIL instructions in the user program to the data register.
• When a data register is specified as S1, do not change the data register value while EMAIL instruction is executed.
Device Function I Q M R T C D Constant Repeat
S1 Source 1 E-mail number ------X1 - 255 -
D1 Destination 1 Completion output -X*1---- - -
D2 Destination 2 Operation status ------X - -
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
10: E-MAIL
10-2 WEB SERVER CPU MODULE USERS MANUAL FC9Y-B1278
The operation status includes the operation transition state (status code) and the error detail (error code). The status code can be obtained by masking the least 4 bits of the operation status. The error code is stored in the least 4 bits of the operation status.
Note: If the status code is anything other than the codes listed above, an error of EMAIL instruction is suspected.
Note 1: The detail of the error code 7 is stored in special data register D8457.
Note 2: When converting a data register value fails, ---- is inserted in the e-mail body instead of data register value.
E-mails can be sent to the recipients by the relay of the sending e-mail (SMTP) servers. Even when the value stored in D2 is 64 after the execution of an EMAIL instruction, the recipients of the e-mail may not be able to receive the e-mail if one of the following conditions is met. The Web server CPU module does not detect such problem.
1. The SMTP server that relays the e-mails is not functioning normally.
2. The e-mail recipient filters the in-coming e-mails by specifying the e-mail address or e-mail domain.
Status Code
(Decimal)
Operation Transition State Description
16 Preparing transmission
From turning on the start input for an EMAIL instruction, until the e-mail is sent out to the sending e-mail server.
32 Waiting for response
From sending the e-mail to the sending e-mail server, until the response is received.
64 EMAIL instruction complete
The execution of the EMAIL instruction is completed, allowing for the next transmission to be processed.
Error Code Error details Completion output
0 Normal ON (The status code is 64)
1 --
2
Tim eou t er ror Port number may be incorrect.
ON
3
The host name of the sending e-mail server could not be resolved with DNS. Ethernet cable may be disconnected or broken. Web server CPU module may not be connected to the network properly.
ON
4 The specified e-mail is not configured. ON
5 Multiple EMAIL instructions are executed simultaneously. ON
6 Parameter error ON
7 Other errors (Note 1) ON
8 Converting a data register value failed (Note 2) ON
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
Loading...