installation

102
Software Description Advant Controller 31 Intelligent Decentralized Automation System Installation / Special Functions ABB Schalt- und Steuerungstechnik 07 KT 97 07 KP 90 07 DC 92 07 AC 91

Upload: mivarv

Post on 26-Dec-2015

24 views

Category:

Documents


0 download

DESCRIPTION

Advant Controller 31

TRANSCRIPT

Page 1: Installation

Software Description Advant Controller 31Intelligent DecentralizedAutomation System

Installation /Special Functions

ABB Schalt-und Steuerungstechnik

07 KT 9707 KP 90

07 DC 92

07 AC 91

Page 2: Installation
Page 3: Installation

1907 AC 1131/Issue: 07/00 Contents 4

Contents

1 907 AC 1131 installation ........................................................................................... 1-1

1.1 Installation disc...................................................................................................... 1-1

1.2 Necessary files...................................................................................................... 1-11.2.1 Important parameters in the INI file AC1131.INI................................................... 1-4

1.3 Uninstalling the software ....................................................................................... 1-6

1.4 Installing ARCNET cards using Windows NT........................................................ 1-71.4.1 ARCNET card for desktop PC using Windows NT ............................................... 1-71.4.2 ARCNET PC card for notebooks using Windows NT (without PCMCIA cards) .... 1-81.4.3 ARCNET PC card for notebooks using Windows NT (with PCMCIA cards) ......... 1-101.4.4 Uninstalling the ARCNET driver ........................................................................... 1-11

1.5 Installing ARCNET cards using Win95/98 SE ....................................................... 1-121.5.1 ARCNET card for desktop PC using Win95/98 SE............................................... 1-121.5.2 ARCNET card for notebook PC using Win95/98 SE ............................................ 1-13

2 Special functions of the software 907 AC 1131 ...................................................... 2-1

2.1 What’s new in version V4.1 ................................................................................... 2-1

2.2 Creating a "new" project for the controller 07 KT 97 ............................................. 2-2

2.3 Entering the PLC into the controller configuration ................................................. 2-162.3.1 How to enter the PLC into the controller configuration ......................................... 2-172.3.2 Changing the PLC for a project ............................................................................ 2-182.3.3 Configuration files for the controllers .................................................................... 2-19

2.4 Menus which are not described in the operating instructions................................ 2-222.4.1 Menus in the main menu "Online" ........................................................................ 2-222.4.2 The PLC browser ................................................................................................. 2-24

2.5 Peculiarities for forcing and overwriting in version V4.1"....................................... 2-27

2.6 Peculiarities of batch operation in version V4.1..................................................... 2-30

2.7 Notes concerning frequently asked questions....................................................... 2-322.7.1 Project protection for logging in to the controller .................................................. 2-322.7.2 RETAIN variables - note for program change....................................................... 2-332.7.3 Creating and modifying your own library .............................................................. 2-38

Page 4: Installation

2 907 AC 1131/Issue: 07/00Contents4

3 Importing projects from 907 PC 331 ........................................................................3-1

3.1 Introduction............................................................................................................3-1

3.2 Creating the ASCII files for the program and variables using 907 PC 331 ............3-13.2.1 Creating an ASCII file of the variables list.............................................................3-23.2.2 Creating an ASCII file of the program (IL).............................................................3-4

3.3 Importing the programs to 907 AC 1131................................................................3-63.3.1 Sequence of steps to import the program to 907 AC 1131 ...................................3-63.3.2 Importing the variables to 907 AC 1131................................................................3-73.3.3 Importing the programs to 907 AC 1131...............................................................3-83.3.4 Importing the step chains......................................................................................3-9

3.4 Reworking programs..............................................................................................3-10

4 Notes concerning the OPC server ...........................................................................4-1

4.1 Installing the OPC server.......................................................................................4-14.1.1 Server settings......................................................................................................4-24.1.2 Selecting the variables in the programming software 907 AC 1131......................4-5

4.2 Testing the OPC server .........................................................................................4-74.2.1 Testing the starting behavior and parallel operation .............................................4-74.2.2 Preparing the dynamic tests .................................................................................4-84.2.3 Testing using VisiWin client ..................................................................................4-94.2.4 Testing using WIZCON client................................................................................4-11

4.3 Test results ............................................................................................................4-134.3.1 VisiWin test row 1 .................................................................................................4-134.3.2 VisiWin test row 2 .................................................................................................4-164.3.3 Wizcon test row 1 .................................................................................................4-204.3.4 Wizcon test row 2 .................................................................................................4-23

5 Index ........................................................................................................................... I

Page 5: Installation

1-1907 AC 1131/Issue: 07/00 Installation 4

1 907 AC 1131 installation

1.1 Installation disc

Insert the CD into your CD-ROM drive and follow the setup instructions.

Caution:If you want to use programming via ARCNET, you must install the ARCNET card first.The installation of the ARCNET driver is described in section 1.3.

1.2 Necessary files

With the installation the following files for 907 AC 1131 are installed on your PC:

Directory 907 AC 1131:AC1131.EXE executable file of 907 AC 1131AC1131.HLP help file for 907 AC 1131 operating instructionsAC1131.CNT required for help fileSPEZ_S90.HLP help file for special functionsSPEZ_S90.CNT required for help fileBibliotheken.HLP help file providing library overviewBibliotheken.CNT required for help fileBase_S90.HLP help file for basic block libraryBase_S90.CNT required for help fileRCOM_S90.HLP help file for RCOM libraryRCOM_S90.CNT required for help fileARCNET_S90.HLP help file for ARCNET libraryARCNET_S90.CNT required for help fileCS31_S90.HLP help file for CS31 libraryCS31_S90.CNT required for help fileCOM_S90.HLP help file for COM libraryCOM_S90.CNT required for help fileDatenablage_S90.HLP help file for data storage libraryDatenablage_S90.CNT required for help fileSystemInfo_S90.HLP help file for system information librarySystemInfo_S90.CNT required for help filePROFIBUS_S90.HLP help file for PROFIBUS libraryPROFIBUS_S90.CNT required for help fileSYSTEM40.HLP help file for system technologySYSTEM40.CNT required for help fileD2HTLS32.DLL DLL for online helpABB.DFR example print layoutABB_DFR.BMP ABB logo for print layoutBROWSERINIFILE.INI ini file for PLC browserAC1131.INI ini file for AC1131.EXE (copy of WINNT)CoDeSysOPC.EXE OPC serverOPCCFG.EXE gateway configurator for OPC serverOCS_PROXY.DLL DLL for OPC server

Page 6: Installation

1-2 907 AC 1131/Issue: 07/00Installation4

Subdirectory Library:IEC_S90_V41.LIB standard IEC library for series 90IECSFC_S90_V41.LIB IEC sequencial steps for series 90Base_S90_V41.LIB basic block library for series 90RCOM_S90_V41.LIB RCOM/RCOM+ block library for series 90ARCNET_S90_V41.LIB ARCNET block library for series 90CS31_S90_V41.LIB blocks for CS31 bus for series 90COM_S90_V41.LIB blocks for serial communication for series 90Datenablage_S90_V41.LIB blocks for SMC and FLASH for series 90SystemInfo_S90_V41.LIB blocks for system information for series 90Coupler_S90_V41.LIB basic coupler routines library for series 90PROFIBUS_S90_V41.LIB PROFIBUS library for series 90ABB-BIB4.LIB ABB block library (in V4.1 for importing a project)*.BMP bitmaps for IEC function blocksAUSLAST.EXP import file for capacity utilization flagFEHLER_M.EXP import file for error flagSY_CONST.EXP import file for system constantsSTEP_VAR.EXP import file for importing step chains from 907 PC 331KT98_ONB.EXP import file for 07 KT 98 / binary and analog I/OsKT97_DEA.EXP import file for 07 KT 97 / only digital inputs/outputsKT97_ONB.EXP import file for 07 KT 97 / binary and analog I/OsKT96_ONB.EXP import file for 07 KT 96 / binary and analog I/OsKT95_ONB.EXP import file for 07 KT 95 / binary and analog I/Os

Subdirectory Library \ Save_V40:STANDARD.LIB 907 AC 1131 standard librarySTANDARD.OBJ OBJ file of STANDARD.LIBIECSFC.LIB library for IEC sequential function chart (SFC)ABB-BIB4.LIB library for ABB blocks V4.0RCOM_V40.LIB library for RCOM/RCOM+ blocksRCOM_V40.OBJ library for OBJ file of RCOM/RCOM+ blocksCIF104.LIB basic coupler routines libraryPROFI_40.LIB PROFIBUS library

Subdirectory Library \ PLCCONFBrowserIniFile.TRG command file for PLC browserCPUABB.SEL additional file for PLC selection*.CON configuration files for PLCs*.DIB logos for PROFIBUS*.GSD modules master data files for PROFIBUS, default*.GSE modules master data files for PROFIBUS, english*.GSG modules master data files for PROFIBUS, german

Subdirectory PROJEKTEBSPDT.PRO example program for editorsAMPEL.PRO example program from documentationABB_LEER.PRO empty project for importing projects created with

907 PC 331

The subdirectory PROJEKTE contains further additional subdirectories with exampleprojects, e.g. for the connection of terminals.

Page 7: Installation

1-3907 AC 1131/Issue: 07/00 Installation 4

Files in directory: WINNT\SYSTEM32 (for operating system Windows NT from V4.0onwards)or WINDOWS/SYSTEM (for operating system Windows 95 or Windows 98 SE)GATEWAY.EXE GATEWAY for communication DLLCOMMSYM.DLL communication DLLCOMMUSR.DLL communication DLLGCLIENT.DLL communication DLLGDRVBASE.DLL communication DLLGDRVSTD.DLL communication DLLGSYMBOL.DLL communication DLLGUTIL.DLL communication DLLGDRVABBARCNET.DLL ABB ARCNET driver DLLGDRVABBRS232.DLL ABB RS232 driver DLLARCNET32.DLL ARCNET DLL for Windows NT4.0GARCNET3F4F.DLL ARCNET DLL for 3F and 4F protocols

Subdirectory ARCNET\ARCNET_NT\Treiber: (SOHARD ARCNET NT driver)FARC ARCNET NT driver V4.0 (SOHARD)SIMPLE.C licence: 34687-2-304-2710-0105877UARCINST.DLLSIMPLE.EXEFARC.HARCNET.HLPOEMSETUP.INFFARC.SYSPCM20_NT.REG registry file for PCMCIA card

Subdirectory ARCNET\ARCNET_NT:ARCNET32.DLL ARCNET DLL for Windows NT4.0

Subdirectory ARCNET\ARCNET_95_98\Treiber: (SoHard ARCNET 95/98 drivers)arcread.exe DOS test program for telegram receptionarcsend.exe DOS test program for telegram transmissionarcread.cpp source of arcread.exearcsend.cpp source of arcsendfarc.h header file for driversfarc20.reg registry file for driversinstall.bat batch file for installationreadme.txt help fileInstall.pif required for installationFARC20.VXD ARCNET driver for Windows 95 / 98ARCNET32.DLL ARCNET DLL for Windows 95 and Windows 98 SE

Subdirectory ARCNET \ ARCNET_95_98 \ PCMCIA:findpcm20.exe auxiliary program for I/O addresspcm20.inf required for installationpcm20.vxd PCMCIA card driver for Windows 95 / 98pcmenabler.exereadme.txt Notes concerning PCMCIA card installation

Page 8: Installation

1-4 907 AC 1131/Issue: 07/00Installation4

1.2.1 Important parameters in the INI file AC1131.INI

The initialization file AC1131.INI for the 907 AC 1131 software is written to the system directoryWINNT\System32 (for operating system Windows NT from V4.0 onwards)orWINDOWS\System (for operating system Windows 95 / 98 SE)together with the software. A copy of the file is written to the program root directory of the907 AC 1131 software.

Caution:In order to keep the capability of undoing faulty modifications always create a copy ofthe file before performing any modifications to this file.

Most of the parameters are automatically updated or entered together with the 907 AC 1131software. Parameters which are relevant for the user are described below. These parametersare:

- InitZero=No- DebugCode=Yes- KT94WaitTime=2200- UpdateRate=200- Autoload=Yes- LibraryDir=c:\Programme\AC1131\library- ProjectsDir=c:\Programme\AC1131\Projekte- ImportExportDir=c:\Programme\AC1131\Library\- DocuframeDir=c:\Programme\AC1131- TraceDir=c:\Programme\AC1131\Projekte- WatchDir=c:\Programme\AC1131\Projekte- Project0=c:\Programme\AC1131\Projekte\Ein_Ausgang.pro- Project1=c:\Programme\AC1131\Projekte\Bspdt.pro- Project2=c:\Programme\AC1131\Projekte\Ampel.pro

Parameter InitZero:

If InitZero=Yes, initialization code is created for all variables (including all variables which areinitialized by zero or FALSE). In this case the program code becomes considerably larger. IfInitZero=No, initialization code is only created for variables which are initialized by TRUE or notequal to zero. When the controller is started the non-buffered memory areas are initialized byzero (see volume 3 - System technology, Initialization and buffering of data areas).Default value: InitZero=No

Page 9: Installation

1-5907 AC 1131/Issue: 07/00 Installation 4

Parameter DebugCode:

Code for which all the online functions such as breakpoint, single step, etc. are possible is onlycreated if the setting is DebugCode=Yes. If the parameter is set to DebugCode=No the programcode is becoming smaller but the program cannot be tested any more using all online functions.Default value: DebugCode=Yes

Parameter KT94WaitTime:

The parameter KT94WaitTime is used to set the wait time until a communication error isreported in case of serial communication disturbances.Default value: KT94WaitTime=2200 (corresponds to approx. 10 sec.)

Parameter UpdateRate:

The parameter UpdateRate is used to set the refresh time in milliseconds for the variables.Default value: UpdateRate=200 (smaller values are not possible)

Parameter Autoload:

If Autoload=Yes the project opened last is automatically opened again when the 907 AC 1131 isstarted. For batch operation on read-only projects this parameter must be set to Autoload=No(refer to section "Peculiarities of batch operation in version V4.1").Default value: Autoload=Yes

Parameter LibraryDir:

This parameter is used to set the library path. The parameter is set to"Projekt/Optionen/Verzeichnisse/Bibliotheken".Default value: LibraryDir=c:\Programme\AC1131\Library

Parameter ProjectsDir:

This parameter is used to set the project path.Default value: ProjectsDir=c:\Programme\AC1131\Projekte

Parameter ImportExportDir:

The parameter ImportExportDir is used to set the path for *.exp files.Default value: ImportExportDir=c:\Programme\AC1131\Library\

Parameter DocuframeDir:

The parameter DocuframeDir is used to set the path for the online help system files.Default value: DocuframeDir=c:\Programme\AC1131

Page 10: Installation

1-6 907 AC 1131/Issue: 07/00Installation4

Parameter TraceDir:

The parameter TraceDir is used to set the path for trace files.Default value: TraceDir=c:\Programme\AC1131\Projekte

Parameter WatchDir:

The parameter WatchDir is used to set the path for the watch lists *.WTC.Default value: WatchDir=c:\Programme\AC1131\Projekte

Parameter Project0..Project9:

The file names of the projects opened last and their paths are entered to the parametersProject0 ..Project8. If Autoload=Yes the project in parameter Project0 is loaded when startingthe 907 AC 1131 software.Example: Project0=c:\Programme\AC1131\Projekte\Ein_Ausgang.pro

Note:The parameters Project0.. can be deleted in case a project cannot be opened anymore.

1.3 Uninstalling the software

Before you can uninstall the 907 AC 1131 software you must exit the software and the gateway.In order to close the gateway, click with the right mouse button on the 907 AC 1131 icon in thestatus bar of the operating system and select "Exit".

To uninstall the software in Windows NT:- select "Start" => "Settings" => "Control Panel"- double click on the "Software" icon- select "AC1131"- click on the "Add/Remove" button and confirm the uninstall confirmation dialog with "Yes".

All files and directories created during the installation are deleted. If you have modified anydirectories and / or their content, these directories are not deleted.

Page 11: Installation

1-7907 AC 1131/Issue: 07/00 Installation 4

1.4 Installing ARCNET cards using Windows NT

1.4.1 ARCNET card for desktop PC using Windows NT

For programming a PLC via ARCNET using Windows NT 4.0, SoHard’s FARC E3 card (ISAcard) and FASRC.SYS driver can be used.

On the card, set the I/O range and the interrupt IRQ according to the enclosed documentation.

Note:The factory settings are applicable.(I/O address = 120 hex, IRQ = 10, KOAX mode, 2.5 MHz).

Copy the content of the 907 AC 1131 programming software subdirectory � ARCNET\ARCNET_NT\Treiberfrom your PC to an empty floppy disk without any subdirectory!!!

Copy the file ARCNET32.DLL in the 907 AC 1131 programming software subdirectory � ARCNET\ARCNET_NTto the operating system subdirectory System32 (e.g. WINNT\SYSTEM32)!

For installing the driver proceed as follows:

