Jump to content

m_a_s001

Members
  • Posts

    11
  • Joined

  • Last visited

Posts posted by m_a_s001

  1. Hello people!

    I need some help to do the follow in sinamics G120 via modbus:

    Read a Digital Input: I read parameter  40240 with a V350 (239 in unilogic) but always is in 0

    Write a Digital Output: I write parameter  40220 with a V350 (219 in unilogic) but always is in 0

    Read Analog input: I read parameter  40260 with a V350 (259 in unilogic) but always is in 0

    The communication is ok because I can command the motor with parameter 40100 (writting 47F and 47E) and  change the speed in parameter 40101.

    Thanks!!

    Best Regards 

     

    Mario

  2. On 10/13/2020 at 3:30 PM, kratmel said:

    Hi, in

    Verifying the Installation

    chapter of document in my above post present Modbus registers that can be sw. OFF1 bit directly.

    Please try to do this for test - it is the same idea as Joe provide with DI0 but via software.

    Hello!

    I try set the parameter 40003 ( number 2 in visilogic) but the communication state change to "5". Another question, the "big endian" formtat, used by Siemens, could be  the origin of the problem?

    Thanks for your time and help!

     

    Best regards

    Mario

     

     

  3. On 10/10/2020 at 4:35 PM, kratmel said:

    Hi,

    Some quastions:

    1) Is it speed and 8E1 (simens default) settings  commisioned corectly in V350 com settings?

     2) Is it G120 setpoint channel sw. = Modbus, Control channel = Modbus?

    3) Is it G120 correctly commisioned and all self autotune done and all autotune settings written to the drive . Drive do not allow to net control before autotune done (default).

    4) What is with modbus status when command was send?

     

    maybe this document is useful:

    https://static1.squarespace.com/static/5357e4cfe4b02760ee8a9506/t/53ecf6f2e4b03c7a36fcfed3/1408038642976/MicroBridge+Modbus+Plus+to+G120+App+Note.pdf

    chapter Verifying the Installation

     

    Hi!,

    First of all, thanks for your time!. I respond your questions:

    1) Is it speed and 8E1 (simens default) settings  commisioned corectly in V350 com settings?

    The comunication it´s ok because I can write and read diffents parameters (I set 8 bits, Even and  1 stop bit)

     2) Is it G120 setpoint channel sw. = Modbus, Control channel = Modbus?

    I can´t find the control channel parameter.

    3) Is it G120 correctly commisioned and all self autotune done and all autotune settings written to the drive . Drive do not allow to net control before autotune done (default).

    Autotune is done

    4) What is with modbus status when command was send?

    The modbus Status is 0 (communication OK

  4. On 10/10/2020 at 11:41 PM, Joe Tauser said:

    Do you have the wired Enable signal on the drive terminals connected (DI0)?

    Joe T.

    Hello Joe, DIO es connected to a sensor, The signal is ok I try with DI0 in ´1´ or ´0´ but the result is the same, the inverter is stopped.

    image.png.442da528486e2d918a438978dd3ecf79.png

     

    All the inputs have the right connection and I chek if the signals are OK.

    All is ok, but the problem persist.... 😞

     

     

     

    image.png

  5. Hello everybody! Please I need some help!
    I´m trying to command a G120 with  a V350 via modbus (over Rs485 - two wires). The communication its ok, but I can´t change to Run status the inverter. 

    The Starter display the following:

    image.thumb.png.a9808e25a9e58e804256042008738b2f.png

    image.thumb.png.7853a714b90d9b912fac227e2ae0dcdb.png


    My program is the following

    First: I write 0x47E in the parameter 40100

    image.png.120bc717ccf8967959b8168afb94fc72.png

    Seond: I write the Main Set point in the parameter 40101

    image.png.e2834482a3dd0f555fc531240187815e.png

    Third: I write the command 0x47F in the parameter 40100

    image.png.29d97b1764ed2bcc3276a4fe634b351a.png

    if someone can send me an example or give me some help, I will be very grateful!!

    Thanks a lot!!

    Mario

     

     

    image.png

  6. On 8/6/2020 at 5:23 PM, kratmel said:

    Please see correct MODBUS addresing for G120

    https://cache.industry.siemens.com/dl/files/159/99685159/att_83708/v1/G120_Field_busses_FH17_0414_eng_en-US.pdf

    You use 111 address for reading, maybe it is wrong.

    Please see  on p.101 modbus telegram format and use correct  110 as equal to address 40111  (for 40110 used 006D hex = 109 dec in telegram example) 

    That was the problem!!! Thanks!!!!

  7.  

    23 hours ago, kratmel said:

    Maybe this document is useful

    https://cache.industry.siemens.com/dl/files/623/109764623/att_978241/v1/109764623_G120C_Modbus-communication_DOC_V10_en.pdf

    Please see STW1-control and   ZSW1-status address.

    40100- control byte

    40101-setpoint.

    Also try to swap RS485 wires.

     

    P/S 

    Maybe you try to setup V350 PORT 1  as Modbus and at the same time - try to monitor communication via USB port  connected to SAME PORT 1.

    You need to use Ehternet card for connect to Visilogic or install add PORT2 RS485 com card as MODBUS com2 for use USB cable as connection to Visilogic 

     

    I checked what you indicated, but all was ok, and I still have the problem.... I added a ethernet port and I can see that the status messages is in "4". It´s is possible that the end resistor was the problem?

    Thanks for your Help!!

    Best Regards

     

    Mario

     

     

  8. Hello!, my name is Mario and I ask if someone can please help me with my problem.

    I try to control a Sinamics G120 with a V350 via modbus RTU, but I can´t do it!

    The connection of between the PLC and the V350 is:

    V350 (jumper set "RS485" - Jumper TERM: off)  

    Port 1 - Pins: 1 and 6

    Sinamics G120

    X128: terminals 2 and 3

    Configuration of the project:

    Sinamics G120 (Starter):

    image.png.d1873bf0d2319a9caf42881e07797acb.png

    V350 (Visilogic)

    image.png.ce888b2760aa5495057f9893d8cf8265.png

    image.png.eb0746d1b125ba8a1d9f3260b344562c.png

    image.png.016009d64f6db42944300c7d514ce519.png

    I tried to change some parameters of the communication, but the problem never disappear (status message=5). If somebody can give me some help I will be very grateful!

    Best Regards

    Mario

     

     

     

     

     

     

     

     

     

     

     

  9. On 3/5/2012 at 2:06 PM, Jesus Torner said:

    I have made a little project to communicate Unitronics and Siemens S7-1200 PLC's by MODBUS TCP:

    Unitronics:

    Software Visilogic 9.31

    Unitronics IP: 192.168.1.200

    MODBUS_COMM: Connect Sockets 0 and 2 as Slave with different ID to Siemens IP Address 192.168.1.204

     

    Siemens:

    Siemens IP: 192.168.1.204

    PLC: 1214 DC/DC/DC

    Software: Tia Portal V11 SP1

    PLC Fw: 2.12

    Modbus function: MB_CLIENT

     

     

    • Unitronics can read DB2.DBW0 from Siemens PLC
    • Unitronics can wirte MI3..MI5 to Siemens PLC

     

    To donwload the project click HERE

    More cuestions in this post.

    Hello, could you load again the project? I try download but it doesn´t exists.

    Thank you

    Best regards

    Mario

     

     

     

×
×
  • Create New...