5-1 Digital input module
5-1-1 M16X
The digital input module provides 16bits input points, the module will convert the input pulses into digital value 0 and 1.
5-1-2 M16X function
The M16X modules provide 4 channels of filter, the channel 0 works on bit 1-4, channel 1 works on bit 5-8, and so on.
Filter function support following 7 different settings: [ 0 ms,0.5 ms,1 ms,5 ms,10 ms,20 ms,70 ms ].
Take 5ms setting for example, when pulse sustain in 5ms and without change, it’s considered a valid input. Conversely if the pulse change frequence is faster than 5ms, it’s considered an invalid input, and will be filtered out.
The default value setting is 0ms, which means the filter function is disabled.

5-2 Digital output module
5-2-1 M16YT / M16YJ
Digital output module provides 16bits for output, the module will convert the output pulse into digital numbers 0 and 1.
5-3 Digital Input /Output Combo Specifications
5-3-1 M1616XYT / M1616XYJ / M1616XYR
Digital mixed module provides 32bits, with 16 input bits and 16 output bits.
Input bits convert the input pulse into digital numbers 0 and 1, output bits convert the digital numbers 0 and 1 into the output pulse.
5-3-2 M1616XYT / M1616XYJ / M1616XYR function
The 1616XYT/M1616XYJ/M1616XYR modules provide 4 channels of filter, the channel 0 works on bit 1-4, channel 1 works on bit 5-8, and so on.
Filter function support following 7 different settings: [ 0 ms,0.5 ms,1 ms,5 ms,10 ms,20 ms,70 ms ].
Take 5ms setting for example, when pulse sustain in 5ms and without change, it’s considered a valid input. Conversely if the pulse change frequence is faster than 5ms, it’s considered an invalid input, and will be filtered out.
The default value setting is 0ms, which means the filter function is disabled.

5-4 General Analog Input Module
5-4-1 M04AD/M04ADS/M08ADS/M04ADR
The analog input module is configured with the following two kinds of different resolutions and they are M04AD、M04ADS、M08ADS and M04ADR modules. Ex. The resolution of M04AD is rated at 14 bits, and M04ADR is rated at 18 bits. The difference between them is the conversion speed and resolution.
5-4-2 Operating Steps of Analog Input Module
|
Step |
Note |
|
Start |
|
|
After installing the expansion module, set up the voltage or the current mode, or filter that will be read in the configuration in Management or Project Management. |
For detailed Management and configuration, please refer to Interface Manual. |
|
Monitor the value of each channel on module via the address or the Device Monitor function. |
Refer to the Mapping table to check the address of each channel on the module. |
|
End |
Description of analog input format planning
In terms of analog reading value processing, FATEK provides three commonly used data representation methods and multiple averaging of reading values that can be set to improve the phenomenon of reading value drift caused by interference or unstable input signals in the field.
UperIO provides a very simple operation interface to plan the data format, effective bits, and average times of analog input readings and other related settings.
Searching AI module data through device monitoring
In function bar, click “Management” → “Device Monitor” and the picture will show the right-side device monitoring window:

▲Device Monitor
In the information, you may select the resources to be displayed such as “Digital data”, “Logic data”, “Status data” and
● Logic Data (Analog read value data)
The logic data refer to the values retrieved from the channel.
When clicking the “Logic data” at the upper side “Device monitor”, the Module List will display the logic data only. Place the mouse on the desired value and when the data is lit in blue as per the figure below, you may revise the value of such register. Through the “Dec” and “Hex” on right-hand side of the register, you may also revise the value display pattern instantly.

▲Logic data in device monitor
● Status Data
When clicking the “Status data” at the upper side “Device monitor”, the Module List will display the status data only. When the data is lit in gray as per figure below, you cannot revise the value of such register; for the “Dec” and “Hex” on right-hand side of the register, however, you will be allowed to revise the value display pattern instantly.

▲Status data in logic monitor
5-4-3 M04AD/M04ADS/M08ADS/M04ADR function
The Analog Input (AI) Module is designed with lots of functions for use by the user such as value scaling and alarm setting, etc. To use these functions, double click the required module on “Management-” and then click “Configure” and you can find out the position of AI setting functions, as per the figure below. These functions can be set on online edit or project download.

▲Find and click the module

▲Click “Configuration Settings”

▲Setting window of M04AD/M04ADR modules
For other modules, same path should be used to access the function setting page; however, the function may vary according to the module selected.
The functions of AI module will be introduced in this section.
Channel Enable/Disable
This function is designed for setting the enable or disable for the respective A/D conversion channel. When enable the A/D conversion channel, such channel will execute the A/D conversion. When disable the A/D conversion channel, such channel will not execute the A/D conversion. Such function also reduces the conversion cycle time for all of the channels.
Application method and instructions
Conversion cycle time = (A/D configuring time + A/D conversion time) x Number of opened A/D channel
Where:
A/D configuring time = MUX input time + PGA configuring time
A/D conversion time >= A/D data reading time + A/D data processing time
Example:
Number of opened A/D channel = 3
Conversion cycle time = (A/D configuring time + A/D conversion time) x 3
Tcfg = A/D configuring time for current-flowing channel
Trd = A/D data reading time for last channel
Tprocess = A/D data processing time for last channel

▲Impact from channel opening and closing to total channel conversion cycle time
Setting and Preset value
If the channel enable/disable is not being set, then it will be preset as disable.
|
Function |
M04AD |
M04ADS |
M08ADS |
M04ADR |
Preset setting |
|
Channel enable/disable |
enable |
enable |
enable |
enable |
disable |
|
disable |
disable |
disable |
disable |
▲Channel enable/disable of M04AD/M04ADS/ M08ADS/M04ADR
Input Calibration Function
The system will execute the input calibration for each channel. The calibration will be executed according to the offsetting and the gain quantity being saved in the corresponding bay of each individual channel.
The calibration value has been preset as the factory default value and saved in the module and it will not be revised. The preset value can be used for restoring to the roll-out status.
Application method and instructions
Execute the offset calibration first and then the gain calibration.
Input 0V or interrupt the channel and then compute the internal offset value. Next, input the max. voltage for each bay (5V, 10V or 20mA) and then compute the internal gain value. Finally, save the offset value together with the gain value in the module.
Final output = (A/D output – offset value) * Gain value
The calibration comprises the following two modes:
User Calibration Mode:
If the user has special needs or there is a large error in the value due to the large difference between the current ambient temperature and the general room temperature, you can use the user calibration mode to correct the error.
Restoring Factory Calibration Mode:
When delivered from the factory, all channels will be calibrated. In the meantime, each channel will save the offset value and the gain value of 0–5V, 0–10V and 0–20mA in the module.
User Calibration Steps:
Please ensure that the calibration process does not have any negative side effect to devices.
in the “Management”, double-click the module to be recalled, and find “Calibration” in the “Configuration Settings”, select the channel to be calibrated and find “Offset/Gain Calibration”, press “Offset/Gain” to input the specified voltage according to the software prompt (if it is a general analog output module, adjust the meter to the corresponding gear) to complete the offset/gain Correction。



▲M04AD/M04ADS/M08ADS/M04ADR user calibration process
Restore factory settings steps:
Please ensure that the calibration process does not have any negative side effect to devices.
In the “Management”, double-click the module to be recalled, and find “Calibration” in the “Configuration Settings”, and find “Restore Factory Settings” after entering and press “Restore”.



▲ M04AD/M04ADS/M08ADS/M04ADR restore factory setting process
Setting and preset value
Each channel is designed with 5V offset, 10V offset and 20mA offset as well as 5V gain, 10V gain and 20mA gain values. The preset value serves as the factory calibration value and will be saved in the module.
|
Input calibration setting |
Preset value |
|
Offset value |
Factory calibration value |
|
Gain value |
Factory calibration value |
▲M04AD/M04ADS/M08ADS/M04ADR calibration preset value
A/D Conversion Mode
When setting the average value of each channel, it will be set as follows: No Average Mode, Frequency Average Mode, Time Average Mode and Move Average Mode.
Application method and instructions
● No Average Mode: The mean value processing will not be executed after completing the A/D conversion.
The processing time will be equivalent to the conversion cycle time.
● Frequency Average Mode: The system will execute the A/D conversion according to the established frequency and then execute the average process for the converted value. The Frequency Average Mode shall be effective when the set value is bigger than “2”.
The required processing time will be equivalent to the result acquired by multiplying the average value with the conversion cycle.
Example:
If the module converts 11 pieces of data and sets the average number of times to 5, the returned results are as follows:

