Autor Thema: Modbus_server with AMK plc  (Gelesen 5806 mal)

0 Mitglieder und 1 Gast betrachten dieses Thema.

Offline Allanh

  • Newbie
  • *
  • Beiträge: 3
    • Profil anzeigen
Modbus_server with AMK plc
« am: 17. Januar 2013, 15:37:33 »
Is it possible to use the MB_server / IPCONTROL2
with a AMK A5 controller?

I have tried to setup a test, but become MB_SERVER.Error = 33554432,when I enable the MB_SERVER.
I cannot fígure out what this error means.

Offline peewit

  • Moderator
  • *****
  • Beiträge: 2 377
    • Profil anzeigen
Re: Modbus_server with AMK plc
« Antwort #1 am: 17. Januar 2013, 17:40:53 »
the error code = 33554432 (decimal) is a hexadecimal coded error

33554432 = 0x02000000

code = 0x 02 00 00 00 (hexadecimal)
                  !   !    ! 
                  !   !    Receive error 
                  !   Send error
                  Connect error


english documentation

module "ip_control_2" (page 110)

System-specifc error: (CoDeSys)

0x00 No error occurred.
0x01 SysSockCreate unsuccessful
0x02 SysSockBind unsuccessful


Offline Allanh

  • Newbie
  • *
  • Beiträge: 3
    • Profil anzeigen
Re: Modbus_server with AMK plc
« Antwort #2 am: 17. Januar 2013, 20:21:40 »
Thank you.

Do you know if the lib can be used with an AMK A5 controller? - it is linuxbased

Offline peewit

  • Moderator
  • *****
  • Beiträge: 2 377
    • Profil anzeigen
Re: Modbus_server with AMK plc
« Antwort #3 am: 17. Januar 2013, 22:42:52 »
probably no
usually have to make an adjustment