OSCAT Forum

network.lib => Codesys 2 => Thema gestartet von: Allanh am 17. Januar 2013, 15:37:33

Titel: Modbus_server with AMK plc
Beitrag von: Allanh 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.
Titel: Re: Modbus_server with AMK plc
Beitrag von: peewit 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

Titel: Re: Modbus_server with AMK plc
Beitrag von: Allanh 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
Titel: Re: Modbus_server with AMK plc
Beitrag von: peewit am 17. Januar 2013, 22:42:52
probably no
usually have to make an adjustment