Siemens S7-1200 (CB1241 RS485) controlling Eaton inverter on Modbus RTU

aandjsam

Member
Join Date
Sep 2016
Location
lincolnshire
Posts
30
Hi all,

I've hit a bit of a brick wall and need some help. I'm currently trying to get a Siemens S7-1200 PLC to talk to an Eaton DE1 Drive I'm using the CB 1241 RS485 Communication module, Wired like so:

M: Pin 1 (0V)
TA: Linked to T/RA
T/RA: Pin 7
T/RB: Pin 8
TB: Linked to T/RB
RTS:N/C

All I need is simple start and stop control with a speed reference, reading a fault from the drive would be handy if possible, also. This should be simple, but I just can't figure it out, I've only ever dealt with ethernet and profinet.

I've successfully loaded the MB_COM_LOAD FB and called it in the 'OB1' using the first scan bit. this loads without errors, I just can't figure out the MB_MASTER FB, what parameters need entering in it etc...

Hope you guys can help!

The DE1 Modbus RTU Manual:
ftp://ftp.moeller.net/DOCUMENTATION/AWB_MANUALS/MN040018_EN.pdf

TIA,
Sam
 
Thanks for those examples. What I'm wondering is why there is '40001' or '40002' etc.. being sent to the drive?
Modbus standards.
A 4 or a 3 and such will point to different locations such as "holding registers" "read single coil", "write single coil" and such.
Check out your Modbus mapping in the documentation for your device.
You should be able to find a description and the actual mapping in there.
 
Modbus standards.
A 4 or a 3 and such will point to different locations such as "holding registers" "read single coil", "write single coil" and such.
Check out your Modbus mapping in the documentation for your device.
You should be able to find a description and the actual mapping in there.

That's fantastic, finally got a run signal going to it now! Thank you.

I have two MB_MASTER FB's, one for sending the run and another for sending the speed reference, the second one is generating an error code of 8080. Is there anything I may be doing wrong, I've got the second one being requested by the completion flag of the first one and latching with the 'busy' flag to hold the request until complete.
 
Just a quick update, I was using different instance data blocks, I'm now using the same for both MB_MASTER blocks and it now works perfectly.

Thanks a lot for your help!
 

Similar Topics

commentaire communiqué siemens s7-1200 avec vfd delta ? (cablage et sur tia portal )
Replies
0
Views
87
Hi, I have a 1214 on ip 192.168.0.100. This is connected to other modules through a switch on same network. I need to connect this to a company...
Replies
1
Views
141
Hi Experts, I would like to make firmware upgrade from v3.0 to v4.5 (S7-1200 CPU 1215C). Can I do it from v3.0 to v4.5? Do I need to take some...
Replies
6
Views
215
Hi Guys, I am trying to establish communication over profinet between Siemens S7-1200 PLC as IO device and codesys plc as IO controller. But I am...
Replies
43
Views
2,570
Which signals do I have to use to get data from camera. For example camera detects a defect and sends signal to controller. Power cable: CCB-PWRIO-05
Replies
1
Views
178
Back
Top Bottom