1. Execute Settings=>Control Panel=>Network.

2. In the Control Panel select "Network".

3. Select "Add" => Floppy disk A:.(The installation routine does not permit subdirectories !)

4. Select the option "ISA card", "COM20020".

5. The following settings ("Properties") match with the factory settings:

- Interrupt: IRQ10- IO address: 120 hex (decimal 288)- Mem address: 0- Controller: COM20020- Driver: FARC- Licence number: ABB number: 34687-2-304-2710-0105877

(or request own number from SoHard)

After restarting the computer the settings are applied and the communication should work.

The following problems can occur:

1. The IRQ or the I/O range set is already used by another hardware device on your PC.

This can be checked using:"Programs" => "Administrative Tools" => "Windows NT Diagnostics" => "Resources"

2. The used IRQ is configured for PCI interrupts and not for ISA interrupts. This setting isperformed in the BIOS.

Page 12: Installation

1-8 907 AC 1131/Issue: 07/00Installation4

1.4.2 ARCNET PC card for notebooks using Windows NT (without PCMCIA cards)

For programming the PLC via ARCNET using a notebook Contemporary Control’s PCMCIA-ARCNET adapter PCM 20E can be used (can be obtained from SoHard).

SoHard’s NT (ISA card!!) driver FARC.SYS is used because Contemporary Controls does notprovide a NT driver. During the installation the I/O range and IRQ which NT has assigned to thePCMCIA slot must be predetermined for the driver. The ISA card driver is not able to perform a"normal" PCMCIA configuration with the PCMCIA controller. The driver assumes that thePCMCIA controller can predetermine standard settings for the card.

Proceed as follows if your PC is not yet equipped with PCMCIA cards:

Copy the content of the 907 AC 1131 programming software subdirectory � ARCNET\ARCNET_NT\Treiberfrom your PC to an empty floppy disk without any subdirectory!!!

Copy the file ARCNET32.DLL in the 907 AC 1131 programming software subdirectory � ARCNET\ARCNET_NTto the operating system subdirectory System32 (e.g. WINNT\SYSTEM32)!

Switch-off the computer, insert the PCMCIA card and connect the adapter.

After switching-on the PC and booting Windows NT, select:"Settings" => "Control Panel" => "PC Card (PCMCIA)".

Now the card should be detected in one of the PCMCIA slots as:"Contemporary Control Systems, Inc. PCM20 ARCNET Adapter".

If the card is not detected automatically the card or the PCMCIA controller is faulty.

In the second step some settings in the registry must be entered which tell the SoHard ARCNETISA card driver, that the inserted card is a PCMCIA card. For this purpose, a registry file"PCM20_NT.REG" is provided which contains the most settings correctly. If you double-click onthis file in the Windows NT Explorer you should receive the message

"The information from C:\...\PCM20_NT.REG was entered in the registry".

Restart NT so that the settings become valid. After starting select:"Settings" => "Control Panel" => "PC Card (PCMCIA)".

In"Socket State" => "Properties" => "Resources"

the parameters should be set as follows:- Interrupt Request: 10 (Example)- I/O Range: 300-30F (Example)

Page 13: Installation

1-9907 AC 1131/Issue: 07/00 Installation 4

The values 10 and/or 300-30F are probably different in your system. Note down the values. Itdoes not matter that it is displayed in

"Socket State" => "Properties" => "Drivers"that no driver was installed for this device.

If in"Socket State" => "Properties" => "Resources"

nothing is displayed, your Laptop or your PCMCIA controller is not able to predeterminestandard settings for a PCMCIA card for which no driver was loaded.

In this case the ARCNET PCMCIA controller cannot be used in your system! In order to rule outerrors you should check and if necessary repeat the steps described above. Please contactyour PC supplier.

With the following tested laptops the ARCNET PCMCIA adapter did not work:

- Gateway 2000 Solo- ...

Now install the Farc driver performing the same procedure as for the ISA card (steps 1-5). Forthe bus type you must select "ISA", not PCI, PCMCIA, PnP or anything else. For the I/Oaddress enter the I/O address assigned by NT (in the example above: 300 hex) and also theIRQ (in the example above: 10)! For the Mem memory area select 0, for the controller typeselect "COM20020" as you did for the ISA card, for the driver select FARC and enter yourlicence number.

1. Select "Settings" => "Control Panel" => "Network".2. Double-click on the "Network" icon in the control panel.3. Select "Add" => Floppy disk A:.4. Select the option "ISA card", "COM20020".5. Enter the settings ("Properties"):- Interrupt IRQ: IRQ assigned by NT!!! (in the example: 10)- I/O address: I/O address assigned by NT!!! (in the example: 300hex)- Mem address: 0- Controller: COM20020- Driver: FARC- Licence number: ABB number: 34687-2-304-2710-0105877

(or request own number from SoHard)

After restarting the computer the settings are applied and the communication should work.

Page 14: Installation

1-10 907 AC 1131/Issue: 07/00Installation4

1.4.3 ARCNET PC card for notebooks using Windows NT (with PCMCIA cards)

The installation is described for the Toshiba notebook T460CDX.

Copy the content of the 907 AC 1131 programming software subdirectory � ARCNET\ARCNET_NT\Treiberfrom your PC to an empty floppy disk without any subdirectory!!!

Copy the file ARCNET32.DLL in the 907 AC 1131 programming software subdirectory � ARCNET\ARCNET_NTto the operating system subdirectory System32 (e.g. WINNT\SYSTEM32)!

For installing the PCMCIA ARCNET card proceed as follows:

1. Uninstall the AVM card (FRITZ modem card) if necessaryThe AVM card assigns IRQ5. For uninstalling use SETUP from the CD supplied with the AVMcard.

2. Determine and enter the assignment for ARCNET- Switch-off the computer.- Remove all PCMCIA cards with the exception of the ARCNET card.- Switch-on and reboot the computer.- Check the assignment for PCMCIA ARCNET (IRQ, I/O).

"Settings" => "Control Panel" => "PC Card" => "Contemporary Control Systems" =>"Properties" => "Resources"

3. Now some settings in the registry must be entered which inform the SoHard ARCNET ISAcard driver that the inserted card is a PCMCIA card. For this purpose, a registry file"PCM20_NT.REG" is provided which contains the most settings correctly. If you double-click onthis file in the Windows NT Explorer you should receive the message

"The information from C:\...\PCM20_NT.REG was entered in the registry".

4. Now install the Farc driver performing the same procedure as for the ISA card (steps 1-5).For the bus type you must select "ISA", not PCI, PCMCIA, PnP or anything else. However, forthe I/O address enter the I/O address assigned by NT (in the example above: 300 hex) and alsothe IRQ (in the example above: 10)! For the Mem memory area select 0, for the controller typeselect "COM20020" as you did for the ISA card, for the driver select FARC and enter yourlicence number.

1. Select "Settings" => "Control Panel" => "Network".2. Double-click on the "Network" icon in the control panel.3. Select "Add" => Floppy disk A:.4. Select the option "ISA card", "COM20020".5. Enter the settings ("Properties"):- Interrupt IRQ: IRQ assigned by NT!!! (in the example: 10)- I/O address: I/O address assigned by NT!!! (in the example: 300hex)- Mem address: 0- Controller: COM20020- Driver: FARC- Licence number: ABB number: 34687-2-304-2710-0105877

(or request own number from SoHard)

Page 15: Installation

1-11907 AC 1131/Issue: 07/00 Installation 4

5. Switch off the PC.- Insert the other cards again.- Switch-on and boot the PC.

6. Set the soundcard interrupt to interrupt level 5 (current setting is 11)."Programs" => "Toshiba Utilities" => "Hardware Setup" => "Hardware Options" =>"Sound System"

7. Restart the system.

8. Set network Dlink to IRQ 3 and I/O range 260."Control Panel" => "Network" => "Adapter"

9. Remove Remote Access Service!"Control Panel" => "Network" => "Services"

The settings are valid after restarting the computer. After this installation the network as well asthe ARCNET worked with the Toshiba T460CDX.

1.4.4 Uninstalling the ARCNET driver

To uninstall the driver perform the following steps:

1. Go to"Settings" => "Control Panel" => "Network".

2. Select"Adapter".

3. Select the driver to be removed"ARCNET ISA adapter (20020).

4. Press "Remove".

5. Restart your PC.

Page 16: Installation

1-12 907 AC 1131/Issue: 07/00Installation4

1.5 Installing ARCNET cards using Win95/98 SE

1.5.1 ARCNET card for desktop PC using Win95/98 SE

For programming a PLC via ARCNET using Win95/98 SE, SoHard’s FARC E3 card (ISA card)and FARC20.VXD driver can be used.

On the card, set the I/O range and the interrupt IRQ according to the enclosed documentation.

Note:The factory settings are applicable(I/O address = 120 hex, IRQ = 10, KOAX mode, 2,5 MHz).

For installing the driver proceed as follows:

1. If you need other settings for I/O range or IRQ than the standard settings, edit the fileFARC20.REG in the directory907 AC 1131\ARCNET\AECNET_95_98\Treiber.Do not double click to open! This would already start the registration.The file has the following content:REGEDIT4

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\FARC20]

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\FARC20\Parameters]"IoPortAddress"=dword:00000120"IoPortIrq"=dword:0000000A"Clock"=dword:00000001"LicenceNumber"="0000""ControllerType"="20020""MainVendor"="SOHARD ARC95"Enter hexadecimal values for your I/O address after "IoPortAddress" and for your IRQ after"IoPortIrq".

2. In the following directory double click on the file Install.bat to execute it:907 AC 1131\ARCNET\ARCNET_95_98\TreiberThe driver FARC20.VXD and the file ARCNET32.DLL are copied to the operating systemsubdirectory SYSTEM (e.g. WINDOWS\SYSTEM). The driver is entered to the registry.

3. Reboot your computer.

Using the provided DOS test programs you can test in the MS-DOS shell whether thecommunication with another ARCNET subscriber (e.g. a PLC) works properly.

Page 17: Installation

1-13907 AC 1131/Issue: 07/00 Installation 4

1.5.2 ARCNET card for notebook PC using Win95/98 SE

For programming the PLC via ARCNET using a notebook Contemporary Control’s PCMCIA-ARCNET adapter PCM 20E can be used (can be obtained from SoHard).

SoHard’s Win95/98 SE (ISA card!!) driver FARC20.VXD is used because ContemporaryControls does not provide a driver. During the installation the I/O range and IRQ which Windowshas assigned to the PCMCIA slot must be predetermined for the driver. The ISA card driver isnot able to perform a "normal" PCMCIA configuration with the PCMCIA controller. The driverassumes that the PCMCIA controller can predetermine standard settings for the card.

For installing the PCMCIA ARCNET card proceed as follows:

1. Copy the files located in the directory 907 AC 1131\ARCNET\Windows_95_98\PCMCIA toan empty floppy disk.

2. Switch off your PC and remove all PCMCIA cards.

3. Insert the PCMCIA-ARCNET card PCM 20E.

4. Switch on your computer. It is signalized that a new hardware component was found. Insertthe floppy disk created before and select "Installation from floppy disk". Click on "OK". Nowthe PCMCIA enabler is loaded.

5. Reboot your computer when requested.

6. Note down the I/O range and interrupt values displayed in"Start" => "Settings" => "Control Panel" => "System" => " Device Manager" => "PCM20" =>"Resources".For example, for Win98 SE and a Toshiba Tecra8100 the following is displayed:I/O range: 0240-024F (hex)Interrupt: 10 (dec)

7. In"Start" => "Settings" => "Control Panel" => "PC card (PCMCIA)"you will find e.g. PCM20 - Socket 2.Double click on the entry and go to "Global Settings".If necessary, uncheck the option "Automatic setting" and close the dialog.

Page 18: Installation

1-14 907 AC 1131/Issue: 07/00Installation4

8. Edit the file FARC20.REG in the directory907 AC 1131\ARCNET\AECNET_95_98\Treiber.Do not double click to open. This would already start the registration.The file has the following content:REGEDIT4

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\FARC20]

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\FARC20\Parameters]"IoPortAddress"=dword:00000120"IoPortIrq"=dword:0000000A"Clock"=dword:00000001"LicenceNumber"="0000""ControllerType"="20020""MainVendor"="SOHARD ARC95"Enter the hexadecimal values noted down for your I/O address after "IoPortAddress" and foryour Interrupt after "IoPortIrq" (in our example: I/O = 00000240 and IRQ = 0000000A).

9. In the following directory double click on the file Install.bat to execute it:907 AC 1131\ARCNET\AECNET_95_98\TreiberThe driver FARC20.VXD and the file ARCNET32.DLL are copied to the operating systemsubdirectory SYSTEM (e.g. WINDOWS\SYSTEM). The driver is entered to the registry.

10. Reboot your computer.

The following problems can occur:

1. For the Toshiba Tecra8100 using Windows 95 it was not possible to detect the newhardware component. This problem did not occur when using Windows 98.

2. Even a manual start with"Start" => "Settings" => "Control Panel" => "Hardware"– Hardware detection "Next"– Other components "Next"– "Disk" A:\ "Browse"and a subsequent installation of the enabler was not successful.

Page 19: Installation

2-1907 AC 1131/Issue: 07/00 Special functions 4

2 Special functions of the software 907 AC 1131

2.1 What’s new in version V4.1

Compared to version V4.0 the software 907 AC 1131 V4.1 contains the following changes:

• Programming via ARCNET using the operating systems Windows95 and Windows98 SE(refer to installation).

• Entering the basic unit into the controller configuration of 907 AC 1131 (refer to section"Entering the PLC into the controller configuration").

• New functions for FORCING and OVERWRITING (refer to section "Peculiarities for forcingand overwriting").

• Reorganization and enlargement of the block libraries (refer to volume 6 "Libraries"). NewARCNET blocks (in ARCNET_S90_V41.LIB / ARCNET new) and blocks for ASCIIcommunication (DRUCK / EMAS replacement). Due to reasons of compatibility the versionV4.0 libraries are still installed (in Library\Save_V40).

• Example projects including documentation for:– Connecting the control unit MT45 to 07 KT 97 via MODBUS– Connecting the control unit MT45 to 07 KT 97 via ARCNET– Connecting the control unit MT91 to 07 KT 97 via MODBUS– Connecting the control unit MT91 to 07 KT 97 via ARCNET– Sending and receiving SMS, data exchange via SMS– INSUM coupling to 07 KT 97– ... (refer to subdirectory Projekte\Beispielprogramme)

• Batch operation was extended by entering the communication partners.

• Description for testing the remote maintenance using 907 AC 1131.

• Notes concerning the OPC server

Page 20: Installation

2-2 907 AC 1131/Issue: 07/00Special functions4

2.2 Creating a "new" project for the controller 07 KT 97

In the following procedure we want to create a small example project for the controller 07 KT 97,download it and finally test it.

Task: Input E62_00 shall be routed to output A62_00 of the controller 07 KT 97.

Perform the following steps:

1. Connect the controller 07 KT 97 to 24 V DC (refer to volume 1 – Hardware 07 KT 97).

2. Connect COM1 of the controller 07 KT 97 to the serial interface of your PC.

3. Start the 907 AC 1131 software. The project you edited last is opened. If necessary, closethis project by selecting "File/Close".

4. Select "File/New".

Page 21: Installation

2-3907 AC 1131/Issue: 07/00 Special functions 4

5. A window appears where you can select the PLC. Using the mouse, select the controller"07KT97" and click on "OK".

6. A window appears where you can select the block name, the block type and the PLClanguage. For the name and the type keep the settings PLC_PRG and PROGRAM. Select"FBD" for the language and confirm with "OK".

Page 22: Installation

2-4 907 AC 1131/Issue: 07/00Special functions4

7. You have now opened a new project. When inserting the block PLC_PRG the followingglobal variables were already created in the folder "Global Variables" of the "Resources"page.– Object "Systemkonstanten" containing the default values of the system constants (referto volume 3 - System technology, section "System constants").– Object "Fehlermerker" containing all the system and error flags (refer to volume 3 -System technology, section "System and diagnosis flags").– Object "Auslastung" containing the system flags for the indication of the controllercapacity utilization (refer to volume 3 - System technology, section "System and diagnosisflags").– The empty objects "Global Variables" and "Variable_Configuration" to enter further globalvariables.

Switch to the "Resources" page by double clicking on the "Resources" tab.

Page 23: Installation

2-5907 AC 1131/Issue: 07/00 Special functions 4

In this page, click on "Global Variables" or open the respective folder. You can see therespective variables if you open the individual objects with a double click.(In the example, the object "Systemkonstanten" is opened).

In the "Resources" page, select the folder "Global Variables".Now select "Project/Import".

Page 24: Installation

2-6 907 AC 1131/Issue: 07/00Special functions4

All *.exp files are displayed now (in the Library directory). Select "KT97_onb" and confirm itby clicking on "Open". Now the import file "KT97_onb.exp" is loaded. This file contains thedeclaration of all onboard in- and outputs of the 07 KT 97.