▲Schematic of M04AD/M04ADS/M08ADS/M04ADR module times average mode processing time
● Time Average Mode: The system will execute the A/D conversion according to the set time and will execute the mean value processing for the values being converted within such period of time. The averaging will become processed when the set time is over 2 times of the conversion cycle.
The processing time will be equivalent to the setting time.
Example:
Numbers of channel used: 8ch. The action required for setting the average processing time as 4ms. Number of A/D conversion data undergoing average processing = 100ms, then the average number of A/D conversion data processed = 100ms ÷ 4ms =25

▲Schematic of M04AD/M04ADS/M08ADS/M04ADR module times average mode processing time
● Move Average Mode: Set the average number. During each conversion cycle, the system will execute the mean value processing for the latest A/D conversion data according to established frequency. The system will execute the move averaging when the value is bigger than “2”.
The processing time will be equivalent to the conversion cycle.
Example:
Action when average move frequency is set at 5 times.

▲Schematic of M04AD/M04ADS/M08ADS/M04ADR module move average mode processing time
AVG1= D1
AVG2= (D1+D2+D3+D4+D5)/5
AVG3= (D2+D3+D4+D5+D6)/5
AVG4= (D3+D4+D5+D6+D7)/5
AVG5= (D4+D5+D6+D7+D8)/5
AVG6= (D5+D6+D7+D8+D9)/5
AVG7= (D6+D7+D8+D9+D10)/5
Setting and Preset value
If A/D conversion mode is not established for the channel, then the preset mode shall be regarded as No Average Mode. In this case, each averaged unit can accommodate up to 1000 individuals of converted values.
|
A/D Conversion Mode |
AI setting scope |
AIH setting scope |
Preset value |
|
No Average Mode |
None |
None |
None |
|
Frequency Average Mode |
2 to 1000 (times) |
2 to 1000 (times) |
2 |
|
Move Average Mode |
2 to 1000 (times) |
2 to 1000 (times) |
2 |
|
Time Average Mode |
1 to 1604000 (ms) |
1 to 1604000 (ms) |
1 |
▲M04AD/M04ADS/M08ADS/M04ADR setting value ranges for each average mode
Input Signal Range
Application method and instructions
1–5V: Same as the resolution of 0–5V, which is the scaling result through 0–5V.
4mA–20mA: Same as the resolution of 0–20mA, which is the scaling result through 0–20mA.
Setting and Preset value
If the input signal range is not being set for the channel, then it will be preset as 0V–10V.
|
Input signal range |
Digital output range |
|
|
Voltage |
0V ~ 10V |
0 ~ 16383 |
|
-10V ~ 10V |
-8192 ~ 8191 |
|
|
0V ~ 5V |
0 ~ 16383 |
|
|
-5V ~ 5V |
-8192 ~ 8191 |
|
|
1V ~ 5V |
0 ~ 16383 |
|
|
Current |
0 mA ~ 20 mA |
0 ~ 16383 |
|
-20 mA ~ 20 mA |
-8192 ~ 8191 |
|
|
4 mA ~ 20 mA |
0 ~ 16383 |
|
▲M04AD setting input signal range
|
Input signal range |
Digital output range |
|
|
Voltage |
0V ~ 10V |
0 ~ 65535 |
|
-10V ~ 10V |
-32768~32767 |
|
|
0V ~ 5V |
0 ~ 65535 |
|
|
-5V ~ 5V |
-32768~32767 |
|
|
1V ~ 5V |
0 ~ 65535 |
|
|
Current |
0 mA ~ 20 mA |
0 ~ 65535 |
|
-20 mA ~ 20 mA |
-32768~32767 |
|
|
4 mA ~ 20 mA |
0 ~ 65535 |
|
▲M04ADS setting input signal range
|
Input signal range |
Digital output range |
|
|
Voltage |
0V ~ 10V |
0 ~ 65535 |
|
-10V ~ 10V |
-32768~32767 |
|
|
0V ~ 5V |
0 ~ 65535 |
|
|
-5V ~ 5V |
-32768~32767 |
|
|
1V ~ 5V |
0 ~ 65535 |
|
|
Current |
0 mA ~ 20 mA |
0 ~ 65535 |
|
-20 mA ~ 20 mA |
-32768~32767 |
|
|
4 mA ~ 20 mA |
0 ~ 65535 |
|
▲M08ADS setting input signal range
|
Input signal range |
Digital output range |
|
|
Voltage |
0V ~ 10V |
0 ~ 80000 |
|
-10V ~ 10V |
-80000 ~ 80000 |
|
|
0V ~ 5V |
0 ~ 80000 |
|
|
-5V ~ 5V |
-80000 ~ 80000 |
|
|
1V ~ 5V |
0 ~ 80000 |
|
|
Current |
0 mA ~ 20 mA |
0 ~ 80000 |
|
-20 mA ~ 20 mA |
-80000 ~ 80000 |
|
|
4 mA ~ 20 mA |
0 ~ 80000 |
|
▲M04ADR setting input signal range
Setting Conversion Time
Due to different resolutions, the M04AD、M04ADS、M08ADS and M04ADR modules are designed with the respective conversion time “S”. Such conversion time can be used for setting the A/D conversion speed as High (high speed), Middle (medium speed) and Low (low speed) as well as 50Hz or 60Hz. The conversion speed shall be set for all channels and cannot be changed for certain channels individually.
Setting and Preset value
If the conversion time is not being set, then it will be preset as “Middle”.
Note: Conversion time = (A/D setup time + A/D conversion time)
|
Conversion time setup |
M04AD conversion time |
M04ADS conversion time |
M08ADS conversion time |
M04ADR conversion time |
|
High |
0.3ms/ch |
– |
– |
1.5ms/ch |
|
Middle |
0.5ms/ch |
0.5ms/ch |
0.5ms/ch |
4ms/ch |
|
Low |
1ms/ch |
1ms/ch |
1ms/ch |
15ms/ch |
|
50Hz |
80ms/ch |
80ms/ch |
80ms/ch |
80ms/ch |
|
60Hz |
68ms/ch |
68ms/ch |
68ms/ch |
67ms/ch |
▲M04AD/M04ADS/M08ADS/M04ADR time conversion setting
Value Scaling Function
Each channel shall be set as opening or closing status. When opening, you need to set the scaling scope and then start converting the digital output scope to the set scaling scope; but the conversion will not be required when the channel is closed.
Application method and instructions
Select “Device view” and click M04AD/M04ADS/M08ADS/M04ADR module you want to use, and click “Configuration Settings”, after enabling the A/D channel you want to enable, find “Scaling Setting” (as shown in the figure below), and enable the desired A/D channel. Fill in the upper limit value and lower limit value for the channel using this function, then press OK and download the setting data of the module.

▲M04AD/M04ADS/M08ADS/M04ADR scaling setting
Convert the digital output range graduation mark to the preset scaling scope.
Example:
When selecting 1V–5V mode for M04AD :
Actual analog input scope = “1V–5V”
Scaling setup scope = “1000–5000”
Digital output scope = “0–16383”

▲Schematic diagram of M04AD/M04ADS/M08ADS/M04ADR scaling scope
|
Analog input |
Digital output value |
Digital computation value (scaling value) |
|
1V |
0 |
1000 |
|
2V |
4096 |
2000 |
|
3V |
8192 |
3000 |
|
4V |
12288 |
4000 |
|
5V |
16383 |
5000 |
▲Comparison table of M04AD/M04ADS/M08ADS/M04ADR digital scaling value and analog input to digital output
Setting and Preset value
The scaling scope setting shall meet following conditions:
Scaling upper limit value > Scaling lower limit value
If the channel is not designed with scaling function, then it will be preset as closing.
|
Function |
AI setting |
AIH setting |
Preset |
|
Scaling function |
Enable disable |
Enable disable |
disable |
|
Scaling upper limit value |
Restricted in digital output scope |
-131072–131071 |
disable |
|
Scaling lower limit value |
-131072–131071 |
disable |
▲Scaling function setting
Max. value/Min. value recording function
Each channel shall be set as enable or disable status. When enable, you need to save the maximum value and the minimum value of the channel in the corresponding register, but the value saving will not be required when the channel is disable.
Application method and instructions
Save the maximum value and the minimum value of the respective channel in the corresponding register.

