This section lists the CLI configuration steps for TCP Client Configuration for MODBUS connection.
Type the following:
Phoenix_Contact# configure terminal
Phoenix_Contact(config)# interface vlan 1
Phoenix_Contact(config-if)# no shutdown
Phoenix_Contact(config-if)# ip address 192.168.0.40 255.255.255.0
Phoenix_Contact (config-if)# end
Phoenix_Contact# configure terminal
Phoenix_Contact(config)# interface serial 0/9
Phoenix_Contact(config-serial-if)# baud-rate 115200
Phoenix_Contact (config-serial-if)# no shutdown
Phoenix_Contact (config-serial-if)# end
Type the following:
Phoenix_Contact# configure terminal
Phoenix_Contact(config)# serial connection-type modbus profile PROF_10_MOD_CLIENT
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT)# role client
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# local server port modbus
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# remote ipv4 address 192.168.0.100 port modbus
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# connection-map interface serial 0/10
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# end
Type the following:
Phoenix_Contact# show serial profile interface serial 0/10
Profile : PROF_10_MOD_CLIENT
Protocol : Modbus
Role : TCP Client
Serial interface : 10
Slaves ID :
Remote Server IP : 192.168.0.100
Remote Server Port : 502
Local Client Port : 502
Serial byte counter : 0
Server byte counter : 0
Connection to server : NO
Reconnect Timeout (sec) : 15
KeepAlive interval (sec): 240
Forward exceptions : 1
Response time (msec) : 1000
RXed from master msg : 0
TXed to master messages : 0
RXed from slave msg : 0
TXed to slave msg : 0
Exceptions created : 0
DSCP : 0
Turnaround delay(msec) : 0
Hold time(msec) : 0
Rx-to-Tx delay : 0
Perform the following:
Type the following:
Phoenix_Contact# show serial profile interface serial 0/10
Profile : PROF_10_MOD_CLIENT
Protocol : Modbus
Role : TCP Client
Serial interface : 10
Slaves ID :
Remote Server IP : 192.168.0.100
Remote Server Port : 502
Local Client Port : 502
Serial byte counter : 0
Server byte counter : 0
Connection to server : YES
Reconnect Timeout (sec) : 15
KeepAlive interval (sec): 240
Forward exceptions : 1
Response time (msec) : 1000
RXed from master msg : 0
TXed to master messages : 0
RXed from slave msg : 0
TXed to slave msg : 0
Exceptions created : 0
DSCP : 0
Turnaround delay(msec) : 0
Hold time(msec) : 0
Rx-to-Tx delay : 0
Type the following:
Phoenix_Contact# show serial profile interface serial 0/10
Profile : PROF_10_MOD_CLIENT
Protocol : Modbus
Role : TCP Client
Serial interface : 10
Slaves ID :
Remote Server IP : 192.168.0.100
Remote Server Port : 502
Local Client Port : 502
Serial byte counter : 0
Server byte counter : 0
Connection to server : NO
Reconnect Timeout (sec) : 15
KeepAlive interval (sec): 240
Forward exceptions : 1
Response time (msec) : 1000
RXed from master msg : 0
TXed to master messages : 0
RXed from slave msg : 0
TXed to slave msg : 0
Exceptions created : 0
DSCP : 0
Turnaround delay(msec) : 0
Hold time(msec) : 0
Rx-to-Tx delay : 0
Type the following:
Phoenix_Contact# configure terminal
Phoenix_Contact(config)# serial connection-type modbus profile PROF_10_MOD_CLIENT
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT)# role client
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# remote ipv4 address 192.168.0.100 port 15010
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# local server port 15010
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# connection-map interface serial 0/10
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# end
Type the following:
Phoenix_Contact# show serial profile interface serial 0/10
Profile : PROF_10_MOD_CLIENT
Protocol : Modbus
Role : TCP Client
Serial interface : 10
Slaves ID : 1 2 4 5 6 7 8 9
Remote Server IP : 192.168.0.100
Remote Server Port : 15010
Local Client Port : 15010
Serial byte counter : 0
Server byte counter : 0
Connection to server : YES
Reconnect Timeout (sec) : 15
KeepAlive interval (sec): 60
Forward exceptions : 1
Response time (msec) : 1000
RXed from master msg : 0
TXed to master messages : 0
RXed from slave msg : 0
TXed to slave msg : 0
Exceptions created : 0
DSCP : 0
Turnaround delay(msec) : 0
Hold time(msec) : 0
Rx-to-Tx delay : 0
Type the following:
Phoenix_Contact# configure terminal
Phoenix_Contact(config)# serial connection-type modbus profile PROF_10_MOD_CLIENT
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT)# role client
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# remote ipv4 address 192.168.0.100 port change back remote and local port number by
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# local server port change back remote and local port number by
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# connection-map interface serial 0/10
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# end
Type the following:
Phoenix_Contact# show serial profile interface serial 0/10
Profile : PROF_10_MOD_CLIENT
Protocol : Modbus
Role : TCP Client
Serial interface : 10
Slaves ID : 1 2 4 5 6 7 8 9
Remote Server IP : 192.168.0.100
Remote Server Port : 502
Local Client Port : 502
Serial byte counter : 0
Server byte counter : 0
Connection to server : YES
Reconnect Timeout (sec) : 15
KeepAlive interval (sec): 60
Forward exceptions : 1
Response time (msec) : 50
RXed from master msg : 0
TXed to master messages : 0
RXed from slave msg : 0
TXed to slave msg : 0
Exceptions created : 0
DSCP : 29
Turnaround delay(msec) : 0
Hold time(msec) : 0
Rx-to-Tx delay : 0
Type the following:
Phoenix_Contact# configure terminal
Phoenix_Contact(config)# serial connection-type modbus profile PROF_10_MOD_CLIENT
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT)# role client
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# no connection-map
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# keep-alive timeout 60
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# connection-map interface serial 0/10
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# end
Type the following:
Phoenix_Contact# show serial profile interface serial 0/10
Profile : PROF_10_MOD_CLIENT
Protocol : Modbus
Role : TCP Client
Serial interface : 10
Slaves ID : 1 2 4 5 6 7 8 9
Remote Server IP : 192.168.0.100
Remote Server Port : 502
Local Client Port : 502
Serial byte counter : 0
Server byte counter : 0
Connection to server : YES
Reconnect Timeout (sec) : 4
KeepAlive interval (sec): 60
Forward exceptions : 1
Response time (msec) : 2000
RXed from master msg : 0
TXed to master messages : 0
RXed from slave msg : 0
TXed to slave msg : 0
Exceptions created : 0
DSCP : 0
Turnaround delay(msec) : 0
Hold time(msec) : 0
Rx-to-Tx delay : 0
Type the following:
Type the following:
Phoenix_Contact# show serial profile interface serial 0/10
Profile : PROF_10_MOD_CLIENT
Protocol : Modbus
Role : TCP Client
Serial interface : 10
Slaves ID : 1 2 4 5 6 7 8 9
Remote Server IP : 192.168.0.100
Remote Server Port : 15010
Local Client Port : 15010
Serial byte counter : 0
Server byte counter : 0
Connection to server : NO
Reconnect Timeout (sec) : 4
KeepAlive interval (sec): 60
Forward exceptions : 1
Response time (msec) : 2000
RXed from master msg : 0
TXed to master messages : 0
RXed from slave msg : 0
TXed to slave msg : 0
Exceptions created : 0
DSCP : 0
Turnaround delay(msec) : 0
Hold time(msec) : 0
Rx-to-Tx delay : 0
Type the following:
Type the following:
Type the following:
Type the following:
Type the following:
Phoenix_Contact# show serial profile interface serial 0/10
Profile : PROF_10_MOD_CLIENT
Protocol : Modbus
Role : TCP Client
Serial interface : 10
Slaves ID :
Remote Server IP : 192.168.0.100
Remote Server Port : 502
Local Client Port : 502
Serial byte counter : 0
Server byte counter : 0
Connection to server : YES
Reconnect Timeout (sec) : 15
KeepAlive interval (sec): 240
Forward exceptions : 1
Response time (msec) : 1000
RXed from master msg : 0
TXed to master messages : 0
RXed from slave msg : 0
TXed to slave msg : 0
Exceptions created : 1
DSCP : 0
Turnaround delay(msec) : 0
Hold time(msec) : 0
Rx-to-Tx delay : 0
Type the following:
Phoenix_Contact# configure terminal
Phoenix_Contact(config)# serial connection-type modbus profile PROF_10_MOD_CLIENT
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT)# role client
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# no connection-map
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# add slave-id 1,2,3,4,5,6,7,8,9,247
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# connection-map interface serial 0/10
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# end
Type the following:
Phoenix_Contact# show serial profile interface serial 0/10
Profile : PROF_10_MOD_CLIENT
Protocol : Modbus
Role : TCP Client
Serial interface : 10
Slaves ID : 1 2 3 4 5 6 7 8 9 247
Remote Server IP : 192.168.0.100
Remote Server Port : 502
Local Client Port : 502
Serial byte counter : 0
Server byte counter : 0
Connection to server : NO
Reconnect Timeout (sec) : 15
KeepAlive interval (sec): 240
Forward exceptions : 1
Response time (msec) : 1000
RXed from master msg : 0
TXed to master messages : 0
RXed from slave msg : 0
TXed to slave msg : 0
Exceptions created : 0
DSCP : 0
Turnaround delay(msec) : 0
Hold time(msec) : 0
Rx-to-Tx delay : 0
Perform the following.
Perform the following.
Perform the following.
Type the following:
Phoenix_Contact# show serial profile interface serial 0/10
Profile : PROF_10_MOD_CLIENT
Protocol : Modbus
Role : TCP Client
Serial interface : 10
Slaves ID : 1 2 3 4 5 6 7 8 9 247
Remote Server IP : 192.168.0.100
Remote Server Port : 502
Local Client Port : 502
Serial byte counter : 0
Server byte counter : 0
Connection to server : YES
Reconnect Timeout (sec) : 4
KeepAlive interval (sec): 240
Forward exceptions : 1
Response time (msec) : 2000
RXed from master msg : 1
TXed to master messages : 1
RXed from slave msg : 1
TXed to slave msg : 1
Exceptions created : 0
DSCP : 0
Turnaround delay(msec) : 0
Hold time(msec) : 0
Rx-to-Tx delay : 0
Perform the following.
Perform the following.
Perform the following.
Perform the following.
Type the following:
Phoenix_Contact# show serial profile interface serial 0/10
Profile : PROF_10_MOD_CLIENT
Protocol : Modbus
Role : TCP Client
Serial interface : 10
Slaves ID : 1 2 3 4 5 6 7 8 9 247
Remote Server IP : 192.168.0.100
Remote Server Port : 502
Local Client Port : 502
Serial byte counter : 0
Server byte counter : 0
Connection to server : YES
Reconnect Timeout (sec) : 4
KeepAlive interval (sec): 240
Forward exceptions : 1
Response time (msec) : 2000
RXed from master msg : 2
TXed to master messages : 2
RXed from slave msg : 2
TXed to slave msg : 2
Exceptions created : 0
DSCP : 0
Turnaround delay(msec) : 0
Hold time(msec) : 0
Rx-to-Tx delay : 0
Perform the following.
Perform the following.
Perform the following.
Type the following:
Phoenix_Contact# show serial profile interface serial 0/10
Profile : PROF_10_MOD_CLIENT
Protocol : Modbus
Role : TCP Client
Serial interface : 10
Slaves ID : 1 2 3 4 5 6 7 8 9 247
Remote Server IP : 192.168.0.100
Remote Server Port : 502
Local Client Port : 502
Serial byte counter : 0
Server byte counter : 0
Connection to server : YES
Reconnect Timeout (sec) : 4
KeepAlive interval (sec): 240
Forward exceptions : 1
Response time (msec) : 2000
RXed from master msg : 3
TXed to master messages : 3
RXed from slave msg : 3
TXed to slave msg : 3
Exceptions created : 1
DSCP : 0
Turnaround delay(msec) : 0
Hold time(msec) : 0
Rx-to-Tx delay : 0
Perform the following.
Perform the following.
The following appears:
[SER_IP_DBG] : SerialIpModbusValidateSerialMsg(), CRC missmatch, received: 0xd408, calculated: 0xd409
[SER_IP_DBG] : SerialIpModbusTcpClientSerialFdProc(): request serial message at serial 10 is invalid, ignoring
Type the following:
Phoenix_Contact# configure terminal
Phoenix_Contact(config)# serial connection-type modbus profile PROF_10_MOD_CLIENT
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT)# role client
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# no connection-map
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# forward-exception disable
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# connection-map interface serial 0/10
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# end
Type the following:
Phoenix_Contact# show serial profile interface serial 0/10
Profile : PROF_10_MOD_CLIENT
Protocol : Modbus
Role : TCP Client
Serial interface : 10
Slaves ID : 1 2 3 4 5 6 7 8 9 247
Remote Server IP : 192.168.0.100
Remote Server Port : 502
Local Client Port : 502
Serial byte counter : 0
Server byte counter : 0
Connection to server : NO
Reconnect Timeout (sec) : 4
KeepAlive interval (sec): 60
Forward exceptions : NO
Response time (msec) : 2000
RXed from master msg : 0
TXed to master messages : 0
RXed from slave msg : 0
TXed to slave msg : 0
Exceptions created : 0
DSCP : 0
Turnaround delay(msec) : 0
Hold time(msec) : 0
Rx-to-Tx delay : 0
Perform the following:
Phoenix_Contact# configure terminal
Phoenix_Contact(config)# serial connection-type modbus profile PROF_10_MOD_CLIENT
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT)# role client
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# no connection-map
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# forward-exception enable
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# connection-map interface serial 0/10
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# end
Perform the following:
Phoenix_Contact# configure terminal
Phoenix_Contact(config)# serial connection-type modbus profile PROF_10_MOD_CLIENT
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT)# role client
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# no connection-map
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# DSCP 28
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# connection-map interface serial 0/10
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# end
Type the following:
Phoenix_Contact# show serial profile interface serial 0/10
Profile : PROF_10_MOD_CLIENT
Protocol : Modbus
Role : TCP Client
Serial interface : 10
Slaves ID : 1 2 3 4 5 6 7 8 9 247
Remote Server IP : 192.168.0.100
Remote Server Port : 502
Local Client Port : 502
Serial byte counter : 0
Server byte counter : 0
Connection to server : NO
Reconnect Timeout (sec) : 4
KeepAlive interval (sec): 60
Forward exceptions : NO
Response time (msec) : 2000
RXed from master msg : 0
TXed to master messages : 0
RXed from slave msg : 0
TXed to slave msg : 0
Exceptions created : 0
DSCP : 28
Turnaround delay(msec) : 0
Hold time(msec) : 0
Rx-to-Tx delay : 0
Perform the following:
Phoenix_Contact# configure terminal
Phoenix_Contact(config)# serial connection-type modbus profile PROF_10_MOD_CLIENT
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT)# role client
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# no connection-map
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# remove slave-id 1,3,247
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# connection-map interface serial 0/10
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# end
Type the following:
Phoenix_Contact# show serial profile interface serial 0/10
Profile : PROF_10_MOD_CLIENT
Protocol : Modbus
Role : TCP Client
Serial interface : 10
Slaves ID : 2 4 5 6 7 8 9
Remote Server IP : 192.168.0.100
Remote Server Port : 502
Local Client Port : 502
Serial byte counter : 0
Server byte counter : 0
Connection to server : NO
Reconnect Timeout (sec) : 4
KeepAlive interval (sec): 60
Forward exceptions : NO
Response time (msec) : 2000
RXed from master msg : 0
TXed to master messages : 0
RXed from slave msg : 0
TXed to slave msg : 0
Exceptions created : 0
DSCP : 28
Turnaround delay(msec) : 0
Hold time(msec) : 0
Rx-to-Tx delay : 0
Perform the following:
Phoenix_Contact# configure terminal
Phoenix_Contact(config)# serial connection-type modbus profile PROF_10_MOD_CLIENT
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT)# role client
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# no connection-map
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# add slave-id 1
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# connection-map interface serial 0/10
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# end
Type the following:
Phoenix_Contact# show serial profile interface serial 0/10
Profile : PROF_10_MOD_CLIENT
Protocol : Modbus
Role : TCP Client
Serial interface : 10
Slaves ID : 1 2 4 5 6 7 8 9
Remote Server IP : 192.168.0.100
Remote Server Port : 502
Local Client Port : 502
Serial byte counter : 0
Server byte counter : 0
Connection to server : NO
Reconnect Timeout (sec) : 4
KeepAlive interval (sec): 60
Forward exceptions : NO
Response time (msec) : 2000
RXed from master msg : 0
TXed to master messages : 0
RXed from slave msg : 0
TXed to slave msg : 0
Exceptions created : 0
DSCP : 28
Turnaround delay(msec) : 0
Hold time(msec) : 0
Rx-to-Tx delay : 0
Perform the following.
Perform the following.
Type the following:
Phoenix_Contact# configure terminal
Phoenix_Contact(config)# serial connection-type modbus profile PROF_10_MOD_CLIENT
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT)# role client
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# no connection-map
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# response-timeout 50
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# connection-map interface serial 0/10
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# end
Type the following:
Phoenix_Contact# show serial profile interface serial 0/10
Profile : PROF_10_MOD_CLIENT
Protocol : Modbus
Role : TCP Client
Serial interface : 10
Slaves ID : 1 2 4 5 6 7 8 9
Remote Server IP : 192.168.0.100
Remote Server Port : 502
Local Client Port : 502
Serial byte counter : 0
Server byte counter : 0
Connection to server : NO
Reconnect Timeout (sec) : 4
KeepAlive interval (sec): 60
Forward exceptions : NO
Response time (msec) : 50
RXed from master msg : 0
TXed to master messages : 0
RXed from slave msg : 0
TXed to slave msg : 0
Exceptions created : 0
DSCP : 0
Turnaround delay(msec) : 0
Hold time(msec) : 0
Rx-to-Tx delay : 0
Type the following:
Phoenix_Contact# configure terminal
Phoenix_Contact(config)# serial connection-type modbus profile PROF_10_MOD_CLIENT
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT)# role client
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# no connection-map
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# end
Phoenix_Contact # configure terminal
Phoenix_Contact(config)# interface serial 0/10
Phoenix_Contact(config-serial-if)# turnaround delay 1000
Phoenix_Contact(config-serial-if)# no shutdown
Phoenix_Contact(config-serial-if)# end
Phoenix_Contact # configure terminal
Phoenix_Contact(config)# serial connection-type modbus profile PROF_10_MOD_CLIENT
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT)# role client
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# connection-map interface serial 0/10
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# end
Type the following:
Phoenix_Contact# show serial profile interface serial 0/10
Profile : PROF_10_MOD_CLIENT
Protocol : Modbus
Role : TCP Client
Serial interface : 10
Slaves ID : 1 2 4 5 6 7 8 9
Remote Server IP : 192.168.0.100
Remote Server Port : 502
Local Client Port : 502
Serial byte counter : 0
Server byte counter : 0
Connection to server : NO
Reconnect Timeout (sec) : 4
KeepAlive interval (sec): 60
Forward exceptions : NO
Response time (msec) : 50
RXed from master msg : 0
TXed to master messages : 0
RXed from slave msg : 0
TXed to slave msg : 0
Exceptions created : 0
DSCP : 0
Turnaround delay(msec) : 1000
Hold time(msec) : 0
Rx-to-Tx delay : 0
Type the following:
Phoenix_Contact# configure terminal
Phoenix_Contact(config)# serial connection-type modbus profile PROF_10_MOD_CLIENT
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT)# role client
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# no connection-map
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# end
Phoenix_Contact# configure terminal
Phoenix_Contact(config)# interface serial 0/10
Phoenix_Contact(config-serial-if)# hold-time 100
Phoenix_Contact(config-serial-if)# no shutdown
Phoenix_Contact(config-serial-if)# end
Phoenix_Contact# configure terminal
Phoenix_Contact(config)# serial connection-type modbus profile PROF_10_MOD_CLIENT
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT)# role client
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# connection-map interface serial 0/10
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# end
Type the following:
Phoenix_Contact# show serial profile interface serial 0/10
Profile : PROF_10_MOD_CLIENT
Protocol : Modbus
Role : TCP Client
Serial interface : 10
Slaves ID : 1 2 4 5 6 7 8 9
Remote Server IP : 192.168.0.100
Remote Server Port : 502
Local Client Port : 502
Serial byte counter : 0
Server byte counter : 0
Connection to server : NO
Reconnect Timeout (sec) : 4
KeepAlive interval (sec): 60
Forward exceptions : NO
Response time (msec) : 50
RXed from master msg : 0
TXed to master messages : 0
RXed from slave msg : 0
TXed to slave msg : 0
Exceptions created : 0
DSCP : 0
Turnaround delay(msec) : 1000
Hold time(msec) : 100
Rx-to-Tx delay : 0
Type the following:
Phoenix_Contact# configure terminal
Phoenix_Contact(config)# serial connection-type modbus profile PROF_10_MOD_CLIENT
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT)# role client
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# no connection-map
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# end
Phoenix_Contact# configure terminal
Phoenix_Contact(config)# interface serial 0/10
Phoenix_Contact(config-serial-if)# hold-time 100
Phoenix_Contact(config-serial-if)# turnaround delay 0
Phoenix_Contact(config-serial-if)# rx-to-tx delay 1000
Phoenix_Contact(config-serial-if)# no shutdown
Phoenix_Contact(config-serial-if)# end
Phoenix_Contact# configure terminal
Phoenix_Contact(config)# serial connection-type modbus profile PROF_10_MOD_CLIENT
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT)# role client
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# connection-map interface serial 0/10
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# end
Type the following:
Phoenix_Contact# show serial profile interface serial 0/10
Profile : PROF_10_MOD_CLIENT
Protocol : Modbus
Role : TCP Client
Serial interface : 10
Slaves ID : 1 2 4 5 6 7 8 9
Remote Server IP : 192.168.0.100
Remote Server Port : 502
Local Client Port : 502
Serial byte counter : 0
Server byte counter : 0
Connection to server : NO
Reconnect Timeout (sec) : 4
KeepAlive interval (sec): 60
Forward exceptions : NO
Response time (msec) : 50
RXed from master msg : 0
TXed to master messages : 0
RXed from slave msg : 0
TXed to slave msg : 0
Exceptions created : 0
DSCP : 0
Turnaround delay(msec) : 0
Hold time(msec) : 0
Rx-to-Tx delay : 1000
Type the following:
Phoenix_Contact# configure terminal
Phoenix_Contact(config)# no serial profile PROF_10_MOD_CLIENT
Phoenix_Contact(modbus-PROF_10_MOD_CLIENT-client)# end
Phoenix_Contact# configure terminal
Phoenix_Contact(config)# interface serial 0/10
Phoenix_Contact(config-serial-if)# shutdown
Phoenix_Contact(config-serial-if)# rx-to-tx delay 0
Phoenix_Contact(config-serial-if)# no shutdown
Phoenix_Contact(config-serial-if)# end