When you create a new project the IEC standard library IEC_S90_V41.LIB is also loadedinto the library management. Select "Window/Library Manager".

Page 25: Installation

2-7907 AC 1131/Issue: 07/00 Special functions 4

In the upper left window of the library management you can see "IEC_S90_V41...". (If youneed further libraries for your project, you can open a menu in this window with a rightmouse click and then select "Additional Library" from this menu. A window is opened whereyou can select the desired library).

For our small example shown here we do not need a library.

8. Switch back to the blocks by clicking on the "Blocks" tab and select the only existing entry"PLC_PRG".

Page 26: Installation

2-8 907 AC 1131/Issue: 07/00Special functions4

9. In the network "0001", position the mouse cursor onto the project cursor (which isrepresented by a "quadrilateral") and press <CTRL><A> (press the keys <CTRL> or<STRG> and <A> simultaneously) or click with the right mouse button and then select"Assign" from the appearing context menu. The display is as following:

10. Instead of the question marks, enter the symbolic name for input E62_00 on the left sideand on the right side the name for output A62_00. To do this, left-click on the questionmarks, type the name and confirm with <Enter>. These names are predefined in the importfile KT97_onb.exp. If you want to use other symbolic names, you have to change thenames in the object "KT97_Onboard" located in the folder "Global Variables" of the"Resources" tab. After changing the names you must translate the project by pressing the<F11> key or by selecting "Project/Rebuild All" from the menu in order to announce theglobal variables to the block(s).

Page 27: Installation

2-9907 AC 1131/Issue: 07/00 Special functions 4

11. The definition of the project is now completed and the project has to be translated. To dothis, press the <F11> key or select "Project/Rebuild All" from the menu.

12. If no errors were detected the message "0 errors" is displayed in the last line of themessage box. In the next to last line the code and data size of the program is displayed inbytes. For the data size the size of the data segments is displayed. The default setting isalways 2 data segments.Now the communication parameters for the connection to the controller have to be set. Toperform this, please click on "Online/Communication Parameters".

Page 28: Installation

2-10 907 AC 1131/Issue: 07/00Special functions4

A window for setting the communication parameters appears. First click on "Gateway" andthen select "Connection", "Local" in the subsequently appearing window. Confirm thesetting with "OK".

Select the driver "ABB SST" or "ABB RS232". This selects the standard serial driver forCOM1 of the PC with the settings 19200 baud, no parity, 8 data bits and 1 stop bit.

If you use the serial interface COM2 of your PC, you have to add a new gateway setting.To perform this, please click on "New":

Page 29: Installation

2-11907 AC 1131/Issue: 07/00 Special functions 4

Enter any name of your choice for the gateway channel into the "Name" field (in ourexample "RS232 COM2"), select "ABB RS232" for the device and confirm with "OK".You’ll return to the "Communication Parameters" window.In the window on the right, select the "Port" by double clicking on "COM1".

Click on "OK" to apply the communication parameters.

13. In the next step we will save the project. (You can also perform this much earlier, e.g.immediately after the creation.) For this, select "File/Save as"

Page 30: Installation

2-12 907 AC 1131/Issue: 07/00Special functions4

and then specify the desired path and project name:

In our example the project is saved under the name "Ein_Ausgang" to the folder "Projekte".The file extension "pro" is automatically created by 907 AC 1131 software.

14. In the next step we will load the program into the controller. To perform this, please select"Online/Login":

Page 31: Installation

2-13907 AC 1131/Issue: 07/00 Special functions 4

The gateway icon appears on the right side of the windows status bar and the controllerreports the project information and the runtime system version:

Confirm with "OK".

Now a verification is performed whether the project is identical to the project on the PC. Ifthere are any differences the PC reports the following message:

Select "Yes" and subsequently the new program is loaded. During the load process aprogress display informs about the currently loaded bytes. When starting the load processthe PLC changes to the STOP mode.

Page 32: Installation

2-14 907 AC 1131/Issue: 07/00Special functions4

15. The next step is to store the program in the FLASH memory of the PLC to protect it againstvoltage breakdown. To perform this, please select "Online/Create Boot Project (Flash userprogram)":

The project is stored to the Flash memory. During the flashing process the entry "FLASH"is displayed in black in the status bar of 907 AC 1131 and also the LED "Batt." on the PLCflashes.

16. Now the program has to be started. To perform this, select "Online/Run":

The status bar of 907 AC 1131 displays "RUN" in black color and the LED "RUN" on thePLC lights up.

Page 33: Installation

2-15907 AC 1131/Issue: 07/00 Special functions 4

17. In order to test the program we are going to force input E62_00 by TRUE. To do this,please double click on the icon "E62_00". Next to "E62_00" the entry "TRUE" is displayed.After performing another double click, "FALSE" is displayed followed by "Release Force".This way you can choose the desired value for forcing. In our example "TRUE" is used.

Now the variable E62_00 is prepared for forcing.

Press the <F7> key or select "Online/Force Values" from the menu. This will force thevariable. On the PC, A62_00 becomes blue and the output A62_00 of the PLC isconnected through. The LED for output A62_00 lights up. The LED "RUN" on the PLCflashes to indicate the process of "Forcing" (as well as "Overwriting", "Single step","Breakpoint", etc.).

Now you can force the output to FALSE again or "Release Force". Using "Online/Logout"the connection to the PLC is disconnected again. To exit the software 907 AC 1131 use"File/Exit".

Page 34: Installation

2-16 907 AC 1131/Issue: 07/00Special functions4

2.3 Entering the PLC into the controller configuration

From version V4.1 of the software 907 AC 1131 onwards, the PLC type is entered into thecontroller configuration. This is necessary to adapt the software to the various controllers, e.g.- for different memory areas of the controllers 07 KT 95..97 and 07 KT 98 or- to prepare a differentiation of series 90 and series 40...50.

Note:The controllers 07 KT 95, 07 KT 96 and 07 KT 97 use the same memory areas. Whencreating projects for those controllers you can enter "07KT95", "07KT96" or "07KT97" intothe controller configuration. If you want to load the same project into the controller07 KT 98, you have to modify the controller configuration entry to 07KT98.

When logging into the controller a verification is performed whether the entry in the controllerconfiguration matches the controller. If this is not the case an error message is displayed:"The connected CPU is not 100% compatible to the CPU used in the controller configuration. Itis not possible to go online. Please replace the CPU module!"

If you try to translate a project without any entry in the controller configuration, the followingerror message is displayed:"No CPU set. Please enter a CPU module into the controller configuration."In this case it is also possible that various secondary errors are signalized.

Page 35: Installation

2-17907 AC 1131/Issue: 07/00 Special functions 4

2.3.1 How to enter the PLC into the controller configuration

There are several possibilities to enter the PLC into the controller configuration:

1. Entering the PLC into a new project

When creating a new project (see section "Creating a new project for the 07 KT 97") you arerequested for the PLC after selecting "File/New". The selected PLC is entered into the"PLC Configuration" folder in the "Resources" tab.

Page 36: Installation

2-18 907 AC 1131/Issue: 07/00Special functions4

2. Entering the PLC into an existing project (e.g. created in V4.0)

Proceed as follows to enter the controller in an existing project:- Switch to the "Resources" tab.- Double click on the "PLC Configuration" folder to open it.- In the window on the right, click on "Hardware Configuration". From the appearing contextmenu select "Append Subelement" and then the desired PLC. Confirm the subsequentlyappearing window with "OK".

2.3.2 Changing the PLC for a project

If you want to load a project which was created for the controllers 07 KT 95..97 into thecontroller 07 KT 98 (or vice versa) you have to modify the entry in the controller configurationaccordingly.

For this, the following steps are required:

- Switch to the "Resources" tab.- Double click on the "PLC Configuration" folder to open it.- If the "Hardware Configuration" entry is preceded by a plus sign, open it by clicking on the plusto make the subelements visible.- Select the controller (e.g. 07 KT 97) and press the <Del> key (or <Del>) or open the contextmenu by clicking with the right mouse button and select "Delete".- Now the controller configuration is empty again. Open the context menu once again by clickingwith the right mouse button. Select "Append Subelement" and then the desired PLC. Confirmthe subsequently appearing window with "OK".

Page 37: Installation

2-19907 AC 1131/Issue: 07/00 Special functions 4

2.3.3 Configuration files for the controllers

The configuration files for the controllers are located in the subdirectory "Library/PLCCONF".These files are the GSD files for the PROFIBUS configurator as well as the *.con files for theindividual controllers.

Controller Configuration file 07 KT 95 CPUKT95.con07 KT 96 CPUKT96.con07 KT 97 CPUKT97.con07 KT 98 CPUKT98.con

The file CPUABB.SEL contains all selectable controllers.Please do not modify this file!!!

The configuration files for the controllers 07 KT 95..97 contain the following parameters andvalues:

; Basic address %M areaParam1=BaseMerker;DWORD:=16#1b8000;16#1b8000;16#1b8000;

; Basic address %I areaParam2=BaseInputs;DWORD:=16#2f8000;16#2f8000;16#2f8000;

; Basic address %Q areaParam3=BaseOutputs;DWORD:=16#2fc000;16#2fc000;16#2fc000;

; Basic address RETAIN variableParam4=BaseRetains;DWORD:=16#1C0000;16#1C0000;16#1C0000;

; Size of user program (480 kB-16 kB I/O description = 464 KB)Param5=CodeSize;DWORD:=16#74000;16#74000;16#74000;

; Size of user program without RETAIN (240kB)Param6=DataSize;DWORD:=16#3c000;16#3c000;16#3c000;

; Size of RETAIN variable (16kB)Param7=RetainSize;DWORD:=16#4000;16#4000;16#4000;

; Segment size user data (32kB)Param8=DataSegmentSize;DWORD:=16#8000;16#8000;16#8000;

Please do not modify these files!!!

Page 38: Installation

2-20 907 AC 1131/Issue: 07/00Special functions4

The configuration file for the controller 07 KT 98 contains the following parameters andvalues:

; Basic address %M areaParam1=BaseMerker;DWORD:=16#02800000;16#02800000;16#02800000;

; Basic address %I areaParam2=BaseInputs;DWORD:=16#710000;16#710000;16#710000;

; Basic address %Q areaParam3=BaseOutputs;DWORD:=16#714000;16#714000;16#714000;

; Basic address RETAIN variableParam4=BaseRetains;DWORD:=16#02810000;16#02810000;16#02810000;

; Size of user program (1 MB := 1024 kB-64 kB I/O description = 960 kB)Param5=CodeSize;DWORD:=16#0F0000;16#0F0000;16#0F0000;

; Size of user data without RETAIN; Standard: 1MB:=1024kB:=16#100000Param6=DataSize;DWORD:=16#100000;16#100000;16#100000;

; Size of RETAIN variable (256kB)Param7=RetainSize;DWORD:=16#40000;16#40000;16#40000;

; Segment size user data; max.: 256 kB := 16#40000; possible: 64 kB := 16#10000; 128 kB := 16#20000; standard: 32 kB :=16#8000Param8=DataSegmentSize;DWORD:=16#8000;16#8000;16#8000;

For the controller 07 KT 98 the parameter "Param8" can be modified if necessary (if a block inthe project requires more than 32 kB of data). In this case the modification applies to allprojects.

Displayed code and data size:

When translating a project using the function key <F11> or "Project/Rebuild All" the code anddata size information is displayed in the message window in the next to last line.

For our example project "Ein_Ausgang.pro":Code Size 1065, Data Size 45200

Code Size - program size:

The displayed code size corresponds exactly to the size of the program code, but without I/Odescription (inputs and outputs for the tasks).

For the controllers 07 KT 95..97 the maximum program size is 464 kB = 475136 bytes =16#74000 bytes. In addition the I/O description takes 16 kB which results in a maximum userprogram size of 480 kB.

For the controller 07 KT 98 the maximum program size is 960 kB = 983040 bytes =16#0F0000 bytes. In addition the I/O description takes 64 kB which results in a maximum userprogram size of 1 MB = 1024 kB.

Page 39: Installation

2-21907 AC 1131/Issue: 07/00 Special functions 4

Data Size – amount of data:

For the data size the size of the required data segments is displayed. Additionally 12432 bytesare required for internal extra code (tables for block start addresses and block lengths, auxiliaryfunctions for online change, debugging, etc.).The data segment size is determined in the configuration file by the parameter Param8 and isset to 32 kB := 32768 bytes = 16#8000 bytes.The number of data segments is set in the 907 AC 1131 software for each project using"Project/Options/Build/Number of Data Segments". The default value is 2 which means 1RETAIN segment and 1 data segment. The size of the RETAIN segment is not included in thedisplayed data size.

Following this, a displayed data size of "Data Size 45200" means:- 1 data segment with 32768 bytes: 1 * 32768 bytes- internal extra code 12432 bytes - data size 45200 bytes

The actually used data in the data segment are not displayed. The following error message isdisplayed if you enter more data than a data segment can accommodate: "The data occupy toomuch memory. Increase the number of data segments."

For the controllers 07 KT 95..97 the size of the variable memory (refer to parameter Param6 inthe configuration file) is 240 kB = 245760 bytes. Subtracting 12432 bytes of internal extra coderesults in 233328 bytes. These are approx. 7 data segments of 32768 bytes each. Followingthis, you can set the number of data segments to a maximum of 8 (7 data segments + 1RETAIN segment).

For the controller 07 KT 98 the size of the variable memory (refer to parameter Param6 in theconfiguration file) is 1 MB := 1024 kB := 1048576 bytes. Subtracting 12432 bytes of internalextra code results in 1036144 bytes. These are approx. 31 data segments of 32768 bytes each.Following this, you can set the number of data segments to a maximum of 32 (31 datasegments + 1 RETAIN segment). If you change the size of the data segments, the maximumnumber of possible data segments changes accordingly.

Page 40: Installation

2-22 907 AC 1131/Issue: 07/00Special functions4

2.4 Menus which are not described in the operating instructions

2.4.1 Menus in the main menu "Online"

The following menus contained in the main menu "Online" are not described in the operatinginstructions of the 907 AC 1131 software:

• "Create boot project (Flash user program)"

• "Settings for Force"

• "Import variables from ABB 907 PC 33 projects into global variables list"

• "Import program from ABB 907 PC 33 project"

• "Perform PLC cold start (and log out)"

• "Info on project on PLC"

• "Write user program to SMC"

• "Write project source code to SMC"

Menu "Create boot project (Flash user program)"

This menu is only available in the logged in state. In the offline state the menu is grayed out.After selecting this menu item the program stored in the RAM memory of the PLC is written tothe Flash memory of the PLC resulting in a voltage breakdown-safe storage. During the flashprocess the indication "FLASH" is displayed in black in the status bar of the 907 AC 1131software (otherwise the indication is displayed in gray). The LED "Batt." on the PLC flashes.

Note:If the controller is in the RUN mode, this operation can take some minutes.

Together with the user program the areas of the constants %MW3000.0..%MW3089.15 and thedouble word constants %MD4000.0..%MD4023.15 as well as the PROFIBUS configuration dataand, if necessary, the force list are stored in the Flash memory.

Menu "Settings for Force"

Using the menu item "Settings for Force" the forcing parameters "Do not release force whenlogging out" and "Save force list in boot project (Flash/SMC)" are set. This is described in moredetail in section "Peculiarities for forcing and overwriting in version V4.1".

Menu "Import variables from ABB 907 PC 33 projects into global variables list"

The menu item "Import variables from ABB 907 PC 33 projects into global variables list" is partof importing projects created with 907 PC 331 and is described in the corresponding chapter.

Menu "Import program from ABB 907 PC 33 project"

The menu item "Import program from ABB 907 PC 33 project" is part of importing projectscreated with 907 PC 331 and is described in the corresponding chapter.

Page 41: Installation

2-23907 AC 1131/Issue: 07/00 Special functions 4

Menu "Perform PLC cold start (and log out)"

The menu item "Perform PLC cold start (and log out)" is only available in the logged in state(otherwise grayed out). This menu item initiates a cold start on the PLC. A warm start on thecontroller is initiated using the menu item "Online/Reset". For both menu items a logout isperformed. The cold and the warm start of the controller are described in detail in volume 3 -System technology.

Menu "Info on project on PLC"

The menu item "Info on project on PLC" is only available in the logged in state (otherwisegreyed out). Selecting this menu item displays the same information about the runtime systemof the controller and the project on the PLC as displayed when logging in to the controller.

Menu "Write user program to SMC"

The menu item "Write user program to SMC" is only available in the logged in state (otherwisegrayed out). After selecting this menu item the program stored in the Flash memory of the PLCis written to an inserted SmartMedia Card.

In order to store the user program to a SmartMedia Card the following procedure is necessary:- Load the program to the PLC (download).- Write the program to the Flash memory using "Online/Create boot project (Flash userprogram)".- Insert the SmartMedia Card (chip side up).- Write the program from the Flash memory to the SmartMedia Card using "Online/Write userprogram to SMC".

Caution:The SmartMedia Card is formatted prior to writing data to it. Data which are possiblystored on the card are deleted without any inquiry.