▲Diagram of Max. value/ Min. value recording function
Setting and Preset value
If the channel is not set with max. value and min. value, then it will be preset as disable.
|
Function |
Setting |
Preset |
|
Maintain max. value and min. value |
Enable disable |
disable |
▲ Setting maintenance of max. value and min. value
To update the max. value and the min. value, confirm that the max. value and the min. value function has been opened in the configuration setting. Next, distribute such module to the corresponding SM and then operate according to the procedure indicated below in order to complete the updating.
Digital Clipping Setting (only M04ADR supports such function at current stage)
Only M04ADR module can be set to enable the digital clipping function. Each channel shall be set with opening or closing function. When opening, M04ADR will restrict the digital output value in the digital output scope, but M04ADR will not execute the digital clipping if the channel is closed.
Application method and instructions
When enabling the digital clipping function and when the input voltage/current is beyond the input signal scope, the system will restrict the digital output value in the digital output scope. When closing the digital clipping function, the signal may exceed the digital output scope.
|
Input signal scope |
Digital output scope |
Digital output limit |
Digital computation value |
|
|
Enable digital clipping |
Disable digital clipping |
|||
|
0V ~ 10 V |
0 ~ 80000 |
-20000 ~ 100000 |
0 ~ 80000 |
-20000 ~ 100000 |
|
-10V ~ 10V |
-80000 ~ 80000 |
-100000 ~ 100000 |
-80000 ~ 80000 |
-100000 ~ 100000 |
|
0V ~ 5V |
0 ~ 80000 |
-20000 ~ 100000 |
0 ~ 80000 |
-20000 ~ 100000 |
|
-5V ~ 5V |
-80000 ~ 80000 |
-100000 ~ 100000 |
-80000 ~ 80000 |
-100000 ~ 100000 |
|
1V ~ 5V |
0 ~ 80000 |
-20000 ~ 100000 |
0 ~ 80000 |
-20000 ~ 100000 |
|
0 mA ~ 20 mA |
0 ~ 80000 |
-20000 ~ 100000 |
0 ~ 80000 |
-20000 ~ 100000 |
|
-20 mA ~ 20 mA |
-80000 ~ 80000 |
-100000 ~ 100000 |
-80000 ~ 80000 |
-100000 ~ 100000 |
|
4 mA ~ 20 mA |
0 ~ 80000 |
-20000 ~ 100000 |
0 ~ 80000 |
-20000 ~ 100000 |
▲Scope of digital when enable/disable the digital clipping function
Setting and Preset value
If the channel is not designed with digital clipping function, then it will be preset as disable.
*Note: Such function is not available for M04AD Module.
|
Function |
M04ADR |
Preset |
|
Digital clipping |
Enable Disable |
Disable |
▲Digital clipping function setting
Data Offset Setting Function
Each channel can be set as enable or disable. When enable, you need to set up the data offsetting function in order to correct the data through data translation.
Application method and instructions
The digital output value should be added with the set offset value for executing the data correction.
Digital computation value = Digital output value + Data offset value
Example:

▲Diagram of data offset
Setting and Preset value
If the channel is not designed with data offsetting function, then it will be preset as disable.
|
Setup |
M04AD |
M04ADS |
M08ADS |
M04ADR |
Preset |
|
Set data offset setting |
Enable Disable |
Enable Disable |
Enable Disable |
Enable Disable |
Disable |
▲Setting of data offset
5-5 General Analog Output Module
5-5-1 M04DA/M04DAR
The analog input module is configured with the following two kinds of different resolutions and they are M04DA and M04DAR modules. The resolution of M04DA is rated at 14 bits, and M04DAR is rated at 16 bits. The difference between them is the graduation mark being defined according to the resolution.
Operating Steps of Analog Output Module
|
Step |
Note |
|
Start |
|
|
After installing the expansion module, set up the voltage or the current mode that will be read in the configuration in Management or Project Management. |
For detailed Management and configuration, please refer to Interface Manual. |
|
Write in the analog input values of analog output on module via the address or the Device Monitor function. |
Refer to the Mapping table to check the address of each channel on the module. |
|
End |
Search M04DA/M04DAR data in Device Monitor
:In function bar, click “Management” → “Device Monitor” and the picture will show the right-side device monitoring window:

▲Device monitor
In the information, you can choose the resources to be displayed, such as “Digital Data”, “Logic Data”, “Status Data”.
● Logic data
Logic data refers to the value obtained or output by the channel. Click “Logic Data” on the top information of “Device Monitor”, only logical data will be displayed in the module list. Put the mouse over the value, and when the data is blue as shown in the figure below, the value of the register can be modified; or modify the value display mode through “Dec” and “Hex” on the right of the register.

▲Logic data in “Device Monitor”
● Status Data
Click “Status Data” on the top of “Device Monitor”, and only the status data will be displayed in the module list. When the data is grayed out as shown in the figure below, the value of the register cannot be modified. However, it is still possible to quickly modify the value display mode through “Dec” and “Hex” on the right side of the register.

▲Error code in “Device Monitor”
M04DA/M04DAR Function
The AO (Analog Output) Module is designed with lots of functions for use by the user such as slew rate setting, scaling.
The use these functions, access “Management” and double click the desired module and you will find out the position required for setting the M04DA/M04DAR function in “Configuration Settings”. These functions can be set on online edit or project download.
Channel Enable/Disable
Each channel is designed with D/A conversion channel opening or closing function. When D/A conversion channel is enable, the channel will execute D/A conversion. When D/A conversion channel is disable, the channel will not execute D/A conversion and it can also reduce the conversion cycle of all channels.
Application method and instructions
Conversion cycle time = (D/A conversion time) x (Number of opened D/A channels)
Example:
Number of opened channels= 3
Conversion cycle time = (D/A conversion time) x 3
Setting and Preset value
f the channel is not designed with channel enable/disable function, it will be preset as closing.
|
Setup |
M04DA setting |
M04DAR setting |
Preset Value |
|
Channel enable/disable |
Enable disable |
Enable disable |
disable |
▲Setting of channel enable/disable
Output Calibration Function
Each channel will execute the output calibration for the respective bay. Each channel will store the offset value and the gain value of each bay to carry out the required calibration.
The preset value is the factory calibration value and is saved in the module and it cannot be changed. The preset value can be used to restore to the factory status.
Application method and instructions
Execute the offset calibration and then the gain calibration.
Upon delivery, the factory will calibrate the respective bay of each channel. To make the calibration, the user may calibrate the bay being set for the channel that will be calibrated.
Set the offset until the external measuring DAC outputs “0”. Save the offset value and then set the gain until the external measuring DAC outputs the voltage (5V, 10V) or current (20mA) for the respective bay. After being confirmed, the user may save the internal gain value in the module.
DAC input = Data input * gain value/65535 + offset value
The calibration comprises the following two types:
● User Calibration Mode
Based on the set bay, perform the calibration for the target channel.
● Factory Restoration Mode
All channels will be calibrated before leaving the factory, and the parameters will be stored in the module. If the user needs to return the factory calibration value in the future, he can use UperLogic to recall it.
For the calibration steps of M04DA/M04DAR, please refer to last chapter M04AD/M04ADR Input Calibration Function.
Setting and Preset value
Each channel is designed with offset value and gain value. The present value is the factory calibration value and it is saved in the module.
|
Input Calibration Setting |
M04DA |
M04DAR |
Preset Value |
|
Offset Value |
-16383 ~ 16383 |
-32000~32000 |
Factory calibration value |
|
Gain Value |
-100000 ~ 100000 |
-100000~100000 |
Factory calibration value |
▲Setting of Input Calibration function
Output Signal Scope
Due to varied resolutions, the M04DA and M04DAR modules are designed with the respective output signal scope. Such function is used to set up the output analog voltage/current in order that they can be switched within the output signal scope configured for the respective channel.
Setting and Preset value
If the channel is not designed with output signal scope, then it will be preset as 0V–10V.
|
Output Signal Scope |
Digital Input Scope |
|
|
Voltage |
-10 to +10 V |
-8192 to 8191 |
|
-5 to +5 V |
-8192 to 8191 |
|
|
0 to +10 V |
0 to 16383 |
|
|
0 to +5 V |
0 to 16383 |
|
|
1 to +5 V |
0 to 16383 |
|
|
Current |
0 to 20 mA |
0 to 16383 |
|
4 to 20 mA |
0 to 16383 |
|
▲ M04DA output signal scope setting
|
Output Signal Scope |
Digital Input Scope |
|
|
Voltage |
-10 to +10 V |
-27000 to 27000 |
|
-5 to +5 V |
-27000 to 27000 |
|
|
0 to +10 V |
0 to 27000 |
|
|
0 to +5 V |
0 to 27000 |
|
|
1 to +5 V |
0 to 27000 |
|
|
Current |
0 to 20 mA |
0 to 27000 |
|
4 to 20 mA |
0 to 27000 |
|
▲ M04DAR output signal scope setting
Scaling Function
The enable or disable mode should be designed for the scaling function of each channel.
Before enable, you need to set the conversion graduation mark of digital input scope as scaling scope so that the user will be allowed to determine the graduation mark of the digital input. However, the conversion will not be required when it is closed.
Application method and instructions
Select “Device View” and click M04AD/M04ADR module you want to use, and click ‘Configuration Settings”, after enabling the A/D channel you want to enable, find “Scaling Setting” (as shown in the figure below), and enable the desired A/D channel. Fill in the upper limit value and lower limit value for the channel using this function, then press OK and download the setting data of the module.

