- Computers & electronics
- Computer components
- Interface components
- Digital & analog I/O modules
- ICP DAS USA
- tET Series
- User manual
advertisement
PETL/tET/tPET DIO Series User Manual
Ethernet I/O Modules Ver.2.2.1, Mar. 2018
W ARRANTY
All products manufactured by ICP DAS are warranted against defective materials for a period of one year
W ARNING
ICP DAS assumes no liability for damages consequent to the use of this product. ICP DAS reserves the right to change this manual at any time without notice. The information furnished by ICP DAS is believed to be accurate and reliable. However, no responsibility is assumed by ICP DAS for its use, nor for any infringements of patents or other rights of third parties resulting from its use.
C OPYRIGHT
Copyright © 2017 by ICP DAS. All rights are reserved.
T RADEMARK
Names are used for identification only and may be registered trademarks of their respective companies.
C ONTACT U
via email at:
S
If you have any questions, please feel free to contact us [email protected], [email protected]
S UPPORT
This manual relates to the following modules: PETL-7060 tET-P6, tPET-P6 tET-PD6, tPET-PD6 tET-C4, tPET-C4 tET-A4, tPET-A4 tET-P2C2, tPET-P2C2 tET-P2A2, tPET-P2A2 tET-P2POR2, tPET-P2POR2, tET-PD2POR2, tPET-PD2POR2 tET-P2R2, tPET-P2R2 tET-PD2R1, tPET-PD2R1
Ethernet I/O Modules
T
ABLE OF
C
ONTENTS
ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 2
Ethernet I/O Modules
H OW DO I RESTORE THE WEB PASSWORD FOR THE MODULE TO THE FACTORY DEFAULT PASSWORD ?
ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 3
Ethernet I/O Modules
Packing List
The shipping package includes the following items: or tET/tPET Series x 1 Quick Start x 1
Note
If any of these items are missing or damaged, please contact the local distributor for more information. Save the shipping materials and cartons in case you need to ship the module in the future.
More Information
Documentation
CD:\NAPDOS\tpet\Document http://ftp.icpdas.com/pub/cd/tinymodules/napdos/tpet/document/
Firmware
CD:\NAPDOS\tpet\Firmware http://ftp.icpdas.com/pub/cd/tinymodules/napdos/tpet/firmware/
Software
CD:\NAPDOS\Software http://ftp.icpdas.com/pub/cd/tinymodules/napdos/software/ ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 4
Ethernet I/O Modules
1.
Introduction
The tET/tPET and PETL-7060 series of devices are IP-based Ethernet I/O monitoring and control modules that provide networking ability and a variety of digital I/O functions. The modules can be remotely controlled through a 10/100 M Ethernet network using the Modbus TCP/UDP protocol. Modbus has become a de facto standard communications, and is now the most commonly available means of connecting industrial electronic devices. This makes the tET/tPET and PETL-7060series perfect for integration with HMI, SCADA, PLC and other software systems. ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 5
Ethernet I/O Modules
1.1
Product Information
1.1.1 Ethernet IO Module Series
The tET/tPET and PETL-7060 series of Ethernet I/O modules support a range of I/O formats, such as photo-isolated digital input, relay contact, PhotoMOS relay, and open-collector output, etc. The table below provides a description of each model. DC Digital Input tET-P6 tET-PD6 tPET-P6 tPET-PD6 Tiny Ethernet module with 6-channel digital input (Wet Contact) Tiny Ethernet module with 6-channel digital input (Dry Contact) Tiny Ethernet module with PoE and 6-channel digital input (Wet Contact) Tiny Ethernet module with PoE and 6-channel digital input (Dry Contact) DC Digital Output tET-C4 tET-A4 tPET-C4 tPET-A4 Tiny Ethernet module with 4-channel digital output (NPN, Sink) Tiny Ethernet module with 4-channel digital output (PNP, Source) Tiny Ethernet module with PoE and 4-channel digital output (NPN, Sink) Tiny Ethernet module with PoE and 4-channel digital output (PNP, Source) DC Digital Input and Output tET-P2C2 Tiny Ethernet module with 2-channel digital input and 2-channel digital output (NPN, Sink) tET-P2A2 tPET-P2C2 tPET-P2A2 Tiny Ethernet module with 2-channel digital input and 2-channel digital output (PNP, Source) Tiny Ethernet module with PoE, 2-channel digital input and 2-channel digital output (NPN, Sink) Tiny Ethernet module with PoE, 2-channel digital input and 2-channel digital output (PNP, Source) ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 6
Ethernet I/O Modules Power Relay Output tET-P2R2 tET-PD2R1 tPET-P2R2 tPET-PD2R1 PETL-7060 PhotoMOS Relay Output Tiny Ethernet module with 2-channel digital input(Wet Contact) and 2-channel Form A power relay output Tiny Ethernet module with 2-channel digital input(Dry Contact) and 1-channel Form A power relay output Tiny Ethernet module with PoE, 2-channel digital input(Wet Contact) and 2-channel Form A power relay output Tiny Ethernet module with PoE, 2-channel digital input(Dry Contact) and 1-channel Form A power relay output Ethernet module with 6-channel digital input(Wet Contact) and 6-channelForm A power relay output tET-P2POR2 tET-PD2POR2 tPET-P2POR2 tPET-PD2POR2 Tiny Ethernet module with 2-channel digital input(Wet Contact) and 2-channel Form A PhotoMOS relay output Tiny Ethernet module with 2-channel digital input(Dry Contact) and 2-channel Form A PhotoMOS relay output Tiny Ethernet module with PoE, 2-channel digital input(Wet Contact) and 2-channel Form A PhotoMOS relay output Tiny Ethernet module with PoE, 2-channel digital input(Dry Contact) and 2-channel Form A PhotoMOS relay output ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 7
Ethernet I/O Modules
1.1.2
Selection Guide
- Ethernet tET-P6 tET-PD6 tET-C4 tET-A4 tET-P2C2 tET-P2A2 tET-P2POR2 tET-P2R2 tET-PD2R1 Model PoE tPET-P6 tPET-PD6 tPET-C4 tPET-A4 tPET-P2C2 tPET-P2A2 tPET-P2POR2 tET-PD2POR2 tPET-PD2POR2 tPET-P2R2 tPET-PD2R1 PETL-7060 D/I (Type) 6-channel (Wet Contact) 6-channel (Dry Contact) I/O Specifications D/O (Type) - - - - 2-channel (Wet Contact) 2-channel (Wet Contact) 2-channel (Wet Contact) 2-channel (Dry Contact) 2-channel (Wet Contact) 2-channel (Dry Contact) 6-channel (Wet Contact) 4-channel (Sink) 4-channel (Source) 2-channel (Sink) 2-channel (Source) 2-channel Form A PhotoMos Relay 2-channel Form A PhotoMos Relay 2-channel Form A Relay 1-channel Form A Relay 6-channel Form A Relay Isolation Ethernet 10/100 M Yes Yes Modbus TCP Yes ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 8
Ethernet I/O Modules
1.1.3
Comparison of PETL/tET/tPET Module
The tPET and PETL-7060 series features true IEEE 802.3af-compliant (classification, Class 1) Power over Ethernet (PoE) functions. Now, not only can data be carried through an Ethernet cable, but power can also be provided. This feature makes installation of tPET series modules a straightforward task. Imagine no more unnecessary wires with only an Ethernet cable required in order to take care of everything in the field. The tET/tPET and PETL-7060 series also features a built-in web server that allows basic configuration, I/O monitoring and I/O control to be performed by simply using a web browser meaning that remote control of your modules is as easy as surfing the Internet. In addition, tET/tPET and PETL-7060 series modules support the Modbus TCP/UDP protocols, ensuring perfect integration with SCADA software.
Industrial PoE Solutions
When using PoE devices such as the tPET series, you can incorporate the ICP DAS
“PoE”
switch, the
“NS-205PSE”
, as the power source. The NS-205PSE automatically detects any connected devices, whether they are PoE devices or not. This mechanism ensures that the NS-205PSE will function simultaneously with both PoE and non-PoE devices.
Note that when acting as a power source for a PoE device, the NS-205PSE requires a power input ranging from +46 V DC to +55 V DC .
ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 9
Ethernet I/O Modules
More Information
All tET series modules can only be powered using a+12 V DC to +48 V DC power supply connected through a removable terminal block. In contrast, tPET and PETL-7060 series modules offer two methods of supplying power. The first is through the Ethernet via a PoE switch; the second is through a removable terminal block via an external power source. The external power supply should be in the range of +12 V the PoE switch or not. DC to 48 V DC . The reason for including the second method is to provide a redundant power input feature. tPET and PETL-7060 series modules also indicate an LED that indicates whether the power is being supplied by CPU Ethernet Modbus TCP/UDP Web Configuration Web HMI Multi-client IP Filter Latched DI DI as Counter Frequency Measurement tPET 32-bit, 3.5 kHz PETL-7060 32-bit ARM 10/100 M, PoE Yes Yes Simplified Yes (Max. Connections: 5) Yes (white list) Yes Yes (3.5 kHz Max.) I/O Pair-connection PWM Dual-Watchdog Yes (Poll/Push Mode) Yes (100 Hz Max.) Yes (CPU, Host) ESD Protection Surge Protection Form Factor - Tiny Size Remarks Note: tET = tPET without PoE functionality.
Cost-effective +/- 4 kV +/- 0.5 kV Palm Size PET-7000 80186 Yes Yes (Max. Connections: 12) 32-bit, 500 Hz - Yes (Poll Mode) - Yes (Module, Host) - ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 10
Ethernet I/O Modules
1.2
Features
Built-in Web Server
Each tET/tPET/PETL series module contains a built-in web server that allows users to easily configure, monitor and control the module from a remote location using a web browser.
Modbus Protocol
The Modbus TCP/UDP slave function on the Ethernet port can be used to provide data to remote SCADA software.
All-in-one Module
A variety of I/O components are available on multiple channels in a single module, which provides the most cost effective I/O usage and enhances the performance of I/O operations.
Automatic MDI/MDI-X Detection for Plug-and-Play
The RJ-45 port supports automatic sensing of MDI/MDI-x switching that can automatically detect the type of connection being used by the Ethernet device without requiring special straight or crossover cables.
Built-in Dual Watchdog
The Dual Watchdog consists of a CPU Watchdog (for hardware functions) and a Host Watchdog (for software functions). The
CPU Watchdog
will automatically reset it-self if the built-in firmware encounters an abnormal situation. If there is no communication between the module and the host (PC or PLC) for a specified period of time (i.e., the Watchdog timeout), the
Host Watchdog
will set the digital output based on a predefined safe-value. ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 11
Ethernet I/O Modules
1.
2.
Built-in Multi-Function I/O
All
Digital Output
modules provide: A
Power-on Value
(On boot up, the digital output value is set as the Power-on value) A
Safe Value
(If Modbus TCP communication is lost for a certain period, the digital output Value will be set as the user-defined safe value)
A PWM Function
: The digital output channels on PETL/tET/tPET series include a PWM (pulse generation) function that can be used to set different frequencies (50 or 100 Hz Max.) and duty cycles for each digital output channel. In addition, the two digital output channels can work either independently or simultaneously. The term “High Duty Cycle” describes the duration of 'on' time in proportion to the regular interval or 'period' of time. Similarly, the term “Low Duty Cycle” corresponds to the duration of the 'off' time. Consequently, it is not necessary to keep switching from ON to OFF from remote a controller. In this way, the tET/tPET/PETL series module reduces the complexity required for the control system and enhances timing accuracy. All
Digital Input
modules provide:
Digital input channels that can also be used as 32-bit high speed (3.5 kHz) counters. High/Low Latched Status Commands:
in the figure.
The modules provide commands to read the status of any digital input channels that are latched high or latched low. The following is an example that shows the usefulness of the latched digital input. If we wish to read a key stroke from a key switch connected to the digital input channel of a module, the input signal of the key stroke is a pulse signal as shown If we just use the read digital input status command to read the signal and we cannot send the command during the B period due to some reasons, then we will lose the key stroke information. However, with the read latched digital input command, we can still get the key stroke information even we are not able to send command in B period.
Frequency Measurement
: tET/tPET/PETL series modules also provide a frequency measurement function that retrieves the digital input counter value at specific times and calculates the frequency. Rather than polling via a remote host, the tET/tPET/PETL series modules can determine the frequency directly, reducing the communication delay caused by two ends and also improves the accuracy of the frequency measurement. In order to applying for more applications, this module provides 3 scan modes and 4 moving average methods for user to select the best way in their applications. ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 12
Ethernet I/O Modules
I/O Pair-Connection
The I/O Pair-connection function is used to create a digital input to digital output pair through the Ethernet. Once the configuration is complete, the PETL/tET/tPET series modules can continuously poll the status of a remote digital input device using the Modbus TCP protocol, and then write to the local digital output channels in the background. ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 13
Ethernet I/O Modules
2.
Hardware Information
2.1
Front and Back Panel
The following is a brief overview and description of the components included in PETL/tET/tPET series modules.
1
PETL-7060 Ethernet Port
4
tET/tPET Series
System LED Indicator
2 3 J1 Connector Operating Mode Switch 5 J2 Connector
ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 14
Ethernet I/O Modules
Ethernet Port
The PETL/tET/tPET series module are equipped with an RJ-45 jack that is used as the 10/100 Base-TX Ethernet port and features networking capability. When an Ethernet link is detected and an Ethernet packet is received, the
Link/Act LED (Green)
indicator and the
10/100 M LED (Yellow)
indicator will be illuminated.
Note
The Ethernet port supports PoE (Power-over-Ethernet) functions for PETL/tPET series modules only.
J1 Connector
The type of J1 connector used depends on the type of PETL/tET/tPET series module. For more
DC Power Input:
The definition for module.
“(R)+Vs”
and
“(B)GND”
for use as the power supply applies to all types of PETL/tET/tPET series Module
PETL-7060
Pin
8
Name (R)+Vs Function +12 to +48 V DC Power Input
9
(B)GND Ground Connection
tET/tPET 3 4
(R)+Vs (B)GND +12 to +48 V DC Power Input Ground Connection ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 15
Ethernet I/O Modules
Frame Ground:
Electronic circuits are constantly vulnerable to Electrostatic Discharge (ESD), which becomes worse in a continental climate area. PETL/tET/tPET series module feature a new design for the frame ground, which provides a path that bypasses ESD, resulting in an enhanced ESD protection capability and ensuring that the module is more reliable.
The frame ground (F.G.) of the tET/tPET series, as follows:
Module tET/tPET Pin
The frame ground (F.G.) of the PETL-7060, as follows:
The PETL-7060 controller has a metallic board attached to the back of the plastic casing as indicated by point 1 in the figure. When mounted to the DIN-Rail, connect the DIN-Rail to the earth ground because the DIN-Rail is in contact with the upper frame ground as shown in the figure, point 2.
1
1
Name F.G. Function Frame Ground 2 ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 16
Ethernet I/O Modules
Operating Mode Switch
Init mode
: Uses factory settings and allows the firmware to be updated.
Run/Normal mode
: Uses customer settings. The operating mode switch for PETL/tET/tPET series modules is set to the
Run/Normal
position to the
Init Run/Normal
position. The switch must then be returned to the position by default. When updating the PETL/tET/tPET firmware, the switch should be moved from the
Run/Normal
position once the update is complete.
Note
The module must be rebooted after changing operating.
PETL-7060 tET/tPET Series
ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 17
Ethernet I/O Modules
System LED Indicator
Once power is supplied to the PETL/tET/tPET series module, the LED indicator will be illuminated as follows: tET/tPET Series Function System LED Behavior Running Firmware ON (Red) Network Ready PoE (for tPET only) Flashing once every 3 seconds (Red) ON (Green) PETL-7060 Name L1 L2 L3 PoE Function Running Firmware Link/ACT (Red) 10/100M (Yellow) Supply power System LED Behavior ON (Red) ON: Ethernet link detected OFF: No Ethernet link detected Flashing: Ethernet packet received OFF: the speed is 10 Mbps ON: the speed is 100 Mbps ON (Green)
Note
The PoE LED (Green) indicator is only applicable to PETL/tPET series modules.
J2 Connector
The J2 connector depends on the type of the PETL/tET/tPET series module. For more detailed
ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 18
Ethernet I/O Modules
2.2 Specifications
2.2.1 System Specifications
Modules System
CPU Dual Watchdog
Communication tET Series
32-bit MCU Yes Ethernet Port
tPET Series
10/100 Base-TX, 8-Pin RJ-45 x1, (Auto-negotiating, Auto-MDI/MDIX, LED Indicator) - PoE (IEEE 802.3af, Class 1)
LED Display
PoE Indicator System Indicator Link/Act Indicator 10/100 M Indicator
Mechanical
Dimensions (W x H x D)(mm) Installation
Environment
Operating Temperature Storage Temperature Humidity
Power Requirements
Power Input - S1 (Red) E1(Green) E1 (Yellow) 52 x 27 x 98 DIN-Rail mounting S1 (Green) 25 ˚C ~ +75 ˚C 30 ˚C ~ +80 ˚C 10 ~ 90 % RH, non-condensing Power Consumption
PETL-7060
PoE (Green) L1 (Red) L2 (Red) L3 (Yellow) 123 x 72 x 35 DIN-Rail or Wall mounting - PoE: IEEE 802.3af, Class 1 Terminal B lock: +12 ~ 48 V DC (non-regulated) 0.04 A @ 24 V DC for tET-P2R2 0.03 A @ 48 V DC for tPET-P2R2 0.05 A @ 48 V DC ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 19
Ethernet I/O Modules
2.2.2 I/O Specifications tET-P6/tPET-P6/tET-PD6/tPET-PD6 Models Digital Input
Input Channels Input Type (Device) On Voltage Level Off Voltage Level Input Impedance Counters Max. Count Min. Pulse Width Frequency Measurement Overvoltage Protection Isolation Effective Distance
tET-P6 tPET-P6 tET-C4/tPET-C4/tET-A4/tPET-A4 tET-PD6 tPET-PD6
Wet Contact (Sink, Source) +10 V DC ~ +50 V DC +4 V DC max. 10 k Ω 6 Dry Contact (Source) Close to GND Open - 4,294,967,285 (32 bits) 0.15 ms +70 V DC - 3.5 kHz (without filter) - 3750 V rms 500 M Max.
tET-C4 tPET-C4 tET-A4 tPET-A4 Models Digital Output
Output Channels Output Type (Module) Output Voltage Max. Load Current PWM Over-Voltage Short Circuit Protection Output Isolation Sink, Open Collector (NPN) +5 V DC ~ +30 V DC 100 mA/channel 4 Source, Open Collector (PNP) +10 V DC ~ +40 V DC 650 mA/channel 100 Hz Max. (The High/Low duty cucle range = 5 ~ 65,535 ms) +60 V DC - 3750 rms +48 V DC Yes ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 20
Ethernet I/O Modules
tET-P2C2/tPET-P2C2/tET-P2A2/tPET-P2A2 Models Digital Input
Input Channels Input Type (Device) On Voltage Level Off Voltage Level Input Impedance Counters Frequency Measurement Overvoltage Protection Isolation
Digital Output
Output Channels Output Type (Module) Output Voltage Max. Load Current PWM Over-Voltage Short Circuit Protection Output Isolation
tET-P2C2 tPET-P2C2
2 Wet Contact (Sink, Source) +10 V DC ~ +50 V DC +4 V DC Max. 10 k Ω Max. Count: 4,294,967,285 (32 bits) Min. Pulse Width: 0.15 ms 3.5 kHz (without filter) +70 V DC 3750 V rms
tET-P2A2 tPET-P2A2
2 Sink, Open Collector (NPN) +5 V DC ~ +30 V DC 100 mA/channel Source, Open Collector (PNP) +10 V DC ~ +40 V DC 650 mA/channel 100 Hz Max. (The High/Low duty cycle R ange = 5 ~ 65,535 ms) +60 V DC - 3750 V rms +48 V DC Yes ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 21
Ethernet I/O Modules
tET-P2POR2/tPET-P2POR2/tET-PD2POR2/tPET-PD2POR2 Models tET-P2POR2 tPET-P2POR2 tET-PD2POR2 tPET-PD2POR2 Digital Input
Input Channels Input Type (Device) On Voltage Level Off Voltage Level Input Impedance Counters Max. Count Min. Pulse Width Frequency Measurement 2 Wet Contact (Sink, Source) +10 V DC ~ +50 V DC +4 V DC Max. 10 k Ω Dry Contact (Source) Close to GND Open - 4,294,967,285 (32 bits) 0.15 ms 3.5 kHz (without filter) Overvoltage Protection Isolation Effective Distance
Relay Output
Output Channels Output Type (Module) Load Voltage Load Current PWM Turn ON Time +70 V DC - - 3750 V rms 500 M Max. 2 PhotoMOS Relay, Form A 60 V DC / V AC 60 V/1.0 A (Operating Temperature 25°C ~ -40°C) 60 V/0.8 A (Operating Temperature +40°C ~ +60°C) 60 V/0.7 A (Operating Temperature +60°C ~ +75°C) 100 Hz max. (The High/Low duty cycle range = 5 ~ 65,535 ms) 1.3 ms (Typical) Turn Off Time Output Isolation 0.1 ms (Typical) 3000 V rms
Note
Because of the characteristics of the relay functions, it is recommended that the PWM on t(P)ET-P(D)2POR2/ t(P)ET-P2R2/ t(P)ET-PD2R1/ PETL-7060 series modules (i.e., modules with relay functions) is not used for extended periods of time.
ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 22
Ethernet I/O Modules
tET-P2R2/tPET-P2R2/tET-PD2R1/tPET-PD2R1 Models
tET-P2R2 tPET-P2R2 tET-PD2R1 tPET-PD2R1 Digital Input
Input Channels Input Type (Device) On Voltage Level Off Voltage Level Input Impedance Counters Max. Count Min. Pulse Width Frequency Measurement Overvoltage Protection Isolation Effective Distance
Relay Output
Output Channels Output Type (Module) Output Voltage Range Max. Load Current Operate Time Release Time PWM Electrical Life (Resistive load) Mechanical Life Output Isolation VED UL +70 V DC - 3.5 kHz (without filter) - 3750 V rms 500 M Max. 2 Power Relay, Form A (SPST N.O.) 250 V AC /30 V DC 5.0 A/channel 6 ms 1 3 ms 50 Hz max. (The High/Low duty cycle range = 10 ~ 65,535 ms) 5 A 250 V AC 30,000 ops (10 ops/minute) at 75 °C 5 A 30 V DC 70,000 ops (10 ops/minute) at 75 °C 5 A 250 V AC/ 30 V DC 6,000 ops 3 A 250 V AC/ 30 V DC 100,000 ops 20,000,000 ops. At no load (300 ops./ minute) 3000 V rms
Note
Because of the characteristics of the relay functions, it is recommended that the PWM on t(P)ET-P(D)2POR2/ t(P)ET-P2R2/ t(P)ET-PD2R1/ PETL-7060 series modules (i.e., modules with relay functions) is not used for extended periods of time.
Wet Contact (Sink, Source) +10 V DC ~ +50 V DC +4 V DC Max. 10 k Ω 2 Dry Contact (Source) Close to GND Open - 4,294,967,285 (32 bits) 0.15 ms ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 23
Ethernet I/O Modules
PETL-7060 Models PETL-7060 Digital Input
Input Channels Input Type (Device) On Voltage Level Off Voltage Level Input Impedance Counters Max. Count Min. Pulse Width Frequency Measurement 6 Wet Contact (Sink, Source) +10 V DC ~ +50 V DC +4 V DC Max. 10 k Ω 4,294,967,285 (32 bits) 0.15 ms 3.5 kHz (without filter) Overvoltage Protection Isolation
Relay Output
Output Channels Output Type (Module) Output Voltage Range Max. Load Current Operate Time Release Time PWM Electrical Life (Resistive load) Mechanical Life Output Isolation VED UL +70 V DC 3750 V rms 6 Power Relay, Form A (SPST N.O.) 250 V AC /30 V DC 5.0 A/channel 6 ms 3 ms 50 Hz max. (The High/Low duty cycle range = 10 ~ 65,535 ms) 5 A 250 V AC 30,000 ops (10 ops/minute) at 75 °C 5 A 30 V DC 70,000 ops (10 ops/minute) at 75 °C 5 A 250 V AC/ 30 V DC 6,000 ops 3 A 250 V AC/ 30 V DC 100,000 ops 20,000,000 ops. At no load (300 ops./ minute) 3000 V rms
Note
Because of the characteristics of the relay functions, it is recommended that the PWM on t(P)ET-P(D)2POR2/ t(P)ET-P2R2/ t(P)ET-PD2R1/ PETL-7060 series modules (i.e., modules with relay functions) is not used for extended periods of time.
ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 24
Ethernet I/O Modules
2.3Pin Assignments
tET-P6/tPET-P6/tET-PD6/tPET-PD6
: I/O Address Mapping : Counter Address Mapping ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 25
Ethernet I/O Modules
tET-C4/tPET-C4/tET-A4/tPET-A4
: I/O Address Mapping ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 26
Ethernet I/O Modules
tET-P2POR2/tPET-P2POR2/tET-P2R2/tPET-P2R2
: I/O Address Mapping : Counter Address Mapping ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 27
Ethernet I/O Modules
tET-PD2POR2/tPET-PD2POR2
: I/O Address Mapping : Counter Address Mapping ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 28
Ethernet I/O Modules
tET-PD2R1/tPET-PD2R1
: I/O Address Mapping ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 29
Ethernet I/O Modules
tET-P2C2/tPET-P2C2/tET-P2A2/tPET-P2A2
: I/O Address Mapping : Counter Address Mapping ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 30
Ethernet I/O Modules
PETL-7060
: I/O Address Mapping ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 31
Ethernet I/O Modules
2.4 Wiring Connections
2.4.1 Input Wiring
tET-P6/ tPET-P6,tET-P2C2/ tPET-P2C2, tET-P2A2/tPET-P2A2,tET-P2POR2/tPET-P2POR2, tET-P2R2 /tPET-P2R2, PETL-7060
Input Type Readback as 1 + 10 ~ +50 V DC Readback as 0 OPEN or <4 V DC Sink + 10 ~ +50 V DC OPEN or <4 V DC Source
tET-PD6/tPET-PD6, tET-PD2POR2/tPET-PD2POR2, tET-PD2R1/tPET-PD2R1:
Input Type Readback as 0 Relay OFF Readback as 1 Relay ON Dry Contact ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 32
Ethernet I/O Modules
2.4.2 Output Wiring
tET-C4/tPET-C4, tET-P2C2/tPET-P2C2
Output Type Readback as 1 Relay ON Drive Relay Readback as 0 Relay OFF Resistance Load
tET-A4/tPET-A4, tET-P2A2/tPET-P2A2
Output Type ON State Readback as 1 OFF State Readback as 0 ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 33
Ethernet I/O Modules
tET-P2R2/tPET-P2R2, tET-PD2R1/tPET-PD2R1, PETL-7060
Output Type Readback as 1 Relay ON Readback as 0 Relay OFF Relay Output
tET-P2POR2/tPET-P2POR2, tET-PD2POR2/tPET-PD2POR2
Output Type Readback as 1 Relay ON Readback as 0 Relay OFF Form A Relay Contact ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 34
Ethernet I/O Modules
2.5 Dimensions
The PETL-7060 dimensions are in millimeters. Front View Rear View Top View Din-Rail Mounting Bracket Bottom View ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 35
Ethernet I/O Modules The tET/tPET series dimensions are in millimeters. Front View Rear View Top View Left Side View Right Side View Bottom View ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 36
Ethernet I/O Modules
3.
Getting Started
This chapter provides a basic overview of how to install, configure and operate your PETL/tET/tPET series module.
3.1 Mounting the Module
The PETL/tET/tPET series module can be mounted by attaching the bottom of the chassis to a DIN-Rail, or the wall or it can be piggybacked to another module.
DIN-Rail Mounting
The PETL/tET/tPET series modules include simple rail clips on the bottom of the chassis that allow them to be reliably mounted on a DIN-Rail or a wall, or they can be piggybacked to another module. For more detailed information regarding DIN-Rail Mounting, refer to the illustration in figure below.
Mounting on a DIN-Rail
Dismounting from a DIN-Rail
ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 37
Ethernet I/O Modules
Mountable DIN-Rail Models
Din-Rail mounts are available in three sizes, and enable a variety of ICP DAS devices to be mounted. Each is made of stainless steel and has a ground wire attached at one end.
Part Number DRS-125 DRS-240 DRS-360 Maximum Number of Modules
2 3 5
Dimensions
125 mm x 35 mm 240 mm x 35 mm 360 mm x 35 mm
Piggyback Mounting (for PETL-7060 only)
PETL-7060 module contains holes on each side to enable piggy back mounting. ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 38
Ethernet I/O Modules
3.2 Configuring the Boot Mode
All PETL/tET/tPET series modules have two operating modes that can be selected by using the switch mechanism incorporated on the chassis. Note that the module must be rebooted after changing the operating mode.
Init Mode
Init Mode should only be selected when updating the firmware or while troubleshooting. This mode forces the module to use the default factory settings.
Run/Normal Mode
Run/Normal Mode is the default operating mode and should be used in most cases.
Note
Be sure to return the switch to the Run/Normal position once any firmware update is complete.
ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 39
Ethernet I/O Modules
3.3 Connecting to a Network, a PC and a Power Supply
All PETL/tET/tPET series module are equipped with an RJ-45 Ethernet port to allow connection to an Ethernet hub/switch or a PC.
Uses Non-PoE Switch Uses PoE Switch (for PETL/tPET only)
ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 40
Ethernet I/O Modules
3.4 Using the eSearch Utility to Assign a New IP
The eSearch Utility is a useful tool that provides a quick and easy method of configuring the Ethernet settings for PETL/tET/tPET series module from a PC.
Step 1: Download and install the eSearch Utility software, and open the eSearch Utility
eSearch Utility can be obtained either from the companion CD at: CD:\Napdos\Software\eSearch\ Or from the ICP DAS web site at: http://ftp.icpdas.com/pub/cd/tinymodules/napdos/software/esearch/
Step 2: Click the “Search Servers” button to search for your module
ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 41
Ethernet I/O Modules
Step 3: Double-click the name of the module to open the server configuration dialog.
All PETL/tET/tPET series modules are IP-based devices that may not be suitable for your network using the default IP address. Therefore, you must first assign a new IP address to the PETL/tET/tPET series module depending on your network settings. The factory default IP settings are: IP Address: 192.168.255.1; Subnet Mask: 255.255.0.0; Gateway: 192.168.0.1.
Step 4: Assign a new IP address and then click the “OK” button.
Contact your Network Administrator to obtain the correct network configuration information. Modify the network settings as necessary and then click the “
OK
” button. The PETL/tET/tPET series module will use the new settings immediately. ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 42
Ethernet I/O Modules
Step 5: Wait for 2 seconds and then click the “Search Servers” button again.
Ensure that the PETL/tET/tPET series module is operating correctly using the new configuration. ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 43
Ethernet I/O Modules
4.
Web Configuration
All PETL/tET/tPET series module contain an advanced embedded web configuration system that provides I/O accessibility to the PETL/tET/tPET series module via a web browser.
4.1 Logging in to the Web Server
You can access the embedded PETL/tET/tPET series web server from any computer that has an Internet connection.
Step 1: Open a new browser window.
Open a standard web browser. For example, Mozilla Firefox, Google Chrome and Internet Explorer are reliable and popular internet browsers that can be used to configure PETL/tET/tPET series module. Note that if you intend to use Internet Explorer, ensure that the cache to functions is disabled in order to avoid browser access errors. Detailed information how to do this can be found in “FAQ 01: How to avoid a browser access error that causes a blank page to be displayed when using IE”.
Step 2: Enter the URL address of the PETL/tET/tPET web server.
Ensure that you have correctly configured the network settings for the PETL/tET/tPET series module,
or refer to Section 3.4 “Using the eSearch Utility to Assign a New IP”.
ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 44
Ethernet I/O Modules
Step 3: Enter the password
After entering the IP address, the main login dialog page will be displayed prompting you to enter a password. The factory default password is “
Admin
”. Click the
“Submit”
button to continue.
Factory Default Password:
Admin
Step 4: Login to the PETL/tET/tPET web server
After logging into the PETL/tET/tPET web server, the main page will be displayed. ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 45
Ethernet I/O Modules
4.2 Home
The Home link connects to the main page, which contains three parts. The first part of this page provides basic information about the PETL/tET/tPET hardware and software.
The software and hardware information section includes information related to the Model Name, the current Firmware version, the IP Address, the current position of the Initial Switch, the Alias, the MAC Address, and the TCP Port, and the System Timeout values.
PETL/tET/tPET series module, this page can be used to check the version information of the PETL/tET/tPET software.
If you update the firmware for the
The second section provides information related to the current status of pair-connection settings and Digital Output Control.
Note: User can click on the DO image to switch the output state.
ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 46
Ethernet I/O Modules The third section provides details related the status of the I/O pair-connections. ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 47
Ethernet I/O Modules
4.3 Network Settings
Clicking the
Network
more detail below. tab will display the
IP Address Configuration
page allowing you verify the current settings and configure the IP Address parameters, configure the general parameters and restore the default settings for the PETL/tET/tPET series module, each of which will be described in
IP Address Configuration
ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 48
Ethernet I/O Modules The following table provides an overview of the parameters contained in the
IP Address configuration
section:
Item Description Static IP:
If there is no DHCP server installed in your network, you can configure
the network settings manually. Refer to Section “Manual Configuration” for
more details. Address Type
DHCP:
Dynamic Host Configuration Protocol (DHCP) is a network application protocol that automatically assigns an IP address to each device. Refer to
Section “Dynamic Configuration” for more details.
Static IP Address Subnet Mask Each PETL/tET/tPET module connected to the network must have its own unique IP address. This parameter is used to assign a specific IP address. This parameter is used to assign the subnet mask for the PETL/tET/tPET module. The subnet mask indicates which portion of the IP address is used to identify the local network or subnet. Default Gateway MAC Address
Modbus TCP Slave
This parameter is used to assign the IP Address of the Gateway to be used by the PETL/tET/tPET module. A Gateway (or router) is a device that is used to connect an individual network to one or more additional networks. This parameter is used to set the User-defined MAC address, which must be in the format FF-FF-FF-FF-FF-FF. Local Modbus TCP port Local Modbus Net ID Update Settings This parameter is used to set the local port to be used by the Modbus slave device. The default value is 502. This parameter is used to set the Network ID to be used by the Modbus slave device. The default value is 1. Click this button to save the revised settings to the PETL/tET/tPET module. ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 49
Ethernet I/O Modules
Dynamic Configuration
Dynamic configuration is very easy to perform. If a DHCP server is connected to you network, a network address can be dynamically configured by using the following procedure:
Step 1
: Select
“DHCP”
from the
Address Type
drop-down menu.
Step 2
: Click the
“Update Settings”
button to complete the configuration.
Manual Configuration
When using manual configuration, the network settings should be assigned in the following manner:
Step 1
: Select
“Static IP”
from the
Address Type
drop-down menu.
Step 2
: Enter the relevant details in the respective
network settings
fields
.
Step 3
: Click the
“Update Settings”
button to complete the configuration. ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 50
Ethernet I/O Modules
General Settings
The following table provides an overview of the parameters contained in the
General Settings
section:
Item Description
Ethernet Speed System Timeout (Network Watchdog) TCP Timeout (Seconds) UDP Configuration This parameter is used to set the Ethernet speed. The default value is Auto (Auto = 10/100 Mbps Auto-negotiation). This parameter is used to configure the system timeout value. If there is no activity on the network for a certain period of time, the system will be rebooted based on the configured system timeout value. This parameter is used to configure the TCP timeout value. If Modbus TCP communication is idle for a certain period of time, the system will cut off the connection. This parameter is used to enable or disable UDP configuration function. Web Auto-logout HTTP Port Alias Name Update Settings This parameter is used to configure the automatic logout value. If there is no activity on the web server for a certain period of time, the current user account will automatically logged out. This parameter is used to assign specific a HTTP port of PETL/tET/tPET module. The PETL/tET/tPET module needs to be restarted when the HTTP port is changed. You need manually type the new HTTP port in the address bar of the browser. The default is 80. For example: if the HTTP port is set to 81, then enter the “IP address:HTTP port” (10.0.8.123:81). This parameter is used to assign an alias name for each PETL/tET/tPET module to assist with easy identification. Click this button to save the revised settings to the PETL/tET/tPET module. ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 51
Ethernet I/O Modules
Restore Factory Defaults
Restore all options to their factory default states
To reset all parameters to their original factory default settings, use the following procedure:
Step 1
: Click the
“Restore Defaults”
button to reset the configuration.
Step 2
: Click the
“OK”
button in the message dialog box.
Step 3
: Check whether the module has been reset to the original factory default settings for use with
the eSearch Utility. Refer to Section 3.4 Using the eSearch Utility to assign a new IP” .
Factory Default Settings IP Address
192.168.255.1 The following table provides an overview of the factory default settings:
Gateway Address
192.168.0.1
Subnet Mask
255.255.0.0 ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 52
Ethernet I/O Modules
Forced Reboot
The
Forced Reboot
function: can be used to force the PETL/tET/tPET module displayed requesting that you enter your Login Password before continuing.
to reboot or to remotely reboot for the device. After the PETL/tET/tPET module has rebooted, the original login screen will be ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 53
Ethernet I/O Modules
Firmware Update
and can be accessed by a remote PC via TeamViewer. Firmware update requires initialization and local network operations. Traditional firmware update requires adjusting the Init/Run Switch and reboots the module manually for the initialization of firmware update, while new firmware allows user to initialize the module via web interface without adjusting the hardware switch. Initialization via web is useful when module is installed in remote site
Note: If the remote firmware update is failed, then the traditional firmware update (Local) is required to make the module working again.
refer to the For detailed information about how to remote update the Firmware for the PETL/tET/tPET module,
tPET_PETL_Firmware_Update_vxxx_en.pdf
. The location of the user manual on the CD and the download address are shown below: CD:\\ NAPDOS\tPET\Firmware\ http://ftp.icpdas.com/pub/cd/tinymodules/napdos/tpet/firmware/ ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 54
Ethernet I/O Modules
4.4 I/O Settings
Clicking the detail below.
I/O Settings
tab will display the
DO Control and DI/DO Configuration
page allowing you configure the Digital Input and Digital Output parameters for the PETL/tET/tPET module. This page including Digital Output control, DI/DO Configuration, etc., each of which will be described in more
DO Control
The following table provides an overview of the parameters contained in the
DO Control
section:
Item Description
Set DO value This parameter is used to manually assign a specific a value for the DO. Click this button to save the revised settings to the PETL/tET/tPET module. Update Settings ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 55
Ethernet I/O Modules
DI/DO Configuration
The following table provides an overview of the parameters contained in the
DI/DO Configuration
section:
Item Description Digital Output
Host/Slave Watchdog Timeout This parameter is used to configure the Host Watchdog timeout value. If there is no Modbus TCP communication activity for the specified period (the timeout), then the Host Watchdog will activate an alarm. Enable Safe Value (Enable Watchdog) This parameter is used to enable the watchdog on each DO channels. Safe Value Power-On Value This parameter is used to define the DO safe value for the PETL/tET/tPET module. If the Host Watchdog alarm is activated, the DO will be set to the user-defined safe value. This parameter is used to define the DO Power-on value. On boot up, the DO is set to the user-defined Power-on value. ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 56
Ethernet I/O Modules
Digital Input
Enable Latched DI This parameter is uses to enable the latch function on all DI channels. The status of the DI will be recorded if it has been flagged as either high or low. 0 = Disable All; 1 = Enable All DI Filter Level The DI filter is a function that eliminates high-frequency noise from inputs. Settings range value: 1 ~ 65 00 (ms); 0 = Disable (Default). Refer to “FAQ004_What is Digital-Input Filter (DI Filter)” for more detailed information.
Digital Counter
Enable Digital Counter Clear Digital Counter This parameter is used to enable the digital counter on each DI channels. This parameter is used to clear the values of each DI counters. Preset Counter Value This parameter is used to set the default value for each DI counters.
Frequency Measurement by DI
Enable Frequency Measurement Scan Mode This parameter is used to enable the frequency measurement function on each DI channels. This parameter is used to define the scan mode for the frequency measurement.
1000 ms:
This mode provides a normal update rate and normal accuracy. The acceptable frequency range for the input signal is 1 Hz to 3.5 kHz ( ± 1 Hz error). This mode can be used when the pulse width (signal source) contains small errors, since the measurement is based on the pulse count.
100 ms:
This mode provides fast update rate, but the accuracyis low. The acceptable frequency range for the input signal is 100 Hz to 3.5 kHz ( ± 10 Hz error). This mode can be used when the pulse width (signal source) contains small errors, since the measurement is based on the pulse count.
Single-pulse:
This mode provides the highest accuracy but can only be used for stable signal. The data update rate depends on the signal frequency and the acceptable signal frequency range for the input signal is 0.01 Hz to 3.5 kHz ( ± 0.01 Hz error). This mode can only be used when the pulse width (signal source) is stable, since the measurement is based on the width of a single pulse. ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 57
Ethernet I/O Modules Moving Average
Universal DIO
Force DI/DO Mode (For ET-2254 only) Update Settings 1 ==> No Average is used 2 ==>Uses the average of 2 continuous sample values 4 ==>Uses the average of 4 continuous sample values 8 ==>Uses the average of 8 continuous sample values
Dynamic:
Dynamic I/O types based on DO request.
Static:
Static I/O type by configuration (web or Modbus). ==> DI; 0 ==> DO This parameter is used to set the Universal DIO channels to DI or DO Port. 1 Click this button to save the revised settings of DI/DO configuration to the PETL/tET/tPET module. ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 58
Ethernet I/O Modules
4.5 Sync
Clicking the
Sync
tab will display the
DIO Synchronization
page allowing you configure the Synchronous DIO, Min-switching time of DO and Auto-off Time of DO for the PETL/tET/tPET series module, each of which will be described in more detail below.
DIO Synchronization
ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 59
Ethernet I/O Modules The following table provides an overview of the parameters contained in the
DIO Synchronization
section:
Item Description Synchronous DIO (Local Mirror)
Level Sync (DO = DI) Rising Active (DO = ON) Falling Active (DO = ON) This parameter is used to enable the synchronization operation in Digital Input/Output function. This parameter is used to enable rising active in Digital Input function. When the specified DI state changed from OFF to ON, the corresponding DO will be set to ON. This parameter is used to enable falling active in Digital Input function. When the specified DI state changed from ON to OFF, the corresponding DO will be set to ON.
Additional Controls
Min-Switch Time of DO (0 to 65535 Seconds) Auto-off Time of DO (0 to 65535 Seconds) This parameter is used to set the minimum switching time between the ON and OFF state of the Digital Output. This protects some machines from being damaged by too many ON/OFF switches in a short time. This parameter is used to set the auto-off time of the Digital Output. If the Digital Output is ON, the Digital Output will be auto-off based on the configured time value. Update Settings Click this button to save the revised settings of DIO configuration to the PETL/tET/tPET module. ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 60
Ethernet I/O Modules
4.6 PWM
Clicking the
PWM
tab will display the
PWM Configuration
which will be described in more detail below. page allowing you enable and configure the PWM parameters for the PETL/tET/tPET device, including the PWM Alarm and duty cycle, etc., each of
PWM Configuration
The following table provides an overview of the parameters contained in the PWM Configuration section:
Item Description Default Value
Enable PWM This parameter is used to enable the PWM output function. 0 Enable PWM Alarm This parameter is used to enable the PWM output alarm function. 0 ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 61
Ethernet I/O Modules
Item
Duty Cycle
Description
This parameter is used to set the duty cycle for the DO channels. Two values are required for each DO channel. The first value is the high pulse width, while the second is the low pulse width. The duty cycle is in 1 ms units, and the resolution is approximately 5 ms. (5 to 65535 ms). A value of 0 will disable the duty cycle functions for that channel. Refer to “FAQ: Can tET/tPET Modules achieve a PWM Output Accuracy of less than 1 ms ” for more detailed information.
Default Value
1000 (ms) Update Settings Click this button to save the revised settings to the PETL/tET/tPET module.
Note
Because of the characteristics of the relay functions, it is recommended that the PWM on t(P)ET-P(D)2POR2/t(P)ET-P2R2/t(P)ET-PD2R1/PETL-7060 series module (i.e., modules with relay functions) is not used for extended periods of time.
ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 62
Ethernet I/O Modules
4.7 Pair
Clicking the below.
Pair
tab will display the
pair-connection Settings
page allowing you enable and configure the DI-to-DO pair connections for the PETL/tET/tPET module, which will be described in more detail
Pair-Connection Settings
The I/O pair connection function is a specific feature of the PETL/tET/tPET series modules that can be used to enable a pair of DI-to-DO connections via the Modbus TCP (Ethernet) protocol. ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 63
Ethernet I/O Modules The following table provides an overview of the parameters contained in the
Pair-Connection Settings
section:
Item Description Default Value
Mode This parameter is used to define the Server mode for the PETL/tET/tPET series module.
Mode = Disable:
Server mode (Slave).
Mode = POLL
: Poll remote DI to local DO in the Client mode (Master).
Mode = PUSH
: Push local DI to remote DO in the Client mode (Master). The DI Count field must also be configured to enable Client mode. Disable Remote IP The IP address of the remote device to access. 0 Remote Port The TCP port number of the remote device to access. Range: 0 to 65535. 502 Net ID Scan Time The Modbus Net ID of the remote device to access. Range: 1 to 247. For
“POLL”
mode, the module will update the DI/DO states based on the time period of the Scan Time parameter. For
“PUSH”
mode, the module will update remote DO state when the local DI state is changed. The module will also force update remote DO when the local DI is no change during the time period of the Scan Time parameter. Range: 1000 to 42949672965 ms. 1 1000 ms DI Count DI Addr This parameter specifies how many digital I/O channels are mapped. Range: 1 to 16; 0= Disable. For
“POLL”
mode, this parameter specifies the base address of the
Remote DI device
that will be mapped to the
Local DO register
. The range depends on the type of remote device being used. For
“PUSH”
mode, this parameter specifies the base address of the
Local DI register
that will be mapped to the
Remote DO device
. The range depends on the type of PETL/tET/tPET module being used. 0 0 ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 64
Ethernet I/O Modules DO Addr TCP/UDP Submit For
“POLL”
mode, this parameter specifies the base address of the
Local DO register
that will be mapped to the
Remote DI device
. The range depends on the type of the ET-2200 module being used. For
“PUSH”
mode, this parameter specifies the base address of the
Remote DO device
that will be mapped to the
Local DI register
. The range depends on the type of remote device being used. This parameter is used to set the type of Modbus protocol to be used and can be either TCP or UDP
for the “PUSH” mode only
. Click this button to save the revised settings to PETL/tET/tPET module. 0 TCP ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 65
Ethernet I/O Modules
4.8 Filter
Clicking the
Filter
tab will display the
Filter Settings
page allowing you configure the IP Filter list for the PETL/tET/tPET module, which will be described in more detail below.
Filter Settings
The
Filter Settings
page is used to query or edit the IP Filter List for the PETL/tET/tPET series module. The IP filter list restricts the access of incoming packets based on the IP header. If one or more IP addresses are saved to the IP Filter table, only Clients whose IP address is specified in the IP Filter List will be able to access the PETL/tET/tPET series module. ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 66
Ethernet I/O Modules The following table provides an overview of the parameters contained in the IP Address Configuration section:
Item Description
Add “IP” to the List This parameter is used to add an IP address to the Available IP List. Delete IP # “number” Delete All Save to Flash Submit This parameter is used to delete IP# address from the Available IP List. This parameter is used to delete all IP address current contained in the Available IP List. This parameter is used to save the updated Available IP List to the Flash memory. Check the checkbox before clicking the Submit button of you wish to store the most recent list. Click this button to save the revised settings to PETL/tET/tPET module. ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 67
Ethernet I/O Modules
4.9 Monitor
After clicking the
Monitor
tab, the Current Connection Status page will be displayed showing detailed information regarding the current status of the serial port connection settings for the PETL/tET/tPET series module .
4.10 Change Password
Clicking the
Change Password
tab will display the
Change Password
page. To change a password, first enter the old password in the
“Current password”
field (default is
Admin
) and then enter a new password in the
“New password”
field. Re-enter the new password in the
“Confirm new password”
field, and then click the “
Submit
” button to update the password. ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 68
Ethernet I/O Modules
4.11 Logout
Clicking the
Logout
tab will immediately log you out from the system and return you to the login page. ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 69
Ethernet I/O Modules
5.
I/O Pair Connection Applications
The PETL/tET/tPET series modules can be used to create DI-to-DO pair connections via the Ethernet. Once the configuration is complete, the modules can then poll the status of the local DI channels and then use the Modbus/TCP protocol to continuously write to a remote DO device in the background. This is useful when connecting digital I/O devices that do not themselves have Ethernet capability. The following will describe how to correctly configure the I/O pair connection function.
5.1 One Module Polling the Remote DI/DO (1-to-1, Polling Mode)
Step 1: Connect the device to a Network, a PC and a Power supply.
Note that tPET-P2POR2 and tPET-PD2POR2 modules are used in this example.
Figure 5-1.1 ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 70
Ethernet I/O Modules
Step 2: Configure the Ethernet Settings
Contact your Network Administrator to obtain the correct network configuration information for the PETL/tET/tPET series modules, such as the IP Address, Subnet Mask, and Gateway details. Refer to
Section 3.4 “Using the eSearch Utility to assign a new IP” for more details.
Figure 5-1.2
Step 3: Configure the I/O Pair connection on the Web Server
1.
2.
In the eSearch Utility, select
PETL/tET/tPET module #1
and then click the “
Web
” button to launch the browser program and connect to the web server. Enter the password in the Login password field
(the default password is “Admin”)
, and then click the
“Submit”
button to display the configuration page. Figure 5-1.3 ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 71
Ethernet I/O Modules 3.
Click the
“Pair
” tab to display the Pair Connection settings page. Figure 5-1.4
Polling Mode
4.
In the “I/O Pair-connection Settings”, select
“POLL”
from the “
Mode
” drop-down options. 5.
6.
7.
8.
Enter the
IP address for tPET-PD2POR2 #2 module
in the “
Remote IP
” field. Enter the
TCP Port for tPET-PD2POR2 #2 module
in the “
Remote Port
” field. Enter a
DI Count Value for tPET-PD2POR2 #2 module
in the “
DI Count
” field (Remote DI to Local DO). The following is an example of a
Polling mode
configuration: Enter
“2”
in the
“DI Count”
field. This means
DI x2 of tPET-PD2POR2 #2 module
is mapped to
DO x2 of tPET-P2POR2 #1 module
.
Click the “
Submit
” button to complete the configuration. Figure 5-1.5 ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 72
Ethernet I/O Modules
Push Mode
4. In the “I/O Pair-connection Settings”, select
“PUSH”
from the “
Mode
” drop-down options. 5. Enter the
IP address for tPET-PD2POR2 #2 module
in the “
Remote IP
” field. 6. Enter the
TCP Port for tPET-PD2POR2 #2 module
in the “
Remote Port
” field. 7. Enter a
DI Count Value for tPET-P2POR2 #1 module
in the “
DI Count
” field (Local DI to Remote DO). The following is an example of a
Push mode
configuration: Enter
“2”
in the
“DI Count”
field. This means
DI x2 of tPET-P2POR2 #1 module
is mapped to
DO x2 of tPET-PD2POR2 #2 module
. 8. Select
Modbus protocol (e.g., “TCP”)
from the
“TCP/UDP”
drop-down options. 9. Click the “
Submit
” button to complete the configuration.
Figure 5-1.6 ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 73
Ethernet I/O Modules
5.2 Two Modules Pushing the Local DI to each other (1-to-1, Push mode)
Step 1: Connect the device to a Network, a PC and a Power supply.
Note that tPET-P2POR2 and tPET-PD2POR2 modules are used in this example.
Figure 5-2.1
Step 2: Configure the Ethernet Settings
Contact your Network Administrator to obtain the correct network configuration information for the ET-2200 series modules (e.g., tPET-P2POR2 #1 and tPET-PD2POR2 #2), such as the IP Address, Subnet
Mask, and Gateway details. Refer to Section 3.4 “Using the eSearch Utility to assign a new IP” for
more details. Figure 5-2.2 ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 74
Ethernet I/O Modules
Step 3: Configure the I/O Pair connection on the tPET-P2POR2 #1 module
1.
In the eSearch Utility, select
tPET-P2POR2 #1 module
and then click the “
Web
” button to launch the browser program and connect to the web server. 2.
Enter the password in the Login password field
(the default password is “Admin”)
, and then click the
“Submit”
button to display the configuration page. 3.
Click the
“Pair
” tab to display the I/O Pair-connection Settings page.
Refer to Figures 5-1.3
to 5-1.4
for illustrations of how to perform the above procedure.
4. In the “I/O Pair-connection Settings”, select
“PUSH”
from the “
Mode
” drop-down options. 5. Enter the
IP address for tPET-PD2POR2 #2 module
in the “
Remote IP
” field. 6. Enter the
TCP Port for tPET-PD2POR2 #2 module
in the “
Remote Port
” field. 7. Enter a
DI Count Value for tPET-P2POR2 #1 module
in the “
DI Count
” field (Local DI to Remote DO). For example, enter
“1”
in the
“DI Count”
field. This means
DI x1 of tPET-P2POR2 #1 module
is mapped to
DO1 x of tPET-PD2POR2 #2 module
. 8. Select
Modbus protocol (e.g., “TCP”)
from the
“TCP/UDP”
drop-down options. 9. Click the “
Submit
” button to complete the configuration. Figure 5-2.3 ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 75
Ethernet I/O Modules
Step 4: Configure the I/O Pair connection on the tPET-PD2POR2 #2 module
1.
2.
3.
In the eSearch Utility, select
tPET-PD2POR2 #2 module
and then click the “
Web
” button to launch the browser program and connect to the web server. Enter the password in the Login password field
(the default password is “Admin”)
, and then click the
“Submit”
button to display the configuration page. Click the
“Pair
” tab to display the I/O Pair-connection Settings page.
Refer to Figures 5-1.3
to 5-1.4
for illustrations of how to perform the above procedure.
4. In the “I/O Pair-connection Settings”, select
“PUSH”
from the “
Mode
” drop-down options. 5. Enter the
IP address for tPET-P2POR2 #1 module
in the “
Remote IP
” field. 6. Enter the
TCP Port for tPET-P2POR2 #1 module
in the “
Remote Port
” field. 7. Enter a
DI Count Value for tPET-PD2POR2 #2 module
in the “
DI Count
” field (Local DI to Remote DO). For example, enter
“1”
in the
“DI Count”
field. This means
DI x1 of tPET-PD2POR2 #2 module
is mapped to
DO1 x of tPET-P2POR2 #1 module
. 8. Select
Modbus protocol (e.g., “TCP”)
from the
“TCP/UDP”
drop-down options. 9. Click the “
Submit
” button to complete the configuration. Figure 5-2.4 ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 76
Ethernet I/O Modules
5.3 Several Modules Polling the Remote DI (M-to-1) (Polling Mode)
Step 1: Connect the device to a Network, a PC and a Power supply.
Confirm that the PETL/tET/tPET series modules and remote slave device are functioning correctly.
Refer to Chapter 3 “Getting Started”
for more details. An example configuration shown below:
Note that tPET-P2POR2, tPET-PD2POR2 and ET-2260 modules are used in this example.
Figure 5-3.1
Step 2: Configure the Ethernet Settings
Contact your Network Administrator to obtain the correct network configuration information for the PETL/tET/tPET series modules and remote slave device (e.g., tPET-P2POR2 #1, tPET-PD2POR2 #2 and
for more details. Figure 5-3.2 ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 77
Ethernet I/O Modules
Step 3: Configure the I/O Pair connection on the tPET-P2POR2 #1 module
1.
2.
3.
In the eSearch Utility, select
tPET-P2POR2 #1 module
and then click the “
Web
” button to launch the browser program and connect to the web server. Enter the password in the Login password field
(the default password is “Admin”)
, and then click the
“Submit”
button to display the configuration page. Click the
“Pair
” tab to display the I/O Pair-connection Settings page.
Refer to Figures 5-1.3
to 5-1.4
for illustrations of how to perform the above procedure.
4. In the “I/O Pair-connection Settings”, select
“POLL”
from the “
Mode
” drop-down options. 5. Enter the
IP address for remote slave device (e.g., ET-2260)
in the “
Remote IP
” field. 6. Enter the
TCP Port for remote slave device (e.g., ET-2260)
in the “
Remote Port
” field. 7. Enter a
DI Count Value for remote slave device (e.g., ET-2260)
in the “
DI Count
” field (Remote DI to Local DO). For example, enter
“2”
in the
“DI Count”
field. This means
DI x2 of the ET-2260 module
is mapped to
DO x2 of tPET-P2POR2 #1 module
. 8. Enter the
DI address for remote slave device (e.g., ET-2260)
in the “
DI Addr
” field (Remote DI to Local DO). For example, enter
“0”
in the
“DI Addr”
field. This means
DI addresses DI0 and DI1 of the ET-2260 module
are mapped to
DO x2 of tPET-P2POR2 #1 module
. Figure 5-3.3 ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 78
Ethernet I/O Modules
Step 4: Configure the I/O Pair connection on the tPET-PD2POR2 #2 module
1.
In the eSearch Utility, select
tPET-PD2POR2 #2 module
and then click the “
Web
” button to launch the browser program and connect to the web server. 2.
Enter the password in the Login password field
(the default password is “Admin”)
, and then click the
“Submit”
button to display the configuration page. 3.
Click the
“Pair
” tab to display the I/O Pair-connection Settings page.
Refer to Figures 5-1.3
to 5-1.4
for illustrations of how to perform the above procedure.
4. In the “I/O Pair-connection Settings”, select
“POLL”
from the “
Mode
” drop-down options. 5. Enter the
IP address for remote slave device (e.g., ET-2260)
in the “
Remote IP
” field. 6. Enter the
TCP Port for remote slave device (e.g., ET-2260)
in the “
Remote Port
” field. 7. Enter a
DI Count Value for remote slave device (e.g., ET-2260)
in the “
DI Count
” field (Remote DI to Local DO). For example, enter
“2”
in the
“DI Count”
field. This means
DI x2 of the ET-2260 module
is mapped to
DO x2 of tPET-PD2POR2 #2 module
. 8. Enter the
DI address for remote slave device (e.g., ET-2260)
in the “
DI Addr
” field (Remote DI to Local DO). For example, enter
“2”
in the
“DI Addr”
field. This means
DI addresses DI2 and DI3 of the ET-2260 module
are mapped to
DO x2 of tPET-PD2POR2 #2 module
. 9. Click the “
Submit
” button to complete the configuration. Figure 5-3.4 ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 79
Ethernet I/O Modules
5.4 Several Modules Pushing the Local DI (M-to-1) (Push Mode)
Step 1: Connect the device to a Network, a PC and a Power supply.
Confirm that the PETL/tET/tPET series modules and remote slave device are functioning correctly.
Refer to Chapter 3. “Getting Started”
for more details. An example configuration shown below:
Note that tPET-P2POR2, tPET-PD2POR2 and ET-2260 modules are used in this example. Step 2: Configure the Ethernet Settings
Figure 5-4.1 Contact your Network Administrator to obtain the correct network configuration information for the PETL/tET/tPET series modules and remote slave device (e.g., tPET-P2POR2 #1, tPET-PD2POR2 #2 and
for more details. Figure 5-4.2 ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 80
Ethernet I/O Modules
Step 3: Configure the I/O Pair connection on the tPET-P2POR2 #1 module
1.
In the eSearch Utility, select
tPET-P2POR2 #1 module
and then click the “
Web
” button to launch 2.
the browser program and connect to the web server. Enter the password in the Login password field
(the default password is “Admin”)
, and then click the
“Submit”
button to display the configuration page. 3.
Click the
“Pair Connection
” tab to display the I/O Pair-connection Settings page.
Refer to Figures 5-1.3
to 5-1.4
for illustrations of how to perform the above procedure.
4. In the “I/O Pair-connection Settings”, select
“PSUH”
from the “
Mode
” drop-down options. 5. Enter the
IP address for remote slave device (e.g., ET-2260)
in the “
Remote IP
” field. 6. Enter the
TCP Port for remote slave device (e.g., ET-2260)
in the “
Remote Port
” field. 7. Enter a
DI Count Value for tPET-P2POR2 #1 module
in the “
DI Count
” field (Local DI to Remote DO). For example, enter
“2”
in the
“DI Count”
field. This means
DI x2 of the tPET-P2POR2 #1 module
is mapped to
DO x2 of the ET-2260 module.
8. Enter the
DO address for remote slave device (e.g., ET-2260)
in the “
DO Addr
” field (Local DI to Remote DO). For example, enter
“0”
in the
“DO Addr”
field. This means
DO addresses DO0 and DO1 of the ET-2260 module
are mapped to
DI x2 of tPET-P2POR2 #1 module
. 9. Select
Modbus protocol (e.g., “TCP”)
from the
“TCP/UDP”
drop-down options. 10. Click the “
Submit
” button to complete the configuration. Figure 5-4.3 ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 81
Ethernet I/O Modules
Step 4: Configure the I/O Pair connection on the tPET-PD2POR2 #2 module
1.
2.
In the eSearch Utility, select
tPET-PD2POR2 #2 module
and then click the “
Web
” button to launch the browser program and connect to the web server. Enter the password in the Login password field
(the default password is “Admin”)
, and then click the
“Submit”
button to display the configuration page. Click the
“Pair Connection
” tab to display the I/O Pair-connection Settings page. 3.
Refer to Figures 5-1.3
to 5-1.4
for illustrations of how to perform the above procedure.
4. In the “I/O Pair-connection Settings”, select
“PSUH”
from the “
Mode
” drop-down options. 5. Enter the
IP address for remote slave device (e.g., ET-2260)
in the “
Remote IP
” field. 6. Enter the
TCP Port for remote slave device (e.g., ET-2260)
in the “
Remote Port
” field. 7. Enter a
DI Count Value for tPET-PD2POR2 #2 module
in the “
DI Count
” field (Local DI to Remote DO). For example, enter
“2”
in the
“DI Count”
field. This means
DI x2 of the tPET-PD2POR2 #2 module
is mapped to
DO x2 of the ET-2260 module.
8. Enter the
DO address for remote slave device (e.g., ET-2260)
in the “
DO Addr
” field (Local DI to Remote DO). For example, enter
“2”
in the
“DO Addr”
field. This means
DO addresses DO2 and DO3 of the ET-2260 module
are mapped to
DI x2 of tPET-PD2POR2 #2 module
. 9. Select
Modbus protocol (e.g., “TCP”)
from the
“TCP/UDP”
drop-down options. 10. Click the “
Submit
” button to complete the configuration. Figure 5-4.4 ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 82
Ethernet I/O Modules
6.
Modbus Information
The PETL/tET/tPET series is a family of IP-based Modbus I/O devices that allow you to remotely control DI/DO terminals via an Ethernet connection and uses a master-slave communication technique in which only one device (the master) can initiate a transaction (called queries), while other devices (slaves) respond by either supplying the requested data to the master, or by taking the action requested in the query. Most SCADA (Supervisory Control and Data Acquisition) and HMI software, such as Citect (Schneider Electric), ICONICS, iFIX, InduSoft, Intouch, Entivity Studio, Entivity Live, Entivity VLC, Trace Mode, Wizcon (ElUTIONS), and Wonderware, etc. can be used to easily integrate serial devices via the Modbus protocol. Modbus/TCP master applications can also be developed using any programming language, such as VB, C# and so on. ICP DAS provides the Modbus SDK that allows development of Modbus applications on a PC. The relevant demo programs and SDK can be obtained from the following locations: VB Demo : http://ftp.icpdas.com/pub/cd/6000cd/napdos/et7000/demo/pc_client/ .Net demo and SDK : http://ftp.icpdas.com/pub/cd/8000cd/napdos/modbus/nmodbus/ ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 83
Ethernet I/O Modules
6.1 What is Modbus TCP/IP?
Modbus is a communication protocol that was developed by Modicon Inc. in 1979, and was originally designed for use with Modicon controllers. Detailed information regarding the Modbus protocol can be found at: http://www.modbus.org
. The different versions of the Modbus protocol used today include Modbus RTU, which is based on serial communication interfaces such as RS-485 and RS-232, Modbus ASCII and Modbus TCP, which uses the Modbus RTU protocol embedded into TCP packets. Modbus TCP is an internet protocol. The protocol embeds a Modbus frame into a TCP frame so that a connection oriented approach is obtained, thereby making it more reliable. The master queries the slave and the slave responds with a reply. The protocol is open and, hence, highly scalable.
6.2 Modbus Message Structure
Modbus devices communicate using a master-slave (client-server) technique in which only one device (the master/client) can initiate transactions (called queries). The other devices (slaves/servers) respond by either supplying the requested data to the master, or by taking the action requested in the query. A query from a master will consist of a slave address (or broadcast address), a function code defining the requested action, any required data, and an error checking field. A response from a slave consists of fields confirming the action taken, any data to be returned, and an error checking field.
The Modbus/TCP Message Structure
Bytes 00 - 05 Bytes 06 - 11
6-byte header RTU Data ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 84
Ethernet I/O Modules
The Leading 6 bytes of a Modbus/TCP Protocol Query
Byte 00 Byte 01 Byte 02 Byte 03 Byte 04 Byte 05
Transaction identifier Protocol identifier Length Field (upper byte ) Length Field (lower byte)
Transaction identifier
= Assigned by the Modbus/TCP master (client)
Protocol identifier
= 0
Length field (upper byte)
= 0 (since all messages are smaller than 256)
Length field (lower byte)
= The number of following RTU data bytes
RTU Data Structure
Byte 06 Byte 07 Bytes 08-09
Data Field
Bytes 10-11
Net ID (Station Number) Function Code Reference Number (Address Mapping) Number of Points
specifies the address of the receiver (Modbus/TCP slave).
specifies the message type.
is the data block. ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 85
Ethernet I/O Modules
1. Net ID (Station Number)
The first byte in the frame structure of a Modbus RTU query is the receiver’s address. Availed address is in the range of 0 to 247. Address 0 is used for general broadcast, while addresses 1 to 247 are given to individual Modbus devices.
2. Function Code
The second byte in the frame structure of a Modbus RTU query is the function code, which describes what the slave device is required to do. Valid function codes are between 1 and 255. To answer the query, the slave device uses the same function code as contained in the request. The highest bit of the function code will only be set to ‘1’ if an error occurs in the system. In this way, the master will know whether the message has been transmitted correctly or not.
Code Function Reference (Address)
Read the Status of the Coils (Readback DOs) Read the Status of the Input(Reads DIs) Read the Holding Registers (Readback AOs) Read the Input Registers (Reads AIs) Force a Single Coil (Writes DO) Preset a Single Register (Writes AO) Force Multiple Coils (Writes DOs) Preset Multiple Registers (Writes AOs) 0xxxx 1xxxx 4xxxx 3xxxx 0xxxx 4xxxx 0xxxx 4xxxx ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 86
Ethernet I/O Modules
3. Data Field
Data is transmitted in 8-, 16- and 32-bit format. The data for 16-bit registers is transmitted in high-byte first format. For example: 0x0A0B ==> 0x0A, 0x0B. The data for 32-bit registers is transmitted as two 16-bit registers, and is low-word first. For example: 0x0A0B0C0D ==> 0x0C, 0x0D, 0x0A, 0x0B. The data field of messages sent between a master and a slave contains additional information about the action to be taken by the master or any information requested by the slave. If the master does not require this information, the data field can be empty.
Reference (Address) Description 0xxxx Read/Write Discrete Outputs or Coils.
A 0x reference address is used to output device data to a digital output channel.
1xxxx Read Discrete Inputs.
The ON/OFF status of a 1x reference address is controlled by the corresponding digital input channel.
3xxxx Read Input Registers.
A 3x reference register contains a 16-bit number received from an external source, e.g. an analog signal.
4xxxx Read/Write Output or Holding Registers.
A 4x register is used to store 16bits of numerical data (binary or decimal), or to send the data from the CPU to an output channel.
ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 87
Ethernet I/O Modules
01(0x01) Read the Status of the Coils (Readback DOs)
This function code is used to read either the current status of the coils or the current digital output readback value from the PETL/tET/tPET module.
[Request]
Byte Description Size Value 00 Net ID (Station Number) 1 Byte 1 to 247 01 Function Code 1 Byte 0x01 02-03 Starting DO Address 2 Bytes Refer to the Modbus Address Table for the PETL/tET/tPET series.
( Section 6.3 Modbus Register Table )
Byte 02 = high byte Byte 03 = low byte 04-05 Number of Points (Channels) 2 Bytes Byte 04 = high byte Byte 05 = low byte
[Response]
Byte 00 01 02 Description Net ID (Station Number) Function Code Byte Count Size 1 Byte 1 Byte 1 Byte Value 1 to 247 0x01 Byte Count of the Response ( n = (Points+7)/8 ) 03 Data n Bytes n= 1; Byte 03 = data bit 7 to 0 n= 2; Byte 04 = data bit 15 to 8 ....... n= m; Byte m+2 = data bit (8m-1) to 8(m-1)
[Error Response]
Byte Description 00 Net ID (Station Number) 01 Function Code 02 Exception Code Size 1 Byte 1 Byte 1 Byte Value 1 to 247 0x81 Refer to the Modbus Standard Specifications for more details ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 88
Ethernet I/O Modules
Example: Function 01 (0x01), Readback DOs
Command: Response: [Leading 6 bytes]
01 02 00 00 00 06
[Leading 6 bytes]
01 02 00 00 00 04
[Request]
01 01 00 00 00 02
[Response]
01 01 01 03
Reads the digital output value
A description of the command and response is as follows: Command: [Leading 6 bytes] Bytes 00-03
01 02 00 00 (Message Number)
Bytes 04-05
00 06 (Number of bytes remaining in this frame)
[Request] Byte 00
01 (Net ID)
Byte 01 Byte 02-03 Byte 04-05
01 (Function Code) 00 00 00 02 (Starting DO Address) (Number of Points)
Response: [Leading 6 bytes] Bytes 00-03 Bytes 04-05
01 02 00 00 (Message Number) 00 04 (Number of bytes remaining in this frame)
[Response] Byte 00 Byte 01 Byte 02 Byte 03
01 01 01 03 (Net ID) (Function Code) (Byte Count of the Response) (Value for DO1 to DO0) ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 89
Ethernet I/O Modules
02(0x02) Read the Status of the Input (Read DIs)
This function code is used to read the current digital input value from the PETL/tET/tPETL module.
[Request]
Byte Description Size Value 00 Net ID (Station Number) 1 Byte 1 to 247 01 Function Code 1 Byte 02-03 04-05 Starting DI Address Number of Points (Channels) 2 Bytes 2 Bytes 0x02 Refer to the Modbus Address Table for the PETL/tET/tPET series.
( Section 6.3 Modbus Register Table )
Byte 02 = high byte Byte 03 = low byte Byte 04 = high byte Byte 05 = low byte
[Response]
Byte 00 01 02 03 Description Net ID (Station Number) Function Code Byte Count Data Size 1 Byte 1 Byte 1 Byte n Bytes Value 1 to 247 0x02 Byte Count of Response ( n =(Points+7)/8 ) n= 1; Byte 03 = data bit 7 to 0 n= 2; Byte 04 = data bit 15 to 8 ....... n= m; Byte m+2 = data bit (8m-1) to 8(m-1)
[Error Response]
Byte Description 00 Net ID (Station Number) 01 Function Code 02 Exception Code Size 1 Byte 1 Byte 1 Byte Value 1 to 247 0x82 Refer to the Modbus Standard Specifications for more details ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 90
Ethernet I/O Modules
Example: Function 02 (0x02), Read DIs
Command: Response: [Leading 6 bytes]
01 02 00 00 00 06
[Leading 6 bytes]
01 02 00 00 00 04
[Request]
01 02 00 00 00 02
[Response]
01 02 01 03
Reads the digital input value
A description of the command and response is as follows: Command: [Leading 6 bytes] Bytes 00-03 Bytes 04-05
01 02 00 00 00 06 (Message Number) (Number of bytes remaining in this frame)
[Request] Byte 00
01 (Net ID)
Byte 01 Bytes 02-03 Bytes 04-05
02 (Function Code) 00 00 00 02 (Starting DI Address) (Number of Points)
Response: [Leading 6 bytes] Bytes 00-03 Bytes 04-05
01 02 00 00 (Message Number) 00 04 (Number of bytes remaining in this frame)
[Response] Byte 00 Byte 01 Byte 02 Byte 03
01 02 01 03 (Net ID) (Function Code) (Byte Count of the Response) (Value for DI1 to DI0) ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 91
Ethernet I/O Modules
03(0x03) Read the Holding Registers (Readback AOs)
This function code is used to readback either the current values in the holding registers or the analog output value from the PETL/tET/tPET module. These registers are also used to store the preset values for the digital counter, the host watchdog timer, the module name and the TCP timeout, etc.
[Request]
Byte Description Size Value 00 Net ID (Station Number) 1 Byte 1 to 247 01 02-03 04-05 Function Code Starting AO Address Number of 16-bit Registers (Channels) 1 Byte 2 Bytes 2 Bytes 0x03 Refer to the Modbus Address Table for the PETL/tET/tPET series.
( Section 6.3 Modbus Register Table )
Byte 02 = high byte Byte 03 = low byte Word Count Byte 04 = high byte Byte 05 = low byte
[Response]
Byte 00 01 02 03~ Description Net ID (Station Number) Function Code Byte Count Register Values Size 1 Byte 1 Byte 1 Byte n Bytes Value 1 to 247 0x03 Byte Count of the Response (n=Points x 2 Bytes) Register Values n= 2; Byte 03 = high byte Byte 04 = low byte ....... n= m; Byte 03 = high byte Byte 04 = low byte ....... Byte m+1 = high byte Byte m+2 = low byte
[Error Response]
Byte Description 00 Net ID (Station Number) 01 Function Code 02 Exception Code Size 1 Byte 1 Byte 1 Byte Value 1 to 247 0x83 Refer to the Modbus Standard Specifications for more details ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 92
Ethernet I/O Modules
Example: Function 03 (0x03), Read AOs
Command: Response: [Leading 6 bytes]
01 02 00 00 00 06
[Leading 6 bytes]
01 02 00 00 00 07
[Request]
01 03 01 03 00 02
[Response]
01 03 0450 32 41 32
Reads the name of the module for the tPET-P2A2
A description of the command and response is as follows: Command: [Leading 6 bytes] Bytes 00-03 Bytes 04-05
01 02 00 00 00 06 (Message Number) (Number of bytes remaining in this frame)
[Request] Byte 00
01 (Net ID)
Byte 01 Bytes 02-03 Bytes 04-05
03 (Function Code) 01 03 00 02 (Starting AO Address) (Number of Points)
Response: [Leading 6 bytes] Bytes 00-03 Bytes 04-05
01 02 00 00 00 07 (Message Number) (Number of bytes remaining in this frame)
[Response] Byte 00 Byte 01 Byte 02 Bytes 03-04
01 03 04 (Net ID) (Function Code) (Byte Count of the Response) 50 32 (The low word for the module name: The ASCII code “0x50, 0x32” represents the characters “P” and “2”)
Byte 05-06
41 32 (The high word for the module name: The ASCII code “0x41, 0x32” represents the characters “A” and “2”) ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 93
Ethernet I/O Modules
04(0x04) Read the Input Registers (Read AIs)
This function code is used to read either the input registers or the current analog input value from the PETL/tET/tPET module. These registers are also used to store the current value for the digital counter, the number of DI channels and the number of DO channels, etc.
[Request]
Byte Description Size Value 00 01 02-03 04-05 Net ID (Station Number) Function Code Starting AI Address Number of 16-bit Registers (Channels) 1 Byte 1 Byte 2 Bytes 2 Bytes 1 to 247 0x04 Refer to the Modbus Address Table for the PETL/tET/tPET series.
( Section 6.3 Modbus Register Table )
Byte 02 = high byte Byte 03 = low byte Word Count Byte 04 = high byte Byte 05 = low byte
[Response]
Byte 00 01 02 03~ Description Net ID (Station Number) Function Code Byte Count Register Values Size 1 Byte 1 Byte 1 Byte n Bytes Value 1 to 247 0x04 Byte Count of the Response (n=Points x 2 Bytes) Register Values n= 2; Byte 03 = high byte Byte 04 = low byte ....... n= m; Byte 03 = high byte Byte 04 = low byte ....... Byte m+1 = high byte Byte m+2 = low byte
[Error Response]
Byte Description 00 Net ID (Station Number) 01 Function Code 02 Exception Code Size 1 Byte 1 Byte 1 Byte Value 1 to 247 0x84 Refer to the Modbus Standard Specifications for more details. ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 94
Ethernet I/O Modules
Example: Function 04 (0x04), Read AIs
Command: Response: [Leading 6 bytes]
01 02 00 00 00 06
[Leading 6 bytes]
01 02 00 00 00 05
[Request]
01 04 00 64 00 01
[Response]
01 04 02 00 02
Reads the number of the DI channels on the tPET-P2A2
A description of the command and response is as follows: Command: [Leading 6 bytes] Bytes 00-03 Bytes 04-05
01 02 00 00 00 06 (Message Number) (Number of bytes remaining in this frame)
[Request] Byte 00
01 (Net ID)
Byte 01 Bytes 02-03 Bytes 04-05
04 (Function Code) 0064 (Starting AI Address) 00 01 (Number of 16-bit Registers)
Response: [Leading 6 bytes] Bytes 00-03 Bytes 04-05
01 02 00 00 (Message Number) 00 05 (Number of bytes remaining in this frame)
[Response] Byte 00 Byte 01 Byte 02 Bytes 03-04
01 04 02 (Net ID) (Function Code) (Byte Count of the Response) 00 02 (Number of DI Channels on the tPET-P2A2) ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 95
Ethernet I/O Modules
05(0x05) Force a Single Coil (Write DO)
This function code is used to set the status of a single coil or a single digital output value for the PETL/tET/tPET module.
[Request]
Byte Description Size Value 00 Net ID (Station Number) 1 Byte 1 to 247 01 02-03 04-05 Function Code DO Address Output Value 1 Byte 2 Bytes 2 Bytes 0x05 Refer to the Modbus Address Table for the PETL/tET/tPET series.
( Section 6.3 Modbus Register Table )
Byte 02 = high byte Byte 03 = low byte 0xFF 00 sets the output to ON. 0x00 00 sets the output to OFF. All other values are invalid and will not affect the coil. Byte 04 = high byte Byte 05 = low byte
[Response]
Byte 00 01 02-03 04-05 Description Net ID (Station Number) Function Code DO Address Output Value Size 1 Byte 1 Byte 2 Bytes 2 Bytes Value 1 to 247 0x05 The value is the same as Bytes 02-03 of the Request The value is the same as Bytes 04-05 of the Request
[Error Response]
Byte Description 00 Net ID (Station Number) 01 Function Code 02 Exception Code Size 1 Byte 1 Byte 1 Byte Value 1 to 247 0x85 Refer to the Modbus Standard Specifications for more details. ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 96
Ethernet I/O Modules
Example: Function 05 (0x05), Write DO
Command: Response: [Leading 6 bytes]
01 02 00 00 00 06
[Leading 6 bytes]
01 02 00 00 00 06
[Request]
01 05 00 01 FF 00
[Response]
01 05 00 01 FF 00 Sets Channel DO1 to ON
A description of the command and response is as follows: Command: [Leading 6 bytes] Bytes 00-03 Bytes 04-05
01 02 00 00 00 06 (Message Number) (Number of bytes remaining in this frame)
[Request] Byte 00
01 (Net ID)
Byte 01 Bytes 02-03 Bytes 04-05
05 (Function Code) 00 01 FF00 (DO Address) (Sets the output to ON)
Response: [Leading 6 bytes] Bytes 00-03 Bytes 04-05
01 02 00 00 (Message number) 00 06 (Number of bytes remaining in this frame)
[Response] Byte 00 Byte 01 Bytes 02-03 Bytes 04-05
01 05 (Net ID) (Function Code) 00 01 FF 00 (DO Address) (Indicates that the DO has been set to ON) ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 97
Ethernet I/O Modules
06(0x06) Preset a Single Register (Write AO)
This function code is used to set a specific holding register to store the configuration values for the PETL/tET/tPET module.
[Request]
Byte Description Size Value 00 Net ID (Station Number) 1 Byte 1 to 247 01 Function Code 1 Byte 02-03 04-05 AO Address Register Value 2 Bytes 2 Bytes 0x06 Refer to the Modbus Address Table for the PETL/tET/tPET series.
( Section 6.3 Modbus Register Table )
Byte 02 = high byte Byte 03 = low byte Register Value Byte 04 = high byte Byte 05 = low byte
[Response]
Byte 00 01 02-03 04-05 Description Net ID (Station Number) Function Code AO Address Register Value Size 1 Byte 1 Byte 2 Bytes 2 Bytes Value 1 to 247 0x06 The value is the same as Bytes 02-03 of the Request The value is the same as Bytes 04-05 of the Request
[Error Response]
Byte Description 00 Net ID (Station Number) 01 Function Code 02 Exception Code Size 1 Byte 1 Byte 1 Byte Value 1 to 247 0x86 Refer to the Modbus Standard Specifications for more details. ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 98
Ethernet I/O Modules
Example: Function 06 (0x06), Write AO
Command: Response: [Leading 6 bytes]
01 02 00 00 00 06
[Leading 6 bytes]
01 02 00 00 00 06
[Request]
01 06 01 08 00 3C
[Response]
01 06 01 08 00 3C
Sets the system timeout to 60 seconds
A description of the command and response is as follows: Command: [Leading 6 bytes] Bytes 00-03 Bytes 04-05
01 02 00 00 00 06 (Message Number) (Number of bytes remaining in this frame)
[Request] Byte 00
01 (Net ID)
Byte 01 Bytes 02-03 Bytes 04-05
06 (Function Code) 01 08 00 3C (AO Address) (Sets the system timeout to 60 seconds)
Response: [Leading 6 bytes] Bytes 00-03 Bytes 04-05
01 02 00 00 (Message Number) 00 06 (Number of bytes remaining in this frame)
[Response] Byte 00 Byte 01 Bytes 02-03 Bytes 04-05
01 06 (Net ID) (Function Code) 01 08 00 3C (AO Address) (Indicates that the system timeout has been set to 60 seconds) ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 99
Ethernet I/O Modules
15(0x0F) Force Multiple Coils (Write DOs)
This function code is used to set multiple coils status or write multiple digital output values for the PETL/tET/tPET module.
[Request]
Byte Description Size Value 00 01 02-03 04-05 06 07 Net ID (Station Number) Function Code Starting DO Address Number of Output Channels (Points) Byte count Output value 1 Byte 1 Byte 2 Bytes 2 Bytes 1 Byte n Bytes 1 to 247 0x0F Refer to the Modbus Address Table for PETL/tET/tPET series.
( Section 6.3 Modbus Register Table )
Byte 02 = high byte Byte 03 = low byte Byte 04 = high byte Byte 05 = low byte n = (Points +7)/8 A bit corresponds to a channel. A value of 1 for a bit denotes that the channel is ON, while a value of denotes that the channel is OFF. n= 1; Byte 07 = data bit 7 to 0 n= 2; Byte 08 = data bit 15 to 8 ....... n= m; Byte m+6 = data bit (8m-1)to 8(m-1)
[Response]
Byte 00 01 02-03 02 Description Net ID (Station Number) Function Code Starting DO Address 04-05 Number of Output Channels (Points)
[Error Response]
Byte Description 00 01 Net ID (Station Number) Function Code Exception Code Size 1 Byte 1 Byte 2 Bytes 2Bytes Size 1 Byte 1 Byte 1 Byte Value 1 to 247 0x0F The value is the same as Bytes 02-03 of the Request The value is the same as Bytes 04-05 of the Request Value 1to 247 0x8F Refer to the Modbus Standard Specifications for more details. ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 100
Ethernet I/O Modules
Example: Function 15 (0x0F), Write DOs
Command: Response: [Leading 6 bytes]
01 02 00 00 00 08
[Leading 6 bytes]
01 02 00 00 00 06
[Request]
01 0F 01 0B 00 02 01 03
[Response]
01 0F 01 0B 00 02 Sets the safe value (DO0 – DO1)
A description of the command and response is as follows: Command: [Leading 6 bytes] Bytes 00-03 Bytes 04-05
01 02 00 00 00 08 (Message Number) (Number of bytes remaining in this frame)
[Request] Byte 00
01 (Net ID)
Byte 01 Bytes 02-03 Bytes 04-05 Byte 06
0F (Function Code) 01 0B 00 02 01 (Starting DO Address) (Number of Output Channels) (Byte Count)
Byte 07
03 (Output Value)
Response: [Leading 6 bytes] Bytes 00-03 Bytes 04-05
01 02 00 00 (Message Number) 00 06 (Number of bytes remaining in this frame)
[Response] Byte 00 Byte 01 Bytes 02-03 Bytes 04-05
01 0F (Net ID) (Function Code) 01 0B 00 02 (Starting DO Address) (Number of Input Channels) ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 101
Ethernet I/O Modules
16(0x10) Preset Multiple Registers (Write AOs)
This function code is used to set multiple holding registers that are used to store the configuration values for the PETL/tET/tPET module.
[Request]
Byte 00 01 02-03 04-05 06 07 Description Net ID (Station Number) Function Code Starting AO Address Number of 16-bit Registers (Channels) Byte Count Register Values Size 1 Byte 1 Byte 2 Bytes 2 Bytes 1 Byte n Bytes Value 1 to 247 0x10 Refer to the Modbus Address Table for the PETL/tET/tPET series.
( Section 6.3 Modbus Register Table )
Byte 02 = high byte Byte 03 = low byte Word Count. Byte 04 = high byte Byte 05 = low byte n =Points x 2 Bytes Register Values. n= 2; Byte 03 = high byte Byte 04 = low byte ....... n= m; Byte 03 = high byte Byte 04 = low byte ....... Byte m+1 = high byte Byte m+2 = low byte
[Response]
Byte Description 00 01 02-03 04-05 Net ID (Station Number) Function Code Starting AO Address Number of 16-bit Registers (Channels)
[Error Response]
Byte 00 01 Description Net ID (Station Number) Function Code Size Value 1 Byte 1 to 247 1 Byte 0x10 2 Bytes The value is the same as Bytes 02-03 of the Request 2 Bytes The value is the same as Bytes 04-05 of the Request Size Value 1 Byte 1 to 247 1 Byte 0x90 02 Exception Code ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 102
Ethernet I/O Modules
Example: Function 16 (0x10), Write AOs
Command: Response: [Leading 6 bytes]
01 02 00 00 00 0B
[Leading 6 bytes]
01 02 00 00 00 06
[Request]
01 10 00 32 00 01 02 03 E8 00 00
[Response]
01 10 00 32 00 01
Sets the Preset value for the digital counter
A description of the command and response is as follows: Command: [Leading 6 bytes] Bytes 00-03 Bytes 04-05
01 02 00 00 (Message Number) 00 0B (Number of bytes remaining in this frame)
[Request] Byte 00
01 (Net ID)
Byte 01 Bytes 02-03 Bytes 04-05 Byte 06
10 (Function Code) 00 32 (Starting AO Address) 00 01 (Number of 16-bit Registers) 02 (Byte Count)
Bytes 07-10
03 E8 00 00 (Preset Value for the digital counter)
Response: [Leading 6 bytes] Bytes 00-03 Bytes 04-05
01 02 00 00 (Message Number) 00 06 (Number of bytes remaining in this frame)
[Response] Byte 00 Byte 01 Bytes 02-03 Bytes 04-05
01 (Net ID) 10 (Function Code) 00 32 (Starting AO address) 00 01 (Word Count) ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 103
Ethernet I/O Modules
6.3 Modbus Register Table
Data from 16-bit registers is transmitted in high-byte first order. For example: 0x0A0B ==> 0x0A, 0x0B. Data from 32-bit registers is transmitted as two 16-bit registers, and is in low-word first order. For example: 0x0A0B0C0D ==> 0x0C, 0x0D, 0x0A, 0x0B.
6.3.1 Common Functions
0xxxx: DO Address (Base 0)
Starting Address 127 (0x7F) 128 (0x80) 133 (0x85) Remarks Points 1 1 Description Restores all default web settings Default ID Settings 1 Reboots the PETL/tET/tPET module “
W
”: Write
3xxxx: AI address (Base 0)
Starting Address 151 (0x97) 158 (0x9E) 160 (0xA0) Points 1 1 1 Description Firmware Version Modbus Communication Status Pair-Connection Status 16 16 Bits per Point 1 Bits per Point 16 1 1 Range 1 = Restore 1 = Restore 1 = Reboot Range “123” denotes that the version is 1.2.3
0 = No Error 1 = Timeout 0 = Normal 1 = Timeout 2 = Disconnected Remarks “
R
”: Read Access Type W (Pulse) W (Pulse) W (Pulse) Access Type R R R ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 104
Ethernet I/O Modules
4xxxx: AO Address (Base 0)
Starting Address 255 (0xFF) 257 (0x101) 258 (0x102) 259 (0x103) 263 (0x107) 264 (0x108) Remarks Points 1 1 1 Description CPU Reset Status Sets the Host Watchdog Timer (WDT) Host WDT Events Bits per Point 16 16 16 Range Access Type 1 = Reset at Power-on 2 = Reset by the WDT 3 = Reset using the reset command
<5:
Disabled
5 to 65535:
Enabled (units: seconds)
0:
Default If the PETL/tET/tPET module loses communication with the host PC for more than the period defined in the WDT settings, the DO channels will revert to their safe values and the Host WDT Events Counter will be increased by one. Denotes how many Host WDT Events have occurred since the last CPU reset R/W R/W/F R/W R 1 Module Name 16 Module Name 1 1 Sets the TCP Timeout Value Sets the System Timeout Value 16 16
<5:
Disabled
5 to 65535:
Enabled (units: seconds)
0:
Default
<30:
Disabled
30~65535:
Enabled (unit: second)
0:
default
“R”:
Read;
“W”:
Write;
“F”:
Setting is recorded in flash as default.
Warning:
Frequent writing to the Flash can cause it to become corrupt. R/W/F R/W/F ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 105
Ethernet I/O Modules
6.3.2 Specific Functions
The nDI and nDO parameters for each PETL/tET/tPET series module used in the following Modbus Address Tables are as follows: Model Name Non-PoE Series PoE Series tET-P6 tET-PD6 tET-C4 tET-A4 tET-P2C2 tET-P2A2 tET-P2POR2 tPET-P6 tPET-PD6 tPET-C4 tPET-A4 tPET-P2C2 tPET-P2A2 tPET-P2POR2 - tET-PD2POR2 tET-P2R2 tET-PD2R1 tPET-PD2POR2 tPET-P2R2 tPET-PD2R1 PETL-7060
0xxxx: DO address (Base 0)
Number of DO Channels
(nDO)
2 2 2 1 6 0 0 4 4 2 2 Number of DI Channels
(nDI)
2 2 2 2 6 6 6 0 0 2 2 0 (0x00) 32 (0x20) 33 (0x21) 34 (0x22) 60 (0x3C) Points Description 1 to nDO Digital Output Channels 1 1 1 to nDI 1 Clears the status of all high latched DI Channels Clears the status of all low latched DI Channels Clears the high speed digital counter for all DI Channels Saves specific data to Flash (The access type for some registers is labeled with an “
E”
) 1 1 1 1 1 Range 0 = Off 1 = On 1 = Clear 1 = Clear 1 = Clear 1 = Clear R/W W W W W 100 (0x64) 1 to nDO Enables the PWM for all DO Channels 1 0 = Off 1 = On (Default= 0) R/W ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 106
Ethernet I/O Modules 150 (0x96) 151 (0x97) 190 (0xBE) 235 (0xEB) 267 (0x10B) Remarks 1 1 to nDI 1 to nDI 1 to nDO Enables the high and low latches for all DI Channels Enables the high speed digital counter for all DI Channels Enables frequency measurement for all DI Channels Sets the Power-on value for all DO Channels 1 1 1 1 0 = Disable 1 = Enable (Default= 0) 0 = Disable 1 = Enable (Default= 0) 0 = Disable 1 = Enable (Default= 0) 0 = Off 1 = On (Default= 0) 1 to 1DO Sets the Safe value for all DO Channels 1 0 = Off 1 = On (Default= 0) “
R
”: Read “
W
”: Write “
F
”: Settings are recorded in flash by default “
E
”: After writing DO[60] register, the data will be stored in flash.
Warning:
Frequency writing to the Flash can cause it to become corrupt. R/W/F R/W/F R/W/F R/W/F R/W/F
Note
Because of the characteristics of the relay functions, it is recommended that the PWM on t(P)ET-P(D)2POR2/ t(P)ET-P2R2/ t(P)ET-PD2R1/ PETL-7060 series modules (i.e., modules with relay functions) is not used for extended periods of time.
1xxxx: DI address (Base 0)
Starting Address 0 (0x00) 32 (0x20) 64 (0x40) Remarks Points 1 to nDI 1 to nDI 1 to nDI “
R
”: Read Description The status of all Digital Input Channels The status of all high latched DI Channels The status of all low latched DI Channels Bits per Point 1 1 1 Range 0 = Off 1 = On 0 = None 1 = Latched 0 = None 1 = Latched Access Type R R R ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 107
Ethernet I/O Modules
3xxxx: AI Address (Base 0)
Starting Address Points Description Bits per Point Value Access Type 16 (0x10) 1 to nDI The Digital Counter Value 32 0 to 4294967296 R 64 (0x40) 1 to nDI The frequency Value * 1,000. (Note: The Client must first divide the value by 1,000.) 32 0 to 4294967296 R
Note: The “DI Counter (0x10)” and “DI Frequency (0x40)”that the records data as 32-bit value and is transmitted as two 16-bit registers .Consequently, the register address has an offset of 2, i.e., the address of the second channel will be at starting-address +2, and so on. You can refer to “
FAQ: How do I read DI Counter for the PETL/tET/tPET Series Modules correctly
” for more detailed information. Example: Reads the 6DI Counter on the tPET-P6.
[Leading 6 bytes] [Request] Command: 01 02 00 00 00 06 01 04 00 10 00
0C
Starting Address
6 channels * 2 registers = 12 registers
100 (0x64) 110 (0x6E) 121 (0x79) 1 1 1 Number of DI Channels Number of DO Channels Number of high-speed counters 16 16 16 nDI nDO nDI R R R Remarks “
R
”: Read ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 108
Ethernet I/O Modules
4xxxx: AO Address (Base 0)
Starting Address Points Description Bits per Point Range Access Type 50 (0x32) 1 to nDI The preset value for the high speed digital counter 32 0 to 4294967296 R/W/E
Note: “Preset DI Counter Value (0x32)”that the records data as 32-bit value and is transmitted as two 16-bit registers. Consequently, the register address has an offset of 2, i.e., the address of the second channel will be at starting-address +2, and so on. You can refer to “
FAQ: How do I read DI Counter for the PETL/tET/tPET Series Modules correctly
” for more detailed information. Example: Reads the preset value of 6DI Counter on the tPET-P6.
[Leading 6 bytes] [Request] Command: 01 02 00 00 00 06 01 04 00 32 00
0C
Starting Address
6 channels * 2 registers = 12 registers
100 (0x64) 1 to nDO The duty cycle for the DO PWM The first word (16-bit register) is the high pulse width, while the second word is the low pulse width. The units rein ms, and the resolution is about 10 ms. 32 0 to 65535; 0 to 65535; R/W/E 150 (0x64) 200 (0x64) 1 to nDO 1 to nDO The Scan mode for the DI frequency measurement.
Refer to Section “DI/DO Configuration” for more details.
The moving average of the DI frequency measurement. 16 16 1000= 1000ms 100= 100ms 2000=Single pulse 1=No average 2=Average 2 values 4= Average 4 values 8=Average 8 values R/W/F R/W/F ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 109
Ethernet I/O Modules 268 (0x10C) 284 (0x11C) 1 to nDO The Min-Switching Time for all DO Channels 1 to nDO The Auto-off Time for all DO Channels 16 16 1 to 65535 second R/W/F 1 to 65535 second R/W/F Remarks “
R
”: Read “
W
”: Write “
F
”: Settings are recorded in flash by default “
E
”: After writing the DO[60] register, the data will be stored in flash.
Warning:
Frequent writing to the Flash can cause it to become corrupt. ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 110
Ethernet I/O Modules
7.
Related Tools
7.1 LabVIEW
LabVIEW is a system-design platform and development environment and is ideal for acquiring, analyzing, and presenting data. LabVIEW provides a graphical development environment that allows you to drag and drop pre-built objects to quickly create data acquisition, instrumentation and control systems, thereby boosting productivity and reducing development time. LabVIEW makes it possible to quickly create user interfaces that enable interactive control of software systems then specify the functionality of your system, by simply assembling a block diagram, which is a natural design notation for scientists and engineers. A document that describes how to link LabVIEW to a PETL/tET/tPET device using the Modbus protocol can be found at: http://ftp.icpdas.com/pub/cd/6000cd/napdos/et7000/document/application/labview/labview_modb us_eng.pdf
7.2 OPC Server
OPC (OLE for Process Control) was the first standard resulting from the collaboration of a number of leading worldwide automation suppliers working in cooperation with Microsoft. Originally based on Microsoft's OLE COM (Component Object Model) and DCOM (Distributed Component Object Model) technologies, the specification defines a standard set of objects, interfaces and methods for use in process control and manufacturing automation applications to facilitate interoperability. A wide range of different mechanisms are provided by various vendors that allow access to a variety of devices via specific applications. However, if an OPC server is provided for the device, other applications will also be able to access the device via the OPC interface. ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 111
Ethernet I/O Modules
7.3 SCADA
SCADA stands for Supervisor Control and Data Acquisition and is a PC-based production automation and control system. SCADA is widely used in many fields, including power generation, water systems, the oil industry, the chemical, and the automobile industry. Different fields require different functions, but they all have the same common requirements: Graphical interface Process mimicking Real-time and historical trend data Alarm systems Data acquisition and recording Data analysis Report generation
Accessing the PETL/tET/tPET Series Module
SCADA software is able to access PETL/tET/tPET series devices using the Modbus communication protocol without the need for other software drivers.
Popular SCADA Software
Some of the more popular SCADA software includes
Citect, ICONICS, iFIX, InduSoft, Intouch, Entivity Studio, Entivity Live, Entivity VLC, Trace Mode, Wizcon, and Wonderware
, etc. In the following sections, three popular brands of SCADA software are introduced, together with detailed instructions of how to use them to communicate with PETL/tET/tPET series modules using the Modbus TCP protocol. ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 112
Ethernet I/O Modules
InduSoft
InduSoft Web Studio is a powerful, integrated collection of automation tools that includes all the building blocks needed to develop modern Human Machine Interfaces (HMI), Supervisory Control and Data Acquisition (SCADA) systems, and embedded instrumentation and control applications. InduSoft Web Studio’s application runs in native Windows NT, 2000, XP, CE and CE .NET environments and conforms to industry standards such as Microsoft .NET, OPC, DDE, ODBC, XML, and ActiveX. The document describing how to link InduSoft to the PETL/tET/tPET series module using the Modbus protocol is located at: bus_eng.pdf
http://ftp.icpdas.com/pub/cd/6000cd/napdos/et7000/document/application/indusoft/indusoft_mod
Citect
Citect SCADA is a fully integrated Human Machine Interface (HMI) / SCADA solution that enables users to increase return on assets by delivering a highly scalable, reliable control and monitoring system. Easy-to-use configuration tools and powerful features enable the rapid development and deployment of solutions for applications of any size. is located on The document describing how to link Citect to the PETL/tET/tPET module using the Modbus protocol http://ftp.icpdas.com/pub/cd/6000cd/napdos/et7000/document/application/ifix/ifix_mbtcp.pdf
iFix
The document describing how to link iFix to the PETL/tET/tPET series module using the Modbus protocol is located at: http://ftp.icpdas.com/pub/cd/6000cd/napdos/et7000/document/appli cation/citect/citect_mbtcp.pdf
ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 113
Ethernet I/O Modules
Appendix:
Troubleshooting
How do I restore the web password for the module to the factory default password?
The instructions below outline the procedure for resetting the web password to the factory default value.
Note:
Be aware that
ALL
settings will be restored to the factory default values after the module is reset.
Step 1
Locate the Init/Run switch that can be found on the top side of the PETL/tET/tPET module and set it to the
"Init"
position. Reboot the module to
load factory default settings
including default web password.
Step 2
Execute either the VxComm Utility or the eSearch Utility to search for any PETL/tET/tPET modules connected to the network. Verify that the PETL/tET/tPET has been reset to the original factory default settings. For example, the module should be shown as having the default IP address, which is 192.168.255.1. ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 114
Ethernet I/O Modules
Step 3
Double-click the name of the module to open the Configure Server (UDP) dialog box, and modify the basic settings as necessary, e.g., the IP, Mask and Gateway addresses, and then click the
"OK"
button to
save the new settings
.
Step 4
Reset the Init/Run switch on the PETL/tET/tPET module to the
"Run"
position and reboot the device.
Step 5
Log in to the web configuration pages for the PETL/tET/tPET module, using the default web password,
"Admin"
. ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 115
Ethernet I/O Modules
Appendix B: Revision History
This chapter provides revision history information to this document. The table below shows the revision history. Revision 1.0 1.6 2.2 2.2.1 Date Mar. 2011 July 2013 Aug.2017 Mar.2018 Description Initial issue 1.
2.
3.
4.
5.
6.
Added the software and hardware information about the tET/tPET-PD6. Added the software and hardware information about the tET/tPET-PD2POR2. Added the software and hardware information about the tET/tPET-PD2R1. Updated the information about the Firmware Version v1.4.6 [Jun.16, 2017] in Chapter 4 Web Configuration. Added Chapter Appendix A: Troubleshooting. Added Chapter Appendix B: Revision History. Remove the package CD ICP DAS CO., LTD.
PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 116
advertisement
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project