Communication problem between Modicon Premium PLC and Adam-6251 Remote I/O

PLCTIPS

Member
Join Date
Apr 2009
Location
VEREENIGING
Posts
4
I need some help. I have established communication between the Modicon Premium PLC, using PL7 Pro ver 4.5 software and Adam 6251 remote I/O Device. I'M using the I/O Scanning function of PL7 Pro. The problem is that I/O Scanning in PL7 Pro ver 4.5 use only Words (%MW). I can read words from the Adam-6251's Holding Registers, but can not read or write to the Coils, that is bits, in the Adam-6251 Device, because I/O Scanning can handle only Words and not bits. I have tried to use the Messaging function, but I'm not sure what the syntax of the the Read_Var and Write_Var commands are. PLC and Remote I/O Device are connected via Ethernet. Please any help! Thanx
 
I have not used the hardware before, but why not just use the words to read and write only? If you can read the input channels and write the output channels, why manipulate with the bits? Use your manipulation of the bits in the PLC before setting the word to the remote device.
Regards,
Garry
http://www.accautomation.ca
 
I have not used the hardware before, but why not just use the words to read and write only? If you can read the input channels and write the output channels, why manipulate with the bits? Use your manipulation of the bits in the PLC before setting the word to the remote device.
Regards,
Garry
http://www.accautomation.ca
Thanks for responding. I have to read the counter values(addresses) from the ADAM-6251. That are words and I have managed to read the words from the ADAM-6251 DI via the I/O Scanning function in the PL7 Pro software. The problem here is that I can't reset the counter values to zero again, because the counter addresses is between 40001~40032 (4X) and are read only registers. Thus, I can't zero the %MW in the PLC. The only way to do that is via a write bit that I must send to the ADAM module from the PLC. The clear counter address is between 00049~00064 (0X). I must write a bit from the PLC to the ADAM via a Modbus command. If I want to reset value 40003 then I have to send the following command.
Example: Force coil 3 (address 00003) ON in ADAM-6251 module
01 05 00 03 FF 00

Problem is that I don't know the syntax in PL7 Pro software to send the above command body to the ADAM module with a Modbus command. I have tried the Write_Var command, but with no success.
 

Similar Topics

Hi experts, I have Panelview 800 Teriminal (version 4.012) connected to 5370 compactlogix L2 controller(1769-L24ER-QBFC1B). Through Ethernet...
Replies
6
Views
16,420
problem in communication between micrologix 1200 & Panel View 600 Plus by serial DF1 Hello Friends i have to do communication between micrologix...
Replies
6
Views
6,611
This Problem happened many times, is it only because the wrong type DB10Q0 should be DB1010 or any other possible cause? HMI log file ...
Replies
6
Views
8,554
Hello, I got 2 S7-200 communicating with each other and a computer with Simatic Softnet Lean 2006 communicating with both PLC. When...
Replies
1
Views
1,442
Hi i m using the S7-1200 plc while i want to commuinate plc to 3 Pc using Rj45 with LAN card, is it O.k ? or we can use other software woith hard...
Replies
1
Views
1,696
Back
Top Bottom