▲ Position of M04AD/M04ADR scaling setting
※If the digital input entered by the user exceeds the scaling scope, it will be limited to the boundary value of the zoom range.
Example:
Analog output scope = “0V–10V”
Digital input scope = “0–27000”
Scaling setting scope = “1000~6000”

▲Schematic diagram of M04DA/DAR scaling scope
|
User Input Value |
Digital Input Value |
Output Voltage (V) |
|
1000 |
0 |
0 V |
|
2000 |
5400 |
2 V |
|
3000 |
10800 |
4 V |
|
4000 |
16200 |
6 V |
|
5000 |
21600 |
8 V |
|
6000 |
27000 |
10 V |
▲Comparison table of analog output of digital scaling value and digital input
Setting and Preset value
The scaling scope shall be configured according to the condition provided below:
Scaling upper limit value > Scaling lower limit value
|
Setup |
M04DA Setting |
M04DAR Setting |
Preset Value |
|
Scaling |
Enable Disable |
Enable Disable |
Disable |
|
Scaling upper limit value |
-30000 to 30000 |
-30000 to 30000 |
Disable |
|
Scaling lower limit value |
-30000 to 30000 |
-30000 to 30000 |
Disable |
▲Comparison table of analog output of digital scaling value and digital input
Output Holding Function
If the channel Enable/disable is set as enable, then the output holding function of the respective channel can also be set as enable or disable. When enabling, you need to set the output holding function. If the IO Coupler stops running or incorrect stopping occurs, the system will control the output according to the output holding setup value; however, the output will not be controlled it the channel is closed.
Application method and instructions
The output holding setup function comprises the following 3 modes:
● Clear Mode: Output the offset value if IO Coupler stops running or if incorrect stopping is detected.
● Hold Mode: Maintain the output before IO Coupler stopping or incorrect stopping when IO Coupler stops running or when incorrect stopping is detected.
● User-Defined Value: The output value set by the user when IO Coupler stops running or
when incorrect stopping is detected.
|
When channel enable |
When channel disable |
|||
|
Output Holding |
Clear Mode |
Hold Mode |
User-defined Value |
N/A |
|
IO Coupler: Run |
D/A value |
D/A value |
D/A value |
0 V/mA |
|
IO Coupler: Stop |
Offset value |
The value before stopping |
User-defined value |
0 V/mA |
|
IO Coupler: Stop error |
Offset value |
The value before stopping |
User-defined value |
0 V/mA |
▲Analog output status when the output holding function opens
※When the IO Coupler stops/stops due to an error, if the M04DA/M04DAR uses the clear mode, the channel will output an offset value (the voltage/current output by the offset value will be equivalent to the output voltage/current when a digital value of 0 is input (When the IO Coupleris normal and the same gear and data offset are used)).
Setting and Preset value
If the channel is not designed with output hold function, then it will be preset as disable.
If the channel is not designed with output hold function, then it will be preset as Clear.
If the user-defined value is not being specially set, then it will be preset as the maximum bay output value.
|
Setup |
M04DA |
M04DAR |
Preset |
|
Output hold function |
Enable Disable |
Enable Disable |
Disable |
|
Output hold setup |
Clear Disable User-defined value |
Clear Disable User-defined value |
Clear |
▲Output hold function setting
Setting Slew Rate Control
Set as enable or disable for the slew rate control of each channel. When setting the slew rate control as enable, you need to set the slew rate in order to avoid abrupt rising of voltage/current output. If the bay output changes violently when disable, then it will execute the output directly.
Setting and Preset value
If the channel is not designed with slew rate control function, then it shall be preset as closing.
|
Setup |
M04DA setting |
M04DAR setting |
Preset |
|
Slew rate control setting |
Enable Disable |
Enable Disable |
Disable |
|
Slew rate |
64 steps/100ms 125 steps/100ms 250 steps/100ms 500 steps/100ms 1000 steps/100ms 2000 steps/100ms 4000 steps/100ms 8000 steps/100ms 16000 steps/100ms 32000 steps/100ms 64000 steps/100ms 128000 steps/100ms 256000 steps/100ms 512000 steps/100ms 1024000 steps/100ms |
64 steps/100ms 125 steps/100ms 250 steps/100ms 500 steps/100ms 1000 steps/100ms 2000 steps/100ms 4000 steps/100ms 8000 steps/100ms 16000 steps/100ms 32000 steps/100ms 64000 steps/100ms 128000 steps/100ms 256000 steps/100ms 512000 steps/100ms 1024000 steps/100ms |
1024000 steps/100ms |
▲Slew rate control setting
Data Offset Function
This function is designed for setting the enable or disable mode for the data offsetting function of each channel. When enable, you need to set up the data offsetting function in order that the data will be shifted for correction. However, the data offsetting will not be required when the channel is disable.
Application method and instructions
The digital input value should be used with the set data offset function to execute the data correction.
If the digital computation value exceeds the digital input scope, then it will be limited to the digital input scope.
Digital computation value = Digital input value + Data offset value
Example: If Analog output scope: 0–10V, then the data offset value will become “+50”
|
Digital input value |
Digital computation value |
Analog output voltage (V) |
|
-50 |
0 |
0 |
|
31950 |
32000 |
10V |
▲Example of using data offset function

▲Schematic diagram of M04DA/M04DAR data offset
Setting and Preset value
If the channel is not designed with data offsetting function, then it will be preset as Disable.
|
Setup |
M04DA setting |
M04DAR setting |
Preset |
|
Data offset function |
Enable Disable |
Enable Disable |
Disable |
|
Data offset value |
-16383 – 16383 |
-64000 – 64000 |
0 |
▲Setting of data offset function
5-6 Analog Input /Output Combo Module
5-6-1 M0202AH
The first 2 channel of M0202AH module are analog input, and the last 2 channel are analog output.
Is an economical choice for low point input & output usage.
The function was mixed with M04AD &M04DA module; therefore, the usage method is same.
The Analog input part
Please refer to the M04AD/M04ADR chapter, to understand the usage method, process and other information.
The Analog output part
Please refer to the M04DA/M04DAR chapter, to understand the usage method, process and other information.
5-7 Temperature Control Module
To satisfy the massive scale of temperature control application market, the IO Coupler provides the most common thermocouple (TC) in which, the temperature modules such as M04TC can be used for measuring the temperature being exported from 4-point type of thermocouple. The thermocouple comes with the following 9 models for option and they are J, K, T, E, N, B, R, S and±100kV. The temperature measuring of the temperature module is designed in time-division multiplexing type. In actual I/O address, each temperature module only occupies 1 unit of digital input (Input Register) and 8 points of digital output (digital output). Each individual IO Coupler can perform the temperature measuring for up to 32 points.
In the meantime, the updating speed of M04TC module temperature measuring can be set in either general mode (updating time: 0.4 seconds; resolution: 0.1°) or quick mode (updating time: 0.2 seconds; resolution: 1°).
And M04TCR module temperature measuring can be set in either general mode (updating time: 0.2 seconds; resolution: 0.1°) or quick mode (updating time: 0.1 seconds; resolution: 1°).
When executing the temperature measuring with the aforesaid temperature modules, the UperIO provides very convenient table-filling method for planning the desired temperature module and the sensor type.
5-7-1 M04TC/M04TCR
Temperature mode application steps
|
Step |
note |
|
Start |
|
|
After installing the expansion module, set up the sensor type, unit that will be read in the configuration in Management or Project Management. |
For detailed Management and configuration, please refer to Interface Manual. |
|
Monitor the value of each channel on module via the address or the Device Monitor function. |
Refer to the Mapping table to check the address of each channel on the module. |
|
End |
. |
M04TC/M04TCR data in Device Monitor
Click “Management” → “Device Monitor”, the device monitoring window will be shown as below on the right side:

