Newbie Modbus/rs232


Results 1 to 5 of 5

Thread: Modbus/rs232

  1. #1
    Registered
    Join Date
    Jan 2018
    Posts
    3
    Downloads
    0
    Uploads
    0

    Question Modbus/rs232

    Hi,
    We just bought kflop/kanalog, I read manuals but our English is not so great and we can't understand few moments.
    We are using Analog drives +-10V, Lathe machine.
    I have few questions:
    1. How I can send RS232 command on M3 and Move commands?
    2. All C code should be in one init.c? (tool change,configuration,buttons,limit switches etc) If not, how we should upload multiple to kflop.


    Can I define sending RS232 command on m3 in init.c

    Similar Threads:
    Last edited by Niyaz; 01-29-2018 at 02:04 AM.


  2. #2
    Gold Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    2804
    Downloads
    0
    Uploads
    0

    Default Re: Modbus/rs232

    Hi Niyaz,

    How I can send RS232 command on M3 and Move commands?
    See the RS232 Examples such as \C Programs\RS232\BufferedRS232.c I don't understand what Move Command you are referring to.

    All C code should be in one init.c? (tool change,configuration,buttons,limit switches etc) If not, how we should upload multiple to kflop.
    Usually a Tool Change Program can be invoked when needed and run in another Thread and Program.

    Limit switches don't normally require any C Program to operate. They only need to be configured.

    But yes all continuous operations like monitoring push buttons can normally be placed in one forever loop in the init.c program. One single loop can monitor multiple things. See:
    KFLOP C Programs - Dynomotion

    Regards

    TK
    http://dynomotion.com


  3. #3
    Registered
    Join Date
    Jan 2018
    Posts
    3
    Downloads
    0
    Uploads
    0

    Default Re: Modbus/rs232


    Thanks for reply.
    Our electricians made system like on this diagram. All automatic switches controlled from external contorller. So on "program start" it should send command to power on drives.

    Attached Thumbnails Attached Thumbnails Modbus/rs232-jpg  


  4. #4
    Gold Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    2804
    Downloads
    0
    Uploads
    0

    Default Re: Modbus/rs232

    Hi Niyaz,

    Sorry I don't understand what you are asking.

    I suppose by "Automatic Switches" you mean relays?

    It seems to me when you initialize your system with the Init.c program it could send the RS232 command to power on the Drives.

    Your Init.c Program forever loop could monitor KFLOP Axis Enables and if they ever become disabled you could send the RS232 command to power off the drives.

    Regards

    TK
    http://dynomotion.com


  5. #5
    Registered
    Join Date
    Jan 2018
    Posts
    3
    Downloads
    0
    Uploads
    0

    Default Re: Modbus/rs232

    Yes, relays
    Thanks, Ill try it.



Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Modbus/rs232

Modbus/rs232