Contec CPSN-MCB271-S1-041, CPSN-MCB271-1-041 Reference guide

  • Hello! I am an AI chatbot trained to assist you with the Contec CPSN-MCB271-S1-041 Reference guide. I’ve already reviewed the document and can help you find the information you need or explain it in simple terms. Just ask your questions, and providing more details will help me assist you more effectively!
Reference Manual
(Software)
CONTENTS
Remote I/O CPU Unit
CPSN-MCB271-S1-041
Remote I/O Model CPU Unit (LAN HUB)
CPSN-MCB271-1-041
Introduction .................................................................. 5
Safety Precautions .................................................... 11
Set the Computer Network ................................... 15
CONPROSYS nano WEB Setting.......................... 21
Access to Devices ..................................................... 58
Modbus Communication Function .................... 88
Virtual Address Map ............................................. 119
Maintenance ............................................................ 167
Troubleshooting ..................................................... 171
Appendix ................................................................... 174
Customer Support and Inquiry ......................... 204
2
Table of Contents
Introduction ....................................................................... 5
1. Procedure until ready to use .............................................................................................................................. 6
2. Related manuals ...................................................................................................................................................... 7
3. Check the firmware version ................................................................................................................................ 8
4. About the product ................................................................................................................................................. 9
5. Features ................................................................................................................................................................... 10
Safety Precautions ........................................................... 11
1. Safety Information............................................................................................................................................... 12
2. Handling Precautions ......................................................................................................................................... 13
3. Security Warning .................................................................................................................................................. 14
1. Information security risks ........................................................................................................................... 14
2. Security measures e.g. ............................................................................................................................. 14
Set the Computer Network ............................................ 15
1. Connect with a PC ............................................................................................................................................... 16
2. Set the Computer Network.............................................................................................................................. 17
1. Computer Network Setting Procedure (for Windows 10)............................................................. 17
3. Check Communication ...................................................................................................................................... 20
CONPROSYS nano WEB Setting ..................................... 21
1. CONPROSYS nano WEB Setting Outline .................................................................................................... 22
1. Setup Using a Web Browser ..................................................................................................................... 22
2. Setting the Browser ...................................................................................................................................... 22
3. Start up CONPROSYS nano WEB Setting............................................................................................. 23
4. CONPROSYS nano WEB Setting Basic Operation............................................................................. 24
2. Menu Function List ............................................................................................................................................. 25
3. Function Details.................................................................................................................................................... 26
1. System ............................................................................................................................................................... 26
2. Device I/O Control ........................................................................................................................................ 28
3. I/O Module ...................................................................................................................................................... 31
4. Network Time ................................................................................................................................................. 40
5. Log ...................................................................................................................................................................... 41
6. System ............................................................................................................................................................... 42
7. Log Information ............................................................................................................................................. 44
8. I/O Data View ................................................................................................................................................. 46
9. Modbus Data View ....................................................................................................................................... 48
10. Firmware Update ........................................................................................................................................... 49
11. Configuration File ......................................................................................................................................... 50
12. Time Adjustment ........................................................................................................................................... 51
13. Default Setting ............................................................................................................................................... 52
14. Save & Reboot ............................................................................................................................................... 53
3
Table of Contents
15. Save .................................................................................................................................................................... 54
16. Reboot ............................................................................................................................................................... 55
17. Shutdown ......................................................................................................................................................... 56
18. Logout ............................................................................................................................................................... 57
Access to Devices ............................................................. 58
1. Control I/O Module from CODESYS ............................................................................................................. 59
1. Setup .................................................................................................................................................................. 59
2. Programing ...................................................................................................................................................... 60
2. Control I/O Module from Windows PC ...................................................................................................... 76
1. Setup .................................................................................................................................................................. 76
2. Installing the Hardware .............................................................................................................................. 77
3. Initializing the Software .............................................................................................................................. 78
4. Operation Checks.......................................................................................................................................... 79
5. Setup Troubleshooting ............................................................................................................................... 83
3. Control COM Port from Windows PC .......................................................................................................... 84
1. Setup .................................................................................................................................................................. 84
2. Initializing the Software .............................................................................................................................. 85
4. Control Flow of I/O Module ............................................................................................................................ 86
1. CPSN-DI-16BCL.............................................................................................................................................. 86
2. CPSN-CNT-3201I ........................................................................................................................................... 87
Modbus Communication Function ................................ 88
1. Modbus Slave........................................................................................................................................................ 89
1. Communication Function .......................................................................................................................... 89
2. Function Code ................................................................................................................................................ 90
3. Data Type ......................................................................................................................................................... 90
4. Corresponding I/O Module....................................................................................................................... 91
5. Register Address Allocation ...................................................................................................................... 93
6. Register Address ............................................................................................................................................ 94
Virtual Address Map ...................................................... 119
1. Virtual Address Map ......................................................................................................................................... 120
Virtual Address Space ............................................................................................................................... 120
Common Device Information (00000000h) ...................................................................................... 121
Device-Specific Information (00100000h) ......................................................................................... 124
I/O Space (00300000h) ............................................................................................................................. 126
Maintenance ................................................................... 167
1. Maintenance ........................................................................................................................................................ 168
2. Save a File ............................................................................................................................................................. 169
Procedure ....................................................................................................................................................... 169
3. Write a File ........................................................................................................................................................... 170
Procedure ....................................................................................................................................................... 170
4
Table of Contents
Troubleshooting ............................................................. 171
1. If You Encounter a Problem? ......................................................................................................................... 172
1. General ............................................................................................................................................................ 172
Appendix ........................................................................ 174
1. Software Specifications ................................................................................................................................... 175
1. CPU Unit ......................................................................................................................................................... 175
2. I/O Module .................................................................................................................................................... 177
2. Modbus Communication Specification..................................................................................................... 185
1. Outline ............................................................................................................................................................. 185
2. Message Frame ............................................................................................................................................ 185
3. Function Code .............................................................................................................................................. 187
4. Data Type ....................................................................................................................................................... 187
5. PDU Frame Format ..................................................................................................................................... 188
3. F&eIT Protocol Specifications ....................................................................................................................... 193
1. Communication Server Concept ........................................................................................................... 193
2. Basic Specifications .................................................................................................................................... 195
3. Control Information ................................................................................................................................... 201
4. LED........................................................................................................................................................................... 202
5. Push Switch (SW) ............................................................................................................................................... 203
Customer Support and Inquiry .................................... 204
1. Services .................................................................................................................................................................. 205
5
Introduction
This chapter provides necessary information of the product
such as the product configuration and manuals before
actual use.
Introduction
CPSN-MCB271-S1-041, CPSN-MCB271-1-041 Reference Manual (Software)
6
1. Procedure until ready to use
The followings show the standard procedure until the product is ready to use.
Connect with a PC
Refer to
Page 16
Set up the network of PC
Refer to
Page 17
Set up with CONPROSYS nano WEB Setting
Refer to
Page 21
Set Password
Refer to
Page 26
Save the settings
Refer to
Page 53
Set up the product
Refer to Reference
Manual (Hardware)
*This procedure can be different depending on the user's environment or system types.
Introduction
CPSN-MCB271-S1-041, CPSN-MCB271-1-041 Reference Manual (Software)
7
2. Related manuals
The manuals related to the product are listed below.
Read them as necessary along with this document.
Must read the following manuals.
Name
Contents
How to get
Product Guide
Must read this after opening the
package.
This lists the product
configuration and describes the
precautions.
Included in the package
(Printed matter)
Reference Manual for I/O
Module (Hardware)
I/O module with CPU Unit.
This describes the hardware
aspects such as functions and
settings of the I/O module.
Download from
the CONTEC
website (PDF)
Reference Manual for CPU
Unit (Hardware)
Read this when operating the
product. functions and settings.
This describes the hardware
aspects such as functions and
settings.
Download from
the CONTEC
website (PDF)
Reference Manual for CPU
Unit (Software)
"CONPROSYS nano WEB
This describes how to set each
function of "CONPROSYS nano
WEB Setting".
Download from
the CONTEC
website (PDF)
Download manuals
Download the manuals from the following URL.
Download
https://www.contec.com/download/
Introduction
CPSN-MCB271-S1-041, CPSN-MCB271-1-041 Reference Manual (Software)
8
3. Check the firmware version
Before running the product, visit our website to check the firmware version and update to the latest
one if necessary.
Updating firmware to the latest version will resolve troubles and stabilize the operation.
Download
https://www.contec.com/download/
* Refer to the Firmware Update (page49)for further details.
Introduction
CPSN-MCB271-S1-041, CPSN-MCB271-1-041 Reference Manual (Software)
9
4. About the product
This product is a remote I/O type CPU Unit containing RS-232C *1 and LAN interface along with four
expansion slots. Arrange and combine I/O modules of CONPROSYS nano series to satisfy your needs.
Moreover, it is controllable from Windows / Linux PC, and Modbus TCP Slave, Modbus RTU Slave are
supported.
*1 This is available with the CPSN-MCB271-S1-041 model only.
Introduction
CPSN-MCB271-S1-041, CPSN-MCB271-1-041 Reference Manual (Software)
10
5. Features
Compatible with Modbus TCP Slave and Modbus RTU
Slave *1
Modbus is a communication protocol widely adopted in the industrial sector.
Controlling and collecting data from higher-level devices with Modbus master function can be conducted.
*1 To use the RS-422A/485 (multi-drop), the CPSN-COM-1PD module is required and the firmware version in the product should be
1.10 or later.
Applicable with Windows driver software
The product supplies UDP/IP-based original protocol (F&eIT) and applications can be created with Windows driver software in the Win32
API function format (DLL).
On top of that, you can check whether software and hardware are operating properly with the diagnostic program.
Support the virtual COM driver *2
Software virtual COM driver enables you to operate the product in the same way as PC COM port (standard COM). Applications can be
created with the OS standard Win32 API communication function.
*2 The CPSN-MCB271-1-041 requires the CPSN-COM-1PD module to support this feature.
11
Safety Precautions
Understand the following definitions and precautions to
use the product safely. Never fail to read them before using
the product.
Safety Precautions
CPSN-MCB271-S1-041, CPSN-MCB271-1-041 Reference Manual (Software)
12
1. Safety Information
This document provides safety information using the following symbols to prevent accidents
resulting in injury or death and the destruction of equipment and resources.
Understand the meanings of these labels to operate the equipment safely.
DANGER
DANGER indicates an imminently hazardous situation which, if not
avoided, will result in death or serious injury.
WARNING
WARNING indicates a potentially hazardous situation which, if not
avoided, could result in death or serious injury.
CAUTION
CAUTION indicates a potentially hazardous situation which, if not
avoided, may result in minor or moderate injury or in property damage.
Safety Precautions
CPSN-MCB271-S1-041, CPSN-MCB271-1-041 Reference Manual (Software)
13
2. Handling Precautions
CAUTION
The specifications of the product are subject to change without notice for enhancement and
quality improvement. Even when using the product continuously, be sure to read the manual
in the CONTEC’s website and understand the contents.
Do not modify the software.
CONTEC will bear no responsibility for any problems, etc., resulting from modifying the
software.
Regardless of the foregoing statement, CONTEC assumes no responsibility for any errors that
may appear in this document or for results obtained by the user as a result of using the
software.
Safety Precautions
CPSN-MCB271-S1-041, CPSN-MCB271-1-041 Reference Manual (Software)
14
3. Security Warning
When connecting to the network, be aware of security-related problems. See the examples of
Security measures below and set up the product properly along with the network devices.
1. Information security risks
Unauthorized access from the outside through a network could cause the system halt, data
damage, or exposure to malware. *1
Invaded and used as a stepping stone, a device might attack the others through networks. (a
victim becomes an assailant)
Information might leak without realizing due to the connection to the network.
Secondary damages such as harmful rumors, liability in damages, social credibility fall, and
opportunity loss are expected led by the troubles described above.
*1: Malware (Malicious Software) is software that brings harm to a computer system and performs
unintended operations.
2. Security measures e.g.
Do not keep using the default password. (Refer to the product manual for the password
setting).
Set a strong password.
Combined with upper and lowercase letters, and numbers so that it cannot be easily
analogized by others.
Change the password periodically.
Disable unnecessary network services and functions.
Restrict access to the network with network devices. *2
Restrict ports to be released on the network with network devices. *2
Create a closed network connection using such as dedicated network or VPN*3
*2: Inquire for setting procedure to manufacturers.
*3: VPN (Virtual Private Network) a secured network that wards off unauthorized access by
protecting the communication path with authentication and encryption.
Unfortunately, there are no perfect ways to avert unauthorized access or close a security hole
that are endlessly found day and night.
Please understand that risks are always involved with the Internet connection, and we strongly
recommend a user should constantly update information security measures.
15
Set the Computer
Network
This chapter describes how to connect the product with a
PC, set the network, and check the communication.
Set the Computer Network
CPSN-MCB271-S1-041, CPSN-MCB271-1-041 Reference Manual (Software)
16
1. Connect with a PC
To set the product, you need to first set up the network between the PC and the product in order to
establish communication.
First, connect the product with the PC.
1 Follow the instructions below to connect the computer, the controller, and the power unit.
* Refer to Reference Manual (Hardware)for how to create a power cable.
2 Connect the power unit with AC plug, then turn on the computer.
Set the Computer Network
CPSN-MCB271-S1-041, CPSN-MCB271-1-041 Reference Manual (Software)
17
2. Set the Computer Network
Follow the Computer Network Setting Proceduredescribed below and set the network to make the
IP addresses as shown.
The product must set a unique IP address for the bold part (200 or 101) that is not used by other
devices on your network.
* If proxy is set to your PC, do not use the proxy.
1. Computer Network Setting Procedure (for Windows 10)
1 Click the [Network & Internet] on [Windows Settings] screen.
2 Click the [Change adapter options] in [Network status].
Set the Computer Network
CPSN-MCB271-S1-041, CPSN-MCB271-1-041 Reference Manual (Software)
18
3 Double-click the appeared [Ethernet]
4 Click the [Property] in [Ethernet Status] dialog box.
5 Double-click the [Internet protocol version 4(TCP/IPv4)] in [Ethernet Properties] dialog box.
Set the Computer Network
CPSN-MCB271-S1-041, CPSN-MCB271-1-041 Reference Manual (Software)
19
6 In the [Internet protocol version 4 (TCP/IPv4) property], set IP address and Subnet mask as
shown below.
7 Click the [OK] the [OK] the [Close] to close the dialog box and complete the network
setting.
Set the Computer Network
CPSN-MCB271-S1-041, CPSN-MCB271-1-041 Reference Manual (Software)
20
3. Check Communication
1 Start the Internet Explorer 11 on your computer. Enter IP address (10.1.1.101) of the controller
in the address bar, then press [Enter] key.
The dialog box asking for the Password appears, enter it and click the [Login].
* Refer to Setup Using a Web Browser (page22) for details of compatible web browser.
* For an actual operation, change Password in [Settings] [System] on CONPROSYS nano WEB
Setting page.
* After entering IP address and pressing [Enter] key, the Security certificatemight appear on the
screen. Choose Continue to this website”.
2 If CONPROSYS nano WEB Setting page appears, it indicates the success of the communication
between the computer and the controller.
/