▲Device monitor
In the information, you can choose the resources to be displayed, such as “Digital Data”, “Logic Data”, “Status Data”.
● Logic data (temperature data)
Logic data refers to the value obtained or output by the channel. Click “Logic Data” on the top information of “Device Monitor”, only logical data will be displayed in the module list. Put the mouse over the value, and when the data is blue as shown in the figure below, the value of the register can be modified; or modify the value display mode through “Dec” and “Hex” on the right of the register.

▲Logic data in “Device Monitor”
● Status Data
Click “Status Data” on the top of “Device Monitor”, and only the status data will be displayed in the module list. When the data is grayed out as shown in the figure below, the value of the register cannot be modified. However, it is still possible to quickly modify the value display mode through “Dec” and “Hex” on the right side of the register.

▲Error code in “Device Monitor”
Temperature module related function and setting
After connecting M04TC module with IO Coupler click “Management-> Configuration Settings” to start the setting in the Project window.

▲M04TC module configuration
M04TC Channel enable/disable
In each channel, the A/D conversion channel is designed with enable or disable function. When A/D conversion channel is enable, the channel will execute the A/D conversion. When A/D conversion channel is disable, the channel will not execute the A/D conversion and will reduce the conversion cycle for all of the channels
Setup: enable/disable (preset)
M04TC Conversion Time
It comprises standard and fast speed for changing the temperature and the conversion speed of the channel and selecting the temperature updating speed.
The faster the conversion speed, the poorer the conversion speed accuracy; otherwise, it is more accurate. Such kind of setting is not available for the disable channel.
Set value: (conversion speed-ms)
Average Move Frequency
The average move frequency can be applied in the temperature control value (PV) of each channel. Assume noise is presented in the environment, the noise interference encountered by the control value can be reduced through such function. The setting scope is 2–10.
Setting it to 1, means no averaging.
Setting: (frequency)
Preset value: 2
Sensor Type
The system is equipped with a variety of thermocouple temperature sensors to meet the diversified applications. It is also designed with voltage bays to work with special type of thermocouple temperature sensor. You may select the temperature sensor that suits the channel the most. Listed below the supported sensor type and the related input scope:
|
Sensor type |
Input scope(°C) |
|
B |
200~1800 |
|
E |
-200~1000 |
|
J |
-100~1200 |
|
K |
-200~1350 |
|
N |
-150~1300 |
|
R |
0~1750 |
|
S |
0~1750 |
|
T |
-200~400 |
▲Supported ranges for various sensors
Temperature Unit
Based on the country, you may select local temperature unit (either in °C or °F). The temperature unit selected for each channel can be accurate till to the first place following the decimal point.
Setting: (unit)
°C (preset value)
°F
Control Method
Set the temperature control method for each channel.
Switch control: Compare with the set SV value to control the output for conversion between ON (max. output value) and OFF (min. output value).
PID control: By combing the proportional (P), integral action (I) and derivative action (D), it allows the system to achieve more efficient temperature control and its fluctuating ratio is also better then that of switch control.
Set value: Select the mode (preset, switch control)
Start running: Temperature control command
Shifting set: Stop temperature control and then set in “Equipment picture -> Configure”.
Control Output
When M04TC module/CPU is faulty or when CPU is shut down, set the output value required for controlling each channel at Open (max. output value), Close (min. output value) or Hold (hold output value).
Setting:
Open/Close (preset)/Hold
Scaling
By mapping the input scope to the new scope set by the user, you may enlarge or shrink the process control value; for example, applying -100°C–500°C to the newly created 0–10000 scope.
Setting:
Enable/Disable (preset value)
Max. scaling value (100)
Min. scaling value (0)
Scope: -32000–32000
Note: The system will output the error alarm if the min. value is greater than or equal to the max. value.
Selecting Heating/Cooling Control
Such function is used to set the heating control or the cooling control when executing the temperature control for the respective channel.
Setting type: Temperature control command
Heat/cool: Forward/Reverse (preset)
When executing the ON/OFF control, the method will vary according to the selected action.
|
Heat/cool |
Description |
|
Heating control |
If the measured value is smaller than the set value, the output increase action will be regarded as the set value for the heating process. |
|
Cooling control |
If the measured value is bigger than the set value, the output increase action will be regarded as the set value for the cooling process. |
▲Heat/cool control behavior relationship
M04TC Calibration Steps
If the user considers that certain errors may exist in the value during the running process, then the calibration function can be used to calibrate the values of TC module according to the steps provided below:
|
Step |
Note |
|
Start |
|
|
After installing the expansion module, open the configuration page in Management. |
For detailed Management and configuration, please refer to Interface Manual. |
|
Open the M04TC configuration window, Open the calibration window and follow the calibration process. |
Refer to the Mapping table to check the address of each channel on the module. |
|
End |
▲M04TCmodule user calibration steps

▲M04TC module calibration window
Restore Factory Calibration Value
Upon delivery, the system will calibrate the TC module once and then save the calibrated value in TC module. To restore such value to the factory calibration value, you may find out the “Restore factory setting” in the picture above and then select “Reset” in order to restore the offset value and the gain value to the factory setting.
User Correction
If the correction value set by the factory presents certain errors during the operating process, then these errors can be corrected by the user. To correct, click the offset value/gain value to be corrected and then input corresponding values according to steps described in the wording hint.
Correction of the process control value of the respective channel. If the imported temperature value is different from actual one, you may use the temperature measuring value (PV) obtained through the Offset value and Gain value calibration and then save it in the M04TC module

▲Data figure layout before and after sensor correction
Setting type: When executing the correction, please refer to user calibration and the formula will be as follows: Gain value/1000 + Data offset
Setting:
1. 1. Channel number
2. 2. Gain scope: -32000–32000
3. 3. Offset scope: -32000–32000
4. 4. Save in M04TC module
● Offset calibration
Calibration path is indicated as below:
In “Management”, find the “M04TC module->Configuration Settings->Input calibration setting” that will be calibrated and then tick the channel to be calibrated. Next, select the “Offset” option.

▲M04TC module offset calibration window
Based on the wording hint, input the value of the corresponding mode to complete the calibration.
● Gain calibration
Calibration path is indicated as below:
In “management”, find the “M04TC module->Configuration Settings->Input calibration setting” that will be calibrated and then tick the channel to be calibrated. Next, select the “Gain” option.

▲M04TC module gain calibration window
Based on the wording hint, input the value of the corresponding mode to complete the calibration.
5-7-2 M04RTD
Temperature mode application steps
|
Step |
note |
|
Start |
|
|
After installing the expansion module, set up the sensor type, unit that will be read in the configuration in Management or Project Management. |
For detailed Management and configuration, please refer to Interface Manual. |
|
Monitor the value of each channel on module via the address or the Device Monitor function. |
Refer to the Mapping table to check the address of each channel on the module. |
|
End |
. |
Searching M04RTD data in Device Monitor
Click “Management” → “Device Monitor”, the device monitoring window will be shown as below on the right side:

▲Device monitor
In the information, you can choose the resources to be displayed, such as “Digital Data”, “Logic Data”, “Status Data”.
(1) Logic Data(temperature data)
The logic data refer to the values retrieved from the channel.
When clicking the “Logic data” at the upper side “Device monitor”, the Module List will display the logic data only. Place the mouse on the desired value and when the data is lit in blue as per the figure below, you may revise the value of such register. Through the “Dec” and “Hex” on right-hand side of the register, you may also revise the value display pattern instantly.

▲Logic data in “Device Monitor”
(2) Status Data
Click “Status Data” on the top of “Device Monitor”, and only the status data will be displayed in the module list. When the data is grayed out as shown in the figure below, the value of the register cannot be modified. However, it is still possible to quickly modify the value display mode through “Dec” and “Hex” on the right side of the register.

▲Error code in “Device Monitor”
Temperature module related function and setting
After connecting M04RTD module with M PLC click “Management-> Configuration Settings” to start the setting in the Project window.

