ICPDAS M-7026, M-7000 User Manual

1
M-7026
User Manual
Warranty
All products manufactured by ICP DAS are under warranty regarding defective materials for a period of one year from the date of delivery to the original purchaser.
Warning
ICP DAS assumes no liability for damages resulting from the use of this product. ICP DAS reserves the right to change this manual at any time without notification. 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.
Copyright
Copyright © 2013 ICP DAS. All rights reserved.
Trademarks
Names are used for identification purposes only and may be registered trademarks of their respective companies.
Date: 2016/03/10
M-7026 User Manual Rev: 1.5 Date: 2016/03/10
2
Table of Contents
1. Introduction ......................................................................................... 6
1.1 Applications ................................................................................. 7
1.2 More Information ......................................................................... 7
1.3 Pin Assignments ......................................................................... 8
1.4 Specifications .............................................................................. 9
1.4.1 System Specifications ..................................................... 9
1.4.2 I/O Specifications ........................................................... 10
1.5 Block Diagram ........................................................................... 12
1.6 Application Wiring ..................................................................... 13
1.7 Default Settings ......................................................................... 14
1.8 Calibration .................................................................................. 15
1.8.1 Analog Input .................................................................... 15
1.8.2 Analog Output ................................................................. 16
1.9 Configuration ............................................................................. 17
1.9.1 Baud Rate Settings (CC)............................................... 17
1.9.2 Analog Input Type Code Settings (TT) ....................... 17
1.9.3 Data Format Settings (FF) ............................................ 18
1.9.4 Analog Input Type Codes and Data Format .............. 19
1.9.5 Analog Output Type Codes and Data Format ........... 20
1.9.6 Analog Output Slew Rate Control................................ 20
1.10 M-7000 Notes ............................................................................ 21
1.10.1 Protocol Switching .......................................................... 21
1.10.2 INIT Mode ........................................................................ 22
2. DCON Protocol ................................................................................ 23
2.1 %AANNTTCCFF ....................................................................... 30
2.2 #** ................................................................................................ 32
2.3 #AA.............................................................................................. 33
2.4 #AAN ........................................................................................... 35
2.5 #AAN(Data) ............................................................................... 36
2.6 $AA0 ........................................................................................... 38
2.7 $AA0N ........................................................................................ 40
2.8 $AA1 ........................................................................................... 42
2.9 $AA1N ........................................................................................ 44
2.10 $AA2 ........................................................................................... 46
2.11 $AA3NVV ................................................................................... 48
2.12 $AA4 ........................................................................................... 50
M-7026 User Manual Rev: 1.5 Date: 2016/03/10
3
2.13 $AA4N ........................................................................................ 52
2.14 $AA5 ........................................................................................... 53
2.15 $AA5VV ...................................................................................... 54
2.16 $AA6 ........................................................................................... 55
2.17 $AA6N ........................................................................................ 56
2.18 $AA7CiRrr .................................................................................. 58
2.19 $AA7N ........................................................................................ 60
2.20 $AA8Ci ....................................................................................... 62
2.21 $AA8N ........................................................................................ 64
2.22 $AA9N ........................................................................................ 66
2.23 $AA9NTS ................................................................................... 68
2.24 $AAB ........................................................................................... 70
2.25 $AABO ........................................................................................ 72
2.26 $AAC ........................................................................................... 73
2.27 $AAE ........................................................................................... 74
2.28 $AAEnn ...................................................................................... 75
2.29 $AAF ........................................................................................... 76
2.30 $AAI ............................................................................................ 77
2.31 $AALS ......................................................................................... 78
2.32 $AAM .......................................................................................... 80
2.33 $AAP ........................................................................................... 81
2.34 $AAPN ........................................................................................ 82
2.35 $AAS1 ......................................................................................... 84
2.36 ~** ................................................................................................ 85
2.37 ~AA0 ........................................................................................... 86
2.38 ~AA1 ........................................................................................... 88
2.39 ~AA2 ........................................................................................... 89
2.40 ~AA3ETT .................................................................................... 91
2.41 ~AA4 ........................................................................................... 93
2.42 ~AA4N ........................................................................................ 95
2.43 ~AA5N ........................................................................................ 97
2.44 ~AA5PPSS ................................................................................ 99
2.45 ~AAD......................................................................................... 101
2.46 ~AADVV ................................................................................... 103
2.47 ~AAEV ...................................................................................... 105
2.48 ~AAI .......................................................................................... 107
2.49 ~AAO(Data) ............................................................................. 108
2.50 ~AARD ...................................................................................... 109
M-7026 User Manual Rev: 1.5 Date: 2016/03/10
4
2.51 ~AARDTT ................................................................................. 110
2.52 ~AATnn .................................................................................... 111
2.53 @AACECi ................................................................................ 112
2.54 @AACH .................................................................................... 114
2.55 @AACHCi ................................................................................ 115
2.56 @AACHi ................................................................................... 117
2.57 @AACL ..................................................................................... 119
2.58 @AACLCi ................................................................................. 120
2.59 @AACLi .................................................................................... 122
2.60 @AADACi ................................................................................ 124
2.61 @AADI ...................................................................................... 126
2.62 @AADODD .............................................................................. 128
2.63 @AAEATCi .............................................................................. 130
2.64 @AAHI(Data)Ci ....................................................................... 132
2.65 @AALO(Data)Ci ..................................................................... 134
2.66 @AARACi ................................................................................ 136
2.67 @AARAO ................................................................................. 138
2.68 @AARECi ................................................................................ 140
2.69 @AARH .................................................................................... 142
2.70 @AARHCi ................................................................................ 144
2.71 @AARHi ................................................................................... 146
2.72 @AARL ..................................................................................... 148
2.73 @AARLCi ................................................................................. 150
2.74 @AARLi .................................................................................... 152
3. Modbus RTU Protocol .................................................................. 154
3.1 Function 02 (0x02) - Read the Status of the Digital Input
Channels ........................................................................................... 155
3.2 Function 04 (0x04) - Read the Analog Input Channels .... 156
3.3 Function 05 (0x05) - Write to a Single Digital Output
Channel ............................................................................................. 157
3.4 Function 06 (0x06) - Write to a Single Analog Output
Channel ............................................................................................. 158
3.5 Function 16 (0x10) - Write to Analog Output Channel ..... 159
3.6 Function 70 (0x46) - Read/Write the Module Settings ..... 160
3.6.1 Sub-function 00 (0x00) - Read the Name of the
Module ............................................................................ 161
3.6.2 Sub-function 04 (0x04) - Set the Address of the
Module ............................................................................ 162
M-7026 User Manual Rev: 1.5 Date: 2016/03/10
5
3.6.3 Sub-function 05 (0x05) - Read the Communication
Protocol .......................................................................... 163
3.6.4 Sub-function 06 (0x06) - Set the Communication
Protocol .......................................................................... 164
3.6.5 Sub-function 07 (0x07) - Read the Analog Input
Type Code ..................................................................... 166
3.6.6 Sub-function 08 (0x08) - Set the Analog Input Type
Code ............................................................................... 167
3.6.7 Sub-function 32 (0x20) - Read the Firmware Version
Information ..................................................................... 168
3.6.8 Sub-function 37 (0x25) - Read whether an Analog
Input Channel is Enabled or Disabled ...................... 169
3.6.9 Sub-function 38 (0x26) – Enable or Disable the
Analog Input Channels ................................................ 170
3.6.10 Sub-function 41 (0x29) - Read the Miscellaneous
Settings .......................................................................... 171
3.6.11 Sub-function 42 (0x2A) - Write the Miscellaneous
Settings .......................................................................... 172
3.7 Address Mappings .................................................................. 173
3.8 Engineering Units Data Format Table ................................. 177
4. Troubleshooting ............................................................................. 178
4.1 Communicating with the Module .......................................... 178
4.2 Reading Data ........................................................................... 178
5. Appendix ......................................................................................... 179
5.1 INIT Mode ................................................................................ 179
5.2 Dual Watchdog Operation ..................................................... 181
5.3 Frame Ground ......................................................................... 182
5.4 Node Information Area ........................................................... 184
5.5 Reset Status ............................................................................ 185
M-7026 User Manual Rev: 1.5 Date: 2016/03/10
6
1. Introduction
A number of M-7000 modules feature a new design for the frame ground and INIT switch, as shown in the figure (rear view). The frame ground provides enhanced static (ESD) protection abilities and ensures that the module is more reliable. The INIT switch allows easier access to INIT mode. Refer to Sections 5.1 and 5.3 for more details.
The M-7000 series is a family of network data acquisition and control modules that provide Analog-to-Digital, Digital-to-Analog, Digital Input/Output, Timer/Counter and other functions. The modules can be remotely controlled using a set of commands called the DCON protocol. Communication between the module and the host is in ASCII format via an RS-485 bi-directional serial bus standard. Baud Rates are software programmable and transmission speeds of up to 115.2 Kbps can be selected.
The common features of the M-7000 series are as follows:
1. Voltage or Current Input
2. +/-240 Vrms Overvoltage Protection
3. High Resolution: 16-bit
4. 2500 VDC Intra-module Isolation
5. Photocoupler Isolation
6. Support for Relay Outputs
7. DIN-Rail Mountable
8. Dual Watchdog
9. Wide Operating Temperature Range: -25 to +75°C
M-7026 User Manual Rev: 1.5 Date: 2016/03/10
7
1.1 Applications
1.1. I-7000 Overview
1.2. I-7000 Related Documentation
1.3. I-7000 Common Features
1.4. I-7000 System Network Configuration
1.5. I-7000 Dimensions
1. Building Automation
2. Factory Automation
3. Machine Automation
4. Remote Maintenance
5. Remote Diagnosis
6. Testing Equipment
1.2 More Information
Refer to Chapter 1 of the M-7000 Bus Converter User Manual” for more information regarding the following:
M-7026 User Manual Rev: 1.5 Date: 2016/03/10
8
1.3 Pin Assignments
M-7026 User Manual Rev: 1.5 Date: 2016/03/10
9
1.4 Specifications
Communication
Interface
RS-485
Format
N, 8, 1
Baud Rate
1200 to 115200 bps
Protocol
DCON/Modbus RTU
Dual Watchdog
Yes, Module (1.6 Seconds), Communication (Programmable)
LED Indicator/Display
System LED Indicator
Yes, 1 LED as Power/Communication Indicator
I/O LED Indicator
-
7-Segment LED Display
-
Isolation
Intra-Module Isolation, Field-to-Logic
2500 VDC
EMS Protection
ESD (IEC 61000-4-2)
+/-4 kV
EFT (IEC 61000-4-4)
+/-4 kV
Surge (IEC 61000-4-5)
+/-3 kV
Power
Reverse Polarity Protection
Yes
Input Voltage Range
+10 to +30 VDC
Consumption
1.8 W
Mechanical
Dimensions (W x L x H)
72 mm x 123 mm x 35 mm
Installation
DIN-Rail or Wall Mounting
Environment
Operating Temperature
-25 to +75°C
Storage Temperature
-40 to +85°C
Humidity
10 to 95% RH, Non-condensing
1.4.1 System Specifications
M-7026 User Manual Rev: 1.5 Date: 2016/03/10
10
1.4.2 I/O Specifications
Analog Input
Channels
6
Wiring
Differential
Range
±150 mV, ±500 mV, ±1 V, ±5 V, ±10 V ±20 mA , 0 to 20 mA, 4 to 20 mA (Jumper Selectable)
Resolution
16-bit
Accuracy Normal Mode
±0.1%
Fast Mode
±0.5%
Sampling Rate Normal Mode
10 Hz
Fast Mode
60 Hz
Input Impedance
Voltage
2 MΩ
Current
140 Ω
Common Voltage Protection
+/-200 VDC
Individual Channel Configuration
Yes Over current Protection
50 mA max. at 110 VDC
Overvoltage Protection
240 Vrms
Analog Output
Channels
2
Range
+0 to +5 VDC, +0 to +10 VDC, ±5 VDC, ±10 VDC, +0 to +20 mA, +4 to +20 mA (Jumper Selectable)
Resolution
12-bit
Accuracy
±0.1% of FSR
Output Capacity Voltage Output Capability
10 V @ 20 mA Open Wire Detection
Yes, for 4 to 20 mA only
Power-on Value
Yes, Programmable
Safe Value
Yes, Programmable
M-7026 User Manual Rev: 1.5 Date: 2016/03/10
11
Digital Input/Counter
Channels
3
Type
Dry Contact
Sink/Source (NPN/PNP)
Source
Dry Contact
On Voltage Level
Close to GND
Off Voltage Level
Open
Counter Max. Count
65,535 (16-bit)
Max. Input Frequency
50 Hz Min. Pulse Width
10 ms
Input Impedance
-
Channel-to-Channel Isolation
-
Overvoltage Protection
-
Digital Output
Channels
3
Type
Open Collector
Sink/Source (NPN/PNP)
Sink
Load Voltage
+ 3.5 VDC to + 50 VDC
Max. Load Current
700 mA/Channel
Overvoltage Protection
60 VDC
Overload Protection
Yes
Short-circuit Protection
Yes
Power-on Value
Yes, Programmable
Safe Value
Yes, Programmable
M-7026 User Manual Rev: 1.5 Date: 2016/03/10
12
1.5 Block Diagram
M-7026 User Manual Rev: 1.5 Date: 2016/03/10
13
1.6 Application Wiring
M-7026 User Manual Rev: 1.5 Date: 2016/03/10
14
1.7 Default Settings
The default settings for the M-7026 are:
Module Address: 01 Analog Input Type: Type 08, -10 V to +10 V Analog Output Type: Type 3, -10 V to +10 V Protocol: Modbus RTU Baud Rate: 9600 bps Checksum disabled Engineering Units format Filter set at 60 Hz rejection
M-7026 User Manual Rev: 1.5 Date: 2016/03/10
15
1.8 Calibration
Type
Code
08
09
0A
0B
0C
0D
Zero
Input
0 V
0 V
0 V
0 mV
0 mV
0 mA
Span
Input
+10 V
+5 V
+1 V
+500 mV
+150 mV
+20 mA
Warning: It is not recommended that calibration be performed until the process is fully understood.
1.8.1 Analog Input
The Analog Input calibration procedure is as follows:
1. Warm up the module for 30 minutes.
2. Set the Type Code to the type you wish to calibrate. Refer to
Section 2.18 for details.
3. Enable calibration. Refer to Section 2.47 for details.
4. Apply the zero calibration voltage/current.
5. Send the Zero Calibration command. Refer to Section 2.8 for
details.
6. Apply the span calibration voltage/current.
7. Send the Span Calibration command. Refer to Section 2.6 for
details.
8. Repeat steps 3 to 7 three times.
Notes:
1. The calibration voltage/current source should be connected to channel 0.
2. When calibrating Type Code 0D, the jumper for channel 0 should be set to the “current input” position.
3. Calibration voltages and currents are shown below.
Calibration Voltage/Current:
M-7026 User Manual Rev: 1.5 Date: 2016/03/10
16
1.8.2 Analog Output
Type Code
0 1 2 3 4
5
Zero Output
0 mA
4 mA
0 V
0 V
0 V
0 V
Span Output
+20 mA
+20 mA
+10 V
+10 V
+5 V
+5 V
The Analog Output calibration procedure is as follows:
1. Warm up the module for 30 minutes.
2. Set the Type Code to the type you wish to calibrate. Refer to
Section 2.23 for details.
3. Enable calibration. Refer to Section 2.47 for details.
4. Set the zero Analog Output voltage/current. Refer to Section 2.5
for details.
5. Check the meter and trim the output until zero output is achieved. Refer to Section 2.11 for details.
6. Send the Analog Output Zero Calibration command. Refer to Section 2.7 for details.
7. Set the span Analog Output voltage/current. Refer to Section 2.5 for details.
8. Check the meter and trim the output until the span output is achieved. Refer to Section 2.11 for details.
9. Send the Analog Output Span Calibration command. Refer to Section 2.9 for details.
Notes:
1. For Analog Output channels, calibration must be performed for each channel individually, so the calibration voltage/current source should be connected to the specific channel that is to be calibrated.
2. When calibrating Types Codes 0 and 1, the jumper for the corresponding channel should be set to the “current input” position.
3. Calibration voltages and currents are shown below.
Calibration Voltages/Current:
M-7026 User Manual Rev: 1.5 Date: 2016/03/10
17
1.9 Configuration
Code
03
04
05
06
07
08
09
0A
Baud Rate
1200
2400
4800
9600
19200
38400
57600
115200
Type Code
Analog Input Type
07
+4 to +20 mA
08
+/-10 V
09
+/-5 V
0A
+/-1 V
0B
+/-500 mV
0C
+/-150 mV
0D
+/-20 mA
1A
0 to +20 mA
1.9.1 Baud Rate Settings (CC)
Bits 5:0
Bits 7:6 00: No Parity, 1 Stop Bit 01: No Parity, 2 Stop Bits 10: Even Parity, 1 Stop Bit 11: Odd Parity, 1 Stop Bit
1.9.2 Analog Input Type Code Settings (TT)
Note:
When Types Codes 07, 0D or 1A are selected, the jumper for the corresponding channel should be set to the “current input” position.
M-7026 User Manual Rev: 1.5 Date: 2016/03/10
18
1.9.3 Data Format Settings (FF)
7 6 5 4 3 2 1 0 FS
CS
MS
Reserved
DF
Key
Description
DF
Data Format 00: Engineering Units 01: % of FSR (full scale range) 10: 2’s complement hexadecimal
MS
Mode Settings 0: Normal Mode (16 bits) 1: Fast Mode (12 bits)
CS
Checksum Settings 0: Disabled 1: Enabled
FS
Filter Settings 0: 60Hz Rejection 1: 50Hz Rejection
Note:
Reserved bits should be zero.
M-7026 User Manual Rev: 1.5 Date: 2016/03/10
19
1.9.4 Analog Input Type Codes and Data Format
Type Code
Input Type
Data Format
+F.S
-F.S.
07
+4 to +20
mA
Engineering Units
+20.000
+04.000
% of FSR
+100.00
+000.00
2’s Complement Hexadecimal
FFFF
0000
08
-10 to +10 V
Engineering Units
+10.000
-10.000
% of FSR
+100.00
-100.00
2’s Complement Hexadecimal
7FFF
8000
09
-5 to +5 V
Engineering Units
+5.0000
-5.0000
% of FSR
+100.00
-100.00
2’s Complement Hexadecimal
7FFF
8000
0A
-1 to +1 V
Engineering Units
+1.0000
-1.0000
% of FSR
+100.00
-100.00
2’s Complement Hexadecimal
7FFF
8000
0B
-500 to +500 mV
Engineering Units
+500.00
-500.00
% of FSR
+100.00
-100.00
2’s Complement Hexadecimal
7FFF
8000
0C
-150 to +150 mV
Engineering Units
+150.00
-150.00
% of FSR
+100.00
-100.00
2’s Complement Hexadecimal
7FFF
8000
0D
-20 to +20 mA
Engineering Units
+20.000
-20.000
% of FSR
+100.00
-100.00
2’s Complement Hexadecimal
7FFF
8000
1A
0 to +20
mA
Engineering Units
+20.000
+00.000
% of FSR
+100.00
+000.00
2’s Complement Hexadecimal
FFFF
0000
M-7026 User Manual Rev: 1.5 Date: 2016/03/10
20
1.9.5 Analog Output Type Codes and Data
Type
Code
Output Type
Data Format
Max.
Min.
0
0 to +20
mA
Engineering Units
+20.000
+00.000
2’s Complement Hexadecimal
FFFF
0000
1
+4 to +20
mA
Engineering Units
+20.000
+04.000
2’s Complement Hexadecimal
FFFF
0000
2
0 to +10
V
Engineering Units
+10.000
+00.000
2’s Complement Hexadecimal
FFFF
0000
3
-10 to +10
V
Engineering Units
+10.000
-10.000
2’s Complement Hexadecimal
7FFF
8000
4
0 to +5
V
Engineering Units
+05.000
+00.000
2’s Complement Hexadecimal
FFFF
0000
5
-5 to +5 V
Engineering Units
+05.000
-05.000
2’s Complement Hexadecimal
7FFF
8000
Format
1.9.6 Analog Output Slew Rate Control
0 Immediate Change 1 0.0625 V/Second or 0.125 mA/Second 2 0.125 V/Second or 0.25 mA/Second 3 0.25 V/Second or 0.5 mA/Second 4 0.5 V/Second or 1.0 mA/Second 5 1.0 V/Second or 2.0 mA/Second 6 2.0 V/Second or 4.0 mA/Second 7 4.0 V/Second or 8.0 mA/Second 8 8.0 V/Second or 16 mA/Second 9 16 V/Second or 32 mA/Second A 32 V/Second or 64 mA/Second B 64 V/Second or 128 mA/Second C 128 V/Second or 256 mA/Second D 256 V/Second or 512 mA/Second E 512 V/Second or 1024 mA/Second F 1024 V/Second or 2048 mA/Second
M-7026 User Manual Rev: 1.5 Date: 2016/03/10
21
1.10 M-7000 Notes
The main difference between the I-7000 and M-7000 series is that the M-7000 series has additional support for the Modbus RTU communication protocol, which is the default protocol of the M-7000 series. The communication Baud Rates for the Modbus RTU protocol can be in the range of 1200 bps to 115200 bps, and the parity, data and stop bits are fixed as no parity, 8 data bits and 1 stop bit.
Modbus functions supported by the module are described in Chapter 3.
1.10.1 Protocol Switching
To switch to the DCON protocol:
1. Uses sub-function 06h of the function 46h and set byte 8 to a value of 1. See Section 3.4.4 for details.
2. After a power-on reset, the communication protocol will be changed to DCON.
To switch to the Modbus RTU protocol:
1. Sends the $AAPN command and set N to a value of 1. Note that the slide switch on the rear side of the module should be set to INIT position, see the figure on the next page. See Section 2.34 for details.
2. After a power-on reset, the communication protocol will be changed to Modbus RTU protocol.
M-7026 User Manual Rev: 1.5 Date: 2016/03/10
22
1.10.2 INIT Mode
When the module is powered on, with the rear slide switch set to INIT position as shown in the figure below, the module is in INIT mode (Section 5.1), and the communication settings are as follows:
1. Address: 00
2. Baud Rate: 9600 bps
3. No checksum
4. Protocol: DCON
If communication with the module is not possible, set the module to INIT mode and use the above settings to communicate with the module. To read the current settings, send the commands $AA2 (Section 2.10), and $AAPN (Section 2.34). The new communication settings will be effective after the next power-on reset.
M-7026 User Manual Rev: 1.5 Date: 2016/03/10
23
2. DCON Protocol
Delimiter Character
Module Address
Command
[CHKSUM]
CR
Delimiter Character
Module Address
Data
[CHKSUM]
CR
All communication with the M-7026 module consists of commands generated by the Host and responses transmitted by the module. Each module has a unique ID number that is used for addressing purposes and is stored in non-volatile memory. The ID is set to 01 by default and can be changed by sending the appropriate user command. All commands to the modules contain the ID number as the address, meaning that only the addressed module will respond. There are two exceptions to this, however: the #** command (Section 2.2) and the ~** command (Section 2.36), which is sent to all modules, but, in these cases, the modules do not respond to the command.
Command Format:
Response Format:
CHKSUM A 2-character checksum that is present when the
checksum setting is enabled. See Sections 2.1 and 5.1 for details.
CR End of command character, carriage return (0x0D)
Calculating the Checksum:
1. Sum the ASCII codes of all the characters contained in the command/response string, except for the carriage return character (CR).
2. The checksum is equal to the sum value masked by 0FFh.
M-7026 User Manual Rev: 1.5 Date: 2016/03/10
24
Example:
Command $012(CR)
1. The sum of the string = “$” + “0” + “1” + “2” = 24h+30h+31h+32h = B7h
2. Therefore the checksum is B7h, and so CHKSUM = “B7”
3. The DCON command string with the checksum = $012B7(CR)
Response !01200600(CR)
1. The sum of the string = “!” + “0” + “1” + “2” + “0” + “0” + “6” + “0” + “0” = 21h+30h+31h+32h+30h+30h+36h+30h+30h = 1AAh
2. Therefore the checksum is AAh, and so CHKSUM = “AA”
3. The DCON response string with the checksum
= !01200600AA(CR)
Note:
All characters should be expressed in upper case.
M-7026 User Manual Rev: 1.5 Date: 2016/03/10
25
General Command Set
Command
Response
Description
Section
%AANNTTCCFF
!AA
Sets the Configuration of the Module
2.1
$AA2
!AANNTTCCFF
Reads the Configuration of the Module
2.10
$AA5
!AAS
Reads the Reset Status of the Module
2.14
$AAC
!AA
Clears the Status of the Latched Digital Input/Output Channels
2.26
$AAE
!AAnn
Simultaneously reads the Status of the Counter Edges for all Digital Input Channels
2.27
$AAEnn
!AA
Simultaneously sets the Status of the Counter Edges for all Digital Input Channels
2.28
$AAF
!AA(Data)
Reads the Firmware Version Information for the Module
2.29
$AAI
!AAS
Reads the Status of the INIT Switch
2.30
$AALS
!(Data)
Reads the Status of the Latched Digital Input and Digital Output Channels
2.31
$AAM
!AA(Data)
Reads the Name of the Module
2.32
$AAP
!AASC
Reads the Communication Protocol currently being used by the Module
2.33
$AAPN
!AA
Sets the Communication Protocol to be used by the Module
2.34
~AAD
!AAVV
Reads the Miscellaneous Settings for the Module
2.45
~AADVV
!AA
Sets the Miscellaneous Settings for the Module
2.46
~AAI
!AA
Enables the Software INIT Modification Function
2.48
~AAO(Data)
!AA
Sets the Name of the Module
2.49
M-7026 User Manual Rev: 1.5 Date: 2016/03/10
26
~AARD
!AATT
Reads the Response Delay Time for the Module
2.50
~AARDTT
!AA
Sets the Response Delay Time for the Module
2.51
~AATnn
!AA
Sets the Software INIT Timeout Value for the Module
2.52
@AACECi
!AA
Clears the Counter for a Specific Digital Input Channel
2.53
@AADI
!AAOOII
Reads the Status of all Digital Input and Digital Output Channels
2.61
@AADODD
!AA
Sets the Status of the Digital Output Channels
2.62
@AARECi
!AA
Reads the Counter for a Specific Digital Input Channel
2.68
Analog Input Command Set
Command
Response
Description
Section
#**
No Response
Sends the Synchronized Sampling Command
2.2
#AA
>(Data)
Reads the Analog Input Data from all Channels
2.3
#AAN
>(Data)
Reads the Analog Input Data from a Specific Channel
2.4
$AA0
!AA
Performs an Analog Input Span Calibration on the Module
2.6
$AA1
!AA
Performs an Analog Input Zero Calibration on the Module
2.8
$AA4
>AAS(Data)
Reads the previously stored Synchronized Sampling Data
2.12
$AA5VV
!AA
Enables or Disables Specific Analog Input Channels
2.15
$AA6
!AAVV
Reads whether each Analog Input Channels is Enabled or Disabled
2.16
$AA7CiRrr
!AA
Sets the Type Code for a Specific Analog Input Channel
2.18
M-7026 User Manual Rev: 1.5 Date: 2016/03/10
27
$AA8Ci
!AACiRrr
Reads the Type Code for a Specific Analog Input Channel
2.20
$AAB
!AANN
Reads whether or not the Analog Input channels are under range
2.24
$AAS1
!AA
Reloads the Default Calibration Parameters
2.35
~AAEV
!AA
Enables or Disables Analog Input Calibration for the Module
2.47
@AACH
!AA
Clears the High Latch Values for all Analog Input Channels
2.54
@AACHCi
!AA
Clears the Status of the High Alarm for a Specific Analog Input Channel
2.55
@AACHi
!AA
Clears the High Latch Value for a Specific Analog Input Channel
2.56
@AACL
!AA
Clears the Low Latch Values for all Analog Input Channels
2.57
@AACLCi
!AA
Clears the Status of the Low Alarm for a Specific Analog Input Channel
2.58
@AACLi
!AA
Clears the Low Latch Value for a Specific Analog Input Channel
2.59
@AADACi
!AA
Disables the Alarm for a Specific Analog Input Channel
2.60
@AAEATCi
!AA
Sets the Alarm Mode for a Specific Analog Input Channel
2.63
@AAHI(Data)Ci
!AA
Sets the High Alarm Value for a Specific Analog Input Channel
2.64
@AALO(Data)Ci
!AA
Sets the Low Alarm Value for a Specific Analog Input Channel
2.65
@AARACi
!AAHHLL
Reads the Alarm Mode for a Specific Analog Input Channel
2.66
@AARAO
!AAHHLL
Reads the Status of the Analog Input Alarm for all Analog Input Channels
2.67
@AARH
!AA(Data)
Reads the High Latch Values for all Analog Input Channels
2.69
M-7026 User Manual Rev: 1.5 Date: 2016/03/10
28
@AARHCi
!AA(Data)
Reads the High Alarm Limit for a Specific Analog Input Channel
2.70
@AARHi
!AA(Data)
Reads the High Latch Value for a Specific Analog Input Channel
2.71
@AARL
!AA(Data)
Reads the Low Latch Values for all Analog Input Channels
2.72
@AARLCi
!AA(Data)
Reads the Low Alarm Limit for a Specific Analog Input Channel
2.73
@AARLi
!AA(Data)
Reads the Low Latch Value for a Specific Analog Input Channel
2.74
Analog Output Command Sets
Command
Response
Description
Section
#AAN(Data)
>
Sets the Analog Output for a Specific Channel
2.5
$AA0N
!AA
Performs a Zero Calibration on a Specific Analog Output Channel
2.7
$AA1N
!AA
Performs a Span Calibration on a Specific Analog Output Channel
2.9
$AA3NVV
!AA
Trims the Calibration for a Specific Analog Output Channel
2.11
$AA4N
!AA
Sets the Power-on Value for a Specific Analog Output Channel
2.13
$AA6N
!AA(Data)
Reads the Value for the Last Command received by a Specific Analog Output Channel
2.17
$AA7N
!AA(Data)
Reads the Power-on Value for a Specific Analog Output Channel
2.19
$AA8N
!AA(Data)
Reads the Current Value for a Specific Analog Output Channel
2.21
$AA9N
!AATS
Reads the Configuration for a Specific Analog Output Channel
2.22
$AA9NTS
!AA(Data)
Sets the Configuration for a Specific Analog Output Channel
2.23
$AABO
!AANN
Reads the Status of the Wire Connection for all Analog Output Channels
2.25
M-7026 User Manual Rev: 1.5 Date: 2016/03/10
29
~AA4N
!AA(Data)
Reads the Safe Value for a Specific Analog Output Channel
2.42
~AA5N
!AA
Sets the Safe Value for a Specific Analog Output Channel
2.43
Host Watchdog Command Sets
Command
Response
Description
Section
~**
No Response
The command to inform all modules that the Host is OK
2.36
~AA0
!AASS
Reads the Status of the Host Watchdog
2.37
~AA1
!AA
Resets the Status of the Host Watchdog Timeout
2.38
~AA2
!AAEVV
Reads the Timeout Settings for the Host Watchdog
2.39
~AA3ETT
!AA
Enables or disables the Host Watchdog and sets the Host Watchdog Timeout Value
2.40
~AA4
!AAPPSS
Reads the Digital Output Power-on Value and Digital Output Safe Value for the Module
2.41
~AA5PPSS
!AA
Sets the Digital Output Power-on Value and the Digital Output Safe Value for the Module
2.44
M-7026 User Manual Rev: 1.5 Date: 2016/03/10
M-7026
30
2.1 %AANNTTCCFF
Description:
This command is used to set the configuration for a specific module.
Syntax: %AANNTTCCFF[CHKSUM](CR)
% Delimiter character AA The address of the module to be configured in hexadecimal format
(00 to FF)
NN The new address of the module in hexadecimal format (00 to FF) TT Not used by the M-7026 and should be set to 00. CC The new Baud Rate code, see Section 1.9.1 for details. To change
the Baud Rate, the module should first be switched to INIT* mode.
FF The command used to set the data format, checksum, and filter
settings. See Section 1.9.3 for details of the data format. To change the checksum settings, the module should first be switched to INIT*
mode.
Response:
Valid Command: !AA[CHKSUM](CR) Invalid Command: ?AA[CHKSUM](CR)
! Delimiter character to indicate a valid command ? Delimiter character to indicate an invalid command
(Note that if the Baud Rate or checksum settings are changed without first switching to INIT* mode, the module will return a response indicating that the command was invalid.)
AA The address of the responding module in hexadecimal format (00 to
FF)
There will be no response if the command syntax is incorrect, there is a communication error, or there is no module with the specified address.
Note:
Changes to the address, Type Code, Data Format and Filter settings take effect immediately after a valid command is received. Changes to the Baud Rate and checksum settings take effect at the next power-on reset.
Examples:
Command: %0102000600 Response: !02
Changes the address of module 01 to 02 and returns a response indicating that the command was successful.
Command: %0202000602 Response: !02
Sets the data format for module 02 to type 2 (2’s complement hexadecimal). The module returns a response indicating that the command was successful.
M-7026 User Manual Rev: 1.5 Date: 2016/03/10
Loading...
+ 155 hidden pages