It’s possible to modify the TCP/IP settings of the PCD directly trough the application program of the PCD?

FAQ #100522

Yes it’s possible to modify the TCP/IP settings like “IP Address”, “Subnet Mask” or “Default Router” of the PCD trough the application program.

The change of the TCP/IP settings can be performed during start up of the PCD (XOB 16) or during the normal program cycle (COB).

Either you can use the F-Box 'Write IP configuration', from the family System information available since PG5 1.4 or
you could use the IL CSF function S.IPD.SetLocalIPConfig then you are able to change the TCP/IP trough the application program.

CSF    S.IPD.Library

            S.IPD.SetLocalIPConfig

            IPAddrTxt                    ; IP-Address of the IP Configuration (Register or Text)

            SubnetMask                ; Subnet Mask of the IP Configuration 
                                                 (Register or Text)

            DefaultGateway          ; Default Gateway of the IP Configuration 
                                                 (Register or Text) 

To know how to use CSF function please look at the PG5 example.

Remarks:

Change of the parameter “IP Address”:

Independent if the PCD is equipped with PCD7.F650 or PCD7.F655:

The parameter “IP Address” can be changed trough the application program.

The new setting for the “IP Address” is taken in account immediately after the execution of the CSF instruction.
No power off/on of the PCD is required to activate the new settings.

Change of the parameters “Subnet Mask” or “Default Router”:

If the PCD is equipped with a PCD7.F650:

  • It’s only possible to change the parameters “Subnet Mask” or “Default Router” trough the application program if on the PCD either no extension memory is plugged or if a RAM extension memory is plugged on the PCD.
  • If the PCD is equipped with EPROM or Flash extension memory then the parameters “Subnet Mask” or “Default Router” can’t be changed trough the application program.
  • After the execution of the CSF instruction the new settings of “Subnet Mask” or “Default Router” are not taken in account from the PCD7.F650 module until the PCD is powerd off/on.
  • To activate the new settings of “Subnet Mask” or “Default Router” a power off/on of the PCD is required.

If the PCD is equipped with a PCD7.F655 or on PCD1.M0/M2 PCD2.M5, PCD3 CPU's:

  • It’s possible to change the parameters “Subnet Mask” or “Default Router” independent of the type of extension memory or if a extension memory is equipped or not.
  • The new setting for the “Subnet Mask” or “Default Router” are taken in account immediately after the execution of the CSF instruction.
  • No power off/on of the PCD is required to activate the new settings.

List of needed FW versions which support the change of the TCP/IP settings:

PCD Type
$ Version
Official version
PCD1.M1_0
---
---
PCD1.M1_5
$A3
0A2
PCD2.M150
$1H
0D0
PCD2/4.M170
$A4
020
PCD2.M480
$25
PCD3.M3/5
$1D

Categories

PCD7 / Fxxx

Communication / Ether-S-Bus

Last update: 20.05.2015 20:23

First release: 01.02.2006 15:35

Views: 6283

The requested software / document is no longer marketed by Saia-Burgess Controls AG and without technical support. It is an older software version which can be operated only on certain now no longer commercially available products.

Download