ETHERNET Library¶
Library file name: Ethernet_AC500_Vx.lib
Note
All function blocks of this library can only be executed in RUN mode of the Processor Module, not in simulation mode.
Operating the controller as open MODBUS on TCP/IP subscriber can be performed simultaneously with other protocols. When operated in this mode, the ETHERNET Communication Module is able to execute the functionality of several servers or several clients at the same time. Mixed operation is also possible.
In order to operate the controller as open MODBUS on TCP/IP server (slave), only the Communication Module has to be configured. An additional use of the open MODBUS on TCP/IP Function Blocks in the user program is not necessary.
To operate the controller as open MODBUS on TCP/IP client (master), the Communication Module also has to be configured. In this case, one or more ETH_MODMAST Function Blocks have to be configured in the user program additionally.
The ETH_MODMAST Function Block can be optionally operated in server mode as well as in client mode or in mixed operation.
Port | Reserved for | |
---|---|---|
DEC | HEX | |
32768 | 8000 | ETHERNET UDP/IP data exchange with AC31 header (ETH_UDP_xxx Function Blocks) |
1200 | 04B0 | TCP/IP gateway access |
502 | 01F6 | Open MODBUS on TCP/IP |
- Function Blocks
- ETH_DNS_RESOLVE
- ETH_ICMP_PING
- ETH_MOD_INFO
- ETH_MOD_MAST
- ETH_OWN_IP
- ETH_OWN_IP_INFO
- ETH_OWN_IP_SET
- ETH_SMTP_EMAIL_SEND
- ETH_UDP_INFO
- ETH_UDP_REC
- ETH_UDP_SEND
- ETH_UDP_STO
- ETH_UDP_STD_INFO
- ETH_UDP_STD_REC
- ETH_UDP_STD_SEND
- ETHx_DNS_RESOLVE
- ETHx_ICMP_PING
- ETHx_MOD_INFO
- ETHx_MOD_MAST
- ETHx_OWN_IP
- ETHx_OWN_IP_INFO
- ETHx_OWN_IP_SET
- ETHx_SMTP_EMAIL_SEND
- ETHx_UDP_INFO
- ETHx_UDP_REC
- ETHx_UDP_SEND
- ETHx_UDP_STD_INFO
- ETHx_UDP_STD_REC
- ETHx_UDP_STD_SEND
- ETHx_UDP_STO
- IP_ADR_DWORD_TO_STRING
- IP_ADR_STRING_TO_DWORD
- Structures