▲M04RTD Module configuration setting
M04RTD channel enable/disable
In each channel, the A/D conversion channel is designed with enable or disable function. When A/D conversion channel is enabled, the channel will execute the A/D conversion. When A/D conversion channel is disable, the channel will not execute the A/D conversion and will reduce the conversion cycle for all of the channels
Setup: enable/disable (preset)
Moving average count
The Moving average count can be applied in the temperature control value (PV) of each channel. Assume noise is presented in the environment, the noise interference encountered by the control value can be reduced through such function. The setting scope is 2–10.
Set as 1 means no average.
Setting: (frequency)
Preset value: 2
Sensor Type
The system is equipped with a variety of thermocouple temperature sensors to meet the diversified applications. It is also designed with voltage bays to work with special type of thermocouple temperature sensor. You may select the temperature sensor that suits the channel the most. Listed below the supported sensor type and the related input scope.
|
Sensor type |
Input scope(°C) |
|
RTD |
|
|
Pt100(default) |
-200~850 |
|
JPt100 |
-200~600 |
|
Pt1000 |
-200~850 |
|
JPt1000 |
-200~600 |
▲Supported ranges for various sensors
Temperature Unit
Based on the country, you may select local temperature unit (either in °C or °F). The temperature unit selected for each channel can be accurate till to the first place following the decimal point.
Setting:
°C (preset value)
°F
Scaling
By mapping the input scope to the new scope set by the user, you may enlarge or shrink the process control value; for example, applying -100°C–500°C to the newly created 0–10000 scope.
Setting:
Open/Close (preset value)
Max. scaling value (100)
Min. scaling value (0)
Scope: -32000–32000
Note: The system will output the error alarm if the min. value is greater than or equal to the max. value.
M04RTD calibration steps
If the user considers that certain errors may exist in the value during the running process, then the calibration function can be used to calibrate the RTD values of M04RTD module according to the steps provided below:
|
Step |
Note |
|
Start |
|
|
After installing the expansion module, open the configuration page in Management. |
For detailed Management and configuration, please refer to Interface Manual. |
|
Open the M04TC configuration window, Open the calibration window and follow the calibration process. |
Refer to the Mapping table to check the address of each channel on the module. |
|
End |

▲M04RTD module calibration screen
Restore Factory Calibration Value
Upon delivery, the system will calibrate the RTD module once and then save the calibrated value in RTD module. To restore such value to the factory calibration value, you may find out the “Restset factory setting” in the picture above and then select “Reset” in order to restore the offset value and the gain value to the factory setting.
User Calibration
If the calibration value set by the factory presents certain errors during the operating process, then these errors can be corrected by the user. To correct, click the offset value/gain value to be corrected and then input corresponding values according to steps described in the software wizards.
Calibration of the process control value of the respective channel. If the imported temperature value is different from actual one, you may use the temperature measuring value (PV) obtained through the Offset value and Gain value calibration and then save it in the M04RTD module

▲Data figure layout before and after sensor calibration
Setting type: When executing the calibration, please refer to user calibration and the formula will be as follows: Gain value/1000 + Data offset
Setting:
1. Channel number
2. Gain scope: -32000–32000
3. Offset scope: -32000–32000
4. Save in M04RTD module
● Offset calibration
Calibration path is indicated as below:
In “Management”, find the “M04RTD module->Configuration Settings->Input calibration setting” that will be calibrated and then tick the channel to be calibrated. Next, select the “Offset” option.

▲M04RTD module offset calibration window
Based on the software wizards, input the value of the corresponding mode to complete the calibration.
● Gain calibration
Calibration path is indicated as below:
In “management”, find the “M04RTD module->Configuration Settings->Input calibration setting” that will be calibrated and then tick the channel to be calibrated. Next, select the “Gain” option.

▲M04RTD module gain calibration window
Based on the software wizards, input the value of the corresponding mode to complete the calibration.
5-8 Temperature Control Combo Module
To satisfy the massive scale of temperature control application market, the IO Coupler provides the most common thermocouple (RTD/TC) in which, the temperature modules such as M0202AH can be used for measuring the temperature being exported from 4-point type of thermocouple.
The 2-point of RTD-type comes with the following 4 models for option and they are PT100, PT1000, JPT100, JPT1000.
The 2-point of TC-type comes with the following 9 models for option and they are J, K, T, E, N, B, R, S and±100kV.
The temperature measuring of the temperature module is designed in time-division multiplexing type. In actual I/O address, each temperature module only occupies 1 unit of digital input (Input Register) and 8 points of digital output (digital output). Each individual IO Coupler can perform the temperature measuring for up to 32 points.
In the meantime, the updating speed of TC-type temperature measuring can be set in either general mode (updating time: 0.4 seconds; resolution: 0.1°) or quick mode (updating time: 0.2 seconds; resolution: 1°).
The updating speed of RTD-type temperature measuring can be set in quick mode (updating time: 0.1 seconds; resolution: 1°).
When executing the temperature measuring with the aforesaid temperature modules, the UperIO provides very convenient table-filling method for planning the desired temperature module and the sensor type, and corresponded mapping register to read value.
5-8-1 M0202TH
Temperature mode application steps
|
Step |
note |
|
Start |
|
|
After installing the expansion module, set up the sensor type, unit that will be read in the configuration in Management or Project Management. |
For detailed Management and configuration, please refer to Interface Manual. |
|
Monitor the value of each channel on module via the address or the Device Monitor function. |
Refer to the Mapping table to check the address of each channel on the module. |
|
End |
Searching M0202TH data in Device Monitor
Click “Management” → “Device Monitor”, the device monitoring window will be shown as below on the right side:

▲Device monitor
In the information, you can choose the resources to be displayed, such as “Digital Data”, “Logic Data”, “Status Data”.
(3) Logic Data(temperature data)
The logic data refer to the values retrieved from the channel.
When clicking the “Logic data” at the upper side “Device monitor”, the Module List will display the logic data only. Place the mouse on the desired value and when the data is lit in blue as per the figure below, you may revise the value of such register. Through the “Dec” and “Hex” on right-hand side of the register, you may also revise the value display pattern instantly.

▲Logic data in “Device Monitor”
(4) Status Data
Click “Status Data” on the top of “Device Monitor”, and only the status data will be displayed in the module list. When the data is grayed out as shown in the figure below, the value of the register cannot be modified. However, it is still possible to quickly modify the value display mode through “Dec” and “Hex” on the right side of the register.

▲Error code in “Device Monitor”
Temperature module related function and setting
After connecting M0202TH module with IO Coupler click “Management-> Configuration Settings” to start the setting in the Project window.

▲M04TCModule configuration setting
M0202TH channel enable/disable
In each channel, the A/D conversion channel is designed with enable or disable function. When A/D conversion channel is enable, the channel will execute the A/D conversion. When A/D conversion channel is disable, the channel will not execute the A/D conversion and will reduce the conversion cycle for all of the channels
Setup: enable/disable (preset)
M0202TH conversion time
The TC part devide to standard and fast speed for changing the temperature and the conversion speed of the channel and selecting the temperature updating speed. The faster the conversion speed, the poorer the conversion speed accuracy; otherwise, it is more accurate.
The RTD is fixed, such kind of setting is not available for the disable channel.
Set value: (conversion speed-ms)
Moving average count
The Moving average count can be applied in the temperature control value (PV) of each channel. Assume noise is presented in the environment, the noise interference encountered by the control value can be reduced through such function. The setting scope is 2–10.
Set as 1 means no average.
Setting: (frequency)
Preset value: 2
Sensor Type
The system is equipped with a variety of thermocouple temperature sensors to meet the diversified applications. It is also designed with voltage bays to work with special type of thermocouple temperature sensor. You may select the temperature sensor that suits the channel the most. Listed below the supported sensor type and the related input scope
|
Sensor type |
Input scope(°C) |
|
TC |
|
|
B |
200~1800 |
|
E |
-200~1000 |
|
J |
-100~1200 |
|
K(default) |
-200~1350 |
|
N |
-150~1300 |
|
R |
0~1750 |
|
S |
0~1750 |
|
T |
-200~400 |
|
RTD |
|
|
Pt100(default) |
-200~850 |
|
JPt100 |
-200~600 |
|
Pt1000 |
-200~850 |
|
JPt1000 |
-200~600 |
▲Supported ranges for various sensors
Temperature Unit
Based on the country, you may select local temperature unit (either in °C or °F). The temperature unit selected for each channel can be accurate till to the first place following the decimal point.
Setting:
°C (preset value)
°F
Scaling
By mapping the input scope to the new scope set by the user, you may enlarge or shrink the process control value; for example, applying -100°C–500°C to the newly created 0–10000 scope.
Setting:
Open/Close (preset value)
Max. scaling value (100)
Min. scaling value (0)
Scope: -32000–32000
Note: The system will output the error alarm if the min. value is greater than or equal to the max. value.
M0202TH calibration steps
If the user considers that certain errors may exist in the value during the running process, then the calibration function can be used to calibrate the RTD/TC values of M0202TH module according to the steps provided below:
|
Step |
Note |
|
Start |
|
|
After installing the expansion module, open the configuration page in Management. |
a. For detailed Management and configuration, please refer to Interface Manual. |
|
Open the M04TC configuration window, Open the calibration window and follow the calibration process. |
Refer to the Mapping table to check the address of each channel on the module. |
|
End |
▲M04TC module user calibration steps