If both parameters under "Online/Settings for Force" are set to "yes":- "Do not release force when logging out" - yes (checked)- "Save force list in boot project (Flash/SMC)" - yes (checked)you are asked whether you really want to write the force values to the SmartMedia Card. Themenu is aborted if you answer with no.(Refer to chapter "Peculiarities for forcing and overwriting in version V4.1").

The following error is displayed if no SmartMedia Card is inserted in the controller:"The controller has performed the last online service incorrect".

Menu "Write project source code to SMC"

The menu item "Write project source code to SMC" is intended for later software versions. It isnot effective in version V4.1.

Page 42: Installation

2-24 907 AC 1131/Issue: 07/00Special functions4

2.4.2 The PLC browser

The PLC browser provides additional online functions for users which use pointers and indirectmemory accesses frequently. Furthermore it provides information about the user tasks.

You can find the PLC browser in the "Resources" tab. The PLC browser works only in thelogged in state.

The following functions are available:- ? Get a list of the implemented commands.- mem Memory dump. Syntax: mem <start-addr> <end-addr>.- memc Same as mem, addresses are added to the start address of the code area.- memd Same as mem, addresses are added to the start address of the data area.- tsk Output IEC task list with task information.

If you select the PLC browser and click on the sign [...] a window displaying the possiblefunctions appears. You can click on the commands in this window. The commands are thenentered into the command line where you can enter the required parameters, if necessary.

Page 43: Installation

2-25907 AC 1131/Issue: 07/00 Special functions 4

If you enter a question mark followed by <Enter>, the functions implemented in the controllerare displayed.

Using the command "mem <start address> <end address>" you can directly view the memoryareas.

Page 44: Installation

2-26 907 AC 1131/Issue: 07/00Special functions4

Using the command "tsk" you can obtain detailed information about the user tasks.

Page 45: Installation

2-27907 AC 1131/Issue: 07/00 Special functions 4

2.5 Peculiarities for forcing and overwriting in version V4.1"

In version V4.0 of the software 907 AC 1131 only one buffer was available for the functionsforcing and overwriting. This is why it was only possible to either force or overwrite.

From version V4.1 of the software 907 AC 1131 onwards, separate buffers are used for forcingand overwriting. Furthermore it is now possible that the force values are not deleted whenlogging out or that the force values are even written to the Flash memory or the SMC to becomevoltage breakdown-safe.

Caution:The new features for forcing and overwriting are only available on controllers with aruntime system from version V4.1 onwards. The force parameters described beloware without any effects on controllers with runtime system version V4.0x.

Using "Write Values" values are written once. After this, the variables can immediately changetheir value again initiated by the program.

Using "Force Values" the values are written at each beginning and each end of a cycle untilthis process is cancelled with "Release Force". For example when you force a digital input toTRUE, the I/O image of the tasks works with the forced TRUE, independently from the actualstatus of the input. But, for instance, if you force an INT variable to 0 and increment this variablein the program, the variable’s value inside the program is set to 1 (and not 0). This applies to allvariables and also to outputs.

The "Online" menu contains the menu item "Settings for Force". If you select this menu item awindow containing the force parameters appears.

Page 46: Installation

2-28 907 AC 1131/Issue: 07/00Special functions4

When you click on "Do not release force when logging out" the entry is marked by a checkmark� (indicating that the function is selected) and the entry for the parameter "Save force list inboot project (Flash/SMC)" is displayed in black and can be selected now.

The following behavior can be set using these two parameters:

1. - "Do not release force when logging out" - empty (not checked)- "Save force list in boot project (Flash/SMC)" - empty (not checked)

This is the default setting. The behavior is as for version V4.0 which means that- the force values are deleted when logging out and- the force values are not stored in the Flash memory or on the SmartMedia Card.The LED RUN flashes as long as the logged in state is kept and the values are forced. Afterlogging out the LED lights as usual.

2. - "Do not release force when logging out" - yes (checked)- "Save force list in boot project (Flash/SMC)" - empty (not checked)

Using this setting the force values are kept in the RAM memory after logging out. Whenlogging out you are asked whether the force values should be kept. If you answer with "No"the force values are deleted. If you answer with "Yes" the force values are kept. In additionthe LED RUN flashes. When logging in the force list is read from the RAM memory of thePLC. The status bar of 907 AC 1131 displays "FORCE" in black. The forced values aremarked in color.The force list is deleted on a cold or warm start or when switching the control voltage off/on.(The behavior is as for the 07 KT 94 with EBS operating system). The LED RUN is lightingagain.

Page 47: Installation

2-29907 AC 1131/Issue: 07/00 Special functions 4

3. - "Do not release force when logging out" - yes (checked)- "Save force list in boot project (Flash/SMC)" - yes (checked)

You must store the user program to the Flash memory using "Online/Bootprojekt erzeugen(Anwenderprogramm flashen)" before logging out. Prior to flashing the user program youare again reminded that force values are present and that they are also written to the Flashmemory. After this the force values are saved in the RAM and in the Flash memory. TheLED RUN flashes. If you store the user program to a SMC the force values are also stored.You are once again reminded to this fact.When performing a cold or warm start or when switching the control voltage off/on the forcelist is loaded from the Flash memory together with the user program and then activated. TheLED RUN flashes.The force list can only be deleted using the software 907 AC 1131. When logging in theforce list is read from the RAM memory of the PLC.

4. - "Do not release force when logging out" - empty (not checked)- "Save force list in boot project (Flash/SMC)" - yes (checked)

This setting is not possible!

Page 48: Installation

2-30 907 AC 1131/Issue: 07/00Special functions4

2.6 Peculiarities of batch operation in version V4.1

The batch operation with the software 907 AC 1131 is described in appendix F "Command lineand command file commands" of volume 5 - Operating instructions.In order to enable loading of the same project to several controllers using a command file, thebatch operation was expanded by setting the communication parameters.

Caution:To obtain a correct function of the batch operation for write protected projects, theparameter Autoload in the file AC1131.INI (for WinNT in the folder WINNT\SYSTEM32or for Win95/98 in the folder WINDOWS\System) must be set to off (Autoload=No).By default Autoload is set to on, i.e. Autoload=Yes.

Below an example project is introduced together with the corresponding command file. The linesbeginning with a semicolon are comment lines. Comments written in command lines are alsopreceded by a semicolon.

The content of the command file ABB.CMD shall be as follows:

; the following line can be omitted if the project has no access passwords; insert "query off ok" already at this point if the project file is write protected

query off cancel ; ignore the password request - no writing permission

;file open downloadbatch.pro ; project name => enter your own project herefile open c:\programme\ac1131\projekte\downloadbatch.pro ; or enter file with pathquery off ok ; all following dialogs with OK

online sim off ; switch off the simulation

gateway local ; local access to gateway (shared memory)

; Example for serial communication;device guid {83BC99E0-3455-11d3-A2A8-00104BB37AA1} ; ABB RS232;device parameter 1000 COM2 ; COM port 2;device parameter 1001 19200 ; baud rate

; Select ARCNET driverdevice guid {F41F2C40-346C-11d3-A2A8-00104BB37AA1}

; enter target address of the controller; address of first controller:device parameter 1101 35 ; target node number 35 (ARCNET address)

online login ; login to controllerdelay 15000 ; wait time for download (15 seconds, long enough?? => change if necessary)online createbootproject ; start flashingdelay 10000 ; 10 sec for flashing processonline run ; start programdelay 2000online logout ; logout from the controllerdelay 7000 ; 7 sec. for logout

Page 49: Installation

2-31907 AC 1131/Issue: 07/00 Special functions 4

; address of second controller:device parameter 1101 2 ; target node number 2 (ARCNET address)

online logindelay 15000 ; for download (15 seconds, long enough?? => change if necessary)online createbootproject ; start flashingdelay 10000 ; 10 sec for flashing processonline rundelay 2000online logoutdelay 7000 ; 7 sec. for logout

; repeat from target address for further controllers

file closefile quit

In our example the write protected project download.pro is sent via ARCNET to the ARCNETsubscribers 35 and 2. The project is flashed in each controller and then started. If necessary,the set wait times must be modified according to the program length.

To call the command file:

• Select "Start" => "Run"

• Enter:c:\programme\ac1131\ac1131.exe /cmd c:\programme\ac1131\projekte\abb.cmd

In this case the command file abb.cmd and the project downloadbatch.pro are located in thedirectoryc:\programme\ac1131\projekte.

Page 50: Installation

2-32 907 AC 1131/Issue: 07/00Special functions4

2.7 Notes concerning frequently asked questions

2.7.1 Project protection for logging in to the controller

The following procedure is recommended to ensure that a project cannot be modifiedunintentionally and that a login to the controller can be performed again and again withoutproducing the message "Controller contains other project..." (and causing the controller toSTOP on "OK").

1. - Translate the project using <F11> or "Project/Rebuild All".- Save the project.- Set up a password by selecting:"Project/Options/Passwords/Write Protection Password"(e.g. enter ’AC31’ and repeat for confirmation)- Exit the 907 AC 1131 software.

2. - Start the 907 AC 1131 software.- Open the project (or automatically opened).- Do not enter the password. Confirm with <Cancel>.- Login to controller 1, "Controller contains other project...", download, bootproject, start,logout.- Login to controller 2, ...Exit � The message "Project was changed. Save..." appears.

3. - Start the 907 AC 1131 software.- Open the project (or automatically opened).- Do not enter the password. Confirm with <Cancel>.- Login to controller 1 (without message "Controller contains other project...").- Login to controller 2, ...

If you want to call the following menus in a write protected project (as described above), you canupdate the menus using <F11> or "Project/Rebuild All".- "Project/Show Call Tree ..."- "Project/Show Cross Reference ..."- "Project/Show unused Variables ..."The project will not be changed so that a new login is possible.Please do not enter the write protection password when opening the project!

Page 51: Installation

2-33907 AC 1131/Issue: 07/00 Special functions 4

2.7.2 RETAIN variables - note for program change

The starting behavior and the buffering of variables are described in section "Initialization andbuffering of data areas" of volume 3 - System technology.

RETAIN variables only keep their order when the program change is performed using onlinechange. When performing a download or when changing the variables (add, delete, changeorder) the order of the REATIN variables is also lost resulting in a loss of their values.

Below a method is described how to keep the RETAIN variables even when changing theprogram. A small example program is used to simplify the description.

The following small project is created (here in ST):

Page 52: Installation

2-34 907 AC 1131/Issue: 07/00Special functions4

For our project we create one (or more) watch list(s) containing the RETAIN variables. Note thatthe initialization value is entered after the variable name (without ;). In our example the watchlist was saved using the name VAR_RETAIN_1.WTC.

Now the program is saved, provided with write protection, downloaded to the controller andflashed.

Page 53: Installation

2-35907 AC 1131/Issue: 07/00 Special functions 4

After starting the program the variables change as desired:

The next step is to add one more counter. Prior to modifying the program we must read thecurrent state of the RETAIN variables. For this, we login to the controller with the project stillunchanged. Then we set the controller to STOP mode ("Online/Stop") and in the watch andrecipe manager we open a context menu by right clicking with the mouse.Select "Read Recipe". The variables are updated once again.

After this we open the context menu again and select "Save Watch List". In our example thename VAR_RETAIN_2.WTC was chosen. Now we logout and delete the watch list (samecontext menu, "Delete Watch List").

Page 54: Installation

2-36 907 AC 1131/Issue: 07/00Special functions4

After that we modify the project (or close it and open it again entering the write protectionpassword for modifying). Now we add one more counter to the VAR_RETAIN list which is alsoincremented by 3 every 5 seconds in the program. After the modifications are completed,translate the project using the <F11> key, save it and download it to the controller.

You can see that the values are now incorrect!This is the reason why we must log out again and load the watch list containing the storedRETAIN variables (in our example VAR_RETAIN_2.WTC). The name inquiry was answeredwith VAR_RETAIN_3. Now the watch list is supplemented by the new variable iZaehler_neuand saved again. After logging in again the watch list contains the values currently read from thecontroller and the correct values saved before.

Page 55: Installation

2-37907 AC 1131/Issue: 07/00 Special functions 4

To write the correct values back to the controller, you must open the context menu again usingthe right mouse button (or menu "Extras") and then select the command "Write Recipe". Answerthe question "Do you really want to write the current recipe" with "Yes". The "old" values arewritten and the new counter is initialized by zero.

If the program is now started the values go on correctly. The new counter begins to countcorrectly. After this log out again.

Page 56: Installation

2-38 907 AC 1131/Issue: 07/00Special functions4

2.7.3 Creating and modifying your own library

Creating a library:

Proceed as follows to create a library containing self-made blocks:

1. First a project is created containing the blocks.

2. The PLC_PRG can contain all the block calls. Consequently the program can be tested.

3. The project is saved for testing.

4. All parts of the project which are not required for this library are deleted:- the block PLC_PRG in the "Blocks" tab and- the objects in the "Global Variables" folder of the "Resources" tab (such as "Auslastung","Fehlermeldungen", "Systemkonstanten", "KT97_Onboard", etc.).

5. For the number of data segments (which can be found under"Project/Options/Build/Number of data segments") "2" must be entered.

6. The "PLC Configuration" of the "Resources" tab must contain a PLC of series 90 (e.g.07KT97).

7. Now the project is built one more time using the <F11> key or "Project/Rebuild All".An error message occurs:"The project does not contain a block PLC_PRG (vector function)".

8. To protect the library with a password, select "Project/Options/Passwords" and enter thedesired password in the fields "Password" and "Confirm Password".

9. To save the library, use"File/Save as...".Select "File type - Internal library (*.lib)" in the appearing dialog. The desired name for thelibrary is entered in the "File name" field. The file name extension LIB is automaticallyattached.

Modifying a library:

To modify a library which was created this way, use "File/Open", select the file type "Library(*.lib) and enter the file name to open the library.

Now existing blocks can be modified or deleted and/or new blocks can be added. To save thelibrary perform the steps 5, 6, 7 and 9 as described above in the section "Creating a library".

Caution:The manufacturer libraries are password protected and may not be modified by theuser.

Page 57: Installation

3-1907 AC 1131/Issue: 07/00 Importing projects 4

3 Importing projects from 907 PC 331

3.1 Introduction

The programming and test software 907 AC 1131 offers the option to import programs (in IL)which were created for the controllers 07 KR91, 07 KT 92, 07 KT 93 and 07 KT 94 using theprogramming and test software 907 PC 331. Aim of the import is to avoid laborious typing out ofexisting programs. However, it will always be necessary to rework the programs. Thefunctionality of the blocks which are not contained in the 907 AC 1131 library ABB-BIB4.LIBmust be adapted. A list of these blocks can be found in the block library documentation. Insection 3.4 "Reworking the programs" the peculiarities to be observed are once againdescribed.

To import projects created with 907 PC 331 perform the following steps:

• Create an ASCII file containing the variable list using 907 PC 331• Create an ASCII file containing the translated IL using 907 PC 331• Load the variable list into the 907 AC 1131• Load the program file into the 907 AC 1131• Correct the created project, if necessary

3.2 Creating the ASCII files for the program and variables using 907 PC 331

To import a project generated with 907 PC 331, the variables list and the instruction list arerequired as ASCII files.

Page 58: Installation

3-2 907 AC 1131/Issue: 07/00Importing projects4

3.2.1 Creating an ASCII file of the variables list

The ASCII file of the variables list is generated by printing the variables list from the 907 PC 331into a file. To receive uniform files the following print parameters have to be set:

Menu: Print param./Print parameter

• Page length: 100• Left margin: 0• Papersave: Y• Convers. file: (none)• Initial. file: (none)• Re-init file: (none)

Menu: Print param./Print format editor

• No. of header lines: 0• No. of footer lines: 0

Menu: Print 1/Variable list

• Start variable: (none)• End variable: (none)• Start symbol: (none)• End symbol: (none)• Sorting Abs./Symb. (A/S): A• Print with cover sheet (Y/N): N• First page: 1• Print destination: projectname.VAR

Page 59: Installation

3-3907 AC 1131/Issue: 07/00 Importing projects 4

The ASCII file is represented as follows: (Examples for variables)

E Variable Symbol Long text

E 02,00 Eingang E2,0 Input 0 at module 2 E 62,00 Onboard E0 Input 0 at basic unit E 62,09

EW 06,00 Analn1 Analog input channel 1

A 62,01

AW 02,00

M 000,00 I+ M 000,01 JR2 AREC_5 received job from node 2 M 255,15 1.SPS-Zykl

MW 000,01 FKT_Feld+0 MW 013,04 TXT-Nummer Text numbers register

K 00,00 Bit=0 0 K 00,01 B1 1 K 00,01 Bit=1 1

KW 00,00 MAST_SLV -2 KW 00,01 INIT_M 0 KW 00,02 INIT_MW 0 KW 00,03 INIT_MD 0 KW 00,04 INIT_S 0 KW 00,05 INIT_VW 0 KW 00,06 MODE_SST 101 KW 00,10 SLV_SEND 0 KW 00,11 SLV_REC 0

