How to Use ADAM-4100 Series to Add Cost Effective DAQ Functionality to any PLC
The ADAM-4100series modules are compact, versatile sensor-to-computer
interface unitsdesigned specifically for reliable operation in
harsh environments. Their features include:
- Broad Operation Temperature range from -40 to 85° C
- High Noise Immunity: 1KV Surge protection on power inputs, 3KV EFT and8KV ESD Protection
- Wide Power Input Range: +10 ~ +48 VDC, unregulated power source
- LED Display: Allowsthe user to monitor the status and read the address
- Firmware onlineupdate: Ensures the module possesses the latest functions.
- Dual Communication Protocol Support: Supports MODBUS/RTU protocol and ADAM (ASCII) protocol
ADAM-4100 series RS-485 I/O modules include:
1. Configuring ADAM-4100 Modules: (Using ADAM-4117 voltage & currentacquisition module as example):
Set communication protocol of ADAM-4117 to Modbus protocol in the free ADAM.net Utility provided by Advantech. Modbus addresses of ADAM-4117 signal acquisition are as the following:
2. Applying to PLC
Programmable Logic Controllers can control all kinds of devices. The instruction library of the STEP7-Micro/WIN programming software contains pre-configured subroutines and interrupts routines designed specifically for Modbus communication, which makes communication between Modbus master and slave much easier.
With the Modbus slave protocol instructions, you can configure the PLC to act as a Modbus RTU slave device and communicate with Modbus master devices.
With the Modbus master protocol instructions, you can configure PLC to act as a Modbus RTU master device and communicate with one or more Modbus slave devices.
Modbus instructions are installed under library folder of STEP 7--Micro/WIN instruction tree. These instructions can make PLC act as Modbus device.
3. Modbus Protocol Programming
Modbus masteraddressing – Modbus master instructions will map the addresses to suitablefunctions and then send them to the slave devices. Modbus master instructions support the following Modbus addresses:
- 00001 ~ 09999 are discrete output (coil)
- 10001 ~ 19999 are discrete input (contact)
- 34001 ~ 39999 are input registers (usually analog input)
- 40001 ~ 49999 are hold register
All the Modbus addresses “take 1 as theirbasis”, that is to say all the addresses start from 1. Valid address rangedepends on the slave device. Different slave devices support different datatype and address range.
4. Please see the above picture for connection between PLC S7-200 and ADAM-4117hardware. Make programs in PLC, you will read value ofADAM-4117 Channel 0 (Modbus address is 40001), refer to the picture below:
Likewise, the temperature value acquired by ADAM-4118 is:
Attachment: Your usergroup does not have permission to access attachments