▲M0202TH module calibration screen
Restore Factory Calibration Value
Upon delivery, the system will calibrate the TC module once and then save the calibrated value in TC module. To restore such value to the factory calibration value, you may find out the “Restore factory setting” in the picture above and then select “Reset” in order to restore the offset value and the gain value to the factory setting.
User Correction
If the correction value set by the factory presents certain errors during the operating process, then these errors can be corrected by the user. To correct, click the offset value/gain value to be corrected and then input corresponding values according to steps described in the wording hint.
Correction of the process control value of the respective channel. If the imported temperature value is different from actual one, you may use the temperature measuring value (PV) obtained through the Offset value and Gain value calibration and then save it in the M0202TH module

▲Data figure layout before and after sensor correction
Setting type: When executing the correction, please refer to user calibration and the formula will be as follows: Gain value/1000 + Data offset
Setting:
1. Channel number
2. Gain scope: -32000–32000
3. Offset scope: -32000–32000
4. Save in M04TC module
● Offset calibration
Calibration path is indicated as below:
In “Management”, find the “M0202TH module->Configuration Settings->Input calibration setting” that will be calibrated and then tick the channel to be calibrated. Next, select the “Offset” option.

▲M0202TH module offset calibration window
Based on the wording hint, input the value of the corresponding mode to complete the calibration.
● Gain calibration
Calibration path is indicated as below:
In “management”, find the “M0202TH module->Configuration Settings->Input calibration setting” that will be calibrated and then tick the channel to be calibrated. Next, select the “Gain” option.

▲M0202TH module gain calibration window
Based on the wording hint, input the value of the corresponding mode to complete the calibration.
5-9 Load Cell Module
5-9-1 M02LC/M02LCR
Steps to use Load Cell Module
|
Step |
Note |
|
Start |
|
|
After connect the load cell module, configure the weight unit rated output an others parameter, at configuration setting on management, or configuration setting on project management. |
For detailed Management and configuration, please refer to Interface Manual. |
|
Monitor the status of load cell module with register or the function device monitor. |
Refer to the Mapping table to check the address of each channel on the module. |
|
End |
Module Introduction
Load cell module provides two different resolutions, namely the M02LC and M02LCR module. It can be used to measure weak signals generated by load cells.
The hardware resolution capability of this module is 24 bits. The range of weight readings is elastically changed according to the setting of the load cell. The range of digital readings is fixed at 0~10000.
In order to filter out the on-site noise accompanying the signal, this module also provides the functions of sampling signal averaging and automatic zero-point compensation.
The difference between the two modules in the conversion speed and resolution. The resolution of M02LR is 14 bits, and the resolution of M02LCR is 18 bits. For details, please refer to the following “Signal Scope” chapter and “Conversion Time Setting “.
The ambient temperature and the connecting distance will affect the accuracy of the load cell. If the environmental parameters changes, it will affect the accuracy of the load cell after calibration. The user must re-calibrate to ensure the correctness of the weight reading.
M02LCR Sampling Time
100 sample/second.
M02LC Sampling Time
4800 sample/second.
Planning Description of Input Format
In terms of analog reading value processing, FATEK provides three commonly used data representation methods, and the reading value can be set to be averaged multiple times, so as to improve the field that is more easily affected Interference, or reading drift caused by unstable input signal.
UperIO provides an extremely simple operation interface for planning the data format, and average times of the load reading and other related settings.
Monitoring Load Cell Module Value
Click [Project] → [Device View] → [Device Monitor] in the execution function bar, and the device monitoring window on the right will appear:

▲Device Monitoring
In the information, you can choose the resources to be displayed, such as [Digital Data], [Logic Data], [Status Data].
3. Logic Data
In the load cell module (M02LC), logic data refers to the value obtained or output by the channel.
Click [Logic Data] on the top information of [Device Monitor], then only the logical data will be displayed in the module list. If you put the mouse over the value, and when the data is blue as shown in the figure below, the value of the register can be modified. You can also quickly modify the value display mode through [Float], [Dec] and [Hex] on the right side of the register.
The default value of the LC module is displayed as a 32-bit floating-point number. If the user needs to convert it to decimal.

▲Logic data for device monitoring
4. Status Data
Click [Status Data] on the top of [Device Monitor], and only the status data will be displayed in the module list. When the data is grayed out as shown in the figure below, the value of the register cannot be modified. However, it is still possible to quickly modify the value display mode through [Dec] and [Hex] on the right side of the register.

▲Status data of device monitoring
Load Cell Application Function
The M02LCR module provides a lot of functions for users to use. These functions can be accessed from “management -> double click the desired module twice-> Configuration Settings” to configurate the settings.
You can both configure the setting with online edit or download with a project.

▲Find and click on the module

▲Click Configuration Settings

▲Setting page of M02LCR module
Channel enable/disable
Each channel can be set to enable or disable
When the channel is enabled, the channel takes a load reading.
When a conversion channel is disable, the channel is not read and reduces the total channel conversion time.
Conversion time description
5. M02LCR sampling time: 100 time/second
When the single/dual channel is enabled, the sampling cycle period is 10ms.
6. M02LC sampling time: 4800 time/second
When single channel is enabled, the sampling period is 0.2ms
When dual channels are enabled, the sampling period is 0.4ms
Settings and Preset value
If the channel is not set to enable/disable the default setting is off.
Load Cell Parameter setting
Before using the LC module, it is necessary to set the sensitivity, weight unit, decimal point, etc. according to the usage situation. The parameters must be set as follows:
How to use and instructions
Set the weight unit, number of decimal places, rated capacity, rated output, etc. and then set user calibration to make the measurement range match to the user’s needs.
Weight unit selection
Kg (Default)/g/T
Weight decimal point selection
(Default)/ //
Rated capacity setting
For load cells with different capacities, different rated capacities can be set to correspond to the maximum range of the load cell
Rated capacity: the maximum range of a single Load cell
Range: 0~999999
Default: 50000
Rated output setting
For load cells with different sensitivities, the channel can be set, the range is as follows
|
Rated output |
|
|
Rated output |
1mv/V |
|
2mv/V |
|
|
3mv/V |
|
|
4mV /V |
|
▲Setting input signal range of M02LCR & M02LC
Maximum weight capacity setting
For the load cells in each channel, the entire load system can be set according to the number of load cells.
Range: 0~maximum rated capacity
※The setting range cannot exceed the rated capacity, and must be less than or equal to the (maximum capacity of the load cell)*(Number of load cell connections)
Number of connections setting
The number of load cells used by the channel at the same time
Range: 1~4
Default: 1
Minimum division setting
Users can set the load reading minimum division value.
Minimum scale: 1/2/5/10/20/50
Weight conversion settings
For the average processing of each channel, users could set to three modes: no average mode/time average mode/moving average.
How to use and instructions
Sampling (No Averaging Mode):
When the LC module is reading value, no averaging processing is performed.
The processing time is equal to the conversion cycle time.
Counting average mode:
A/D conversion is performed according to the set number of times, and the conversion value is averaged. The counting average needs to be set above 4 to be effective.
The required processing time is equal to the set average multiplied by the conversion period.
Example:
For example, if the module converts 11 data and sets the average number of times to 5, the returned results are as follows:

▲Schematic diagram of M02LCR module times average mode processing time
Moving average mode:
Set the number of averages. During each conversion cycle, the weight reading data will be averaged according to the set times. The moving average needs to be set above 2 to be effective.
The required processing time is equal to the set average multiplied by the conversion period
example:
If the number of moving averages is set to 5 times, the conversion diagram is as follows.

▲Schematic diagram of the processing time of the moving average mode of the load cell module
Settings and Defaults
If the channel has no A/D conversion mode set, the default mode is “no averaging mode”.
|
A/D conversion mode |
M02LCR Setting range |
Defaults |
|
Sampling (No averaging mode) |
none |
none |
|
Counting average mode |
4 to 255 (times) |
4 |
|
Moving average mode |
2 to 255 (times) |
2 |
▲Load cell average mode setting value range
Calibration Function
After setting the unit, input calibration can be performed on each channel, and each channel stores the corresponding calibration value.
The default is the factory calibration value and is permanently stored in the module and will not be modified. The default value can be used to restore to the factory state.
How to use and instructions
There are two types of calibration:
7. User Calibration Mode:
If the user has special needs or there is a large error in the value due to the large difference between the current ambient temperature and the general room temperature, the user correction mode can be used to correct the error.
8. Restore Factory Settings:
When the factory leaves the factory, all channels will be calibrated and the parameters will be placed in the module. If the user needs to return the factory calibration value in the future, he can use UperIO to recall it.
User Calibration Steps:
Please ensure that the calibration process does not have any negative side effect to devices.
In the “Management”, double-click the module to be recalled, and find “Calibration” in the “Configuration Settings”, and find “Actual Load” or “Scale”.