KW 01,00 0 0 KW 01,01 1 1

KD 00,00 ZYKL_ZEIT 10 KD 00,06 25 25

# +00001 1 1 # +00004 #_4 #_4 # +00127 #H 7F 127 #H C800

MRK 199 MRK 199 Label 199

B 000 B 000 BA-Nr Block no (pre-assigned 0)

MD 00,00

Page 60: Installation

3-4 907 AC 1131/Issue: 07/00Importing projects4

3.2.2 Creating an ASCII file of the program (IL)

Section 2.4 "Reworking the programs" describes the peculiarities to be observed whenimporting the program. Please read this section before starting the import. To facilitate thereworking, the program should be prepared as follows:

• As only comment lines are added into the instruction list which start with a semicolon, allcomment lines to be imported must start with a semicolon.

• To quickly find again segment plans, a comment line with the segment plan number shouldbe added at the beginning of each segment plan.

• The connection elements of the 907 PC 331 (I+, I-, RS, SR, =1) should also be marked bycomment lines, if they should be replaced by blocks of the 907 AC 1131 when reworking theprogram.

• If you have used blocks, which have been converted to several types, you have to verifywhether the constants K 00,00 or K 00,01 are assigned to the block input for selecting theoperand type. Otherwise it is possible that the wrong block is used.907 PC 331 907 AC 1131 SHIFT SHIFTW, SHIFTDFIFO FIFOB, FIFOWLIFO LIFOB, LIFOWINITS INITSB, INITSW, INITSDINITV INITVB16, INITVB32, INITVW16, INITVW32, INITVD16, INITVD32

The program ASCII file is generated by printing the translated IL from the 907 PC 331 into a file.To receive standardized files the following print parameters have to be set:

Menu: Print param./Print parameter

• Page length: 100• Left margin: 0• Papersave: Y• Convers. file: (none)• Initial. file: (none)• Re-init file: (none)

Menu: Print param./Print format editor

• No. of header lines: 0• No. of footer lines: 0

Menu: Print 1/Variable list

• Start variable: (none)• End variable: (none)• Start symbol: (none)• End symbol: (none)• Sorting Abs./Symb. (A/S): A• Print with cover sheet (Y/N): N• First page: 1• Print destination: projectname.AWL

Note:If the program was created in FBD/LD, only comment lines which start with asemicolon are imported to the IL.

Page 61: Installation

3-5907 AC 1131/Issue: 07/00 Importing projects 4

The ASCII file is represented as follows: (Example for program start)

Set Word Command Operand Symbol Long text

; ARCNET - CE’s00000 00000 !BA 000 00001 APOLL ; Initialization of the ARCNET coupler NODE=7

00001 00002 ! M 255,15 00004 =N M 238,01

00002 00006 !BA 000 00007 AINIT 00008 M 238,01 00009 KW 30,04 TIMOUT 100 00010 M 017,02 00011 M 017,00 00012 MW 030,02 00013 MW 030,03 00014 MW 030,00 00015 M 017,03 00016 MW 030,05 00017 MW 030,04 00018 MW 030,01 00019 M 017,04 ; Receiver block ARCNET

Page 62: Installation

3-6 907 AC 1131/Issue: 07/00Importing projects4

3.3 Importing the programs to 907 AC 1131

3.3.1 Sequence of steps to import the program to 907 AC 1131

The project to be imported is loaded into an "empty" 907 AC 1131 project. The "empty" projectmust contain the following:

• A PLC_PRG block with at least one "dummy statement" (e.g. in IL LD 0, in FBD TRUE).

• The libraries "Standard.lib" and "ABB-BIBx.lib" must be included in the library management.

The provided project file "ABB_LEER.PRO" already contains these entries.

Caution:The file Step_Var.EXP must be located in the route directory of the 907 AC 1131.

Sequence of steps to import the project:

To import a project into the 907 AC 1131 perform the following steps:

• Copy the files "projectname.VAR" and "projectname.AWL" into your project directory.

• Start the 907 AC 1131.

• Open the provided project "ABB_LEER.PRO".

• Save the project under the desired project name.

• Translate the project using "Project/Rebuild All" or <F11>.

• Load the variables list "projectname.VAR" to the project. For that purpose, select the menuitem "Online/Import variables from ABB 907 PC 33 projects into global variables list". Awindow appears to select the *.VAR files. Select your variables file. The variables list isloaded. In the folder "Resources/Global Variables" one or several new entries (according tothe size of the variables file) "GlobalVariables3" ... "GlobalVariablesYY" and the entry"Schrittketten" are created.

• Translate the project using "Project/Rebuild All" or <F11>.

• If necessary, correct the reported errors and translate the project again.

• Load the program file "projectname.AWL" to the project. To do this, call the menu"Online/Import program from ABB 907 PC 33 project". A window appears to select the*.AWL files. Select your program file. For loading into the language IL confirm with "OK".The program file is loaded. A new block of the type program (PRG) named "projectname" iscreated in the folder "Bausteine" of your AWL file (projectname.AWL).

Caution:Loading the program file can take several minutes.

• If necessary, correct the reported errors and translate the project again.

• In the PLC_PRG insert a block call for your block or delete PLC_PRG and rename yourblock to PLC_PRG.

Page 63: Installation

3-7907 AC 1131/Issue: 07/00 Importing projects 4

• After successful translation, the block can be converted to Function Block Diagram (FBD).Please verify your project after conversion. Pay special attention to program parts with set - S - and reset -R - instructions.

• Translate the project using "Project/Rebuild All" or <F11>.

• Check your project for non-importable functionality (refer to section "Peculiarities") andredesign them.

• Set the cycle time for the program using the task configuration.

• Check the system constants.

3.3.2 Importing the variables to 907 AC 1131

The variables from the variable file "projectname.VAR" are imported as global variables to theaddressable flag area "%Mxxx" of the 907 AC 1131 software.

Variable name

The unique identification of a variable is only possible via the absolute variable name (refer toexample of the variables list) because the symbolic name:

• either does not have to be available,

• can include special characters (symbols which are not conform to the IEC1131-3 ),

• or can be assigned twice.

Therefore the variable names are generated from the absolute variable names during theimport. If a symbolic name exists, it is attached to the absolute name. Special characters arereplaced by "_".

The long text of a variable is added as a comment to the variables list.

For the constants word KW xx,yy and double word KD xx,yy the value appears in the long textand is entered as initialization value during the import.

The variable K 00,00 (boolean constant 0) is not included in the variables list and replaced byFALSE when importing the program. K 00,01 (boolean constant 1) is replaced by TRUEaccordingly.

The direct constants #, #H are not included in the variables list and directly entered as constantswhen importing the program. As the IEC1131-3 does not allow HEX constants with the upper bitset as INT, these numbers are displayed as negative decimal values.

Examples:

• # +00001 � 1• #H 5F � 16#5F• #H FFFF � -1

The block number B 000 is not imported to the variables list, because it is not required for907 AC 1131 blocks.

Page 64: Installation

3-8 907 AC 1131/Issue: 07/00Importing projects4

Examples for variables

907 PC 331: EW 06,00 Analn1 Analog input channel 1

907 AC 1131: EW006_00_AnaIn1 AT %IW1006.0 : INT; (*Analog input channel 1 *)

907 PC 331: EW 06,01 Analn2 Analog input channel 1

907 AC 1131: EW006_01_AnaIn2 AT %IW1006.1 : INT; (*Analog input channel 2 *)

907 PC 331: KW 00,00 MastSlv -1

907 AC 1131: KW00_00_MastSlv AT %MW3000.0 : INT := -1;

907 PC 331: KW 01,00 Time Out 100

907 AC 1131: KW01_00_Time_Out AT %MW3001.0 : INT := 100;

3.3.3 Importing the programs to 907 AC 1131

After the variables were imported into the 907 AC 1131 and translated successfully aftercorrection (if necessary), the program IL can be loaded. The necessary steps for this procedureare described in section "Procedure for importing the project".

During the import the ABB operators are converted into IEC operators. The ABB blocks areconverted to the corresponding 907 AC 1131 ABB blocks. The corresponding operators / blocksare described in the block library documentation. Section 2.4 of this documentation describes allthe cases for which a program rework is necessary.

For blocks with several variants (because of duplication) the optimum block for the givennumber of duplications is selected.

Example:

• 907 PC 331: FKG with 6 sample points• 907 AC 1131: FKG8 and entry n:=6

For the blocks which have been converted into function blocks, instances are createdautomatically as local variable (for every block call).

For the timing element blocks, a type conversion DINT_TO_TIME is inserted automaticallybefore the time value input.

As intermediate flag, the local variable d_u_mm_y : BOOL; is inserted.

In the operating system of the controllers 07 KR 91, 07 KT 92, 07 KT 93 and 07 KT 94, the rulesof the boolean algebra (AND before OR and MULTIPLICATION/DIVISION beforeADDITION/SUBTRACTION) are observed automatically. In order to keep this functionality alsowith the 907 AC 1131, the corresponding parentheses are set while importing the project.

Page 65: Installation

3-9907 AC 1131/Issue: 07/00 Importing projects 4

3.3.4 Importing the step chains

In 907 AC 1131 (as well as in the IEC 1131-3) no operands of the type step chain are available.To import projects created with 907 PC 331, for the step chains S000,00-S255,15 the range%MW5000-%MW5255 has been reserved in the addressable flag range %M.

While loading the variables list, the steps are correspondingly entered into the global variables.

While loading the program, the file Step_Var.EXP is loaded to the folder "GlobalVariables/Schrittketten". It includes one definition of the step chain number for each step chain.

Chain0 AT %MW5000 : INT;...Chain255 AT %MW5255 : INT;

The steps 0...15 are defined as Step00...Step15 as follows:

Step00 : INT := 1;Step01 : INT := 2;Step02 : INT := 4;...Step15 : INT := -32768;

When importing the program the steps are called as follows:

907 PC 331 907 AC 1131 S000,00 Chain0 Step00S000,01 Chain0 Step01S255,00 Chain255 Step00S255,15 Chain255 Step15

Example for a step combination:

907 PC 331: 907 AC 1131 (import) ! S127,06 LD Chain127& M080,06 EQ Step06= S127,07 AND M080_06=S M250,00 ST d_u_mm_y

LD d_u_mm_ySEL Chain127,Step07ST Chain127LD d_u_mm_yS M250_00

Page 66: Installation

3-10 907 AC 1131/Issue: 07/00Importing projects4

3.4 Reworking programs

After the program has been loaded, it has to be translated using "Online/Rebuild All" or <F11>.If no errors are reported, the blocks could be imported successfully. If any errors are reported,they can be displayed one after the other by pressing <F4>.

In the most cases, errors result from impossible type conversions which must bereprogrammed.

Example: Cannot convert DINT to INT.

Not imported program parts

Now check the program for parts which were not imported. For this, select the menu"Project/Global Search". Select your block "projectname [PRG]" and search for:

ERROR!!! Import not possible

The cursor then jumps to the first program part which was not imported. The program code isincluded as comment with the line number of the projectname.AWL file in the new program.

Program parts which can not be imported are for instance all blocks which were not convertedinto the 907 AC 1131 block library. These are blocks such as APOLL, ABORT, PE which are notrequired any more.

The functionality of those blocks which are not converted (e.g. ADAPT, FEHSU, SFEHSU,SINIT, DRUCK, EMAS) must be programmed again.

Accessing direct addresses:

If you have used blocks with direct memory access in the program, these program parts mustalso be edited. Either the functionality must be reworked or the new 32 bit addresses must beentered in any case. This can be done by placing the address operator ADR before the addressinput. This particularly concerns the following blocks:

• WOS Write word to direct memory address• DWOS Write double word to direct memory address• WOL Read word from direct memory address• DWOL Read double word from direct memory address• COPY Copying memory areas• AWM Selection multiplexer• USM Switchover MUX

Page 67: Installation

3-11907 AC 1131/Issue: 07/00 Importing projects 4

Accessing addresses of boolean variables:

If you have used blocks in the program which access addresses of boolean variables, thisprogram parts must also be edited. The boolean variable input of the following blocks has to beprefixed by the block ADR as described in the block library documentation. This particularlyconcerns the following blocks:

• IDLB Indirect binary reading• IDSB Indirect binary writing• INITSB Initialization of operand memory areas• INITVB Initialization of binary variables with values• FIFOB Stack memory (first in/first out) for binary data• LIFOB Stack memory (last in/last out) for binary data

In most cases the address operator ADR is inserted automatically. Verify for completeness.

Blocks with several types:

The following 907 PC 331 blocks with different types at the inputs and outputs were convertedto multiple blocks.

907 PC 331 907 AC 1131 SHIFT SHIFTW, SHIFTDFIFO FIFOB, FIFOWLIFO LIFOB, LIFOWINITS INITSB, INITSW, INITSDINITV INITVB16, INITVB32, INITVW16, INITVW32, INITVD16, INITVD32COUNTB COUNTBW, COUNTBD

SHIFT block: SHIFT block for word/double wordInput D/W of type E, A; M, K, S := 0 � word / := 1 � double word

Conversion: D/W := K0,0, E, A, M, S � SHIFTWD/W := K0,1 � SHIFTD

Rework: Check the block type

FIFO block: Stack memory (first in/first out) for binary or word dataInput B/W of type E, A; M, K, S := 0 � word / := 1 � binary

Conversion: B/W := K0,0, E, A, M, S � FIFOW (do not prefix by ADR)B/W := K0,1 � FIFOB (input ANF must be prefixed by ADR)

Rework: Check the block type, ADR

LIFO block: Stack memory (last in/last out) for binary or word dataInput B/W of type E, A; M, K, S := 0 � word / := 1 � binary

Conversion: B/W := K0,0, E, A, M, S � LIFOW (do not prefix by ADR)B/W := K0,1 � LIFOB (input ANF must be prefixed by ADR)

Rework: Check the block type, ADR

INITS block: Word wise initialization of operand memory areasInput VAR of type E, A, M, K, S � binary, number of words (2 bits

each)EW, AW, MW, KW � word, number of wordsMD, KD � double word, number of words ( *2)

Conversion: E, A, M, K, S � INITSB (prefix input VAR by ADR,number of bits/BOOLS)

EW, AW, MW, KW � INITSW (do not prefix by ADR, number in words)MD, KD � INITSD (do not prefix by ADR, number in double words)

Rework: Check block type, ADR, adapt number

Page 68: Installation

3-12 907 AC 1131/Issue: 07/00Importing projects4

INITV block: Initialization of binary and word variables with numerical valuesInput #W/B := 0 � word variable / := 1 � binary variableInput #n – number of duplications

Conversion: #W/B := 0 and #n < 17 � INITVB16 (ADR before V0...V15)#W/B := 0 and 16 < #n < 32 � INITVB32 (ADR before V0...V31)#W/B := 1 and #n < 17 � INITVW16 (do not prefix by ADR)#W/B := 1 and 16 < #n < 32 � NITVW32 (do not prefix by ADR)

Rework: Check the block type, ADR

COUNTB block: Testing number of bits in word/double wordInput W/DW of type E, M, K, S := 0 � word / := 1 � double word

Conversion: D/W := K0,0, E, A, M, S � COUNTBWD/W := K0,1 � COUNTBD

Rework: Check the block type

Word conversion blocks:

The blocks for packing or unpacking two words into one double word and vice versa (in EBSoperating system blocks WWDW, DWWW) are loaded to the blocks WSWDW and DW2W. Incontrast to WWDW, for the block W2WDW the first word is stored in the high part of the doubleword and the second word is stored in the low part of the double word. Correspondingly forblock DW2W, the low part of the double word is unpacked to the second word and the high partof the double word is unpacked to the first word.

In order to obtain correct results again, the first and the second word at these blocks must bechanged. This is not performed automatically.

ARCNET blocks:

The block APOLL is not required any more.

For every operation at the block AREC a block AREC is generated. The operand at the907 PC 331 AREC block output UJOB is entered to all UJOB outputs of the new AREC blocks.When reworking, another variable of the type BOOL has to be assigned to the output UJOB(e.g. AREC_0_UJOB ... AREC_n_UJOB). These variables must be connected with an ORoperation after the last AREC block and are to be assigned to the original variable UJOB.

The blocks ASEND, ASEND+ are transferred into the corresponding blocks ASEND1, ASEND4and ASEND16.

Page 69: Installation

3-13907 AC 1131/Issue: 07/00 Importing projects 4

CS31 system bus blocks:

The blocks CS31QU, CS31CO and CS31TE for the CS31 system bus are converted into thecorresponding blocks.

