AC31 Connect
AC31 Connect
AC31 Connect
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.
file://C:\Users\Vzdrzevanje\AppData\Local\Temp\~hh2745.htm 10.10.2018
AC31 Connect - Project management - General Page 1 of 1
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
The new PLC can either be set by clicking on tool button or by selecting the context menue option 'Set
new PLC'.
Existing nodes/PLCs can be deleted by clicking on the tool button or by selecting the context menu
option 'Delete selected node/PLC'.
mk:@MSITStore:F:\AC31\AC31%20programi\PLC%20AC31%20izvorne%20kode%... 10.10.2018
AC31 Connect - Project management - PLC management Page 1 of 2
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.
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.
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.
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.
mk:@MSITStore:F:\AC31\AC31%20programi\PLC%20AC31%20izvorne%20kode%... 10.10.2018
AC31 Connect - Project management - Display PLC overview Page 1 of 2
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
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
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
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
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
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
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
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".
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
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
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
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
Click on tool button or select context menu option 'Select PLC configuration' to call up the dialogue
within the management system.
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.
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
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
a tabular 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.
'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:
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
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).
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
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'.
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
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
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
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.
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
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
mk:@MSITStore:F:\AC31\AC31%20programi\PLC%20AC31%20izvorne%20kode%... 10.10.2018
AC31 Connect - Linker - Module Page 1 of 1
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)
mk:@MSITStore:F:\AC31\AC31%20programi\PLC%20AC31%20izvorne%20kode%... 10.10.2018
AC31 Connect - Linker - Includes Page 1 of 1
mk:@MSITStore:F:\AC31\AC31%20programi\PLC%20AC31%20izvorne%20kode%... 10.10.2018
AC31 Connect - Linker - Replace Page 1 of 1
mk:@MSITStore:F:\AC31\AC31%20programi\PLC%20AC31%20izvorne%20kode%... 10.10.2018
AC31 Connect - Variable list - General Page 1 of 1
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.
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
"/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
Thomas Pawelak
Tel: +49 931 909 6409
thomas.pawelak@kba.com
mk:@MSITStore:F:\AC31\AC31%20programi\PLC%20AC31%20izvorne%20kode%... 10.10.2018