▲M02LCR user calibration process
Reset factory settings steps:
Please ensure that the calibration process does not have any negative side effect to devices.
In the “Management”, double-click the module to be recalled, and find “Calibration” in the “Configuration Settings”, and find “Restore Factory Settings” after entering and press “Restore”.


▲M02LCR reset factory settings process
Settings and Defaults
Each channel has a default factory calibration value and stored in the module.
|
Enter Calibration Settings |
Defaults |
|
Offset value |
Factory calibration value |
|
Gain value |
Factory calibration value |
▲M02LCR Calibration Preset Value Table
Gravity Acceleration settings
Gravity Acceleration settings
This function calibrates the weight error caused by different gravitational acceleration.
Users can correct the corresponding value according to the location.
※ The value of acceleration of gravity when leaving the factory is stored by default.
Weight value = gross weight output value * calibration position value / installation position value
Setting range: 9.7000~9.9999
※When the installation position = calibration position, this calibration is not enabled .
Description of Device Information
Channel Weight Value
Engineering weight reading value confirm by user will be affected by the user’s calibration and will change the scale of the weight reading value.
Channel Digit Value
Original reading value of voltage signal conversion, and the range is 0~10000.
For example:
1 mv/V load cell with a range of 100 kg.
When the actual load of the load cell is 100 kg, the reading value of this channel should be 10000, which means that the module receives the full-scale voltage of the 1 mv/V load cell.
LC Error Code
Error indicators used during program debugging.
Currently, the function is reserved.
Channel Maximum Total Weight Output Value
After being energized, the maximum & minimum gross weight read by the LC module will be stored and placed in the appropriate register.
The maximum gross weight will be stored in this register.
Channel Minimum Total Weight Output Value
After being energized, the maximum & minimum gross weight read by the LC module will be stored and placed in the appropriate register.
The minimum gross weight will be stored in this register.
5-10 Installation And Wiring
Installation Precautions
To avoid interference, the IO Coupler should be installed to keep from noise sources such as high- voltage or high-current lines and high power switches.
|
⚠Danger |
|
1. Turn off all power during installation of IO Coupler or related equipment to prevent electric shock or damage to equipment. 2. During installation, never remove the dust cover sheet that were surrounded the IO Coupler before wiring is completed to avoid complications such as fire hazards, breakdown, or malfunction caused by drill dust or wire shreds falling inside OP Coupler. 3. Upon completion of installation and wiring, remember to remove the dust cover sheet to avoid fire, breakdown or malfunction, caused by overheating. |
5-10-1 Placement of IO Coupler
Fixation of IO Coupler, which can be fixed by DIN RAIL, should place vertically and start from the IO Coupler on the left to the expansion module on the right.
and without an I/O bus extension module, each IO Coupler can support up to 16 expansion modules. It should be noted that the number and types of modules that can be connected may vary slightly depending on the CPU model.
A typical figure of placement is shown below:

▲Placement of IO Coupler installation
5-10-2 Placement of Repeater Module
When the power module cannot bear the power of the right expansion group, a relay module can be appropriately added to share the load of the power module. The relay module is equivalent to the 48W power module. A maximum of 16 expansion modules can be installed between the power module and the relay module. A maximum of 16 expansion modules can be installed between the relay module and the right side of the relay module. Expansion modules.
The following figure shows the placement of its repeater module:

▲Placement of Repeater Module installation
5-10-3 Placement of I/O Bus Extension Module (Head &Tail, MRGH &MRGT)
When the control cabinet is not wide enough to accommodate the right expansion module, an I/O Bus extension modules (Head and Tail module) can be installed to extend the Local I/O modules to the next row. Only a maximum of 16 Local I/O modules expansion modules can be installed in the right side of the Head module, with maximum of 5 Tail modules in a total of 6 rows. A total of 64 expansion modules (Local I/O expansion modules) can be installed.
*The Head module itself does not have the power supply function and only has the function of I/O Bus Extension, so the power module must be installed in the left side of Head module.
The following figure shows the placement of Head/Tail modules:

▲Placement of Head/Tail Module installation
5-10-4 Ventilation Space for Installation
The heat in IO Coupler is ventilated via air circulation. There should reserve more than 20mm space, both below and above IO Coupler, and with vertical installation, for ventilation. as shown in the figure below:

▲IO Coupler installation direction
When the ambient temperature exceeds the working environment, consider methods such as forced air cooling or increasing the gap between the device and its surroundings to improve ventilation and reduce temperature. When using expansion modules, to mitigate heat effects, maintain a gap of at least 50mm between the upper and lower modules.
Orientation: When installed inside the cabinet, the front panel of the IO Coupler must be horizontally facing forward.

▲Module Installation Position Diagram
5-10-5 Securing DIN Rail
This section will explain how to install connected modules onto the D I N rail and how to remove them.
Installing onto the D I N rail

1. Hook the upper groove of the D I N rail onto the upper mounting hook of each module

2. Insert the lower part of the rail into the lower D I N rail mounting hook of each module.
Use a flat-head screwdriver to push the bottom mounting hook to the pulled-out position until you hear a “click” sound. Then, press the module against the D I N rail until it is snug, and push the bottom mounting hook back to the inserted position.


In difficult installation scenarios, please remove all side sliders first. Once installed on the D I N rail, proceed with locking by reattaching the side sliders.
Check whether the bottom mounting hook of the lower D I N rail is in the inserted (locked) position.
Removal procedure
1. Use a flat-head screwdriver to flip the bottom mounting hooks to the unlocked position.
2. Following the reverse order of installation, remove the D I N rail from the modules
5-10-6 Module Assembly
IO Coupler and modules are interconnected with each other. Below, we’ll illustrate how to assemble the IO Coupler and power module as an example.
1. Release the side sliders located on the top and bottom of the right-hand module.
Place your fingers on the protruding part of the side slider and slide it towards yourself, which means sliding towards the front of the module, to put the module in the installation state.

2. Insert the hooks of the right module into the hooks of the left module by pushing them to the left.
Align the left and right modules to keep them parallel, ensuring that the connectors on both sides are properly aligned for connection.
3. Lock the side sliders on the top and bottom of the right module.
Place your fingers on the protruding part of the side slider and push outward, away from yourself, towards the back of the module. This action locks the module in place.

4. Finally, install the End module at the far right end of the row of modules.

|
⚠ Attention |
|
Please make sure to securely use the side sliders to correctly fix the adjacent modules. If not properly fixed, it may cause looseness in the connection between modules, leading to abnormal operation of the PLC. After fixing, please test with your hand to ensure the connection is stable. |
5-10-7 Mount European Terminal Block
➢ EU-standard terminal installation method: align the EU-standard terminal with the slot of the expansion module and then push it straight downward, as indicated in the figure below.

▲Mount European terminal Block
➢ EU-standard terminal removing method: push the fastener on both ends of the EU-standard terminal downward and then lift both of them upward and you can take out the terminal, as indicated in the figure below.

▲Dismount European terminal Block
5-10-8 External terminal module and European terminal wiring
1. During the wiring of IO Coupler, please follow local national standards or regulations for installation.
2. The suitable I/O wiring diameter for IO Coupler is AWG28~AWG22,Please choose the wires with proper wire gauge for I/O wiring according to the current loads.
3. Shorter wires are preferred. It is advised that the length of I/O wiring does not exceed 100m (@10m for high-speed input).
4. Input wiring should be separated from output or power wiring (at least 30~50mm apart). In case separation is not possible, adopt vertical crossing, no parallel wiring is allow.
5. The specifications of the crimp sleeve for the External terminal module and the European terminal are as follows:

▲Crimp Sleeve Specifications
5-10-9 External terminal module installation
➢ First fix the upper clip, and then install the External terminal module into the DIN RAIL in the direction of the arrow.

▲Install External terminal module
➢ Please push up in the direction of the No. 1 arrow first, and then pull out in the direction of the No. 2 arrow to disassemble.

▲Disassemble External terminal module
Tip: press ← → to switch chapters, Ctrl+K to search