FactoryTalktotheHand
Member
So, here's my hardware:
Micrologix 1400 controller
Mitsubishi E740 Drive
I'm communicating via the 1763-NC01 out of Channel 0 on the Micrologix.
My settings for Channel 0 are:
Modbus RTU Master
Baud: 9600
Parity: EVEN
Stop Bits: 1
Data Bits: 8
No Handshaking (485 Network)
The parameters in the Drive I changed are:
117 - 100 (Station number)
118 - 96 (9600 Baud)
120 - 2 (Even Parity, 1 Stop Bit)
122 - 2.5 (Check Time Interval)
549 - 1 (Modbus RTU)
I'm going through the RJ45 connector on the E700 drive. According to the manual, the pinout is as follows:
1 - SG Earth (Ground)
2 - Power for HIM
3 - RDA (Receive +)
4 - SDB (Send -)
5 - SDA (Send +)
6 - RDB (Receive -)
7 - SG Earth (Ground)
8 - Power for HIM
I'm using a T568B patch cord I cut one end off to have flying leads, and this is how I have it hooked up to the NC01:
NC01 Terminal "Term" - Nothing connected
NC01 Terminal "A" - RJ45 Pins 3 and 5 (RDA & SDA)
NC01 Terminal "B" - RJ45 Pins 4 and 6 (RDB & SDB)
NC01 Terminal "Com" - RJ45 Pins 1 and 7 (Earth Ground)
NC01 Terminal "Shld" - Nothing connected
NC01 Terminal "GND" - Ground
I have tried swapping the "A" and "B" leads. It makes no difference.
Now, onto the program. I've attached it to this post. Currently I have several MSG statements but I'm keeping all but one from scanning right now. Once I get that one to work, I can work on coordinating the others more.
My settings for the MSG are as follows:
Channel: 0 (integrated)
Modbus Command: 03 (Read Holding Registers 4xxxxx)
Datatable Address: N40:3
Size: 5
Data: 16 bit
Target Device
Message Timeout: 2
Modbus data address: 201
Slave Node Address: 100
Modbus Address: 40201 (this field is read-only)
The problem I'm having is that my message is timing out. I'm getting Error code 37 (Messaged timed out in local processor).
According to the Mitubishi manual, address 40201 is the starting address of a number of drive status registers, like volts, amps, etc.
At this point, I don't know what more I can do. Anyone have any ideas? Anything I could try?
Micrologix 1400 controller
Mitsubishi E740 Drive
I'm communicating via the 1763-NC01 out of Channel 0 on the Micrologix.
My settings for Channel 0 are:
Modbus RTU Master
Baud: 9600
Parity: EVEN
Stop Bits: 1
Data Bits: 8
No Handshaking (485 Network)
The parameters in the Drive I changed are:
117 - 100 (Station number)
118 - 96 (9600 Baud)
120 - 2 (Even Parity, 1 Stop Bit)
122 - 2.5 (Check Time Interval)
549 - 1 (Modbus RTU)
I'm going through the RJ45 connector on the E700 drive. According to the manual, the pinout is as follows:
1 - SG Earth (Ground)
2 - Power for HIM
3 - RDA (Receive +)
4 - SDB (Send -)
5 - SDA (Send +)
6 - RDB (Receive -)
7 - SG Earth (Ground)
8 - Power for HIM
I'm using a T568B patch cord I cut one end off to have flying leads, and this is how I have it hooked up to the NC01:
NC01 Terminal "Term" - Nothing connected
NC01 Terminal "A" - RJ45 Pins 3 and 5 (RDA & SDA)
NC01 Terminal "B" - RJ45 Pins 4 and 6 (RDB & SDB)
NC01 Terminal "Com" - RJ45 Pins 1 and 7 (Earth Ground)
NC01 Terminal "Shld" - Nothing connected
NC01 Terminal "GND" - Ground
I have tried swapping the "A" and "B" leads. It makes no difference.
Now, onto the program. I've attached it to this post. Currently I have several MSG statements but I'm keeping all but one from scanning right now. Once I get that one to work, I can work on coordinating the others more.
My settings for the MSG are as follows:
Channel: 0 (integrated)
Modbus Command: 03 (Read Holding Registers 4xxxxx)
Datatable Address: N40:3
Size: 5
Data: 16 bit
Target Device
Message Timeout: 2
Modbus data address: 201
Slave Node Address: 100
Modbus Address: 40201 (this field is read-only)
The problem I'm having is that my message is timing out. I'm getting Error code 37 (Messaged timed out in local processor).
According to the Mitubishi manual, address 40201 is the starting address of a number of drive status registers, like volts, amps, etc.
At this point, I don't know what more I can do. Anyone have any ideas? Anything I could try?