For the block CS31TE you have to observe, that one block CS31TE is generated for eachmodule (parameter #n in 907 PC 331). The block header (parameter 0/1, TIME, RDY, OK,ERNO) is not converted. The outputs at the 907 PC 331 blocks MO and ME are assigned to theoutputs OK (block found, connected to bus) and AER (error module address, address not foundon bus). The output DER (error data transfer range) must be allocated a new variable(e.g. CS31TE_n_DER : BOOL;). For an evaluation the combination of the output bits must beobserved. Explanation:

AER DER OK Meaning FALSE FALSE TRUE Module connected to busTRUE FALSE FALSE Module address not foundFALSE TRUE FALSE Module address ok, data range incorrectOther combinations are not possible.

RCOM/RCOM+ blocks:

In the 907 PC 331, the RCOM/RCOM+ blocks were used as connection elements (CE). Thismust be observed for programs which are using the remote protocol RCOM/RCOM+.Correspondingly the CEs are resolved in the IL. The program code of the RCOM/RCOM+ CEsmust be replaced with the new blocks from the RCOM library.

MODBUS blocks:

The 907 AC 1131 provides uniform blocks (MODINIT, MODMAST) for the communication viathe serial interfaces COM1 and COM2 or the external MODBUS coupler 07 KP 93. For thebasic unit 07 KT 94, the setting of the MODBUS slave address is done using the systemconstant KW 00,06 / %MW3000.6. For the 07 KT 97, the system constantKW 00,06 / %MW3000.6 is not longer significant. The setting of the interface is done using theMODINIT block.

The MODBUS master functionality must be programmed with the MODMAST block.

Page 70: Installation

3-14 907 AC 1131/Issue: 07/00Importing projects4

Connection elements in 907 PC 331:

In the 907 PC 331 software, the following blocks are implemented as connection elements (CE):

907 PC 331 907 AC 1131 I+ R_TRIG Positive edgeI- F_TRIG Negative edgeSR RS Reset memory, dominatingRS SR Set memory, dominating=1 XOR Exclusive OR for binary values

The CEs are resolved in the IL. In order to use the 907 AC 1131 blocks, the imported IL must bereworked accordingly. Reworking is not absolutely necessary since the logical connection isperformed correctly.

Positive edge: (I+ � R_TRIG)907 PC 331/IL: Import Rework !N M 238,02 0_1 LDN M238_02_0_1 Declaration:=R M 000,00 Q R M000_00_Q R_TRIG1 : R_TRIG;! M 238,02 0_1 LD M238_02_0_1&N M 000,00 Q ANDN M000_00_Q Instructions:=S M 000,00 Q S M000_00_Q CAL R_TRIG1(CLK := M238_02_0_1)= M 020,00 PULS LD M238_02_0_1 LD R_TRIG1.Q

ANDN M000_00_Q ST M020_00_PULSST M020_00_PULS

Negative edge: (I- � F_TRIG)907 PC 331/IL: Import Rework ! M 238,02 1_0 LD M238_02_1_0 Declaration:=S M 000,00 Q S M000_00_Q F_TRIG1 : F_TRIG;!N M 238,02 1_0 LDN M238_02_1_0& M 000,00 Q AND M000_00_Q Instructions:=R M 000,00 Q R M000_00_Q CAL F_TRIG1(CLK := M238_02_1_0)= M 020,00 PULS LDN M238_02_0_1 LD F_TRIG1.Q

AND M000_00_Q ST M020_00_PULSST M020_00_PULS

Reset memory, dominating: (SR � RS)907 PC 331/IL: Import Rework ! M 238,02 S LD M238_02_S Declaration:=S M 000,00 Q1 S M000_00_Q1 RSInst1 : RS;! M 238,00 R LD M238_00_R=R M 000,00 Q1 R M000_00_Q1 Instructions:! M 000,00 Q1 LD M000_00_Q1 CAL RSInst1(SET := M238_02_S,= M 020,00 Q ST M020_00_Q RESET1 := M238_00_R);

LD RSInst1.Q1ST M020_00_Q

Page 71: Installation

3-15907 AC 1131/Issue: 07/00 Importing projects 4

Set memory, dominating: (RS � SR)907 PC 331/IL: Import Rework ! M 238,02 R LD M238_02_R Declaration:=R M 000,00 Q1 R M000_00_Q1 SRInst1 : SR;! M 238,00 S LD M238_00_S=S M 000,00 Q1 S M000_00_Q1 Instructions:! M 000,00 Q1 LD M000_00_Q1 CAL SRInst1(SET := M238_00_S,= M 020,00 Q ST M020_00_Q RESET1 := M238_02_R);

LD SRInst1.Q1ST M020_00_Q

Binary exclusive OR: (=1� XOR)907 PC 331/IL: Import Rework ! M 010,00 E1 LD M010_00_E1 LD M010_00_E1&N M 010,01 E2 ANDN M010_01_E2 XOR M010_00_E2/N M 010,00 E1 ORN M010_00_E1 ST M011_00_A1& M 010,01 E2 AND M010_01_E2= M 011,00 A1 ST M011_00_A1

User connection elements:

User connection elements are resolved in the IL and correspondingly imported as IL.

Page 72: Installation
Page 73: Installation

4-1907 AC 1131/Issue: 07/00 OPC test 4

4 Notes concerning the OPC server

4.1 Installing the OPC server

The OPC server is installed together with the programming software 907 AC 1131. In theAC1131 directory you can find the following files:- CoDeSysOPC.EXE OPC server- OPCCFG.EXE setting/verification of the communication parameters- OCS_PROXY.DLL DLL for OPC server

The registration is performed using: "CoDeSysOPC /RegServer".The registration is executed automatically during installation.

The following entries are made (example):[HKEY_LOCAL_MACHINE\SOFTWARE\3S-Smart Software Solutions GmbH\CoDeSysOPC\Config]Updaterate"=dword"Wait for target"=dword"Sync startup"="yes""Public groups"="yes""Reconnect Interval"="dword""Notify on quality change"="yes"

[HKEY_CURRENT_USER\Software\3S-Smart Software Solutions GmbH\CoDeSysOPC\Connections]"Project0"=hex (current communication parameters for the OPC server including project ID)"Motorola0"="Yes""Timeout0"="dword"

The OPC server (and the gateway) is automatically started by the operating system as soon asone of the clients establishes a connection. The server is automatically exited as soon as allclients have cleared the connection.

Caution:If a download to the target system is performed while the OPC server is active, itsconfiguration becomes invalid and all items get the quality "Bad".

Page 74: Installation

4-2 907 AC 1131/Issue: 07/00OPC test4

4.1.1 Server settings

The server tasks are set using the configuration program OPCCfg.exe. After starting thisprogram the following window appears:

Page 75: Installation

4-3907 AC 1131/Issue: 07/00 OPC test 4

For the test the following settings were selected first:

Meanings of the individual settings:

• Motorola Byteorder: noThe target system of the project does not use Motorola’s byte order (especially to beobserved for 68K, 8051, Power PC!).

• Public Groups anlegen: yesThe OPC server establishes one public group for each IEC block as well as for the globalvariables.

• Synchrone Initialisierung: yesWhen starting, the OPC server does not return until the symbol configuration is loaded.

• Notification bei Quality-Änderung: yesThe client is informed that the status of an object has changed (e.g. if a download wasnewly performed while the OPC server was active) and is then able to initiate correspondingactions.

• Update rate (ms): 200Basic update rate of the OPC server in milliseconds = Cycle time with which all item valuesare newly read from the controller (these values are written to the Cash memory the clientcommunicates with using a separately defined update rate).

• Wartezeit Zielsystem (s): 60Time in seconds that the OPC server waits until the controller is ready (important forcontroller autostart).

• Reconnect Intervall (s): 5Time interval for the OPC server to attempt to reestablish the connection to the controller viathe gateway after a communication break-off.

• Kommunikations-Timeout (s): 3The OPC server finishes automatically after this time period if it does not receive an answerfrom the controller to a transmitted service.

• Puffer-Größe (Byte): 0Communication buffer size on the target system. If it is set to 0 it is attempted to receive thisinformation from the device driver. If nothing is stated there it is assumed that the buffer sizeis infinite.

Page 76: Installation

4-4 907 AC 1131/Issue: 07/00OPC test4

Using the menu item "Konfiguration/Verbindung" the communication channel is set. This isperformed the same way as for the programming software 907 AC 1131.

As well as the serial coupling all the linking can be set as for the programming software907 AC 1131.After this, the settings are saved and the configurator is exited.

Note:If another hardware is loaded on the same computer when using the programmingsoftware 907 AC 1131, the connection to the hardware must be defined in the dialog"Online/Communication Parameters". This setting is applied and also used for theOPC server without any notice. Due to this, the configuration program must be startedagain after the process of loading in order to correct the OPC connection.

Page 77: Installation

4-5907 AC 1131/Issue: 07/00 OPC test 4

4.1.2 Selecting the variables in the programming software 907 AC 1131

All variables to be used in the OPC server must be determined in the 907 AC 1131 software.For this, some settings have to be made under "Project\Options\Symbol configuration".

Selecting the option "Dump symbol entries" ensures that a symbol file which provides theselected variables for the OPC data exchange is prepared on each translation process.

Note:The file is not written to the hard disk of the PC (C:\Winnt\Gateway Files) until theproject is sent to the target hardware. The file name is equal to the correspondingproject but with the extension "sym".The OPC data exchange cannot be performed prior to this.

Page 78: Installation

4-6 907 AC 1131/Issue: 07/00OPC test4

The selection of the variables is done using the button "Configure symbol file".

Note:If you want to select individual objects (e.g. BOOL_100 in the folder "Globalvariables"), first all attributes must be reset for the entire selection. This must beconcluded with the button "OK". After this, only the desired object (e.g. BOOL_100)must be selected (or highlighted) to activate the desired attributes.

Explanation:

• "Export variables of object": The variables of the desired object are written to the symbol file.

• "Export data entries": Entries for accessing the total variables are created for structures andarrays of the object. Assumption: "Export variables of object" is activated.

• "Export structure components": For the structures of the object one entry is created for eachcomponent of the variable. Assumption: ": "Export variables of object" is activated.

• "Export array entries": For the arrays of the object one entry is created for each componentof the variable. Assumption: ": "Export variables of object" is activated.

• "Write access": The OPC server can modify the variables of the object.

Page 79: Installation

4-7907 AC 1131/Issue: 07/00 OPC test 4

4.2 Testing the OPC server

4.2.1 Testing the starting behavior and parallel operation

A short test program (OPC_Server_Test.pro) containing 10 counters and 5 flashing flags isloaded via the ARCNET card to a 07 KT 97 and stored in the Flash memory. All the objects ofthe program are marked as OPC variables as described above. The symbol file can begenerated for all objects or only for a selection of objects, as described in the chapter "Selectingthe variables in the programming software 907 AC 1131".

Note:The selection is not effective until the project is downloaded to the target hardware.

Using the Visiwin developer’s package the variables of the symbol file can be entered into aVisiwin database in order to be available in the visualization interface. A form was filled with theten counters and the flashing flags. Consequently the update of the OPC variables becamecontinuously visible.

After rebooting the PC and starting the test client or the Visiwin application, the OPC dataexchange was restarted again without any problems.OPC off; start 907 AC 1131 and login: OKPC off/on; start OPC; start 907 AC 1131 and login:

Note:During parallel operation via ARCNET no problems will occur if both, OPC and907 AC 1131, work to the same node. The connection established first will experiencea communication error as soon as it is attempted to operate different nodes. Thecommunication error in the Visiwin application will cause the computer to crash. TheARCNET driver cannot handle 4F telegrams to different nodes at the same time.

Repeated login onto 2 different controllers containing the same program:Altering between 2 controllers containing identical programs (node 1 and node 2) is performedwithout any problems for the OPC server with the configuration program. Connection anddisplay were frequently altered between the two nodes during one PC session. It is of noimportance whether the login is performed via COM1 or ARCNET.

Note:If a program requires a modification, the program must be loaded to both controllersand stored in the Flash memory. The OPC server does not work anymore if there areany differences between the programs on the controller and on the PC. No dataexchange is performed any more.Using the write protection ("Write Protection Password" under"Project\Options\Passwords") will protect against unintentional program modificationsif the same program is used for multiple controllers.

Page 80: Installation

4-8 907 AC 1131/Issue: 07/00OPC test4

4.2.2 Preparing the dynamic tests

Using the programming software 907 AC 1131, different objects were created which can bearranged in a test program as required.

Program blocks:_1000binaere_Anweisungen_10000binaere_Anweisungen (assumes _1000binaere_Anweisungen)_1000binaereSetAnweisungen_10000binaereSetAnweisungen (assumes _1000binaereSetAnweisungen)_1000WortAdd_10000WortAdd (assumes _1000WortAdd)_1000WortMul_10000WortMul (assumes _1000WortMul)Arcnet_Datenverkehr (test program with 5 basic units)Modbus (COM1 as master, COM2 as slave)

Variables objects:AuslastungOPC-AllgemeinBool_100Bool_100_IBool_100_MByt_10_I_Linie1Byt_10_I_Linie2Byt_100_I_Linie1Byt_100_I_Linie2Int_10Int_10_IInt_10_MInt_100Int_100_IInt_100_MInt_1000Int_2000

Sampling cyclesIn the world of OPC two sampling cycles exist. One from the client to the server and one fromthe server to the target hardware. Both sampling cycles are adjustable. They should besynchronized, i.e. they should be in the same range.Using its sampling interval the server reads all the defined values from the controller and writesthem to the Cash memory.The client communicates with this Cash memory using the grid of its sampling interval.

The definition of the server sampling time (interval) is performed as described in chapter "Serversettings". Here it is the parameter "Update rate". The time is entered in milliseconds. The testsdescribed here were performed using fixed sampling rates of 100 ms.

Page 81: Installation

4-9907 AC 1131/Issue: 07/00 OPC test 4

4.2.3 Testing using VisiWin client

Two images (so called Forms) are created using the visualization package Visiwin, the"Central_Form" and a "Form1". The "Central_Form" is automatically used after starting thevisualization (starting Visual Basic). It contains the following variables:

Zykluszaehler:With every cycle this variable is incremented by 1 in the PLC test program.

Auslastung:Corresponds to the value of %MW1259.0 in the PLC.

Prg_Rechenzeit:Corresponds to the program calculation time which is calculated in the PLC. It is determined atthe beginning and at the end of the PLC program using the block SYS_TIME.

Zyklusdifferenz:Internal Visiwin variable. For each recognized change of the cycle counter in the PLC, this valueis newly calculated by using the internal VisiWin variable "VW_Zykluszaehler".

The update time can be calculated using the Prg_Rechenzeit (for cyclic program processing) orthe call interval (for task configuration) and the cycle difference.

MaxZeitAenderung:Using this internal VisiWin variable the maximum update time is displayed over the entirerunning time. By clicking with the mouse on this value, a calculation restart can be performedduring running operation.

MinZeitAenderung:Using this internal VisiWin variable the minimum update time is displayed over the entirerunning time. By clicking with the mouse on this value, a calculation restart can be performedduring running operation.

In addition, the system oscillators %MX255.0, %MX255.1, %MX255.2, %MX255.4 and%MX255.5 are displayed on the Form.

Using the button "Aufruf_Form1" the second image of the test application is opened withoutOPC variables. To leave it again click on the button "Central_Form".

Note:Using VisiWin an image sensitive variables update can be switched on. Thisautomatically switches off all variables which are not contained on the currently usedimage (Form).

Caution:When switching to the Form1, all the OPC variables are correctly logged off at theserver. This also sets the data exchange between the server and the target hardware.If the "Central_Form" is now used again, the variables update does not start any more.This condition can only be corrected by re-starting VisiWin.

Caution:If the visualization is active and a program modification is loaded to the targethardware, the variables update is interrupted and does not start any more.

Page 82: Installation

4-10 907 AC 1131/Issue: 07/00OPC test4

The sampling time for the visualization package VisiWin is set in milliseconds using theparameter "Abtastzeit" under "Konfigurationen/Treiber-Schnittstellen".

1st test row: fixed number of OPC variables, increasing PLC program size

Basic information:

• Seven OPC variables (objects "Auslastung" and "OPC-Allgemein"). The variables used inthe figure were updated using the setting "nicht benutzte Variablen/Items abmelden".

• Both sampling times set to 100 ms.• PLC program size varies.• Serial or ARCNET coupling.

The results of this test row are listed in the table located at the end of this chapter.

2nd test row: fixed PLC program size, increasing number of OPC variables

Basic information:

• PLC program with binary/word processing, ARCNET telegram and MODBUS traffic.• Using the setting "nicht benutzte Variablen/Items abmelden" ensures that all variables are

always updated.• Both sampling times set to 100 ms.• Different OPC variables (refer to the table for objects).• The symbol configuration for the objects "Auslastung", "OPC_Allgemein" and "Int_1000" is

established using 907 AC 1131.• The number of OPC variables is adapted in the VisiWin data base using "Objekt/Aktivieren"

or "Objekt/Deaktivieren". This results in the number 200, 300, etc.

Caution:Only 499 OPC variables (as arranged in the table) can be called via the OPC server.The PLC will crash (restart!) if 500 variables are defined.

The results of this test row are listed in the table located at the end of this chapter.

Page 83: Installation

4-11907 AC 1131/Issue: 07/00 OPC test 4

4.2.4 Testing using WIZCON client

Using the visualization package WIZCON an image is created which contains the followingvariables:

Zykluszaehler:With every cycle this variable is incremented by 1 in the PLC test program.

Auslastung:Corresponds to the value of %MW1259.0 in the PLC.

Programmrechenzeit:Corresponds to the program calculation time which is calculated in the PLC. It is determined atthe beginning and at the end of the PLC program using the block SYS_TIME.

Zyklusdifferenz:Internal WIZCON variable. For each recognized change of the cycle counter in the PLC, thisvalue is newly calculated by using the internal WIZCON variable "VW_Zykluszaehler".The "Aenderungszeit" can be calculated using the program calculation time (for cyclic programprocessing) or the call interval (for task configuration) and the cycle difference.

Aenderungszeit:This variable always displays the result of the multiplication cycle difference * programcalculation time. For cyclic program processing this is the OPC update time. The"Aenderungszeit" was simultaneously entered into a diagram that a curve shape was alsoavailable for the min-max evaluation.

In addition, the system oscillators %MX255.0, %MX255.1, %MX255.2, %MX255.4 and%MX255.5 are displayed on the Form.

Note:WIZCON always updates all defined gates. That means there is no image sensitiveswitch-on/off of the gates. Therefore it was not possible to switch on/off OPC variablesduring a running application by altering the image (refer to test with VisWin).Adding/deleting of gates is performed "online". If a current image variable is deletedthe status "bad" is assigned. It is then no longer updated. Adding this variable againdoes not automatically result in an update of the image. The current value of thevariable is not visible until the image is switched off and called again.

Caution:When installing the communication driver under"Konfiguration/Kommunikationstreiber", the CoDeSys server is not offered in thecombo box. This means that it is not recognized. Communication was only possibleafter it was entered manually into the combo box.

Page 84: Installation

4-12 907 AC 1131/Issue: 07/00OPC test4

In WIZCON the sampling time is given for each gate. The setting can be made in seconds andmilliseconds.

1st test row: fixed number of OPC variables, increasing PLC program size

Basic information:

• Seven OPC variables (objects "Auslastung" and "OPC-Allgemein").• Both sampling times set to 100 ms.• PLC program size varies.• Serial or ARCNET coupling.

The results of this test row are listed in the table located at the end of this chapter.

2nd test row: fixed PLC program size, increasing number of OPC variables

Basic information:

• PLC program with binary/word processing, ARCNET telegram and MODBUS traffic.• Both sampling times set to 100 ms.• Different OPC variables (refer to the table for objects).• The symbol configuration for the objects "Auslastung", "OPC_Allgemein" and "Int_1000" is

established using 907 AC 1131.• The number of OPC variables is adapted in the WIZCON gate definition by adding or

deleting them. This results in the number 200, 300, etc.

The results of this test row are listed in the table located at the end of this chapter.

Caution:Only 499 OPC variables (as arranged in the table) can be called via the OPC server.The PLC will crash (restart!) if 500 variables are defined.

Page 85: Installation

4-13

907

AC

113

1/Is

sue:

07/

00O

PC

test

4

4.3

Tes

t re

sult

s

4.3.

1 V

isiW

in t

est

row

1

OP

C v

aria

ble

sP

rog

ram

Blo

cks

Co

nn

ecti

on

to t

he

PL

C

Cyc

lic t

ask

(C)

Tas

k(T

=xxm

s)

Cap

acit

yu

tiliz

atio

n o

fth

e P

LC

%

Pro

gra

mca

lcu

lati

on

tim

e

ms

Init

ializ

atio

nti

me

(in

th

eim

age)

sec

Req

uir

edcy

cles

to

reco

gn

ize

chan

ges

cycl

es

Req

uir

ed t

ime

to r

eco

gn

ize

chan

ges

(min

/ m

ax)

ms

seria

lC

97-1

0012

/16

613

-14

168/

224

Aus

last

ung

OP

C-A

llgem

ein

PLC

_PR

G_1

0000

binä

re A

nwei

sung

enA

RC

NE

TC

97-1

0012

/13

87-

984

/108

seria

lC

99-1

0047

/ 58

63-

517

0/30

0A

usla

stun

gO

PC

-Allg

emei

n

PLC

_PR

G_1

0000

binä

re A

nwei

sung

en_1

0000

Wor

tAdd

AR

CN

ET

C99

-100

49/ 5

09

2-4

98/1

96

seria

lC

100

66/ 7

66

3-5

225/

340

Aus

last

ung

OP

C-A

llgem

ein

PLC

_PR

G_1

0000

binä

re A

nwei

sung

en_1

0000

Wor

tAdd

_100

00bi

näre

Set

Anw

eisu

ngen

AR

CN

ET

C10

065

/ 66

102-

413

0/26

4

seria

lC

100

118/

131

63-

438

0/50

0A

usla

stun

gO

PC

-Allg

emei

n

PLC

_PR

G_1

0000

binä

re A

nwei

sung

en_1

0000

Wor

tAdd

_100

00bi

näre

Set

Anw

eisu

ngen

_100

00W

ortM

ulA

RC

NE

TC

100

118

122-

323

6/35

7

Page 86: Installation

4-14

907

AC

113

1/Is

sue:

07/

00O

PC

test

4OP

C v

aria

ble

sP

rog

ram

Blo

cks

Co

nn

ecti

on

to t

he

PL

C

Cyc

lic t

ask

(C)

Tas

k(T

=xxm

s)

Cap

acit

yu

tiliz

atio

n o

fth

e P

LC

%

Pro

gra

mca

lcu

lati

on

tim

e

ms

Init

ializ

atio

nti

me

(in

th

eim

age)

sec

Req

uir

edcy

cles

to

reco

gn

ize

chan

ges

cycl

es

Req

uir

ed t

ime

to r

eco

gn

ize

chan

ges

(min

/ m

ax)

ms

seria

lC

100

55/6

49

3-5

189/

320

Aus

last

ung

OP

C-A

llgem

ein

PLC

_PR

G_1

0000

binä

re A

nwei

sung

en_1

0000

Wor

tAdd

AR

CN

ET

-Dat

enau

stau

sch

AR

CN

ET

C10

054

/55

92-

410

6/21

6

Aus

last

ung

OP

C-A

llgem

ein

PLC

_PR

G_1

0000

binä

reA

nwei

sung

en_1

0000

Wor

tAdd

AR

CN

ET

-Dat

enau

stau

sch

MO

DB

US

AR

CN

ET

C10

054

/59

103-

516

2/29

5

seria

lT

=15

084

-86

118/

131

62

300

Aus

last

ung

OP

C-A

llgem

ein

PLC

_PR

G_1

0000

binä

re A

nwei

sung

en_1

0000

Wor

tAdd

_100

00bi

näre

Set

Anw

eisu

ngen

_100

00W

ortM

ulA

RC

NE

TT

=15

082

-85

117

81-

215

0/30

0

seria

lT

=15

020

-40

12/1

66

115

0A

usla

stun

gO

PC

-Allg

emei

n

PLC

_PR

G_1

0000

binä

re A

nwei

sung

enA

RC

NE

TT

=15

015

-24

127

115

0

Page 87: Installation

4-15

907

AC

113

1/Is

sue:

07/

00O

PC

test

4

OP

C v

aria

ble

sP

rog

ram

Blo

cks

Co

nn

ecti

on

to t

he

PL

C

Cyc

lic t

ask

(C)

Tas

k(T

=xxm

s)

Cap

acit

yu

tiliz

atio

n o

fth

e P

LC

%

Pro

gra

mca

lcu

lati

on

tim

e

ms

Init

ializ

atio

nti

me

(in

th

eim

age)

sec

Req

uir

edcy

cles

to

reco

gn

ize

chan

ges

cycl

es

Req

uir

ed t

ime

to r

eco

gn

ize

chan

ges

(min

/ m

ax)

ms

seria

lT

=20

73-7

512

/16

65-

1010

0/20

0A

usla

stun

gO

PC

-Allg

emei

n

PLC

_PR

G_1

0000

binä

re A

nwei

sung

enA

RC

NE

TT

=20

70-7

111

/12

75-

710

0/14

0

seria

lT

=60

96-1

0051

/53

74-

624

0/36

0A

usla

stun

gO

PC

-Allg

emei

n

PLC

_PR

G_1

0000

binä

re A

nwei

sung

en_1

0000

Wor

tAdd

AR

CN

ET

-Dat

enau

stau

sch

AR

CN

ET

T=

6094

52/5

28

2-4

120/

240

Aus

last

ung

OP

C-A

llgem

ein

PLC

_PR

G_1

0000

binä

re A

nwei

sung

en_1

0000

Wor

tAdd

AR

CN

ET

-Dat

enau

stau

sch

MO

DB

US

AR

CN

ET

T=

6096

-100

54/5

99

3-5

180/

300

Page 88: Installation

4-16

907

AC

113

1/Is

sue:

07/

00O

PC

test

44.3.

2 V

isiW

in t

est

row

2

OP

C v

aria

ble

sP

rog

ram

Blo

cks

Co

nn

ecti

on

to t

he

PL

C

Cyc

lic t

ask

(C)

Tas

k(T

=xxm

s)

Cap

acit

yu

tiliz

atio

n o

fth

e P

LC

%

Pro

gra

mca

lcu

lati

on

tim

e

ms

Init

ializ

atio

nti

me

(in

th

eim

age)

sec

Req

uir

edcy

cles

to

reco

gn

ize

chan

ges

cycl

es

Req

uir

ed t

ime

to r

eco

gn

ize

chan

ges

(min

/ m

ax)

ms

seria

lC

99-1

0065

/67

95-

632

5/40

8A

usla

stun

gO

PC

-Allg

emei

nIn

t_10

PLC

_PR

G_1

0000

binä

re A

nwei

sung

en_1

0000

Wor

tAdd

AR

CN

ET

-Dat

enau

stau

sch

AR

CN

ET

C99

-100

53/5

510

3-5

156/

275

seria

lC

100

57/6

719

23-2

416

08/1

325

Aus

last

ung

OP

C-A

llgem

ein

Int_

100

PLC

_PR

G_1

0000

binä

re A

nwei

sung

en_1

0000

Wor

tAdd

AR

CN

ET

-Dat

enau

stau

sch

AR

CN

ET

C10

053

/55

1312

-14

636/

770

seria

lC

100

63/6

526

44-4

628

16/2

990

Aus

last

ung

OP

C-A

llgem

ein

Int_

1000

, 200

of

them

rel

ease

d

PLC

_PR

G_1

0000

binä

re A

nwei

sung

en_1

0000

Wor

tAdd

AR

CN

ET

-Dat

enau

stau

sch

AR

CN

ET

C10

053

/55

2023

-25

1219

/137

5

seria

lC

100

61/6

229

64-6

639

04/4

092

Aus

last

ung

OP

C-A

llgem

ein

Int_

1000

, 300

of

them

rel

ease

d

PLC

_PR

G_1

0000

binä

re A

nwei

sung

en_1

0000

Wor

tAdd

AR

CN

ET

-Dat

enau

stau

sch

AR

CN

ET

C10

054

/55

2233

-35

1782

/192

5

Page 89: Installation

4-17

907

AC

113

1/Is

sue:

07/

00O

PC

test

4

OP

C v

aria

ble

sP

rog

ram

Blo

cks

Co

nn

ecti

on

to t

he

PL

C

Cyc

lic t

ask

(C)

Tas

k(T

=xxm

s)

Cap

acit

yu

tiliz

atio

n o

fth

e P

LC

%

Pro

gra

mca

lcu

lati

on

tim

e

ms

Init

ializ

atio

nti

me

(in

th

eim

age)

sec

Req

uir

edcy

cles

to

reco

gn

ize

chan

ges

cycl

es

Req

uir

ed t

ime

to r

eco

gn

ize

chan

ges

(min

/ m

ax)

ms

seria

lC

100

58/6

047

87-8

950

46/5

280

Aus

last

ung

OP

C-A

llgem

ein

Int_

1000

, 400

of

them

rel

ease

d

PLC

_PR

G_1

0000

binä

re A

nwei

sung

en_1

0000

Wor

tAdd

AR

CN

ET

-Dat

enau

stau

sch

AR

CN

ET

C10

053

/55

2544

-45

2332

/243

0

seria

lC

100

54/5

655

106-

107

5830

/593

6A

usla

stun

gO

PC

-Allg

emei

nIn

t_10

00, 4

86 o

fth

em r

elea

sed

PLC

_PR

G_1

0000

binä

re A

nwei

sung

en_1

0000

Wor

tAdd

AR

CN

ET

-Dat

enau

stau

sch

AR

CN

ET

C10

052

/55

3052

-54

2704

/291

6

Aus

last

ung

OP

C-A

llgem

ein

Int_

1000

, 486

of

them

rel

ease

d

PLC

_PR

G_1

0000

binä

re A

nwei

sung

en_1

0000

Wor

tAdd

AR

CN

ET

-Dat

enau

stau

sch

MO

DB

US

AR

CN

ET

C10

053

/56

3153

-54

2809

/302

4

seria

lT

=70

89-9

061

/65

74-

628

0/42

0A

usla

stun

gO

PC

-Allg

emei

nIn

t_10

PLC

_PR

G_1

0000

binä

re A

nwei

sung

en_1

0000

Wor

tAdd

AR

CN

ET

-Dat

enau

stau

sch

AR

CN

ET

T=

7083

-85

51/5

28

1-3

70/2

10

Page 90: Installation

4-18

907

AC

113

1/Is

sue:

07/

00O

PC

test

4OP

C v

aria

ble

sP

rog

ram

Blo

cks

Co

nn

ecti

on

to t

he

PL

C

Cyc

lic t

ask

(C)

Tas

k(T

=xxm

s)

Cap

acit

yu

tiliz

atio

n o

fth

e P

LC

%

Pro

gra

mca

lcu

lati

on

tim

e

ms

Init

ializ

atio

nti

me

(in

th

eim

age)

sec

Req

uir

edcy

cles

to

reco

gn

ize

chan

ges

cycl

es

Req

uir

ed t

ime

to r

eco

gn

ize

chan

ges

(min

/ m

ax)

ms

seria

lT

=70

92-9

352

/62

1218

-19

1260

/133

0A

usla

stun

gO

PC

-Allg

emei

nIn

t_10

0

PLC

_PR

G_1

0000

binä

re A

nwei

sung

en_1

0000

Wor

tAdd

AR

CN

ET

-Dat

enau

stau

sch

AR

CN

ET

T=

7086

-88

51/5

210

4-6

280/

420

seria

lT

=70

91-9

251

/53

2433

-35

2310

/245

0A

usla

stun

gO

PC

-Allg

emei

nIn

t_10

00, 2

00 o

fth

em r

elea

sed

PLC

_PR

G_1

0000

binä

re A

nwei

sung

en_1

0000

Wor

tAdd

AR

CN

ET

-Dat

enau

stau

sch

AR

CN

ET

T=

7086

-88

5112

8-9

560/

630

seria

lT

=70

90-9

351

3249

-50

3430

/350

0A

usla

stun

gO

PC

-Allg

emei

nIn

t_10

00, 3

00 o

fth

em r

elea

sed

PLC

_PR

G_1

0000

binä

re A

nwei

sung

en_1

0000

Wor

tAdd

AR

CN

ET

-Dat

enau

stau

sch

AR

CN

ET

T=

7087

-88

5113

11-1

377

0/91

0

seria

lT

=70

9354

/57

4466

-67

4620

/469

0A

usla

stun

gO

PC

-Allg

emei

nIn

t_10

00, 4

00 o

fth

em r

elea

sed

PLC

_PR

G_1

0000

binä

re A

nwei

sung

en_1

0000

Wor

tAdd

AR

CN

ET

-Dat

enau

stau

sch

AR

CN

ET

T=

7087

-88

5115

14-1

698

0/11

20

Page 91: Installation

4-19

907

AC

113

1/Is

sue:

07/

00O

PC

test

4

OP

C v

aria

ble

sP

rog

ram

Blo

cks

Co

nn

ecti

on

to t

he

PL

C

Cyc

lic t

ask

(C)

Tas

k(T

=xxm

s)

Cap

acit

yu

tiliz

atio

n o

fth

e P

LC

%

Pro

gra

mca

lcu

lati

on

tim

e

ms

Init

ializ

atio

nti

me

(in

th

eim

age)

sec

Req

uir

edcy

cles

to

reco

gn

ize

chan

ges

cycl

es

Req

uir

ed t

ime

to r

eco

gn

ize

chan

ges

(min

/ m

ax)

ms

seria

lT

=70

9353

4079

-80

5530

/560

0A

usla

stun

gO

PC

-Allg

emei

nIn

t_10

00, 4

86 o

fth

em r

elea

sed

PLC

_PR

G_1

0000

binä

re A

nwei

sung

en_1

0000

Wor

tAdd

AR

CN

ET

-Dat

enau

stau

sch

AR

CN

ET

T=

7087

-88

5114

17-1

911

90/1

330

AR

CN

ET

T=

6096

-100

5221

52-5

631

20/3

360

Aus

last

ung

OP

C-A

llgem

ein

Int_

1000

, 486

of

them

rel

ease

d

PLC

_PR

G_1

0000

binä

re A

nwei

sung

en_1

0000

Wor

tAdd

AR

CN

ET

-Dat

enau

stau

sch

MO

DB

US

AR

CN

ET

T=

7089

-90

51/5

218

19-2

013

30/1

400

Page 92: Installation

4-20

907

AC

113

1/Is

sue:

07/

00O

PC

test

44.3.

3 W

izco

n t

est

row

1

OP

C v

aria

ble

sP

rog

ram

Blo

cks

Co

nn

ecti

on

to t

he

PL

C

Cyc

lic t

ask

(C)

Tas

k(T

=xxm

s)

Cap

acit

yu

tiliz

atio

n o

fth

e P

LC

%

Pro

gra

mca

lcu

lati

on

tim

e

ms

Init

ializ

atio

nti

me

(in

th

eim

age)

sec

Req

uir

edcy

cles

to

reco

gn

ize

chan

ges

cycl

es

Req

uir

ed t

ime

to r

eco

gn

ize

chan

ges

(min

/ m

ax)

ms

seria

lC

97-1

0012

/16

-13

-14

168/

210

Aus

last

ung

OP

C-A

llgem

ein

PLC

_PR

G_1

0000

binä

re A

nwei

sung

enA

RC

NE

TC

97-1

0012

/13

-7-

884

/108

seria

lC

99-1

0049

/59

-4-

621

2/30

6A

usla

stun

gO

PC

-Allg

emei

n

PLC

_PR

G_1

0000

binä

re A

nwei

sung

en_1

0000

Wor

tAdd

AR

CN

ET

C99

-100

49/5

0-

2-4

98/1

96

seria

lC

100

66/8

0-

4-5

280/

340

Aus

last

ung

OP

C-A

llgem

ein

PLC

_PR

G_1

0000

binä

re A

nwei

sung

en_1

0000

Wor

tAdd

_100

00bi

näre

Set

Anw

eisu

ngen

AR

CN

ET

C10

065

/66

-2-

413

2/26

4

seria

lC

100

118/

134

-3-

439

0/51

6

Aus

last

ung

OP

C-A

llgem

ein

PLC

_PR

G_1

0000

binä

re A

nwei

sung

en_1

0000

Wor

tAdd

_100

00bi

näre

Set

Anw

eisu

ngen

_100

00W

ortM

ulA

RC

NE

TC

100

118/

119

-2-

323

6/35

7

Page 93: Installation

4-21

907

AC

113

1/Is

sue:

07/

00O

PC

test

4

OP

C v

aria

ble

sP

rog

ram

Blo

cks

Co

nn

ecti

on

to t

he

PL

C

Cyc

lic t

ask

(C)

Tas

k(T

=xxm

s)

Cap

acit

yu

tiliz

atio

n o

fth

e P

LC

%

Pro

gra

mca

lcu

lati

on

tim

e

ms

Init

ializ

atio

nti

me

(in

th

eim

age)

sec

Req

uir

edcy

cles

to

reco

gn

ize

chan

ges

cycl

es

Req

uir

ed t

ime

to r

eco

gn

ize

chan

ges

(min

/ m

ax)

ms

seria

lC

100

58/6

7-

4-5

232/

340

Aus

last

ung

OP

C-A

llgem

ein

PLC

_PR

G_1

0000

binä

re A

nwei

sung

en_1

0000

Wor

tAdd

AR

CN

ET

-Dat

enau

stau

sch

AR

CN

ET

C10

053

/55

-2-

410

8/21

6

Aus

last

ung

OP

C-A

llgem

ein

PLC

_PR

G_1

0000

binä

re A

nwei

sung

en_1

0000

Wor

tAdd

AR

CN

ET

-Dat

enau

stau

sch

MO

DB

US

AR

CN

ET

C10

053

/59

-2-

410

6/22

0

seria

lT

=15

086

-88

131/

132

-2-

330

0/45

0

Aus

last

ung

OP

C-A

llgem

ein

PLC

_PR

G_1

0000

binä

re A

nwei

sung

en_1

0000

Wor

tAdd

_100

00bi

näre

Set

Anw

eisu

ngen

_100

00W

ortM

ulA

RC

NE

TT

=15

082

-85

117

-1-

215

0/30

0

seria

lT

=15

020

-30

11/1

5-

1-2

150/

300

Aus

last

ung

OP

C-A

llgem

ein

PLC

_PR

G_1

0000

binä

re A

nwei

sung

enA

RC

NE

TT

=15

015

-22

11/1

2-

115

0

Page 94: Installation

4-22

907

AC

113

1/Is

sue:

07/

00O

PC

test

4OP

C v

aria

ble

sP

rog

ram

Blo

cks

Co

nn

ecti

on

to t

he

PL

C

Cyc

lic t

ask

(C)

Tas

k(T

=xxm

s)

Cap

acit

yu

tiliz

atio

n o

fth

e P

LC

%

Pro

gra

mca

lcu

lati

on

tim

e

ms

Init

ializ

atio

nti

me

(in

th

eim

age)

sec

Req

uir

edcy

cles

to

reco

gn

ize

chan

ges

cycl

es

Req

uir

ed t

ime

to r

eco

gn

ize

chan

ges

(min

/ m

ax)

ms

seria

lT

=20

77-7

812

/15

-9-

1118

0/22

0A

usla

stun

gO

PC

-Allg

emei

nP

LC_P

RG

_100

00bi

näre

Anw

eisu

ngen

AR

CN

ET

T=

2069

-71

12-

4-6

80/1

20

seria

lT

=60

97-1

0051

/53

-4-

624

0/36

0A

usla

stun

gO

PC

-Allg

emei

n

PLC

_PR

G_1

0000

binä

re A

nwei

sung

en_1

0000

Wor

tAdd

AR

CN

ET

-Dat

enau

stau

sch

AR

CN

ET

T=

6094

51/5

2-

2-4

120/

240

AR

CN

ET

T=

6096

-100

51/5

3-

3-5

180/

300

Aus

last

ung

OP

C-A

llgem

ein

PLC

_PR

G_1

0000

binä

re A

nwei

sung

en_1

0000

Wor

tAdd

AR

CN

ET

-Dat

enau

stau

sch

MO

DB

US

AR

CN

ET

T=

7085

-87

51/5

3-

1-2

70/1

40

Page 95: Installation

4-23

907

AC

113

1/Is

sue:

07/

00O

PC

test

4

4.3.

4 W

izco

n t

est

row

2

OP

C v

aria

ble

sP

rog

ram

Blo

cks

Co

nn

ecti

on

to t

he

PL

C

Cyc

lic t

ask

(C)

Tas

k(T

=xxm

s)

Cap

acit

yu

tiliz

atio

n o

fth

e P

LC

%

Pro

gra

mca

lcu

lati

on

tim

e

ms

Init

ializ

atio

nti

me

(in

th

eim

age)

sec

Req

uir

edcy

cles

to

reco

gn

ize

chan

ges

cycl

es

Req

uir

ed t

ime

to r

eco

gn

ize

chan

ges

(min

/ m

ax)

ms

seria

lC

99-1

0064

/66

-5-

632

5/39

6A

usla

stun

gO

PC

-Allg

emei

nIn

t_10

PLC

_PR

G_1

0000

binä

re A

nwei

sung

en_1

0000

Wor

tAdd

AR

CN

ET

-Dat

enau

stau

sch

AR

CN

ET

C99

-100

53/5

5-

3-5

156/

275

seria

lC

100

64/6

7-

23-2

415

60/1

608

Aus

last

ung

OP

C-A

llgem

ein

Int_

100

PLC

_PR

G_1

0000

binä

re A

nwei

sung

en_1

0000

Wor

tAdd

AR

CN

ET

-Dat

enau

stau

sch

AR

CN

ET

C99

-100

53/5

5-

12-1

463

6/77

0

seria

lC

100

63/6

4-

45-4

628

35/2

944

Aus

last

ung

OP

C-A

llgem

ein

Int_

1000

, 200

of

them

rel

ease

d

PLC

_PR

G_1

0000

binä

re A

nwei

sung

en_1

0000

Wor

tAdd

AR

CN

ET

-Dat

enau

stau

sch

AR

CN

ET

C99

-100

52/5

5-

23-2

511

96/1

375

seria

lC

100

60/6

1-

65-6

639

00/3

965

Aus

last

ung

OP

C-A

llgem

ein

Int_

1000

, 300

of

them

rel

ease

d

PLC

_PR

G_1

0000

binä

re A

nwei

sung

en_1

0000

Wor

tAdd

AR

CN

ET

-Dat

enau

stau

sch

AR

CN

ET

C10

053

/54

-33

-35

1782

/189

0

Page 96: Installation

4-24

907

AC

113

1/Is

sue:

07/

00O

PC

test

4OP

C v

aria

ble

sP

rog

ram

Blo

cks

Co

nn

ecti

on

to t

he

PL

C

Cyc

lic t

ask

(C)

Tas

k(T

=xxm

s)

Cap

acit

yu

tiliz

atio

n o

fth

e P

LC

%

Pro

gra

mca

lcu

lati

on

tim

e

ms

Init

ializ

atio

nti

me

(in

th

eim

age)

sec

Req

uir

edcy

cles

to

reco

gn

ize

chan

ges

cycl

es

Req

uir

ed t

ime

to r

eco

gn

ize

chan

ges

(min

/ m

ax)

ms

seria

lC

100

57/5

8-

87-8

959

59/5

162

Aus

last

ung

OP

C-A

llgem

ein

Int_

1000

, 400

of

them

rel

ease

d

PLC

_PR

G_1

0000

binä

re A

nwei

sung

en_1

0000

Wor

tAdd

AR

CN

ET

-Dat

enau

stau

sch

AR

CN

ET

C10

054

/55

-44

-45

2376

/247

5

seria

lC

100

53/5

4-

104-

106

5512

/572

4A

usla

stun

gO

PC

-Allg

emei

nIn

t_10

00, 4

86 o

fth

em r

elea

sed

PLC

_PR

G_1

0000

binä

re A

nwei

sung

en_1

0000

Wor

tAdd

AR

CN

ET

-Dat

enau

stau

sch

AR

CN

ET

C99

-100

53/5

4-

51-5

327

54/2

862

Aus

last

ung

OP

C-A

llgem

ein

Int_

1000

, 486

of

them

rel

ease

d

PLC

_PR

G_1

0000

binä

re A

nwei

sung

en_1

0000

Wor

tAdd

AR

CN

ET

-Dat

enau

stau

sch

MO

DB

US

AR

CN

ET

C10

055

/59

-52

-53

2860

/302

1

seria

lT

=70

87-8

961

/63

-5-

635

0/42

0A

usla

stun

gO

PC

-Allg

emei

nIn

t_10

PLC

_PR

G_1

0000

binä

re A

nwei

sung

en_1

0000

Wor

tAdd

AR

CN

ET

-Dat

enau

stau

sch

AR

CN

ET

T=

7084

-86

51-

1-3

70/2

10

Page 97: Installation

4-25

907

AC

113

1/Is

sue:

07/

00O

PC

test

4

OP

C v

aria

ble

sP

rog

ram

Blo

cks

Co

nn

ecti

on

to t

he

PL

C

Cyc

lic t

ask

(C)

Tas

k(T

=xxm

s)

Cap

acit

yu

tiliz

atio

n o

fth

e P

LC

%

Pro

gra

mca

lcu

lati

on

tim

e

ms

Init

ializ

atio

nti

me

(in

th

eim

age)

sec

Req

uir

edcy

cles

to

reco

gn

ize

chan

ges

cycl

es

Req

uir

ed t

ime

to r

eco

gn

ize

chan

ges

(min

/ m

ax)

ms

seria

lT

=70

91-9

352

/61

-18

-19

1260

/133

0A

usla

stun

gO

PC

-Allg

emei

nIn

t_10

0

PLC

_PR

G_1

0000

binä

re A

nwei

sung

en_1

0000

Wor

tAdd

AR

CN

ET

-Dat

enau

stau

sch

AR

CN

ET

T=

7086

-88

51-

4-6

280/

420

seria

lT

=70

91-9

251

/58

-34

-35

2380

/245

0A

usla

stun

gO

PC

-Allg

emei

nIn

t_10

00, 2

00 o

fth

em r

elea

sed

PLC

_PR

G_1

0000

binä

re A

nwei

sung

en_1

0000

Wor

tAdd

AR

CN

ET

-Dat

enau

stau

sch

AR

CN

ET

T=

7086

-88

51-

8-9

560/

630

seria

lT

=70

92-9

351

/52

-50

3500

Aus

last

ung

OP

C-A

llgem

ein

Int_

1000

, 300

of

them

rel

ease

d

PLC

_PR

G_1

0000

binä

re A

nwei

sung

en_1

0000

Wor

tAdd

AR

CN

ET

-Dat

enau

stau

sch

AR

CN

ET

T=

7087

-88

51-

11-1

377

0/91

0

seria

lT

=70

92-9

353

/56

-66

-67

4620

/469

0A

usla

stun

gO

PC

-Allg

emei

nIn

t_10

00, 4

00 o

fth

em r

elea

sed

PLC

_PR

G_1

0000

binä

re A

nwei

sung

en_1

0000

Wor

tAdd

AR

CN

ET

-Dat

enau

stau

sch

AR

CN

ET

T=

7087

-88

51-

14-1

698

0/11

20

Page 98: Installation

4-26

907

AC

113

1/Is

sue:

07/

00O

PC

test

4OP

C v

aria

ble

sP

rog

ram

Blo

cks

Co

nn

ecti

on

to t

he

PL

C

Cyc

lic t

ask

(C)

Tas

k(T

=xxm

s)

Cap

acit

yu

tiliz

atio

n o

fth

e P

LC

%

Pro

gra

mca

lcu

lati

on

tim

e

ms

Init

ializ

atio

nti

me

(in

th

eim

age)

sec

Req

uir

edcy

cles

to

reco

gn

ize

chan

ges

cycl

es

Req

uir

ed t

ime

to r

eco

gn

ize

chan

ges

(min

/ m

ax)

ms

seria

lT

=70

9351

/52

-78

-80

5460

/560

0A

usla

stun

gO

PC

-Allg

emei

nIn

t_10

00, 4

86 o

fth

em r

elea

sed

PLC

_PR

G_1

0000

binä

re A

nwei

sung

en_1

0000

Wor

tAdd

AR

CN

ET

-Dat

enau

stau

sch

AR

CN

ET

T=

7087

-89

51-

16-1

811

20/1

260

AR

CN

ET

T=

6096

-100

52/5

3-

49-5

329

40/3

180

Aus

last

ung

OP

C-A

llgem

ein

Int_

1000

, 486

of

them

rel

ease

d

PLC

_PR

G_1

0000

binä

re A

nwei

sung

en_1

0000

Wor

tAdd

AR

CN

ET

-Dat

enau

stau

sch

MO

DB

US

AR

CN

ET

T=

7089

-90

51-

19-2

013

30/1

400

Page 99: Installation

I907 AC 1131/Issue: 07/00 Index 4

5 Index

AABB_LEER.PRO 3-6accessing address of boolean variables when

importing a project 3-11accessing direct addresses when importing projects

3-10

Ccode and data size 2-20code size 2-20configuration files for the controllers 2-19controller configuration - changing the PLC 2-18controller configuration - entering the PLC 2-16controller configuration - how to enter the PLC 2-17Create boot project 2-22creating and modifying your own library 2-38

Ddata size 2-21

Eentering the PLC into the controller configuration 2-

16example program using 07 KT 97 2-2

FFlash user program 2-22

Hhow to enter the PLC into the controller configuration

2-17

Iimporting a project - creating an ASCII file of the

program 3-4importing a project – creating an ASCII file of the

variables list 3-2importing a project – sequence of steps 3-6importing projects from 907 PC 331 3-1importing step chains from 907 PC 331 3-9Info on project on PLC 2-23

Mmenus in the Online main menu 2-22

Nnot imported program parts from 907 PC 331 3-10

Ppeculiarities for forcing and overwriting in version

V4.1 2-27peculiarities of batch operation in version V4.1 2-30Perform cold start 2-23PLC browser 2-24procedure for importing the project 3-8project protection for logging in to the controller 2-32

RRETAIN variables - note for program change 2-33reworking projects from 907 PC 331 3-10

Ssequence of steps to import the project 3-6Settings for Force 2-22

Vvariable name for importing a project from

907 PC 331 3-7

Wwhat's new in version V4.1 2-1Write user program to SMC 2-23

Page 100: Installation
Page 101: Installation
Page 102: Installation

ABB Schalt- und Steuerungstechnik GmbHEppelheimer Straße 82 Postfach 10 50 09D-69123 Heidelberg D-69040 Heidelberg

Telephone +49 6221 777-0Telefax +49 6221 777-111E-Mail [email protected] http://www.abb-sst.de Printed in the Federal Republic of Germany (07.2000)

Printed on chlorine-free bleached paper