The main function of the analog input module is to collect analog signals converted from external sensors.
The analog signal module is processed by the analog-to-digital module and converted into a digital signal.
The sensor data here includes analog values such as voltage, current, thermal resistance, thermocouple, and temperature. These values are then transmitted to the intelligent module of the master PLC via a bus. The analog output module converts the digital signals input by the digital-to-analog converter to output controllable continuous current or voltage signals.
This article will briefly introduce how to use the DEKWELL EX card-type remote I/O and Siemens master PLC to monitor and call analog signals.
Decker Automation
01. Hardware Configuration
02. Network Topology Diagram
03. Install GSD files
Open TIA Portal V17, select "Options" > "Support Device Description File (GSD)" in the menu bar, as shown in Figure 5-1-2.
04. Equipment Configuration
To configure the device, expand the hardware catalog in the network view and select the adapter, as shown in Figure 5-1-4. Double-click the adapter to enter the device view and configure the I/O module, as shown in Figure 5-1-5.
Figure 5-1-4 Configuring Equipment
Figure 5-1-5 Configuring I/O Modules
In the network view, assign a controller to the IO module. Click "Unassigned" in the IO module and select PLC_1.PROFINET interface_1, as shown in Figure 5-1-6.
Figure 5-1-6 IO Controller Allocation
To set the IP address of the I/O module, double-click the module in the device view to enter the property view, as shown in Figure 5-1-7.
Figure 5-1-7 IP Address Allocation
To assign a device name to a remote I/O module, right-click the module and select "Assign Device Name" as shown in Figure 5-1-8. Select the interface type and update the list, then assign a name as shown in Figure 5-1-9.
Figure 5-1-8 Assignment Equipment Name
Figure 5-1-9 Writing Device Name
05. Program Download and Device Monitoring
Select all devices in the network view and download, as shown in Figure 5-1-10. After the program download is complete, start the CPU to run and switch to online monitoring to check if the communication is normal, as shown in Figure 5-1-11.
Figure 5-1-10 Program Download
Figure 5-1-11 Equipment Monitoring
06. Monitoring of Analog Input/Output Voltage Modules
The device view shows the address currently assigned to our analog module.
Open the monitoring table to monitor the analog input and analog output respectively.
The EX-4054 and EX-5054 models tested are voltage-type analog input/output modules. The internal software calculation formulas are shown below. In actual use, it is necessary to force or monitor the corresponding channels in the configuration. Programs can be written to call the corresponding variable addresses to monitor and output analog signals. The analog signal calculation formulas are shown below.