Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

AC31 Connect

Download as pdf or txt
Download as pdf or txt
You are on page 1of 40

AC31 Connect - General Page 1 of 1

AC31 Connect - General


AC31 Connect
Copyright © 2007 Thomas Pawelak. All rights reserved.
Kontakt aufnehmen

AC31 Connect Permits the user to communicate with the machine PLCs via the Service PC. It is mainly
used for loading PLC programs, fault finding and diagnostics. Connection with the machine PLCs is
normally made via the Arcnet/Ethernet Network. Connection with a single PLC via the RS232 interface of
the Service PC is also possible.

Key functions of project management:


 Hierarchical management of the machine PLCs
 Group upload to all machine PLCs simultaneously (only for Arcnet, Ethernet)
 Simultaneous opening of several source files
 Display of the PLCs within the communication network (only for Arcnet, Ethernet)
 Identify PLC versions within the communication network (only for Arcnet, Ethernet)
 Import/Export of nodes
 Availability of a communication server for tunnelling connections from the AC31

Key functions for project clients


 Editor with code highlighting, bookmarks, search & replace
 Fault diagnosis of the PLC
 Remote module search per PLC
 Program upload, debugging, download
 Firmware upload/download
 Blendable program help
 Remote connection to an AC31 Server

Key functions for PLC Linker:


 Includes Linker Switches ( {BEGIN , {ELSE , {END )
 Includes Modulen Files (including Variable Offset, exchange of Lines)
 Includes Replace Files
 Includes Include Files

Key functions for variable list:


 Identify used variables
 Syntax check

file://C:\Users\Vzdrzevanje\AppData\Local\Temp\~hh2745.htm 10.10.2018
AC31 Connect - Project management - General Page 1 of 1

AC31 Connect - Project management - General

The project mangement serves mainly to hierarchically group the individual PLCs in one or more machines
or to control project clients. The following commands are available:
 Set a new node (=New grouping)
 Set a new PLC (=New PLC)
 Delete selected node/PLC
 Open the selected PLC in the editor
 Load the selected PLC(s)
 Configure the selected PLC(s)
 Display an overview of all currently active PLCs (Arcnet/Ethernet)
 Identify versions of all active PLCs (Arcnet/Ethernet)
 Import/export nodes
 Remote connection to an AC31 Server

mk:@MSITStore:F:\AC31\AC31%20programi\PLC%20AC31%20izvorne%20kode%... 10.10.2018
AC31 Connect - Project management - Node management Page 1 of 1

AC31 Connect - Project management - Node management

Set new nodes (=New grouping):


Nodes are virtual objects for creating a structure. Nodes can be set either by clicking on the tool button

or via the context menu option 'Set new nodes'.

Set a new PLC:


A PLC contains all information necessary to establish communication with the machine control system.
This will consist of at least the access type, the address, an optional name, or a reference to a source file.

The new PLC can either be set by clicking on tool button or by selecting the context menue option 'Set
new PLC'.

Delete selected node/PLC:

Existing nodes/PLCs can be deleted by clicking on the tool button or by selecting the context menu
option 'Delete selected node/PLC'.

Move selected node/PLC:


Existing nodes/PLCs can be moved to any desired position via drag & drop.

mk:@MSITStore:F:\AC31\AC31%20programi\PLC%20AC31%20izvorne%20kode%... 10.10.2018
AC31 Connect - Project management - PLC management Page 1 of 2

AC31 Connect - Project management - PLC management

Open the selected PLC in the editor:

Click on the tool button or select the option 'Open the selected PLC(s) in the editor' in the context menu to open the PLCs (at first offline) in the
editor which are defined under 'Node management'. Opening of the PLC source files is performed recursively, i.e. all child nodes under the selected
node are checked for the presence of a source file and if one is present it is opened.

Load the selected PLC(s):

Click on the tool button or select the context menu option 'Load selected PLC(s)' to open the PLCs, which are defined under 'Node management',
in the background and prepare them for upload. The source(s) will be automatically uploaded into the individual PLCs. After loading, a cold start will
normally be performed in each PLC. Loading of the 'PLCs is performed recursively; i.e. all child nodes under the selected node are checked for the
presence of a source file.

The progress for each node is shown via a percentage display.

If communication faults occur, a report will be generated and displayed after termination of the process.

mk:@MSITStore:F:\AC31\AC31%20programi\PLC%20AC31%20izvorne%20kode%... 10.10.2018
AC31 Connect - Project management - PLC management Page 2 of 2

If syntax errors are present in a source file, the corresponding line will be marked red.

Configure selected PLCs:

After a new PLC has been set, a name should be assigned to it or the access type and source file given. Click on tool button or select the context
menu option 'Configure selected PLC' to open the configuration window.

Further information concerning configuration of PLCs

mk:@MSITStore:F:\AC31\AC31%20programi\PLC%20AC31%20izvorne%20kode%... 10.10.2018
AC31 Connect - Project management - Display PLC overview Page 1 of 2

AC31 Connect - Project management - Display PLC overview

Display PLC map:


Click on the tool button or select the context menu option 'Show Plc Map' to open the PLC map and
perform a network broadcast. PLCs which respond within 2,5 sec are displayed black in the PLC overview.
Your own Node/IP are displayed red.

mk:@MSITStore:F:\AC31\AC31%20programi\PLC%20AC31%20izvorne%20kode%... 10.10.2018
AC31 Connect - Project management - Display PLC overview Page 2 of 2

mk:@MSITStore:F:\AC31\AC31%20programi\PLC%20AC31%20izvorne%20kode%... 10.10.2018
AC31 Connect - Project management - Identifying PLC versions Page 1 of 2

AC31 Connect - Project management - Identifying PLC versions

Identify PLC version:


With the context menu 'Idenfying (remote) PLC version(s)' you start identification of the PLC versions. After
successful identification of the PLC data you receive an XML File, including the data received from the
PLCs.

Example:

mk:@MSITStore:F:\AC31\AC31%20programi\PLC%20AC31%20izvorne%20kode%... 10.10.2018
AC31 Connect - Project management - Identifying PLC versions Page 2 of 2

mk:@MSITStore:F:\AC31\AC31%20programi\PLC%20AC31%20izvorne%20kode%... 10.10.2018
AC31 Connect - Project management - Import/Export nodes Page 1 of 1

AC31 Connect - Project management - Import/Export nodes

By using Copy, Insert Node the user can copy Nodes/Plc's.

Copy Node:
Click on the context menu option 'Copy Node' to copy all Information under your selection.

Insert Node:
Click on the context menu option 'Insert Node' to insert all your copied information under your selection.

By using import/export nodes the user can pass on his defined nodes to a third party. One example
would be for transferring settings to a customer.

Import nodes:
Click on the context menu option 'Import nodes' to open the file dialogue, and select one of the previously
exported project files. Click on 'Open' to read in the selected project file. It will be attached to the selected
node.

Export nodes:
Click on the context menu option 'Export nodes' to open the file dialogue and enter a name for the project
file. Click on the 'Save' button to save all data from the selected node to a project file.

mk:@MSITStore:F:\AC31\AC31%20programi\PLC%20AC31%20izvorne%20kode%... 10.10.2018
AC31 Connect - Project management - Remote Server Page 1 of 1

AC31 Connect - Project management - Remote Server

Prepare remote server:


Click on the tool button to set-up a remote server at TCP Port 1023. The remote clients are then able
to establish a connection via this server. The server is only active when the button is in the depressed
condition.

Note: The button is only visible when the program is started with the parameter "/Remote".

mk:@MSITStore:F:\AC31\AC31%20programi\PLC%20AC31%20izvorne%20kode%... 10.10.2018
AC31 Connect - Project client - General Page 1 of 1

AC31 Connect - Project client - General

The project client is mainly an editor for creating and editing machine programs. It also represents the interface to the individual PLCs. The following
functions are available:
 Editor with configurable syntax highlighting
 Switchable Programmer help
 Switchable write protection
 Search & replace
 Add & delete lines by Bookmarks

mk:@MSITStore:F:\AC31\AC31%20programi\PLC%20AC31%20izvorne%20kode%... 10.10.2018
AC31 Connect - Project client - Function Editor Page 1 of 3

AC31 Connect - Project client - Function editor

Project management:
Click on the tool button or select menu option 'Window' 'Project management' to switch the project
management to the foreground.

File:

mk:@MSITStore:F:\AC31\AC31%20programi\PLC%20AC31%20izvorne%20kode%... 10.10.2018
AC31 Connect - Project client - Function Editor Page 2 of 3

Click on tool button or select menu option 'File' 'New' to create a new/empty source file.
Attention: This function is only possible in stand-alone mode at the project client. In all other cases, the file
must be created via the project management under 'PLC configuration'.

Click on the tool button or select the menu option 'File' 'Open' to open an existing file. The standard
Windows "Open file" dialogue is started.
Attention: This function is only possible in stand-alone mode at the project client. In all other cases, the file
must be created via the project management under 'PLC configuration'.

Click on the tool button or select the menu option 'File' 'Save' to save the currently open source file.

Select the menu option 'File' 'Options' to display the "Options" dialogue.

Edit:
Click on the tool button or select the menu option 'Edit' 'Write protection on/off' write protection can be
set fot the source file.

Click on the tool button or select the menu option 'Edit' 'Cut' to cut out the marked text.

Click on the tool button or select the menu option 'Edit' 'Copy' to copy the marked text.

Click on the tool button or select the menu option 'Edit' 'Insert' to insert the content of the clipboard into
the source file.

Click on the tool button or select the menu option 'Edit' 'Undo' to undo the last change.

Click on the tool button or select the menu option 'Edit' 'Restore' to reinstate the last changes before the
last "Undo".

Click on the tool button or select the menu option 'Edit' 'Search' to open the "Search" dialogue.

Click on the tool button or select the menu option 'Edit' 'Search previous' to locate the previous position
of the search string.

Click on the tool button or select the menu option 'Edit' 'Next' to locate the next occurance of the search
string.

Click on the tool button or select the menu option 'Edit' 'Replace' to open the "Replace" dialogue.

Bookmarks:
Click on the tool button to set a bookmark within the source file.

Click on the tool button to jump to the position of the previous bookmark.

Click on the tool button to jump to the position of the next bookmark.

Click on the tool button to delete a bookmark which has been set.

Extras:
Select the menu option 'Extras' 'Display fault text' to open the fault text dialogue. Here, the fault list for the
PLC can be displayed off-line.
Further Information for offline identifing PLC faults

Select the menu option 'Extras' 'Show Variable List' to identify the used PLC Variables.
Further Information for identifing uses PLC Variables

mk:@MSITStore:F:\AC31\AC31%20programi\PLC%20AC31%20izvorne%20kode%... 10.10.2018
AC31 Connect - Project client - Function Editor Page 3 of 3

Window:
Select the menu option 'Window': the listed elements are the currently open editor instances. Click on one
to display it in the foreground. The menu list corresponds to the PLC names within the project
management. The project management can also be displayed inthe foreground directly via 'Project
management'.

Toolbar:
With the Toolbar you can save your eight favourite PLC commands. With the options you can configure
your Toolbar
Further Infos for configuration of the toolbar

mk:@MSITStore:F:\AC31\AC31%20programi\PLC%20AC31%20izvorne%20kode%... 10.10.2018
AC31 Connect - Project client - Options Page 1 of 3

AC31 Connect - Project client - Options


General:

 Language: you can set the display language here


 Automatic terminal changeover by use of debug command. (Client does this automatically)
 Automatic axis labelling: scales the axes to the current minimum/maximum value, or to the default
min/max values.
 Vertical axis alignment: defines the default display of the table
 Filter similar ZD/ZG-command values: only the changes displayed also when T300 PLCs in use
 Coldstart after group update: perform a cold start after a group upload. Alternatively only a start is
performed.
 AC31 Connect Installer: the path to the installer can be entered here. This causes a check for a new
version every time AC31 is started.

Tools:

mk:@MSITStore:F:\AC31\AC31%20programi\PLC%20AC31%20izvorne%20kode%... 10.10.2018
AC31 Connect - Project client - Options Page 2 of 3

Here, you may define your most frequently used commands. These commands can then be selected from
a tool list.

Arcnet Driver:

Here, you may define the service names of your Arcnet Drivers, or rather the Arcnet Nodes for each driver
separately.

Linker:

mk:@MSITStore:F:\AC31\AC31%20programi\PLC%20AC31%20izvorne%20kode%... 10.10.2018
AC31 Connect - Project client - Options Page 3 of 3

 Linker switch 'End' without additional parameters will be accepted: the compiler does not check for
additional parameters when the linker switch 'End' is used
 Missing negation accepted for linker switch 'End': the compiler does not check for negation when the
linker switch 'End' is used

Variable list:

 No strict check: Not every set variable must show a reset state.
 Do not check commented out lines: Lines which are commented out will not be checked.

mk:@MSITStore:F:\AC31\AC31%20programi\PLC%20AC31%20izvorne%20kode%... 10.10.2018
AC31 Connect - Project client - PLC functions - General Page 1 of 2

AC31 Connect - Project client - PLC functions - General


Logging in:
Click on the tool button select the menu option 'Online' 'Log on' to start communication with the PLC.
The window is now split into an editor and a terminal area.
Attention: While on-line the editor is automatically in write-protected mode.
After successfully logging in the PLC sends a short message containing information about the firmware
version and the currently loaded source program.

Remote on-line:
Click on the tool button to start communication with the PLC via a remote server. The program
requests the IP address of the remote server.

This can be useful when, for example, an AC31 Server is listening for incoming connections, and you are
connected via Ethernet. This saves the use of an Arcner card, since the connection can be established via
the server.
Note: The button is only visible when the program is started with the parameter "/Remote".

Successful connection with the machine control:


After successfully logging in to the machine control you receive a short message about the PLC and the
firmware on the PLC.

If a difference is detected between the editor version and the PLC version, all further actions are blocked.

mk:@MSITStore:F:\AC31\AC31%20programi\PLC%20AC31%20izvorne%20kode%... 10.10.2018
AC31 Connect - Project client - PLC functions - General Page 2 of 2

Faulty connection with the machine control:


If a fault occurs during establishment of communication, a message will be displayed.

Logging out:
Click on the tool button or select menu option 'Online' 'Log off' to terminate communication with the
PLC.

mk:@MSITStore:F:\AC31\AC31%20programi\PLC%20AC31%20izvorne%20kode%... 10.10.2018
AC31 Connect - Project client - PLC functions - General Page 1 of 1

AC31 Connect - Project client - PLC functions - General


Loading:
Select one of the options: 'Online' 'Load', 'Load and start' or 'Load and cold start' to transfer the current source
program into the PLC. If the PLC is currently running you will be informed via an information window.

During loading you will be informed of the progress. This is in the form of a window in the foreground or a bar display
at the foot of the editor window.

Depending upon which menu option was selected, after loading, the PLC will be started or cold started.

Start:
Select menu option 'Online' 'Start' to start the currently loaded source. Je START: G<CR>

Stop:
Select menu option 'Online' 'Stop' to stop the currently loaded source in the PLC. Je ABORT: A<CR>

Reset:
Select menu option 'Online' 'Reset' to stop the currently loaded source program in the PLC and then restart it.

Communication parameters:
Select menu option 'Online' 'Communication parameters' to open the configuration dialogue. Here, the access type,
source file, etc is specified.
Further information concerning configuration of the PLC

Create a boot project:


Select menu option 'Online' 'Create boot project' to save the currently loaded source in the PLC to EPROM.

Cold/Warm start:
Select menu option 'Online' 'Cold start' or 'Warm start' to restart the soource program. An information window will
inform you if the PLC is currently running.

mk:@MSITStore:F:\AC31\AC31%20programi\PLC%20AC31%20izvorne%20kode%... 10.10.2018
AC31 Connect - Project client - PLC functions - Configuration Page 1 of 1

AC31 Connect - Project client - PLC functions - Configuration


PLC configuration from project management:

Click on tool button or select context menu option 'Select PLC configuration' to call up the dialogue
within the management system.

PLC configuration from project client:


Select menu option 'Online' 'Communication parameters' to call up the dialogue from a client.

PLC configuration:
Within this dialogue, the machine PLC can be described. A logical name should be used. This name also
appears as a node within the project management.

Under "Source File" define the corresponding source of the PLC.

Optionally, you have the possibility to define an extention file, which contains the differences between
aggregates.

Optionally, you have the possibility to define a machine and linker switches. This funcion is only available
with PLC program files

Under "Connection" you must specify how communication with the PLC will be realised. This can be via
Arcnet, Ethernet or serial interface. Further, it is mandatory to asign an address. When Arcnet is specified,
this will be the node number, for Ethernet the IP address and for the serial interface the Com Port address.

mk:@MSITStore:F:\AC31\AC31%20programi\PLC%20AC31%20izvorne%20kode%... 10.10.2018
AC31 Connect - Project client - PLC functions - Password Page 1 of 1

AC31 Connect - Project client - PLC functions - Password


Password:
Firmware versions >v2.0 for the KT94 and >v1.0 for the EC500 are capable of being protected by a
password.
Without the password, certain PLC commands are disabled. The main commands being: S, D, DEEP,
NOP, SP, V, O, AEND, FREI, as well as all monitoring commands.

Deactivate password protection:


Select the menu option 'Project' 'Deactivate password protection' to switch off a set password for a short
time. This is necessary if the above mentioned commands have to be used. The current password must be
entered in the dialogue box.
Attenion: The password is automatically activated again when the PLC is restarted, assuming it has not
been deleted.

Activate password protection:


Select the menu option 'Project' 'Activate password protection' to re-activate password protection after it
has been de-activated. If a password has not yet been set, call up the "Set password" dialogue box.

Delete password:
Select the menu option 'Project' 'Delete passwort' to delete a password which has already been set within
the PLC. If password protection is still active at this time, it must first be deactivated.

Set password:
Select the menu option 'Project' 'Set password' to set a password. The new password must be entered
twice in the dialogue box. If the two passwords are identical, the new password will be accepted and
password protection will be automatically activated.

mk:@MSITStore:F:\AC31\AC31%20programi\PLC%20AC31%20izvorne%20kode%... 10.10.2018
AC31 Connect - Project client - PLC functions - Debugging Page 1 of 3

AC31 Connect - Project client - PLC functions - Debugging


Debugging:
With the help of the debugging function, all current conditions can be read from the PLC. At the right of the project client window, the following are provided: a terminal window,

a tabular window

and a graphical window.

mk:@MSITStore:F:\AC31\AC31%20programi\PLC%20AC31%20izvorne%20kode%... 10.10.2018
AC31 Connect - Project client - PLC functions - Debugging Page 2 of 3

Switching between the windows is performed automatically by the client, since it can detect which method of representation would be best. In addition you can manually select
tabular or graphical representation.

Defining variables for debugging:


A command can be entered under the heading 'Command to PLC'. Or a portion of the program source code can be marked via the editor and one of the following actions can
be selected:

'z' toggles between visible and not visible for the the marked variable. The variables which have been selected for viewing are marked with a magnifying glass symbol. Once
you have made your selection, click on the tool button to convert the selection into a command.

Alternatively, you can use the key combination 'Alt'+'Crtl'+'z' to immediately convert the marked variables into a command.

With F6 or the context menu 'Show Pulse' you can make a pulse visible. (Only possible, if the PLC supports the monitor mode.)

With Shift+F6 or the context menue 'Get Varpool' you can define a variable array. You must enter the length at the popup dialogue.

Table alignment:
Here, the direction in which the data are represented can be set (vertical, horizontal).

Table display:
Here, the coding of the data can be set (binary, hex, decimal).

Trace:
Here you can de-/activate the tracing of the table. During tracing, the screen will be traced into an XML File. When trace is deactivated, the program requests the destination
for saving the file. Example:

Forcing or writing variables:


With the context menu 'Write/Force Values' or F7, you are be able to force or write variables

Also, with the context menu 'Reset Force Command' or STRG+F7, or the context menu 'Reset all Force commands' or ALT+F7 you can reset these variables.

mk:@MSITStore:F:\AC31\AC31%20programi\PLC%20AC31%20izvorne%20kode%... 10.10.2018
AC31 Connect - Project client - PLC functions - Debugging Page 3 of 3

The write/force dialogue - displayed via context menu 'Write/Force Dialogue' - provides information about the currently forced/written variables.

mk:@MSITStore:F:\AC31\AC31%20programi\PLC%20AC31%20izvorne%20kode%... 10.10.2018
AC31 Connect - Project client - PLC functions - Script Page 1 of 1

AC31 Connect - Project client - PLC functions - Script

Command script:
With the aid of the command script you are able to enter commands or react the events quickly.

All PLC commands plus some further script commands are possible:
 "Sleep=xxxx" (wait time in milliseconds).

 "Wait key" (wait until a key is pressed).


 "Abort" (abort the script command).
 "Repeat" (repeats the script command).
 "Trace=On/Off" (de-/activate the tracing).
 "MsgBox=xxxx" (show a message).
"Sleep +++ Sleep" or "Waitkey +++ Waitkey" will be displayed, if the Client is in wait position

If the script is in pause mode, the client informs you by displaying "Sleep +++ Sleep", or "Waitkey +++
Waitkey" at the command line.

mk:@MSITStore:F:\AC31\AC31%20programi\PLC%20AC31%20izvorne%20kode%... 10.10.2018
AC31 Connect - Project client - PLC functions - Extras Page 1 of 2

AC31 Connect - Project client - PLC functions - Extras


Firmware upload:
The program offers the possibility of loading the manufacturer's firmware directly as a Hex file over the
serial interface. This is of interest when a pre-prepared flashcard is not available.
Attention: The firmware upload is time consuming and can lead to destruction of the PLC under certain
conditions (power failure, cancel button).
To perform a firmware upload, select the menu option 'Extras' 'Load firmware via serial interface'. A
warning message will be displayed.

During the firmware upload the progress is displayed, as for program upload.

Firmware download:
The firmware in a PLC can also be downloaded and saved to a flash card, so that it can be copied. Select
the menu option 'Extras' 'Save firmware to flash card'.

Download program from PLC:


The program in the PLC can also be downloaded. select the menu option 'Extras' 'Download program from
PLC'.

mk:@MSITStore:F:\AC31\AC31%20programi\PLC%20AC31%20izvorne%20kode%... 10.10.2018
AC31 Connect - Project client - PLC functions - Extras Page 2 of 2

mk:@MSITStore:F:\AC31\AC31%20programi\PLC%20AC31%20izvorne%20kode%... 10.10.2018
AC31 Connect - Project client - PLC functions - Fault detection Page 1 of 1

AC31 Connect - Project client - PLC functions - Fault detection


PLC fault detection:
Select the menu option 'Online' 'Info. about faults' to detect faults withinn the PLC. A window is opened.
Any faults are displayed hierarchically; i.e. FK2 faults are displayed before FK3 faults.

mk:@MSITStore:F:\AC31\AC31%20programi\PLC%20AC31%20izvorne%20kode%... 10.10.2018
AC31 Connect - Project client - PLC functions - Detecting remote modules Page 1 of 1

AC31 Connect - Project client - PLC functions - Detecting remote modules


Detecting remote PLC modules:
Select the menu option 'Online' 'Info. about remote modules' to open the window for detecting/controlling
PLC remote modules.

Acknowledge CS31 fault:


Click on the button to reset the fault flag at a remote module.

CS31 Reset:
Click on the button to perform a reset on the CS31 bus.

mk:@MSITStore:F:\AC31\AC31%20programi\PLC%20AC31%20izvorne%20kode%... 10.10.2018
AC31 Connect - Linker - General Page 1 of 1

AC31 Connect - Linker - General

Der Linker ist in erster Linie ein Umsetzprogramm um "PLC"-Programme nach "SRC"-Programme zu
wandeln. Im "PLC"-Programm können Module, Linker Switch(es), Includes und Replaces verwendet
werden.

Source File: Hier wird das "PLC Programm" angegeben

Maschine: Hier wird die Maschine (optional) angegeben

Linker Switch: Hier wird/werden die Linker Switch(es), bzw. die Datei welche die Linker Switch(es)
enthält, angegeben. Linker Swtich(es) werden mit Leerzeichen getrennt.

Besonderheiten:
Der Linker ersetzt automatisch die Dateierweiterung von "PLC" auf "SRC".
Ist/sind im Dateinamen Platzhalter "x" vorhanden und es wurde mit einer Maschine gelinkt, so ersetzt der
Linker die Platzhalter mit der Maschine. Dies gilt auch für die im "SRC" enthaltene Dateinamen-
/Versionbeschreibung..

Aufruf
AC31.exe [file] [maschine] [Linker Switch]

mk:@MSITStore:F:\AC31\AC31%20programi\PLC%20AC31%20izvorne%20kode%... 10.10.2018
AC31 Connect - Linker - Linker Switch Page 1 of 1

AC31 Connect - Linker - Linker Switch


Mit Hilfe von Linker Switches sind Sie in der Lage, gewisse Programmteile in Abhängigkeit von Maschinen,
Konfigurationen ein- bzw. auszublenden. Der Hintergrund hierfür ist ein allgemeines Programm, das später
für jede einzelne Maschine individuell zusammengestellt werden kann.

 {BEGIN_01 für einsetzen


 {BEGIN_NOT_01 für weglassen
 {BEGIN_KT94 für einsetzen
 {BEGIN_NOT_KT94 für weglassen
 {ELSE zum drehen des Linker Switch
 {END beendet den Linker Switch
 {END_01 beendet den Linker Switch
 {END_NOT_01 beendet den Linker Switch

Desweiteren kann ein Linker Switch innerhalb des Programmes mit dem Schlüsselwort "$Switch" gesetzt
werden. Hintergrund sind Module, welche einmal mit Feedback und einmal ohne Feedback eingebunden
werden.
 $SWITCH EOS zum aktivieren eines dynamischen Switch

 $SWITCH zum deaktivieren eines dynamischen Swtich

mk:@MSITStore:F:\AC31\AC31%20programi\PLC%20AC31%20izvorne%20kode%... 10.10.2018
AC31 Connect - Linker - Module Page 1 of 1

AC31 Connect - Linker - Module


Mit Hilfe von Modulen können Sie ein und dieselben Programmteile x-mal in ein Programm mit
unterschiedlichen Variablen, Kommentaren einbinden. Hierzu steht im "PLC" Programm ein Kopfteil, im
"Mod" Programm ein Kopfteil, sowie ein Codeteil.

PLC: Austausch1;Austausch2;Austausch3
Modul: Orginal1;Orginal2;Orginal3
Während des Linkens wird Orginal1 mit Austausch1, Orginal2 mit Austausch2 getauscht. Desweiteren wird
Orginal1 mit function, sowie Orginal1 mit function_01, Orginal2 mit funktion_02 getauscht.

PLC: M360,00
Modul: M511,00
Während des Linkes wird die Variable M511,00 mit der Variable M360,00 getauscht.

PLC: M360
Modul: M511
Während des Linkes werden die Variablen der Gruppe M511 mit den Variablen der Gruppe M360
getauscht, vorausgesetzt die jenige Variable ist nicht noch explizit erwähnt.

PLC: M360$O08
Modul: M511
Während des Linkes werden die Variablen der Gruppe M511 mit den Variablen der Gruppe M360
getauscht. Weiterhin wird auf die getauschte Variable ein Offset von 08 unter Berücksichtigung von
Überträgen aufaddiert.

$Px: x gibt das n te "Globale Modul" an, z.B. $P1Global.mod (noch nicht umgesetzt)

$R: tauscht den String auch wenn es keine Programm Variable ist, z.b. $R#0815.

{Copy: kopiert den String auch wenn es keine Programm Variable ist. (Genutzt um Includes in das Modul
zu übergeben)

Aufruf aus dem "PLC Programm"


"{
(Modulname/global.mod)
....
....
....
"}

mk:@MSITStore:F:\AC31\AC31%20programi\PLC%20AC31%20izvorne%20kode%... 10.10.2018
AC31 Connect - Linker - Includes Page 1 of 1

AC31 Connect - Linker - Includes


Mit Hilfe von Include Dateien können Programmteile eingebunden werden..

Aufruf aus dem "PLC Programm"


"{INCLUDE DE_1007.inc

mk:@MSITStore:F:\AC31\AC31%20programi\PLC%20AC31%20izvorne%20kode%... 10.10.2018
AC31 Connect - Linker - Replace Page 1 of 1

AC31 Connect - Linker - Replace


Mit Hilfe von Replace Dateien können mit Include eingebundene Variablen nach einer Tauschliste
getauscht werden.

Aufruf aus dem "PLC Programm"


"{INCLUDE DE_1007.inc DE_1002.rep

mk:@MSITStore:F:\AC31\AC31%20programi\PLC%20AC31%20izvorne%20kode%... 10.10.2018
AC31 Connect - Variable list - General Page 1 of 1

AC31 Connect - Variable list - General

The variable list is essentially a program for displaying the variables in use. The program can, however,
also help in uncovering programming errors.

If the variable list is called up from within the project client, a window showing the results is displayed.

Red X's: Signal a fault


Blue X's: Signal a warning

If the mouse is positioned over the variable, further help information is displayed.
With the aid of the context menu, you can also search for this variable within the source code.

Starting program:
AC31.exe [file] [/K] [/L]

/L = Cursory check
/K = Ignore lines which are commented out

mk:@MSITStore:F:\AC31\AC31%20programi\PLC%20AC31%20izvorne%20kode%... 10.10.2018
AC31 Connect - Programm parameter Page 1 of 1

AC31 Connect - Programm parameter


Parameters:

"/Remote" activates remote support for project management and at the client.
"/Server" automatically activates the remote server after program start.
"/Tray" automatically minimises the program in the task bar after program start.
"/Log, /Log=Send, /Log=Rec, /Log=Both" Logs all messages which are sent or received via the
interface.
"/Log, /Log=Link" Logs all action of the Linker.
"????????.plc" Opens the Linker Dialogue
"????????.src" Opens the Variable List Dialogue

mk:@MSITStore:F:\AC31\AC31%20programi\PLC%20AC31%20izvorne%20kode%... 10.10.2018
AC31 Connect - Contact Page 1 of 1

AC31 Connect - Contact


For further information please contact me at:

Thomas Pawelak
Tel: +49 931 909 6409
thomas.pawelak@kba.com

Koenig & Bauer AG


Friedrich-Koenig-Str.4
97080 Würzburg, Germany

mk:@MSITStore:F:\AC31\AC31%20programi\PLC%20AC31%20izvorne%20kode%... 10.10.2018

You might also like