Manual Nordcon
Manual Nordcon
NORDCON
Manual
NORDCON – Manual
2 BU 0000 en-0421
Table of Contents
BU 0000 en-0421 3
NORDCON – Manual
Table of Contents
1 Introduction ................................................................................................................................................. 9
1.1 About NORDCON .............................................................................................................................. 9
1.2 How to use NORDCON...................................................................................................................... 9
2 Graphic user interface .............................................................................................................................. 12
2.1 Structure of the program interface ................................................................................................... 12
2.2 Main menu ....................................................................................................................................... 13
2.2.1 Category "File".................................................................................................................... 13
2.2.2 Category "Edit" ................................................................................................................... 14
2.2.3 Category "Project" .............................................................................................................. 15
2.2.4 Category "Device" .............................................................................................................. 16
2.2.5 Category "View".................................................................................................................. 17
2.2.6 Category "Extras" ............................................................................................................... 18
2.2.7 Category "Help" .................................................................................................................. 19
2.3 Toolbars ........................................................................................................................................... 19
2.3.1 Standard ............................................................................................................................. 19
2.3.2 Device ................................................................................................................................ 20
2.3.3 Start .................................................................................................................................... 21
2.4 View "Project"................................................................................................................................... 21
2.4.1 Structure of context menu .................................................................................................. 22
2.5 View "Messages" ............................................................................................................................. 24
2.6 View "Remote" ................................................................................................................................. 25
2.7 Docking and Undocking ................................................................................................................... 26
3 Communication ......................................................................................................................................... 32
3.1 USS.................................................................................................................................................. 32
3.1.1 General settings ................................................................................................................. 32
3.1.2 Bus scan ............................................................................................................................. 33
3.2 Ethernet ........................................................................................................................................... 34
3.2.1 General settings ................................................................................................................. 35
3.2.2 Scan ................................................................................................................................... 36
4 Parameterization ....................................................................................................................................... 38
4.1 How to manipulate parameters ........................................................................................................ 38
4.2 Selective parameterisation ............................................................................................................... 39
4.3 Off-line Parameterisation ................................................................................................................. 39
4.4 Parameter Viewing ........................................................................................................................... 40
4.5 Comparison report ........................................................................................................................... 40
4.6 Parameter upload from device ......................................................................................................... 41
4.7 Parameter download to device ......................................................................................................... 42
5 Control ....................................................................................................................................................... 44
5.1 Overview .......................................................................................................................................... 44
5.2 Standard control ............................................................................................................................... 45
5.3 Detailed control ................................................................................................................................ 45
5.3.1 Overview ............................................................................................................................ 45
5.3.2 Control ................................................................................................................................ 46
5.3.3 Management of setting values and actual values ............................................................... 47
5.3.4 Formatting of Setpoint and/or actual value ......................................................................... 48
5.3.5 Status word......................................................................................................................... 48
5.3.6 Control word ....................................................................................................................... 49
6 Remote control .......................................................................................................................................... 51
6.1 Standard .......................................................................................................................................... 51
6.2 NORDAC SK 200 E ......................................................................................................................... 52
6.3 NORDAC SK 700/500/300 E ........................................................................................................... 53
6.4 NORDAC vector mc ......................................................................................................................... 55
6.5 NORDAC vector ct ........................................................................................................................... 56
7 Oscilloscope .............................................................................................................................................. 58
7.1 Overview .......................................................................................................................................... 58
4 BU 0000 en-0421
Table of Contents
7.2 Display ............................................................................................................................................. 58
7.3 Handling ........................................................................................................................................... 59
7.4 Measurement ................................................................................................................................... 61
7.5 Save and Print ................................................................................................................................. 61
8 Macro editor ............................................................................................................................................... 63
8.1 User interfaces and views ................................................................................................................ 63
8.1.1 Window "Variables" ............................................................................................................ 63
8.1.2 Properties window .............................................................................................................. 63
8.1.3 Log window......................................................................................................................... 66
8.2 Working with macros ........................................................................................................................ 66
8.2.1 Create a new macro ........................................................................................................... 66
8.2.2 Open a macro ..................................................................................................................... 66
8.2.3 Save a macro ..................................................................................................................... 67
8.2.4 Inserting instructions........................................................................................................... 67
8.2.5 Copying instructions ........................................................................................................... 67
8.2.6 Cutting instructions ............................................................................................................. 67
8.2.7 Delete from instruction........................................................................................................ 67
8.2.8 Search and replace ............................................................................................................ 67
8.2.9 Shift up instruction .............................................................................................................. 67
8.2.10 Shift down instruction ......................................................................................................... 67
8.2.11 Creating new instructions ................................................................................................... 68
8.3 Scheduler ......................................................................................................................................... 69
8.3.1 Start sequence ................................................................................................................... 69
8.3.2 Cancel a macro .................................................................................................................. 69
8.3.3 Execute next instruction ..................................................................................................... 69
9 USS Frame-Editor...................................................................................................................................... 70
9.1 Master (order) .................................................................................................................................. 71
9.2 Device (response) ............................................................................................................................ 72
10 PLC ............................................................................................................................................................. 74
10.1 General ............................................................................................................................................ 74
10.1.1 Specification of the PLC ..................................................................................................... 74
10.1.2 PLC structure...................................................................................................................... 75
10.1.2.1 Memory 75
10.1.2.2 Image of the process 75
10.1.2.3 Program Task 76
10.1.2.4 Setpoint processing 76
10.1.2.5 Data processing via accumulator 76
10.1.3 Scope of functions .............................................................................................................. 77
10.1.3.1 Motion Control Lib 77
10.1.3.2 Electronic gear with Flying Saw 77
10.1.3.3 Visualisation 77
10.1.3.4 Process controller 77
10.1.3.5 CANopen communication 78
10.2 Creation of PLC programs ............................................................................................................... 78
10.2.1 Loading, saving and printing ............................................................................................... 78
10.2.2 Editor .................................................................................................................................. 78
10.2.2.1 Variables and FB declaration 79
10.2.2.2 Input window 80
10.2.2.3 Watch and Breakpoint display window 80
10.2.2.4 PLC message window 81
10.2.3 Transfer PLC program to device......................................................................................... 81
10.2.4 Debugging .......................................................................................................................... 82
10.2.4.1 Observation points (Watchpoints) 82
10.2.4.2 Holding points (Breakpoints) 82
10.2.4.3 Single Step 82
10.2.5 PLC configuration ............................................................................................................... 83
10.3 Function blocks ................................................................................................................................ 83
10.3.1 CANopen ............................................................................................................................ 83
10.3.1.1 Overview 84
10.3.1.2 FB_NMT 84
10.3.1.3 FB_PDOConfig 85
10.3.1.4 FB_PDOReceive 87
10.3.1.5 FB_PDOSend 89
10.3.2 Electronic gear unit with flying saw ..................................................................................... 91
BU 0000 en-0421 5
NORDCON – Manual
10.3.2.1 Overview 91
10.3.2.2 FB_FlyingSaw 92
10.3.2.3 FB_Gearing 93
10.3.3 Motion Control .................................................................................................................... 94
10.3.3.1 MC_Control 95
10.3.3.2 MC_Control_MS 97
10.3.3.3 MC_Home 98
10.3.3.4 MC_Home (SK 5xxP) 99
10.3.3.5 MC_MoveAbsolute 101
10.3.3.6 MC_MoveAdditive 102
10.3.3.7 MC_MoveRelative 103
10.3.3.8 MC_MoveVelocity 103
10.3.3.9 MC_Power 105
10.3.3.10 MC_ReadActualPos 106
10.3.3.11 MC_ReadParameter 106
10.3.3.12 MC_ReadStatus 107
10.3.3.13 MC_Reset 108
10.3.3.14 MC_Stop 109
10.3.3.15 MC_WriteParameter_16 / MC_WriteParameter_32 109
10.3.4 Standard ........................................................................................................................... 110
10.3.4.1 CTD downward counter 110
10.3.4.2 CTU upward counter 111
10.3.4.3 CTUD upward and downward counter 112
10.3.4.4 R_TRIG and F_TRIG 113
10.3.4.5 RS Flip Flop 114
10.3.4.6 SR Flip Flop 115
10.3.4.7 TOF switch-off delay 115
10.3.4.8 TON switch-on delay 116
10.3.4.9 TP time pulse 117
10.3.5 Access to memory areas of the frequency inverter........................................................... 118
10.3.5.1 FB_ReadTrace 118
10.3.5.2 FB_WriteTrace 119
10.3.6 Visualisation with ParameterBox ...................................................................................... 121
10.3.6.1 Overview visualisation 121
10.3.6.2 FB_DINTToPBOX 121
10.3.6.3 FB_STRINGToPBOX 124
10.3.7 FB_Capture (Detection of rapid events) ........................................................................... 126
10.3.8 FB_DinCounter ................................................................................................................. 128
10.3.9 FB_FunctionCurve............................................................................................................ 129
10.3.10 FB_PIDT1 ......................................................................................................................... 130
10.3.11 FB_ResetPostion.............................................................................................................. 132
10.3.12 FB_Weigh ......................................................................................................................... 133
10.4 Operators ....................................................................................................................................... 134
10.4.1 Arithmetical operators....................................................................................................... 134
10.4.1.1 ABS 134
10.4.1.2 ADD and ADD( 135
10.4.1.3 DIV and DIV( 135
10.4.1.4 LIMIT 136
10.4.1.5 MAX 136
10.4.1.6 MIN 137
10.4.1.7 MOD and MOD( 137
10.4.1.8 MUL and MUL( 137
10.4.1.9 MUX 138
10.4.1.10 SUB and SUB( 138
10.4.2 Extended mathematical operators .................................................................................... 139
10.4.2.1 COS, ACOS, SIN, ASIN, TAN, ATAN 139
10.4.2.2 EXP 140
10.4.2.3 LN 140
10.4.2.4 LOG 141
10.4.2.5 SQRT 141
10.4.3 Bit operators ..................................................................................................................... 142
10.4.3.1 AND and AND( 142
10.4.3.2 ANDN and ANDN( 142
10.4.3.3 NOT 143
10.4.3.4 OR and OR( 144
10.4.3.5 ORN andORN( 144
10.4.3.6 ROL 145
10.4.3.7 ROR 145
6 BU 0000 en-0421
Table of Contents
10.4.3.8 S and R 146
10.4.3.9 SHL 146
10.4.3.10 SHR 147
10.4.3.11 XOR and XOR( 147
10.4.3.12 XORN and XORN( 148
10.4.4 Loading and storage operators (AWL).............................................................................. 148
10.4.4.1 LD 149
10.4.4.2 LDN 149
10.4.4.3 ST 149
10.4.4.4 STN 150
10.4.5 Comparison operators ...................................................................................................... 150
10.4.5.1 EQ 150
10.4.5.2 GE 150
10.4.5.3 GT 151
10.4.5.4 LE 151
10.4.5.5 LT 152
10.4.5.6 NE 152
10.5 Processing values .......................................................................................................................... 153
10.5.1 Inputs and outputs ............................................................................................................ 153
10.5.2 PLC setpoint and actual values ........................................................................................ 160
10.5.3 Bus setpoints and actual values ....................................................................................... 164
10.5.4 ControlBox and ParameterBox ......................................................................................... 169
10.5.5 Information parameters .................................................................................................... 169
10.5.6 PLC errors ........................................................................................................................ 174
10.5.7 PLC parameters ............................................................................................................... 174
10.6 Languages ..................................................................................................................................... 176
10.6.1 Instruction list (AWL / IL) .................................................................................................. 176
10.6.1.1 General 176
10.6.2 Structured text (ST) .......................................................................................................... 179
10.6.2.1 Common 179
10.6.2.2 Procedure 181
10.7 Jumps ............................................................................................................................................ 184
10.7.1 JMP .................................................................................................................................. 184
10.7.2 JMPC................................................................................................................................ 184
10.7.3 JMPCN ............................................................................................................................. 184
10.8 Type conversion ............................................................................................................................. 185
10.8.1 BOOL_TO_BYTE ............................................................................................................. 185
10.8.2 BYTE_TO_BOOL ............................................................................................................. 185
10.8.3 BYTE_TO_INT ................................................................................................................. 185
10.8.4 DINT_TO_INT .................................................................................................................. 186
10.8.5 INT_TO_BYTE ................................................................................................................. 186
10.8.6 INT_TO_DINT .................................................................................................................. 187
10.9 PLC Error messages ...................................................................................................................... 187
11 Project Mode ............................................................................................................................................ 189
11.1 General .......................................................................................................................................... 189
11.2 HMI ................................................................................................................................................ 190
11.3 Save and restore ............................................................................................................................ 190
11.4 Project Download ........................................................................................................................... 192
12 Firmware .................................................................................................................................................. 193
12.1 How to update the firmware ........................................................................................................... 193
12.2 Firmware update program .............................................................................................................. 195
12.3 Firmware update via system bus.................................................................................................... 198
13 Settings .................................................................................................................................................... 201
13.1 User interface ................................................................................................................................. 201
13.2 Device report.................................................................................................................................. 202
13.3 Control ........................................................................................................................................... 203
13.4 Project ............................................................................................................................................ 204
13.5 Directories ...................................................................................................................................... 205
13.6 Macro editor ................................................................................................................................... 206
13.7 Parameter ...................................................................................................................................... 207
13.8 PLC ................................................................................................................................................ 207
14 Messages ................................................................................................................................................. 208
BU 0000 en-0421 7
NORDCON – Manual
14.1 Errors and information.................................................................................................................... 208
15 NORD DRIVESYSTEMS ........................................................................................................................... 216
15.1 NORD DRIVESYSTEMS corporate history .................................................................................... 217
15.2 Frequency Inverters ....................................................................................................................... 219
15.2.1 SK 135E ........................................................................................................................... 219
15.2.2 SK 180E ........................................................................................................................... 220
15.2.3 SK 200E ........................................................................................................................... 220
15.2.4 SK 500E ........................................................................................................................... 222
8 BU 0000 en-0421
1 Introduction
1 Introduction
NORDCON is a PC program intended to 4 "Parameterization" and 5.1 "Overview" the inverters and
option modules produced by Getriebebau NORD.
With NORDCON, up to 31 frequency inverters can be controlled simultaneously via the integrated
RS485 interface. Communication with the frequency inverters is handled by the PC's serial interface.
To enable trial runs or system start-ups, the connected frequency inverters can be controlled via the
PC. The program also provides for continuous monitoring of the current status of the frequency
inverter while these activities are going on. Complete process sequences can be developed using
macros.
With NORDCON, you can perform, document, and save the parameter settings of a frequency inverter
which will be read out by the inverter or transmitted to it respectively. Parameter databases can be
created or manipulated off-line - i.e. without a frequency inverter being connected.
The program further provides for remote control of the connected frequency inverters. For the
frequency inverter to be remote-controlled the operating unit of the type in question is simulated on the
PC. This is a convenient way of operating devices which are either difficult to access or haven't got an
operating unit themselves.
8 "Macro editor"
6 "Remote control"
1. Installation
Please start the installation program of NORDCON on the enclosed CD or load the installation
program from the Internet (""http://www2.nord.com/cms/de/documentation/software/software-
overview.jsp""). Enter all necessary information and install NORDCON into the standard directory.
2. Connect
If the frequency inverter is equipped with an RS232 optional interface, it can be directly connected to
the PC with a serial 1-1 cable. In this case, only one frequency inverter can be connected. Each
NORD Frequency inverter frequency inverter features an integrated RS485 interface which can be
activated via the control terminals. This interface allows for configuration of a master/slave bus system
with up to 31 devices max. For NORDCON to be connected to such a bus, an RS232 - RS485
converter will be required.
BU 0000 en-0421 9
NORDCON – Manual
3. Run NORDCON
In order to start NORDCON, you use the shortcut "NORDCON start" or "Start->Program->->Nord-
>NORDCON 2.8->NORDCON".
5. Bus scan
After the start of bus scan, all ready and connected devices are searched for. All found devices are
represented in the project tree and in the equipment overview. Subsequently, the first device in the list
is marked and the users can use all device-specific functions.
10 BU 0000 en-0421
1 Introduction
BU 0000 en-0421 11
NORDCON – Manual
12 BU 0000 en-0421
2 Graphic user interface
2.2 Main menu
The main menu is the central place for all actions of application. All editor windows register their
window-specific actions there. The actions are divided in categories.
Attention:
In the current version, only one macro window can be opened!
PLC program The action opens the PLC editor with an empty document. If a
PLC program is already opened, the user can store the current
document.
Open Ctrl + O The action opens the file choice dialogue in order to open a
stored document. The user selects a document type with the file
filter, and selects the file afterwards. The following types are
supported:
BU 0000 en-0421 13
NORDCON – Manual
Name of action Shortcut Icon Description
action is passed on to the active editor window and implemented
there. Depending upon the type of editor, different operations
can be implemented.
Reopen The action contains a submenu in which the opened last
documents are listed. History is limited to 5. When clicking on
one of the files, it is opened again.
Print Ctrl + P The action is passed on to the active editor window and
implemented there. Depending upon the type of editor, different
operations can be implemented. This action is deactivated if no
editor window is opened or the editor does not support the
action.
Print preview... The action opens a print preview for the active editor. Depending
upon editor, the printing preview can be differently developed.
This action is deactivated if no editor window is opened or the
editor does not support the action.
Exit The action closes application.
Information
An action is deactivated if no editor window is opened or if the editor does not support the action.
14 BU 0000 en-0421
2 Graphic user interface
Name of action Shortcut Icon Description
Paste Ctrl + V The action copies the contents of the clipboard to the selected
position. The action is passed on to the active control member
and implemented there. Depending upon the type of editor,
different operations can be implemented.
Note:
The action is deactivated if the current control element does
not support this action or the contents of the clipboard cannot
be inserted.
Delete Ctrl + Del The action deletes the selected object. The action is passed
on to the active control and implemented there. Depending
upon the type of editor, different operations can be
implemented.
Select all Ctrl + A The action selects all objects of the active control.
Replace... Ctrl + H The action searches for the indicated text and replaces these
then by other text. In a dialogue, the appropriate option can be
adjusted.
Up Ctrl + U The action shifts the selected object one position upward.
Down Ctrl + D The action entry shifts the selected object one position
downward.
Information
An action is deactivated if no editor window is opened or if the editor does not support the action.
Information
An action is deactivated if no editor window is opened or if the editor does not support the action.
BU 0000 en-0421 15
NORDCON – Manual
2.2.4 Category "Device"
16 BU 0000 en-0421
2 Graphic user interface
Name of action Key Picture Description
combination
the highlighted in the "View and Control" window. If the
window has already been opened, it is brought into the
foreground.
Parameter setup F7 This menu item opens the "Parameters" window of the
highlighted frequency inverter in the work area. If the
window has already been opened, it is brought into the
foreground.
Oscilloscope This menu item opens the "Oscilloscope" window of the
highlighted frequency inverter in the work area. If the
window has already been opened, it is brought into the
foreground.
PLC This menu item opens the "PLC" window of the
highlighted frequency inverter in the work area. If the
window has already been opened, it is brought into the
foreground.
Bus scan Ctrl + F5 This menu item performs a network scan for the selected
communication module.
Notice:
During a network scan all inverters are removed from the
list of frequency inverters and all device-specific windows
are closed.
Information
An action is deactivated if no editor window is opened or if the editor does not support the action.
BU 0000 en-0421 17
NORDCON – Manual
Layout -> Standard The action returns the standard layout for all views. The position of
the editor windows is not changed.
Layout -> Standard The action returns the standard application layout for all windows
all windows including the work area.
2.4 "View "Project"" The action closes or opens the view "Project".
2.6 "View "Remote"" The action closes or opens the view "Remote control".
Macro The action opens a submenu. In this submenu, all special actions
of the macro editor are listed. The state and the execution of the
actions managed by the active macro editor. If no window is active,
all actions are deactivated.
Oscilloscope The action opens a submenu. In this submenu, all special actions
of the oscilloscope are listed. The state and the execution of the
actions managed by the active oscilloscope. If no window is active,
all actions are deactivated.
Information
An action is deactivated if no editor window is opened or if the editor does not support the action.
18 BU 0000 en-0421
2 Graphic user interface
2.2.7 Category "Help"
2.3 Toolbars
In the toolbars, the most common actions are available for fast access. By clicking the appropriate
symbol in the bar with the mouse, the desired action is specified.
2.3.1 Standard
Name of action Icon Description
New data set The action opens the parameter window for a new device. Before the user can
open the dialogue, the device must be selected.
New Macro The action opens the macro editor with an empty document. If a macro is
already open, the user can store the current document.
Attention:
In the current version, only one macro window can be opened!
New PLC program The action opens the PLC editor with an empty document. If a program is
already opened, the user can store the current document.
Open The action opens the file dialog in order to open a stored document. The user
selects a document type with the file filter and select the file afterwards. The
following types are supported:
BU 0000 en-0421 19
NORDCON – Manual
Name of action Icon Description
Cut The action cuts the selected object and copies it into the clipboard. The action
is passed on to the active control element and implemented there. Depending
upon the type of editor, different operations can be implemented.
Copy The action copies the selected object into the clipboard. The action is passed
on to the active control element and implemented there. Depending upon the
type of editor, different operations can be implemented.
Paste The action copies contents of the clipboard to the selected position. The action
is passed on to the active control member and implemented there. Depending
upon the type of editor, different operations can be implemented.
Note:
The action is deactivated if the current control element does not support this
action or the contents of the clipboard cannot be inserted.
Delete The action deletes the selected object. The action is passed on to the active
control member and implemented there. Depending upon the type of editor,
different operations can be implemented.
Preview The action opens a print preview for the active editor. Depending upon editor,
the printing preview can be differently developed. This action is deactivated if
no editor window is opened or the editor does not support the action.
Print The action prints the content from the active editor. This action is deactivated if
no editor window is opened or the editor does not support the action.
Fast print The action prints the content from the active editor without the print dialog. This
action is deactivated if no editor window is opened or the editor does not
support the action.
Settings The action opens a window to edits the global settings of the program.
2.3.2 Device
Name of action Icon Description
Bus scan The action implements a network scan for the selected communication module.
Note:
With a network scan, all devices are removed from the device list and all
device-specific windows are closed!
Connect The action connects or disconnects the connection to the selected device.
Control The action opens the "Control" window of the selected device in the work area.
If the window was already opened, it is brought into the foreground.
Remote The action opens the "Remote" window of the selected device. If the window
was already opened, it is brought into the foreground.
20 BU 0000 en-0421
2 Graphic user interface
Name of action Icon Description
Parameterise The action opens the "Parameter" window of the selected device in the work
area. If the window was already opened, it is brought into the foreground.
Oscilloscope The action opens the "Oscilloscope" of the selected device in the work area. If
the window was already opened, it is brought into the foreground.
PLC The action opens the PLC editor of the selected device in the work area. If the
window was already opened, it is brought into the foreground.
Parameter transfer from The action uploads the parameters from the device to the PC.
device
Parameter transfer to The action downloads the parameters from the PC to the device.
device
2.3.3 Start
Name of action Shortcut Icon Description
PLC settings The action opens the settings of the PLC.
Compile Shift + F7 The action starts the translation of a PLC program.
Programming Shift F8 The action loads a PLC program to the Device.
Run F9 The action runs a PLC program or a macro. The action is passed
on to the active editor window and implemented there.
Depending upon the type of editor, different operations can be
implemented.
Cancel F11 The action terminates running a PLC program or macro. The
action is passed on to the active editor window and implemented
there. Depending upon the type of editor, different operations
can be implemented.
Next F12 The action executes the next instruction. The action is passed on
to the active editor window and implemented there. Depending
upon the type of editor, different operations can be implemented.
Debug Shift + F5 The action runs the PLC program with the debug mode.
Information
An action is deactivated if no editor window is opened or if the editor does not support the action.
BU 0000 en-0421 21
NORDCON – Manual
Status of device
The connection to the device is online
22 BU 0000 en-0421
2 Graphic user interface
Attention:
Only 1 macro editor can be open in the current version!
New PLC program This menu item opens the PLC editor with an empty document.
If the window was already open, the user is given the opportunity
to save the current document.
Open CTRL + O This menu item opens the PLC editor with an empty document.
If the window was already open, the user is given the opportunity
to save the current document.
Save CTRL + S This menu item saves the current document. The action is
forwarded to the active editor window and carried out there.
Depending on the editor type, different operations can be carried
out there.
Save as .... This menu item saves the current document under a new name.
The action is forwarded to the active editor window and carried
out there. Depending on the editor type, different operations can
be carried out there.
Rename This action opens an input field for changing the device name.
Connect F2 This action connects or disconnects the connection to the
highlighted device.
BU 0000 en-0421 23
NORDCON – Manual
Attention:
During a bus scan, all devices are removed from the device list
and all device-specific windows are closed!
Error When this filter is enabled, displays all errors. In addition, it shows the number of errors
in the caption of the button.
Warning When this filter is enabled, all warnings are displayed. The number of warnings is
displayed in the caption of the button.
Information When this filter is enabled, all information will be displayed. The number of information
items is displayed in the caption of the button.
System When this filter is enabled, all messages of the "System" category are displayed.
Communication When this filter is enabled, all messages of the "Communications" category are
displayed.
PLC When this filter is enabled, all messages of the "PLC" category are displayed.
24 BU 0000 en-0421
2 Graphic user interface
Macro When this filter is enabled, displays all messages in the "Macro" category.
Parameter When this filter is enabled, displays all messages in the "Parameter" category.
The messages can be saved or deleted via the popup menu (right mouse button). These actions can
be carried out via the main menu ("Extras/Messages").
Information Remote
Windows of type "Remote" can be docked only into the view "Remote".
BU 0000 en-0421 25
NORDCON – Manual
2.7 Docking and Undocking
With the new design of NORDCON, the user has the possibility to adapt the layout of the window to
their own requirements. In principle, you can undock each view and editor window and position them
freely on the screen. For this, the user must press the left mouse button over the title border and move
the coloured rectangle to the desired position. After releasing the mouse button, the view or editor
windows remains in those positions as independent windows. With the editor windows, there is
additionally the possibility - with the popup menu, which opens when clicking with the right mouse
button on the title border to undock the windows. The docking functions are similar to the undocking
functions. The coloured rectangle indicates in each case the current docking position.
View of main window(e.g. Project, Logs, The views of the main window can be docked only to the left, right
Remote) and/or lower edge of the work area. Within these windows, there are
no rules and the user can select the position freely.
Editor window (e.g. Macro editor, The editor windows can only be docked into the work area. The
Parameter window, Oscilloscope) adjustment is fixed however on down and/or above, or as register
map.
Views of the Macro editor The views of the macro editor can be docked only to the macro
window. The adjustment here is fixed on left, right or down. Within the
views, no rules are defined.
Views of the oscilloscope The views of the oscilloscope window can be docked only to the
oscilloscope window. The adjustment here is fixed on left, right or
down. Within the views no rules are defined.
"Remote" windows "Remote" windows can only be docked to the view "Remote". Here
the adjustment is fixed on left.
26 BU 0000 en-0421
2 Graphic user interface
Docking position left
BU 0000 en-0421 27
NORDCON – Manual
Docking position right
28 BU 0000 en-0421
2 Graphic user interface
Docking position down
BU 0000 en-0421 29
NORDCON – Manual
Docking position up
30 BU 0000 en-0421
2 Graphic user interface
Docking position tab
BU 0000 en-0421 31
NORDCON – Manual
3 Communication
In order to start a connection to a device, you must insert the appropriate communication module in
the project. After the installation, a USS communication module is configured. With the action
"Parameterise" the user can modify the parameters of the module.
3.1 USS
Port
In the selection box, the user specifies the COM port of the PC to which the frequency inverter is
connected.
Telegram error
In the input field, the user specifies the number of permissible telegram errors. Telegram errors occur
if the content of the telegram is not correct, i.e. if the response does not correspond to the parameter
entry. Usually a response is given after 2 telegrams for each order. The number of permissible
telegram errors specifies how many attempts are permitted before an error message is displayed.
Bus error
In the input field, the user specifies the number of permissible bus errors. A bus error occurs if the
receipt or transmission telegram has an error. The incorrect telegrams are deleted. Here, the
permissible number of incorrect telegrams for which an error is generated can be set. The error
tolerance should be set to an appropriately higher value for environments in which there is
interference.
Simulate hardware
With this option, the user can enable or disable simulation of a connected piece of hardware.
32 BU 0000 en-0421
3 Communication
Information Changes
All changes only become effective after pressing the "Adopt" button. The currently valid settings can be restored
with the "Restore" button.
Starting address
In this field, the USS address can be defined, from where the search run of NORDCON starts to find
connected devices. All frequency inverters with lower address cannot be found by NORDCON.
BU 0000 en-0421 33
NORDCON – Manual
End address
In this field, the user can define the USS address for the ending of the search for connected devices.
All inverters with a higher address number cannot be found by NORDCON.
Information Changes
All changes only become effective after pressing the "Adopt" button. The currently valid settings can be restored
with the "Restore" button.
3.2 Ethernet
34 BU 0000 en-0421
3 Communication
3.2.1 General settings
Name
In the edit field, the user can assign a name for the communication module.
Kind
In the combo box the user defines the kind of communication (PROFINET, EtherCAT or EthernetIP).
Information Changes
All changes only become effective after pressing the "Adopt" button. The currently valid settings can be restored
with the "Restore" button.
BU 0000 en-0421 35
NORDCON – Manual
3.2.2 Scan
Activate scan
The option defines whether the device search is enabled. If the search was activated, all IP addresses
are searched for devices from the start address to the end address. If the search is disabled in a bus
scan, the following configuration is used.
Starting address
In this edit box you have to insert the start address for the device search.
End address
In this edit box you have to insert the end address for the device search.
Add device
The button adds a new device in the device list.
Delete
The button removes the highlighted entry in the list of devices.
36 BU 0000 en-0421
3 Communication
Value - bus module (Address):
In the column you have to enter the IP address of the bus module.
Value - device:
In the column you have to enter the slot on the device (see following table).
Sample:
Additional - device:
In this column, the user specifies the number of IO extensions.
Information Changes
All changes only become effective after pressing the "Adopt" button. The currently valid settings can be restored
with the "Restore" button.
BU 0000 en-0421 37
NORDCON – Manual
4 Parameterization
All parameters of the frequency inverter that can be changed can also be changed by NORDCON. All
of the parameters can be stored and retransmitted to the frequency inverter. Parameters which have
been read out can be printed out for documentation purposes.
New File -> New -> Dataset The current database is re-initialized, in other
words the current and the new settings are deleted.
Open File -> Open Any database that was saved can be reopened.
Save File -> Save The current database is saved with the current
name.
Save as... File -> Save as... The current database is saved with a new name.
Print preview... File -> Print preview... The current parameter settings are printed out.
Read all parameters or Parameterise -> Read -> All All of the parameters of the frequency inverter are
Read all Parameter read out and entered into the database.
Read actual menu group Parameterise -> Read -> The parameters of the selected menu group are
Actual menu group read out and entered into the database.
Send new settings Parameterise -> Send -> All parameters for which a new value was entered
new Values in the 'New settings' box are transmitted to the
frequency inverter. A selection is possible as to
whether this operation is to be performed on all
parameters or only on those belonging to the
current menu group.
Send Factory settings Parameterise -> Send -> The settings transmitted will be the default settings
Reset values of all parameters or of the parameters of the
current menu group respectively
Selection Enable Parameterise -> Selection -> All of the parameters (or those included in the
Release current menu group respectively), are enabled.
Selection Disable Parameterise -> Selection -> None of the parameters (or of those belonging to
no Release the current menu group), are enabled.
38 BU 0000 en-0421
4 Parameterization
Action Place Description
Send Button "Send" The value "new setting" of the current parameter is
transferred to the inverter
Read Button "Read" The selected parameter is read out and the value
transferred to the 'Current Setting' box.
With the Auto-read option the selected parameter is read out automatically.
Information
When a filter has been activated, all operations are executed only on those parameters which are displayed.
Before any parameter can be masked the enable command must be inactivated. This can be done
using the checkbox preceding the parameter, or via the 4.1 "How to manipulate parameters" menu.
The Filter box provides for the setting options mentioned below:
– Selection only Only the enabled parameters are displayed (i.e. where the check box preceding
the parameter was clicked once).
– No standard Only the parameters with a value that is different from the standard setting are
displayed.
– Info parameters
– Yes Information parameters are displayed.
– No Information parameters are not displayed.
– Only Information parameters are displayed exclusively.
Off-line parameterisation is started via the database menu in the main window.
Name Description
New A new database can be created. The new database is allocated to a frequency inverter type which is set
using a selection box.
Open Any database that was read into memory can be opened and manipulated.
BU 0000 en-0421 39
NORDCON – Manual
4.4 Parameter Viewing
Each parameter has a parameter name and a unique parameter number by which it can directly be
accessed. The parameters are divided into menu groups.
When a parameter has been selected, values of all parameter sets, if it can be set differently in the
sets, are displayed.
40 BU 0000 en-0421
4 Parameterization
Information
The configuration of the open parameter set is used as the reference for the parameters and the standard values.
If a data record that does not correspond with the configuration of the device is selected, any parameters that are
not present are shown empty and marked as different.
Information
The configuration of the open parameter set is used as the reference for the parameters and the standard values.
If a data record that does not correspond with the configuration of the device is selected, any parameters that are
not present are shown empty and marked as different.
BU 0000 en-0421 41
NORDCON – Manual
42 BU 0000 en-0421
4 Parameterization
BU 0000 en-0421 43
NORDCON – Manual
5 Control
5.1 Overview
The program NORDCON can be used to control NORD Frequency inverter. To use this function the
inverter must be parametrised in the right way. Because of different settings of different inverter types
the user must check the manual to find the right settings. Before the inverter can be controlled the
Bus-scan must be done. After the scanning process has finished all connected inverter are displayed
in the main window. Now the inverter to be controlled can be chosen by mouse click. The window
„Control" can be opened via "Device/Control (F6)” in the main menu or via popup menu (right mouse
click).
Now the control configuration of the inverter is read and checked with the standard setting
(setting/control/control configuration check). If the "Control" of inverter is limited or impossible there will
be a warning note on the screen.
44 BU 0000 en-0421
5 Control
5.3.1 "Overview" All controls can be used with the window.
On the ”Standard" display only the first setting value and first actual value are displayed. The form of
value is fixed for each configuration. By pressing the button “Detail” you can switch to the extended
control function.
5.3.1 Overview
In the mode „Detailed control" some extra functions are available:
• 5.3.2 " Control "
• 5.3.3 "Management of setting values and actual values"
• Sending of broadcast telegram
• Choice of different parameter sets
• Automatic sending of control word and setting values
BU 0000 en-0421 45
NORDCON – Manual
5.3.2 Control
The control word is displayed as a hexadecimal value in the field „Control word". By entering a new
value (hexadecimal) the user can change the control word. For a bit-coded setting of control word the
user can open up a new editorial window by pressing the button "Control word edit". In this window the
control word is displayed in bits.
The status word is displayed as a hexadecimal in the screen „Status word". To display the status word
in the bit resolution the button „Bit orientated detail view" can be chosen. The status is displayed in the
status line of the status machine as clear text.
46 BU 0000 en-0421
5 Control
With the option „Setting/control/ parameter set individual management" the setting values and actual
values can be managed individually. So setting values can be set for each parameter set. With
activation of a parameter set its setting values are transmitted to the frequency inverter. This is
necessary because for each parameter set the setting values and actual values can be defined
individually. The active parameter set is marked with a star.
If the option „Setting/control/configuration automatically checked" was not activated, the user can
transmit the new configuration by pressing the button „Update".
BU 0000 en-0421 47
NORDCON – Manual
"%" 16 Bit standardised This standardisation transforms the setpoint/actual value to a 16 Bit
values standardised value. Standardisation means a scaling of value range and is
between -200% and 199% of a basic value (e.g. nominal frequency).
"16" 16 Bit not With this formatting the setpoint and actual value are transformed to 16 Bit
standardised value and transmitted to inverter and displayed without any scaling.
"B" DigInBits With this Formatting the setpoint and actual value are transformed to 8 Bit
value. The bit status is displayed individually in check boxes. In these check
boxes each bit of the setting value can be changed.
"L" 32 Bit Low-Word With this formatting the setpoint and actual value are taken as the low word
(16 Bit) of a 32 Bit word. If there is another setpoint or actual value
parametrised with formatting "32 Bit High-Word", then both values are
combined in the top display. The setting value can be given as a 32 Bit value.
"H" 32 Bit High-Word With this formatting the setpoint and actual value are taken as the high word
(16 Bit) of a 32 Bit word. (see "32 Bit Low-Word").
Importance of LEDs:
LED Importance
48 BU 0000 en-0421
5 Control
An error is active or an enable signal is missing.
With the standard setting the status word is read in cycles and the changes are displayed in the
window. For deactivating the cyclic reading switch off the function „Automatic" in the menu (right
mouse click).
The window is docked left next to the „Control" window. If the window should be free on the desktop,
the user should choose the popup menu "Docking/no". To save space the window can be added as an
index card next to the index card “General". To do this the window must be moved (pressed left
mouse button) over the index card "General". After release of the button the window is shown as an
index card. With a double click (left mouse button) on the index card the user will get back to window
mode.
Importance of LEDs:
LED Importance
BU 0000 en-0421 49
NORDCON – Manual
With the standard setting the control word is read in cycles and the changes are displayed in the
window. For deactivating the cyclic reading switch off the function „Automatic" in the menu (right
mouse click).
The window is docked left next to the „Control" window. If the window should be free on the desktop,
you should choose the popup menu "Docking/no". To save space the window can be added as an
index card next to the index card “General". To do this the window must be moved (pressed left
mouse button) over the index card "General". After release of the button the window is shown as an
index card. With a double click (left mouse button) on the index card the user will get back to window
mode.
50 BU 0000 en-0421
6 Remote control
6 Remote control
NORDCON can simulate the control unit of the relevant frequency inverter. For this, the frequency
inverter transfers the contents of its display to NORDCON. The key functions are simulated on the PC
and sent to the frequency inverter. The frequency inverter can only be controlled via the remote
control window, if it has not previously been enabled via the control terminals or via a serial interface
(P509 = 0 and P510 = 0). In addition, for this the parameter “PotentiometerBox Function” (P549) must
not be set to function {4} “Frequency addition” or function
{5} “Freq. subtraction”.
6.1 Standard
The standard window for the function "Remote" is used for all Devices, if the option "13.1 "User
interface"" is not activated.
Enable Switching on the frequency inverter. The frequency inverter is now enabled with the set
jog frequency (P113). A preset minimum frequency (P104) must at least be provided.
Parameter >Interface< P509 and P510 must = 0.
Disable Switching off the frequency inverter. The output frequency is reduced to the absolute
minimum frequency (P505) and the frequency inverter shuts down.
Change dir The motor rotation direction changes when this key is pressed. "Rotation to the left" is
indicated by a minus sign.
Attention:
BU 0000 en-0421 51
NORDCON – Manual
Take care when operating pumps. screw conveyors, ventilators, etc. Block the key with
parameter P540.
Up Press key to increase the frequency. During parameterisation, the parameter number or
parameter value is increased.
Down Press the key to reduce the frequency. During parameterisation, the parameter number or
parameter value is reduced.
Enter Press "ENTER" to store an altered parameter value, or to switch between parameter
number or parameter value.
Note:
If a changed value is not to be stored, the key can be used to exit the parameter without
storing the change.
Change Dir + By simultaneously pressing the STOP key and the "Change direction key”, a quick stop
Stop can be initiated.
Enter + Start If the inverter is enabled via the "ON" key, the parameterisation mode can be reached by
pressing the ON and ENTER keys simultaneously.
All functions available with the operating unit (control box) of the frequency inverter can be performed.
Enable Switching on the frequency inverter. The frequency inverter is now enabled with the set
jog frequency (P113). A preset minimum frequency (P104) must at least be provided.
Parameter >Interface< P509 and P510 must = 0.
52 BU 0000 en-0421
6 Remote control
Name Icon Description
Disable Switching off the frequency inverter. The output frequency is reduced to the absolute
minimum frequency (P505) and the frequency inverter shuts down.
Change dir The motor rotation direction changes when this key is pressed. "Rotation to the left" is
indicated by a minus sign.
Attention:
Take care when operating pumps. screw conveyors, ventilators, etc. Block the key with
parameter P540.
Up Press key to increase the frequency. During parameterisation, the parameter number or
parameter value is increased.
Down Press the key to reduce the frequency. During parameterisation, the parameter number
or parameter value is reduced.
Enter Press "ENTER" to store an altered parameter value, or to switch between parameter
number or parameter value.
Note:
If a changed value is not to be stored, the key can be used to exit the parameter without
storing the change.
Change Dir + By simultaneously pressing the STOP key and the "Change direction key”, a quick stop
Stop can be initiated.
Enter + On If the inverter is enabled via the "ON" key, the parameterisation mode can be reached by
pressing the ON and ENTER keys simultaneously.
All functions available with the operating unit (control box) of the frequency inverter can be performed.
BU 0000 en-0421 53
NORDCON – Manual
Enable Switching on the frequency inverter. The frequency inverter is now enabled with the set
jog frequency (P113). A preset minimum frequency (P104) must at least be provided.
Parameter >Interface< P509 and P510 must = 0.
Disable Switching off the frequency inverter. The output frequency is reduced to the absolute
minimum frequency (P505) and the frequency inverter shuts down.
Change dir The motor rotation direction changes when this key is pressed. "Rotation to the left" is
indicated by a minus sign.
Attention:
Take care when operating pumps, screw conveyors, ventilators, etc. Block the key with
parameter P540.
Up Press key to increase the frequency. During parameterisation, the parameter number or
parameter value is increased.
Down Press the key to reduce the frequency. During parameterisation, the parameter number
or parameter value is reduced.
Enter Press "ENTER" to store an altered parameter value, or to switch between parameter
number or parameter value.
Note:
If a changed value is not to be stored, the key can be used to exit the parameter without
storing the change.
Change Dir + By simultaneously pressing the STOP key and the "Change direction key”, a quick stop
Stop can be initiated.
Enter + On If the inverter is enabled via the "ON" key, the parameterisation mode can be reached by
pressing the ON and ENTER keys simultaneously.
54 BU 0000 en-0421
6 Remote control
All functions available with the operating unit (control box) of the frequency inverter can be performed.
Enable Switching on the frequency inverter. The frequency inverter is now enabled with the set
jog frequency (P113). A preset minimum frequency (P104) may at least be provided.
Parameter >Interface< P509 and P510 must = 0.
Disable Switching off the frequency inverter. The output frequency is reduced to the absolute
minimum frequency (P505) and the frequency inverter shuts down.
Change dir The motor rotation direction changes when this key is pressed. "Rotation to the left" is
indicated by a minus sign.
Attention:
Take care when operating pumps, screw conveyors, ventilators, etc. Block the key with
parameter P540.
Up Press key to increase the frequency. During parameterisation, the parameter number or
parameter value is increased.
Down Press the key to reduce the frequency. During parameterisation, the parameter number
or parameter value is reduced.
Enter Press "ENTER" to store an altered parameter value, or to switch between parameter
number or parameter value.
BU 0000 en-0421 55
NORDCON – Manual
Note:
If a changed value is not to be stored, the key can be used to exit the parameter without
storing the change.
Change Dir + By simultaneously pressing the STOP key and the "Change direction key” , an quick
Stop stop can be initiated.
Enter + On If the inverter is enabled via the "ON" key, the parameterisation mode can be reached by
pressing the ON and ENTER keys simultaneously.
All functions available with the operating unit (control box) of the frequency inverter can be performed.
Enable To switch on the frequency inverter. The frequency inverter is now enabled with the set
jog frequency (P113). A pre-set minimum frequency (P104) may at least be provided.
Parameter >Interface< P509 and P510 must = 0.
Switch off To switch on the frequency inverter. The frequency inverter is now enabled with the set
enable jog frequency (P113). A reset minimum frequency (P104) may at least be provided.
Parameter >Interface< P509 and P510 must = 0.
Change The direction of rotation of the motor changes when this key is pressed. "Rotation to the
direction of left" is indicated by a minus sign.
rotation
Notice:
Take care when operating pumps, screw conveyors, ventilators, etc. Block the key with
parameter P540.
56 BU 0000 en-0421
6 Remote control
Increase The direction of rotation of the motor changes when this key is pressed. "Rotation to the
left" is indicated by a minus sign.
Notice:
Take care when operating pumps, screw conveyors, ventilators, etc. Block the key with
parameter P540.
Reduce The direction of rotation of the motor changes when this key is pressed. "Rotation to the
left" is indicated by a minus sign.
Notice:
Take care when operating pumps, screw conveyors, ventilators, etc. Block the key with
parameter P540.
Confirm Press this key to store a changed parameter value, or to switch between the parameter
number and the parameter value.
Note:
If a changed value is not to be stored, the key can be used to exit from the parameter
without saving the change.
Rotation By simultaneously pressing the STOP key and the "Change direction key ", a quick stop
direction + can be initiated.
Switch off
enable
Confirm + Simultaneously pressing the ON key and the "Confirm" key switches to the editing mode
enable for an enabled device.
All of the functions which are possible with the control unit (Control Box) can be carried out.
BU 0000 en-0421 57
NORDCON – Manual
7 Oscilloscope
7.1 Overview
The oscilloscope function integrated in NORDCON can show process data of an NORD Frequency
inverter as an arithmetic chart.
Information
This option ist not available for serieses NORDAC vector ct and NORDAC vector mc!
7.2 Display
The oscilloscope function can measure and display 4 channels max:
Name Description
58 BU 0000 en-0421
7 Oscilloscope
Offset Selection of display detail (displacement of all data in x- or y-direction)
Note:
With the right mouse button you can choose between the modes “Move” and “Measurement”,
if the mouse pointer is on the display. In “Move” mode you can choose the detail of display by
mouse pointer by pressing the left mouse button while moving over the display.
Auto scrolling With this option during a recording the time axis is scrolled automatically to the last point.
Resolution In this combination field the user can change the scaling of the time axis.
Comment Additional information field, where further information for the measurement series can be
stored.
7.3 Handling
1. Choice of channels
There is a popup menu to make the choice of the 4 channels. There is a colour referring to each
channel. Each channel can be switched on and off by checkboxes. The resolution and offset can be
chosen for each channel separately. When displaying the results of measurement, the values of the
vertical axis of each channel can be chosen and indicated.
(=P[Number]) [Name] The value of this measuring function is updated in the time slot pattern by approx. 100
milliseconds and corresponds to the value indicated of the parameter.
[Name] The value of this measuring function is updated in a time slot pattern by approx. 100
milliseconds.
(≈P[Number]) [Name] The value of this measuring function is updated in a time slot pattern by approx. 50
milliseconds.
BU 0000 en-0421 59
NORDCON – Manual
(~P[Number]) [Name] The value of this measuring function is updated in a time slot pattern of approx. 250 µs.
2. Setting of trigger
The trigger starts the measurement. First choose the source of trigger. Trigger sources can be
measurement values, digital inputs, status of inverter, etc. The starting conditions are defined by
trigger level respectively trigger edge.
Time between two measured values is set by sampling rate. Numbers of measured values and
sampling rate define the time of sampling. The Pre-trigger/Delay set the beginning of the
measurement in relation to the trigger event.
60 BU 0000 en-0421
7 Oscilloscope
3. Sampling modes
The oscilloscope has 2 different modes. The user can choose between "Single" and "Roll" mode. The
"Single" mode is the standard mode. In this mode a recording starts with the current trigger settings.
The recording time depends on the oscilloscope memory of the device and amounts to max. 2000
seconds. The values are noted in the adjusted sampling rate.
The roll mode makes a recording over longer period. The noted values are transferred immediately to
the PC. Therefore the user cannot change the sampling rate. It depends on the speed of the
transmission.
4. Starting of measurement
The Start-Button activates the measurement. The event of trigger is detected. When the event
appears a recording starts in the inverter. The transmission of data to NORDCONstarts in the same
moment. This can be cancelled by Stop. After transferring all data a new measurement can be started
or new settings can be made by pressing the “New” button.
7.4 Measurement
After recording the measurement completely, measurements on the results can be done using
cursors.
There are two cursors available for this. The cursors can be moved by . The choice of cursor
is made by . To choose the mode “Move” and “Measurement” by right mouse button the
pointer has to be on display. In the measure mode the cursors can be set by left mouse button. The
values of the measured lines 1 and 2 are displayed on cursor 1 and cursor 2. Additionally the
calculations like average values are performed. Pressing on the “Calculation” button starts the shift of
calculation.
BU 0000 en-0421 61
NORDCON – Manual
Menu item "File"
Name Description
Open A stored measurement data file can be chosen and loaded. During loading there is a choice if only
the setting should be loaded or all data of measurement.
Save as The present measurement data and settings are saved with a new filename.
Print The lines of measurement are printed with present settings (colour of background: white).
Scope Offline
In Offline-mode (no inverter is connected) a saved measurement file can be loaded by menu item
File|Open.
62 BU 0000 en-0421
8 Macro editor
8 Macro editor
The macro editor is designed to create simple process sequences. The user interface provides a
facility for creating and adapting a macro using context menus, toolbars or tool windows. The
individual instructions can be moved within the view using Drag n Drop. The standard functions such
as saving and loading a macro are also integrated in the context menu. The macros are stored in the
standard format “XML”. The format of the preceding version can be imported using the “Open” menu
item, file type “Macro Files V1.26”.
Name Description
Result You can change the object to which you would like to assign a new value with this property. Only
objects to which a new value can be assigned can be selected (e.g. control word, parameters or
variables).
Operand With this property the user can select the object that is to be used with an assignment or operation.
Comment The user can assign a comment to any instruction using this property.
Variables, control or status words, setpoints or actual values or parameters can be designated as
objects in the macro generator. Each of these objects has different parameters.
BU 0000 en-0421 63
NORDCON – Manual
Variable Name The parameter defines the name of the variable or constant. All variables that
have already been used are displayed in the selection box. If you would like to
create a new variable, a name that has not yet been used must be entered. No
distinction is made between upper and lower case.
Display format This parameter defines the display format in the “Variables” view. One of the
following displays can be selected:
• Decimal
• Hexadecimal
• Binary
Display format This parameter defines the display format in the “Variables” view. One of the
following displays can be selected:
• Decimal
• Hexadecimal
• Binary
Control Node number This parameter defines the USS node number of the required device.
word,
Status word Note:
Since the current control word cannot be read out of the device, the control word
is set to 0 when the scheduler starts.
Display format This parameter defines the display format in the “Variables” view. One of the
following displays can be selected:
• Decimal
• Hexadecimal
• Binary
Setpoint and Node number This parameter defines the USS node number of the required device.
actual
values Note:
Since the current setpoints cannot be read out of the device, the values are set to
0 when the scheduler starts.
Type This parameter defines the type of the value. The types listed in table “Setpoint
and actual value types” are available to the user.
Format This parameter defines the formatting of the setpoint and actual values. The
possible formats are shown in table “Setpoint and actual value formatting”.
Resolution This parameter defines the resolution of the setpoint and actual values. It is used
to format the instruction in the editor.
Display format This parameter defines the display format in the “Variables” view. One of the
following displays can be selected:
• Decimal
• Hexadecimal
• Binary
Parameter Node number This parameter defines the USS node number of the required device.
64 BU 0000 en-0421
8 Macro editor
Parameter This value defines the number of the parameter (see “Device catalogue” view).
number
Resolution This value defines the resolution of the setpoint and actual values. It is used to
format the instruction in the editor.
Data type This value defines the data type of the parameter. Only 2 data types are used in
the current devices (16-bit integer and 32-bit integer).
Display format This parameter defines the display format in the “Variables” view. One of the
following displays can be selected:
• Decimal
• Hexadecimal
• Binary
Type Description
Value 1 (16-bit) The 1st, 2nd or 3rd setpoint or actual value should be used.
Value 12 (32-bit) The first and second setpoint or actual value should be used as a 32-bit value.
Note:
The device must be appropriately configured for this configuration (see “Setpoint or actual
value configuration”).
Value 13 (32-bit) The 1st and 3rd setpoint or actual value should be used as a 32-bit value.
Note:
The device must be appropriately configured for this configuration (see “Setpoint or actual
value formatting”).
Value 23 (32-bit) The 2nd and 3rd setpoint or actual value should be used as a 32-bit value.
Note:
The device must be appropriately configured for this configuration (see “Setpoint or actual
value formatting”).
Formatting Description
Standardised This formatting interprets the setpoint or actual value as a 16 bit standardised value.
Standardisation means scaling of the value range and is between -200% and 199% of a basic
value (e.g. nominal frequency).
Not standardised In this formatting the setpoint or actual value is interpreted as a 16 bit value, which is
transferred to the device and displayed without scaling.
BU 0000 en-0421 65
NORDCON – Manual
Formatting Description
Low word (32-bit) This formatting defines that the first word is the low word and the 2nd value is the high word
value (32-bit). This value can only be selected for 32-bit types.
High word (32-bit) This formatting defines that the first word is the high word and the 2nd value is the low word
value (32-bit). This value can only be selected for 32-bit types.
Note:
Please ensure that the configuration of the devices corresponds with the settings.
66 BU 0000 en-0421
8 Macro editor
8.2.3 Save a macro
Storing macros is implemented in the menu option “Save" or the combination of keys a “Ctrl+S". This
function is available however only for previously generated documents. For all new documents the
function must be implemented “Save as…".
The function is implemented in the menu option “Save as…". Subsequently, a selection of files
dialogue opens, in which the user must select the file name as well as the path. After confirmation with
“Save" the macro is stored. After the completion of the procedure the newly named macro indicated in
the title bar.
BU 0000 en-0421 67
NORDCON – Manual
8.2.11 Creating new instructions
New instructions are created using the “Functions” menu item in the context menu. The new
instructions are always inserted below the selected line. The user can then change the position of the
new instruction (see “Up” and “Down”).
The following functions are available to the user in this version:
Name Description
Assignment The instruction assigns a new value to a macro object. The new value can be read out of another
object, or the user defines a constant. By default, the line is inserted as shown in example 1. The
Parameter function can be adapted in the “Properties” view.
Example:
Device 00 Controlword = 047F hex // Assign value of 1151 to control word
Var1 = Device 00 Statusword // Assign value of status word to variable
Note:
Setpoints can only be assigned within a Block instruction.
Jump mark The instruction defines a jumping point in the macro. The user can jump to the location of the jump
mark using the “Goto” function. By default, the line is inserted as shown in example 1. The
Parameter function can be adapted in the “Properties” view. The name of the jumping point must
be changed, since duplicate names are not supported. The generator always jumps to the first
jump mark in the macro.
Example:
Label1: // Defines the “Label1” jump mark·
or
Start: // Defines the “Start” jump mark
Sleep The instruction generates a pause in the execution of the macro. The time is specified in units of
“ms”. By default, the line is inserted as shown in example 1. The time can be adapted in the
“Properties” view.
Example:
Sleep 1000 ms // Wait for 1s
or
Sleep 500 ms // Wait for 0.5s
Go to The instruction generates a jump in the macro. After executing the instruction, the generator
jumps to the line of the jump mark with the relevant name. If the generator does not find a jump
mark with the name, the line is ignored. If no jump mark has been defined in the macro yet, the
menu item is deactivated. The first jump mark is always entered by default. The name of the jump
mark can be adapted in the “Properties” view.
Example:
Goto Start // Go to jump mark “Start”
Condition The instruction generates a conditional jump in the macro. If the condition is true, the generator
jumps to the line of the jump mark with the relevant name. By default, the line is inserted as
shown in example 1. The parameters of the instruction can be adapted in the “Properties” view.
Example:
if Device 00 Controlword == 047F hex then // If the control word has a value of 1151
Goto Start // then go to jump mark “Start”
Block This instruction allows the user to execute several instructions in one instruction. These
68 BU 0000 en-0421
8 Macro editor
Name Description
assignments are restricted to the “Control word” and “Setpoints” objects. Depending on the
configuration of the device and the purpose of use, the user can choose between “Control value
with 1 setpoint”, “Control value with 2 setpoints” or “Control value with 3 setpoints”.
Example:
Block // Transmit control word and setpoint1 with 1 USS protocol
Device 00 Controlword = 1151 // Assign value of 1151 to control word
Device 00 Setpoint1 = 20.0 // Assign value of 20 to setpoint 1
Mathematical These instructions make it possible for the user to carry out simple mathematical and logical
and logical operations on objects. The newly-calculated value is then assigned to an object. The parameters
operations of the instruction can be adapted in the “Properties” view.
Example:
Var1 = Device 00 Control word + 047F hex // Addition·
Var1 = Device 00 Status word AND 047F hex // “And” operation
8.3 Scheduler
Auto
With this option activated (automatic mode) after starting the scheduler line for line processing occurs.
If it is deactivated (single step mode) (menu entry “Next" or combination of keys “F12 ") the user must
run each instruction manually.
Loop
With this option activated the macro is implemented in a continuous loop. This means that after doing
the last instruction the scheduler jumps back to the beginning of the macro.
BU 0000 en-0421 69
NORDCON – Manual
9 USS Frame-Editor
The USS protocol defines an access procedure according to the Master/Slave principle for
communication via a serial bus. A sub-set of this also includes point-to-point connection. A master and
a maximum of 31 slaves can be connected to a bus. The individual slaves are accessed by the master
via an address character in the telegram. Direct exchange of messages between the individual slaves
is not possible. In semi-duplex mode communication is carried out using USS telegrams.
The USS Frame Editor was developed to generate and analyse USS telegrams. It is fully integrated in
the NORDCON user interface and is opened via the menu item "Extras/USS Frame-Editor". The editor
displays the master and slave telegram in several views. Via the tabs, the user can switch between
the 9.1 "Master (order)"and the 9.2 "Device (response)".
Object Description
Telegram type This object specifies the size and structure of the USS telegram. The frequency inverter
supports the following types:
Notice:
This telegram type is not supported by all frequency
inverters.
Address This object contains the address of the frequency inverter which is accessed.
70 BU 0000 en-0421
9 USS Frame-Editor
Status word This object contains the status bit of the frequency inverter.
Control word This object contains the control bits (e.g. enable or Quick Stop).
Setpoint/actual The setpoint/actual values are 16 bit or 32 bit values. These represent different values (e.g.
value 1-5 frequency setpoint or position setpoint) depending on the parameterisation of the frequency
inverter.
Format This object contains the format of the setpoint. The following formats are supported:
Parameter order The object contains the parameter order. The following orders are defined:
Value This object contains the parameter value. Depending on the telegram type, this is a 16 or 32
bit value. The display of the value still depends on the resolution of the value.
Resolution This object contains the resolution of the parameter. If the resolution is changed, only the
display of the parameter value changes. Please refer to the frequency inverter instructions
for the resolution value.
BU 0000 en-0421 71
NORDCON – Manual
with the mouse or the keyboard. A further click on the entry opens the input editor. The input editor
may differ, depending on the entry. For numerical values, the input editor can also be opened by
pressing a number key. The input for the new value is adopted and the input editor closed by pressing
the "Enter" key or by highlighting a new entry. If the value cannot be adopted, the old value remains in
use. If the input editor is a selection list, a new value is adopted by selecting an entry and the input
editor is closed. If a change is not to be adopted, the user must exit from the input editor by pressing
the "Esc" key. A description of each highlighted entry is displayed below the tree structure. In the lower
section, the order telegram is displayed byte-wise in a table. The highlighted cells correspond to the
entry which is highlighted in the tree structure.
Copy query
This action converts the order telegram into a hex coded byte string and copies the string to the
Windows clipboard.
72 BU 0000 en-0421
9 USS Frame-Editor
The tree structure is updated after each change. The tree structure is only used to visualise the
components of the USS telegram and cannot be edited. An exception to this is the formatting of actual
values and the resolution of the parameter value. This information is not contained in the USS
telegram. The formatting must be changed according to the settings for the actual values. The
resolution must also be selected according to the parameter. Please refer to the instructions for the
particular frequency inverter to obtain the value.
The status word is displayed as a hexadecimal value in the tree structure. A further view is
implemented for visualisation of the individual bits. The status word must be highlighted to open the
view. A further click on the entry opens the input editor in write-protected mode. The user can then
open the view with the "..." button.
Enter response
This action opens an input dialogue for a response telegram. The user can enter the telegram as a hex-coded
byte string.
BU 0000 en-0421 73
NORDCON – Manual
10 PLC
10.1 General
The NORD frequency inverter series SK 180E/SK 190E, SK 2xxE, SK 2xxE-FDS, SK 300P, SK 520E
– SK 545E and SK 5xxP as well as the motor starter series SK 155E-FDS/SK 175E-FDS contains
logic processing which is similar to the current IEC61131-3 standard for memory programmable
control units (SPS / PLC). The reaction speed or computing power of this PLC is suitable to undertake
smaller tasks in the area of the inverter. Inverter inputs or information from a connected field bus can
be monitored, evaluated and further processed into appropriate setpoint values for the frequency
inverter. In combination with other NORD devices, visualisation of system statuses or the input of
special customer parameters is also possible. Therefore, within a limited range, there is a potential for
savings via the elimination of a previous external PC solution. AWL is supported as the programming
language. AWL is a machine-orientated, text-based programming language whose scope and
application is specified in IEC61131-3.
Information
Programming and download into the devices are possible exclusively via the NORD software NORDCON.
Function Specification
8128 bytes for flags, 2032 bytes for flags, 2028 bytes for flags,
functions and the PLC functions and the PLC functions and the PLC
program program program
Note: This is an average value. Heavy use of flags, process data and functions
considerably reduces the possible number of lines; see Resources section.
74 BU 0000 en-0421
10 PLC
Function Specification
SK 2x0E-FDS
SK 180E / SK 190E
SK 155E-FDS / SK 175E- FDS
10.1.2.1 Memory
The PLC memory is divided into the program memory and the flag memory. In addition to the
variables, instances of function blocks are saved in the area of the flag memory. FB instance is a
memory area in which all internal input and output variables of function command are saved. Each
function command declaration requires a separate instance. The boundary between the program
memory and the flag memory is determined dynamically, depending on the size of the flag area.
In the flag memory, two different classes of variables are stored in the variable section:
[VAR]
Memory variable for saving auxiliary information and statuses. Variables of this type are initialised
every time the PLC starts. The memory content is retained during the cyclic sequence of the PLC.
[VAR_ACCESS]
These are used to read and describe process data (inputs, outputs, setpoints, etc.) of the frequency
inverter. These values are regenerated with every PLC cycle.
Because of this sequence it is important to program a cyclic program sequence. Programming loops in
order to wait for a certain event (e.g. change of level at an input) does not produce the required result.
This behaviour is different in the case of function blocks which access process values. Here, the
BU 0000 en-0421 75
NORDCON – Manual
process value is read on call-up of the function block and the process values are written immediately
when the block is terminated.
Information
If the Motion blocks MC_Power, MC_Reset, MC_MoveVelocity, MC_Move, MC_Home or MC_Stop are used, the
process values "PLC_Control_Word" and "PLC_Set_Val1" up to "PLC_Set_Val5" may not be used. Otherwise the
values in the list of variables would always overwrite the changes to the function block..
P350=1
PLC
Cycle 5 ms
If the PLC is activated (P350=1) preselection of setpoints from external sources (main setpoints) is
carried out via P509 and P510[-01] Via P351, a final decision is made as to which setpoints from the
PLC or values input via P509/P510[-01] are used. A mixture of both is also possible. No changes to
the auxiliary setpoints (P510[-02]) are associated with the PLC function. All auxiliary setpoint sources
and the PLC transfer their auxiliary setpoint to the frequency inverter with equal priority.
76 BU 0000 en-0421
10 PLC
operator can link the two accumulators together or evaluate them and save the result in Accumulator
1, which in the following will generally be referred to as the "accumulator".
10.1.3.3 Visualisation
Visualisation of the operating status and the parameterisation of the frequency inverter is possible with
the aid of a ControlBox or a ParameterBox. Alternatively, the CANopen Master functionality of the PLC
CAN bus panel can be used to display information.
ControlBox
The simplest version for visualisation is the ControlBox. The 4-digit display and the keyboard status
can be accessed via two process values. This enables simple HMI applications to be implemented
very quickly. P001 must be set to "PLC-ControlBox Value" so that the PLC can access the display. A
further special feature is that the parameter menu is no longer accessed via the arrow keys. Instead,
the "On" and "Enter" keys must be pressed simultaneously.
ParameterBox
In visualisation mode, each of the 80 characters in the ParameterBox display (4 rows of 20 characters)
can be set via the PLC. It is possible to transfer both numbers and texts. In addition keyboard entries
on the ParameterBox can be processed by the PLC. This enables the implementation of more
complex HMI functions (display of actual values, change of window, transfer or setpoints etc.). Access
to the ParameterBox display is obtained via the function blocks in the PLC. Visualisation is via the
operating value display of the Parameter Box. The content of the operating value display is set via the
ParameterBox parameter P1003. This parameter can be found under the main menu item "Display".
P1003 must be set to the value "PLC display". After this, the operating value display can be selected
again by means of the right and left arrow keys. The display controlled by the PLC is then shown. This
setting remains in effect even after a further switch-on.
BU 0000 en-0421 77
NORDCON – Manual
processes, e.g. pressure regulation, can be implemented in a considerably more elegant manner than
with the commonly used two-point controllers.
10.2.2 Editor
The PLC Editor is divided into four different windows.
78 BU 0000 en-0421
10 PLC
The individual windows are described in more detail in the following sections.
Variables
Variables are created by setting the Class "VAR". The Name of the variable can be freely selected. In
the Type field, a selection between BOOL, BYTE, INT and DINT can be made. A starting initialisation
can be entered under Init-Value.
Process values
These are created by selecting the entry "VAR_ACCESS" under Class. The Name is not freely
selectable and the field Init-Value is barred for this type.
BU 0000 en-0421 79
NORDCON – Manual
Function modules
The entry "VAR" is selected under Class. The Name for the relevant instance of the function module
(FB) can be freely selected. The required FB is selected under Type. An Init-Value cannot be set for
function modules.
All menu items which relate to the variable window can be called up via the context menu. Via this,
entries can be added and deleted. Variables and process variables for monitoring (Watchdog function)
or debugging (Breakpoint) can be activated.
• Highlight syntax
• Bookmark
• Declaration of variables
• Debugging
Syntax Highlighting
If the command and the variable which is assigned to it are recognised by the Editor, the command is
displayed in blue and the variable in black. As long as this is not the case, the display is in thin black
italics.
Bookmarks
As programs in the Editor may be of considerable length, it is possible to mark important points in the
program with the function Bookmark and to jump directly to these points. The cursor must be located
in the relevant line in order to mark it. Via the menu item "Switch bookmark" (right mouse button
menu) the line is marked with the required bookmark. The bookmark is accessed via the menu item
"Go to bookmark".
Declaring Variables
Via the Editor menu "Add Variable" (right mouse button) new variables can be declared using the
Editor.
Debugging
For the Debugging function, the positions of the breakpoints and watchpoints are specified in the
Editor. This can be done via the menu items "Switch breakpoint" (Breakpoints) and "Switch monitoring
point" (Watchpoints). The position of Breakpoints can also be specified by clicking on the left border of
the Editor window. Variables and process values which are to be read out from the frequency inverter
during debugging must be marked. This can be done in the Editor via the menu items "Debug
variable" and "Watch variable". For this, the relevant variable must be marked before the required
menu item is selected.
80 BU 0000 en-0421
10 PLC
Holding points
This window displays all of the breakpoints and watchpoints which have been set. These can be
switched on and off via the checkboxes and deleted with the "Delete key". A corresponding menu can
be called up with the right mouse button.
Observation list
This displays all of the variables which have been selected for observation. The current content is
displayed in the Value column. The display format can be selected with the Display column.
BU 0000 en-0421 81
NORDCON – Manual
10.2.4 Debugging
As programs only rarely function the very first time, the PLC provides several possibilities for finding
faults. These possibilities can be roughly divided into two categories, which are described in detail
below.
Information
In the current version, variables of functions cannot be added to the watch list!
be set in a PLC program. This function is started via the symbol. The program now runs
until a holding point is triggered. Further actuation of the symbol bar allows the program to continue
running until it reaches the next holding point. If the program is to continue running, the symbol is
actuated.
switched on by actuating the symbol. Only when the program has run into the first breakpoint,
82 BU 0000 en-0421
10 PLC
can the following lines be debugged via the symbol. Some command lines contain several
individual commands. Because of this, two or more individual steps may be processed before the step
indicator jumps forward in the entry window. The actual position is shown by a small arrow in the left
PLC Editor window. When the symbol is actuated, the program continues running until the next
The PLC configuration dialogue is opened via the symbol. Here, basic settings for the PLC can
be made, which are described in further detail below.
10.3.1 CANopen
The PLC can configure, monitor and transmit on PDO channels via function blocks. The PDO can
transmit or receive up to 8 bytes of process data via a PDO. Each of these PDOs is accessed via an
BU 0000 en-0421 83
NORDCON – Manual
individual address (COB-ID). Up to 20 PDOs can be configured in the PLC. For simpler operation, the
COB-ID is not entered directly. Instead, the device address and the PDO number are communicated
to the FB. The resulting COB-ID is determined on the basis of the Pre-Defined Connection Set (CiA
DS301). This results in the following possible COB-IDs for the PLC.
NORD Frequency inverter use PDO1 to communicate process data. PDO2 is only used for
setpoint/actual value 4 and 5.
10.3.1.1 Overview
10.3.1.2 FB_NMT
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X X
After a Power UP all CAN participants are in the Pre-Operational bus state. In this state, they can
neither transmit nor receive a PDO. In order for the PLC to be able to communicate with other
participants on the CAN bus, these must be set to the Operational state. Usually, this is realised by the
bus master. If there is no bus master, this task can be taken over by the FB_NMT. The states of all
participants connected to the bus can be controlled via the inputs PRE, OPE or STOP. The inputs are
applied with a positive flank on EXECUTE. The function must be called until the output DONE or
ERROR has been set to 1.
If the ERROR is set to 1, there is either no 24 V supply to the RJ45 CAN socket of the inverter, or the
CAN driver of the inverter is in the status Bus off. With a negative flank on EXECUTE, all outputs are
reset to 0.
84 BU 0000 en-0421
10 PLC
VAR_INPUT VAR_OUTPUT
10.3.1.3 FB_PDOConfig
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X X
The PDOs are configured with this FB. With an instance of this function, all of the required PDOs can
be configured. The FB must only be called up once for each PDO. Up to 20 PDOs can be set up. Each
PDO has its own parameterisation. The assignment of the PDOs in the other CANopen FBs is carried
out via the Messagebox number. The TARGETID represents the address of the device. With NORD
Frequency inverter, it is set in P515 or via DIP switches. The required Messagebox number is entered
under PDO (see Introduction). LENGTH specifies the transmission length of a PDO. The
transmission/reception direction is specified via DIR. The data is adopted with a positive flank on the
EXECUTE input. The DONE output can be queried immediately after the call-up of the FB. If DONE is
set to 1, the PDO channel has been configured. If ERROR = 1, there was a problem, whose precise
cause is stored in ERRORID. With a negative flank on EXECUTE, all outputs are reset to 0.
BU 0000 en-0421 85
NORDCON – Manual
VAR_INPUT VAR_OUTPUT
ERRORID Explanation
0 No error
86 BU 0000 en-0421
10 PLC
Example in ST:
(* Configure PDO *)
PDOConfig(
Execute := TRUE,
(* Configure Messagebox 1 *)
Number := 1,
(* Set CAN node number *)
TargetID := 50,
(* Select PDO (Standard for PDO1 control word, setpoint1, setpoint2, setpoint3) *)
PDO := 1,
(* Specify length of data (Standard for PDO1 is 8 *)
LENGTH := 8,
(* Transmit *)
Dir := 1);
oder
(* Configure PDO *)
PDOConfig(
Execute := TRUE,
(* Configure Messagebox 1 *)
Number := 2,
(* Set CAN node number *)
TargetID := 50,
(* Select PDO (Standard for PDO2 setpoint4, setpoint5 SK540E) *)
PDO := 2,
(* Specify length of data (Standard for PDO2 is 4 *)
LENGTH := 4,
(* Transmit *)
Dir := 1);
oder
(* Configure PDO *)
PDOConfig(
Execute := TRUE,
(* Configure Messagebox 2 *)
Number := 2,
(* Set CAN node number *)
TargetID := 50,
(* Select PDO (Standard for PDO1 status word, actual value1, actual value2, actual
value3) *)
PDO := 1,
(* Specify length of data (Standard for PDO1 is 8 *)
LENGTH := 8,
(* Receive *)
Dir := 0);
10.3.1.4 FB_PDOReceive
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X X
This FB monitors a previously configured PDO channel for incoming messages. Monitoring starts if the
ENABLE input is set to 1. After the function has been called up, the NEW output must be checked. If it
changes to 1, a new message has arrived. The NEW output is deleted with the next call-up of the
function. The data which have been received are shown in WORD1 to WORD4. The PDO channel can
be monitored for cyclical reception via TIME. If a value between 1 and 32767 ms is entered in TIME, a
message must be received during this period. Otherwise, the FB changes into the error state (ERROR
= 1). This function can be disabled with the value 0. The monitoring timer runs in steps of 5 ms. In
case of error, ERROR is set to 1. In this case, DONE is 0. The corresponding error code is then valid
in ERRORID. With a negative flank on ENABLE, DONE, ERROR and ERRORID are reset.
BU 0000 en-0421 87
NORDCON – Manual
VAR_INPUT VAR_OUTPUT
ERRORID Explanation
0 No error
Example in ST:
IF bFirstTime THEN
(* Set device to Pre-Operational status *)
NMT(Execute := TRUE, OPE := TRUE);
IF not NMT.Done THEN
RETURN;
END_IF;
(* Configure PDO *)
PDOConfig(
Execute := TRUE,
(* Configure Messagebox 2 *)
Number := 2,
(* Set CAN node number *)
TargetID := 50,
(* Select PDO (Standard for PDO1 status word, actual value1, actual value2, actual
value3) *)
PDO := 1,
(* Specify length of data (Standard for PDO1 is 8 *)
Length := 8,
(* Receive *)
Dir := 0);
END_IF;
88 BU 0000 en-0421
10 PLC
State := PDOReceive.Word1;
Sollwert1 := PDOReceive.Word2;
Sollwert2 := PDOReceive.Word3;
Sollwert3 := PDOReceive.Word4;
END_IF
10.3.1.5 FB_PDOSend
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X X
With this FB, PDOs can be transmitted on a previously configured channel. These can be transmitted
once or cyclically. The data to be transmitted is entered in WORD1 to WORD4. PDOs can be
transmitted irrespective of the frequency inverter’s CANopen state. The previously configured PDO
channel is selected via NUMBER. The data to be transmitted is entered in WORD1 to WORD4. Single
(setting = 0) or cyclical transmission can be selected via CYCLE. The PDO is sent with a positive flank
on EXECUTE. If DONE = 1, all entries were correct and the PDO is transmitted. If ERROR = 1, there
was a problem. The precise cause is stored in ERRORID. All outputs are reset with a negative flank
on EXECUTE. The time base of the PLC is 5 ms; this also applies for the CYCLE input. Only
transmission cycles with a multiple of 5 ms can be implemented.
VAR_INPUT VAR_OUTPUT
ERRORID Explanation
0 No error
BU 0000 en-0421 89
NORDCON – Manual
If DONE changes to 1, the message to be transmitted has been applied by the CAN module, but has
not yet been sent. The actual transmission runs in parallel in the background. If several messages are
now to be transmitted directly in sequence via an FB, it may be the case that the previous message
has not yet been transmitted upon the new call-up. This can be seen by the fact that neither the DONE
nor the ERROR signal have been set to 1 after the CAL call-up. The CAL call-up can be repeated
until one of the two signals changes to 1. If several different CAN IDs are to be written on via a single
FB, this is possible with a new configuration of the FB. However, this must not be done in the same
PLC cycle as the transmission. Otherwise, there is a danger that the message to be transmitted will be
deleted during configuration by the FB_PDOConfig.
Example in ST:
IF bFirstTime THEN
(* Set device to Pre-Operational status *)
NMT(Execute := TRUE, OPE := TRUE);
IF not NMT.Done THEN
RETURN;
END_IF;
(* Configure PDO*)
PDOConfig(
Execute := TRUE,
(*Configure Messagebox 1*)
Number := 1,
(* Set CAN node number *)
TargetID := 50,
(* Select PDO (Standard for PDO1 status word, actual value1, actual value2, actual
value3) *)
PDO := 1,
(*Specify length of data (Standard for PDO1 is 8*)
LENGTH := 8,
(* Transmit *)
Dir := 1);
PDOSend(Execute := FALSE);
bFirstTime := FALSE;
END_IF;
CASE State OF
0:
(* Has digital input 1 been set? *)
IF _5_State_digital_input.0 THEN
(*Transmit PDO – Set Device control word to status “Ready to switch-on” *)
PDOSend(Execute := TRUE, Number := 1, Word1 := 1150, Word2 := 0, Word3 := 0,
Word4 := 0);
State := 10;
RETURN;
END_IF;
10:
PDOSend;
IF PDOSend.Done THEN
PDOSend(Execute := FALSE);
State := 0;
90 BU 0000 en-0421
10 PLC
END_IF;
END_CASE;
Master FI Slave FI
P515[-03] P515[-02] Broadcast master address P546[-02] 24 Setpoint pos. Incl. High
Slave Word
* (P509) must not necessarily be set to {10} "CANopen Broadcast". However, in this case the Master (P502 [-01])
must be set to {21} "Actual frequency without slip".
10.3.2.1 Overview
BU 0000 en-0421 91
NORDCON – Manual
10.3.2.2 FB_FlyingSaw
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X On+ X X X
The flying saw function is an extension of the gear unit function. With the aid of this function it is
possible to precisely synchronise to a running drive unit. In contrast to FB_Gearing, synchronisation is
relative, i.e. the slave axis moves synchronously to the position of the master which applied at the start
of the “Flying Saw”. The synchronisation process is illustrated in the figure below.
X Position
Y Speed
If the function is started, the slave frequency inverter accelerates to the speed of the master axis. The
acceleration ramp is specified via the ACCELERATION path. At low speeds, the ramp is flatter and at
high speeds, there is a steep ramp for the slave frequency inverter. The acceleration path is stated in
revolutions (1000 = 1.000 rev.) if P553 is specified as the setpoint position. If the setpoint position INC
is used for P553, the acceleration path is specified in increments.
If the initiator, with the distance saved in ACCELERATION, is set in front of the position of the slave
drive, the slave is precisely synchronised with the triggering position from the master drive.
The FB must be switched on via the ENABLE input. The function can be started either via the digital
input (P420[-xx]=64, Start flying saw) or via EXECUTE. The frequency inverter then accelerates to the
speed of the master axis. When synchronisation with the master axis is achieved, the DONE output is
switched to 1.
Via the STOP input or the digital input function P420[-xx] = 77, Flying saw stopped, the gear unit
function is switched off, the frequency inverter decelerates to 0 Hz and remains at a standstill. Via the
HOME input, the inverter is made to move to the absolute position 0. After termination of the HOME or
STOP command, the relevant allocated output is active. The gear unit function can be restarted by
reactivating EXECUTE or the digital input. With the digital input function (P420[-xx] = 63, Synchronous
mode off), the gear unit function can be stopped and then moved to the absolute position 0.
If the function is interrupted by the MC_Stop function, ABORT is set to 1. In case of error, ERROR is
set to 1 and the error code is set in ERRORID. These three outputs are reset if ENABLE is switched
to 0.
92 BU 0000 en-0421
10 PLC
VAR_INPUT VAR_OUTPUT
ERRORID Explanation
0 No error
10.3.2.3 FB_Gearing
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X On+ X X X
Via function module FB_Gearing, the position and speed of the frequency inverter can be
synchronised to that of a master inverter. The slave which uses this function always follows the
movements of the master inverter.
Synchronisation is absolute, i.e. the positions of the slave and the master are always the same.
Information
If the slave is switched to gear unit mode at a different position than the master, the slave moves with maximum
frequency to the master’s position.
If a gear ratio is specified, this also results in a new position when switched on again.
The position value to which synchronisation is carried out, as well as the speed, must be transmitted
via the Broadcast channel. The function is enabled via the ENABLE input. For this, the position control
and the output stage must be enabled. The output stage can be enabled, e.g. with the MC_Power
function. If ENABLE is set to 0, the frequency inverter decelerates to 0 Hz and remains at a standstill.
The inverter is now in position control mode again. If MC_Stop is activated, the frequency inverter
exits the gear unit mode and the ABORT output changes to 1. In case of errors in the FB, ERROR
changes to 1 and the error cause is indicated in ERRORID. By setting ENABLE to 0, ERROR,
ERRORID and ABORT can be reset.
BU 0000 en-0421 93
NORDCON – Manual
VAR_INPUT VAR_OUTPUT
ENABLE Synchronous mode active BOOL VALID Gear unit function is active BOOL
RELATIVE Relative mode (V2.1 and BOOL ABORT Command cancelled BOOL
above)
ERRORID Explanation
0 No error
MC_Stop
Information
The PLC_Setpoints 1 to 5 and the PLC control word can also be described via process variables. However, if the
Motion Control FBs are used, no corresponding process variable may be declared in the table of variables, as
otherwise the outputs of the Motion Control FBs would be overwritten.
94 BU 0000 en-0421
10 PLC
10.3.3.1 MC_Control
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X X
This function block is used to control the FI and provides the option of producing the FI control word in
a form which is somewhat more detailed than is possible with MC_Power. The FI is controlled via the
inputs ENABLE (ENABLE_RIGHT), ENABLE_LEFT, DISABLEVOLTAGE and QUICKSTOP, please
refer to the following table.
High Low Low Low The frequency inverter is switched on (enable right).
BU 0000 en-0421 95
NORDCON – Manual
The active parameter set can be set via the input PARASET.
If the output is in STATUS = 1, the FI is switched on and the motor is supplied with power.
VAR_INPUT VAR_OUTPUT
ERRORID Explanation
0 No error
96 BU 0000 en-0421
10 PLC
Example in ST:
(* Device enabled with Dig3*)
Control.Enable := _5_State_digital_input.2;
(* Parameter sets are specified via Dig1 and Dig2. *)
Control.ParaSet := INT_TO_BYTE(_5_State_digital_input and 2#11);
Control;
(* Is the device enabled? *)
if Control.Status then
(* Is a different position to be moved to? *)
if SaveBit3 <> _5_State_digital_input.3 then
SaveBit3 := _5_State_digital_input.3;
if SaveBit3 then
Move.Position := 500000;
else
Move.Position := 0;
end_if;
Move(Execute := False);
end_if;
end_if;
10.3.3.2 MC_Control_MS
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X
BU 0000 en-0421 97
NORDCON – Manual
If the output is STATUS = 1, the MS is switched on and the motor is supplied with power.
If OPENBRAKE is set to 1, the brake is opened.
VAR_INPUT VAR_OUTPUT
ENABLE_RIGHT Enable right BOOL STATUS Motor supplied with power BOOL
ERRORID Explanation
0 No error
10.3.3.3 MC_Home
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X
Causes the frequency inverter to start a reference point run if EXECUTE changes from 0 to 1 (flank).
The frequency inverter moves with the setpoint frequency which is set in VELOCITY. If the input with
the position reference signal (P420[-xx] =) becomes active, a change of direction of rotation occurs.
On the negative flank of the position reference signal the value in POSITION is adopted. The
frequency inverter then decelerates to 0 Hz and the DONE signal changes to 1. During the entire
HOME run the BUSY output is active. If the input MODE is set to True, the drive adopts the average
value of both positions during the reference point run (positive flank negative flank) when the
reference point switch is passed over and sets this value as the reference point. The drive reverses
and therefore stops at the reference point which has been thus determined. The input POSITION
cannot be used.
If the process is cancelled (e.g. by another MC function module), COMMANDABORTED is set.
In case of error, ERROR is set to 1. In this case, DONE is 0. The corresponding error code is then
valid in ERRORID.
98 BU 0000 en-0421
10 PLC
VAR_INPUT VAR_OUTPUT
ERRORID Explanation
0 No error
1201h The High position is not entered in the PLC setpoint values (P553)
1202h The Low position is not entered in the PLC setpoint values (P553)
Causes the frequency inverter to start a reference point run if EXECUTE changes from 0 to 1 (flank).
The frequency inverter moves with the setpoint frequency which is set in VELOCITY. If the input with
the position reference signal (P420[-xx] =) becomes active, a change of direction of rotation occurs.
On the negative flank of the position reference signal the value in POSITION is adopted. The
frequency inverter then decelerates to 0 Hz and the DONE signal changes to 1. During the entire
HOME run the BUSY output is active.
If the process is cancelled (e.g. by another MC function module), COMMANDABORTED is set.
In case of error, ERROR is set to 1. In this case, DONE is 0. The corresponding error code is then
valid in ERRORID.
BU 0000 en-0421 99
NORDCON – Manual
VAR_INPUT VAR_OUTPUT
ERRORID Explanation
0 No error
1201h The High position is not entered in the PLC setpoint values (P553)
1202h The Low position is not entered in the PLC setpoint values (P553)
Mode
Value Explanation
15 Once the reference point has been reached, the drive reverses. When the reference point
switch is left (negative flank), this is adopted as the reference point.
The reference point is therefore typically in the side of the reference point switch on which the
reference point run started.
Note: If the reference point switch is passed over (switch too narrow, speed too high), this is
also taken as the reference point when leaving the reference point switch (negative flank).
The reference point is therefore not on the side of the reference point switch from which the
reference point run was started.
(P623 = [15] Nord method 1)
16 As for 15, however passing over the reference point switch does not result in adoption as the
reference point. A negative flank only results in adoption as the reference point after reversal
has been completed.
The reference point is therefore definitely on the side of the reference point switch from which
the reference point run was started.
(P623 = [16] Nord method 2)
17 If the reference point switch is passed over during the reference point run (positive flank
negative flank) the drive adopts the average value of both positions and sets this as the
reference point. The drive reverses and therefore stops at the reference point which has been
thus determined. (P623 = [17] Nord method 3)
10.3.3.5 MC_MoveAbsolute
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X On+ X X X
Writes a position and speed setpoint to the frequency inverter if EXECUTE changes from 0 to 1
(flank). The set point frequency VELOCITY is transferred according to the scaling explained in
MC_MoveVelocity.
POSITION:
MODE = False:
The setpoint position results from the value transferred into POSITION.
MODE = True:
The value transferred into POSITION corresponds to the index from parameter P613 increased by
1. The position stored in this parameter index corresponds to the setpoint position.
Example:
Mode = True; Position = 12
The FB moves to the position which is in the current parameter set of P613[-13].
If the inverter has reached the setpoint position, DONE is set to 1. DONE is deleted by resetting
EXECUTE. If EXECUTE is deleted before the target position is reached, DONE is set to 1 for one
cycle. During movement to the setpoint position, BUSY is active. If the process is cancelled (e.g. by
another MC function module), COMMANDABORTED is set. In case of error, ERROR is set to 1 and
the corresponding error code is set in ERRORID. In this case, DONE is 0. With a negative flank on
EXECUTE, all outputs are reset to 0.
VAR_INPUT VAR_OUTPUT
POSITION Setpoint position DINT BUSY Setpoint position not reached BOOL
ERRORID Explanation
0 No error
0x1201 The High position is not entered in the PLC setpoint values (P553)
0x1202 The Low position is not entered in the PLC setpoint values (P553)
Example in ST:
(* The device is enabled if DIG1 = TRUE *)
Power(Enable := _5_State_digital_input.0);
IF Power.Status THEN
(* The device is enabled and moves to position 20000 with 50% max. frequency.
For this action, the motor requires an encoder, and position control must be enabled.
*)
MoveAbs(Execute := _5_State_digital_input.1, Velocity := 16#2000, Position := 20000);
END_IF
10.3.3.6 MC_MoveAdditive
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X On+ X X X
Except for the DISTANCE input, this corresponds in all points with MC_MoveAbsolute. The setpoint
position results from the addition of the actual setpoint position and the transferred DISTANCE.
VAR_INPUT VAR_OUTPUT
ERRORID Explanation
0 No error
1201h The High position is not entered in the PLC setpoint values (P553)
1202h The Low position is not entered in the PLC setpoint values (P553)
10.3.3.7 MC_MoveRelative
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X On+ X X X
Except for the DISTANCE input, this corresponds in all points with MC_MoveAbsolute. The setpoint
position results from the addition of the actual current position and the transferred DISTANCE.
VAR_INPUT VAR_OUTPUT
ERRORID Explanation
0 No error
1201h The High position is not entered in the PLC setpoint values (P553)
1202h The Low position is not entered in the PLC setpoint values (P553)
10.3.3.8 MC_MoveVelocity
SK 5xxP SK 54xE SK 53xE On/On+ SK 2xxE SK 2xxE-FDS SK 180E SK 155E-FDS
Sets the set point frequency for the frequency inverter if EXECUTE changes from 0 to 1 (flank). If the
frequency inverter has reached the set point frequency, INVELOCITY is set to 1. While the FI is
accelerating to the set point frequency, the BUSY output is active. If EXECUTE has already been set
to 0, INVELOCITY is set to 1 for only one cycle. If the process is cancelled (e.g. by another MC
function module), COMMANDABORTED is set.
With a negative flank on EXECUTE, all outputs are reset to 0.
VAR_INPUT VAR_OUTPUT
VELOCITY Setpoint frequency INT BUSY Set point frequency not yet reached BOOL
ERRORID Explanation
0 No error
Example IL:
CAL Power
CAL Move
LD TRUE
ST Power.Enable
DINT_TO_INT
ST Move.Velocity
LD Power.Status
ST Move.Execute
10.3.3.9 MC_Power
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X X X
The output stage of the device can be switched on and off with this function. If the ENABLE input is
set to 1, the output stage is enabled. The prerequisite for this is that the device is in “Switch-on inhibit”
or “Ready to switch-on” state. If the device is in “Fault” or “Fault response active” state, the fault must
first be remedied and acknowledged. Only then, enabling can be carried out via this block. If the
device is in “Not ready to switch-on ” state, switch-on is not possible. In all cases, the FB goes into
error state and ENABLE must be set to 0 to acknowledge the fault.
If the ENABLE input is set to 0, the device is switched off. If this happens while the motor is running, it
is first decelerated to 0 Hz via the ramp set in P103.
The STATUS output is 1 if the output stage of the device is switched on; otherwise it is 0.
ERROR and ERRORID are reset if ENABLE is switched to 0.
VAR_INPUT VAR_OUTPUT
ERRORID Explanation
0 No error
LD TRUE
ST Power.Enable
DINT_TO_INT
ST Move.Velocity
LD Power.Status
ST Move.Execute
Example in ST:
(* Enable power block *)
Power(Enable := TRUE);
IF Power.Status THEN
(* The device is ready to switch-on *)
END_IF
10.3.3.10 MC_ReadActualPos
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X On+ X X X
Continually delivers the actual current position of the frequency inverter if ENABLE is set to 1. As
soon as there is a valid current position at the output, VALID is set to valid. In case of error, ERROR is
set to 1 and in this case, VALID is 0.
Position scaling: 1 motor revolution = 1000
VAR_INPUT VAR_OUTPUT
Example in ST:
ReadActualPos(Enable := TRUE);
IF ReadActualPos.Valid THEN
Pos := ReadActualPos.Position;
END_IF
10.3.3.11 MC_ReadParameter
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X X X
Reads out a parameter cyclically from the device as long as ENABLE is set to 1. The read parameter
is stored in Value and is valid if DONE is set to 1. For the duration of the reading process, the BUSY
output is set to 1. If ENABLE remains 1, the parameter is constantly read out cyclically. The
parameter number and index can be changed at any time when ENABLE is active. However, it is
difficult to identify when the new value is read out, as the DONE signal remains 1 for the whole time. In
this case, it is advisable to set the ENABLE signal to 0 for one cycle, as the DONE signal is then
reset. The parameter index results from the index in the documentation minus 1. For example, P700
Index 3 (“Reason FI blocked”) is queried via parameter index 2. In case of error, ERROR is set to 1. In
this case, DONE is 0 and the ERRORID contains the error code. If the ENABLE signal is set to 0, all
signals and the ERRORID are deleted.
VAR_INPUT VAR_OUTPUT
ERRORID Explanation
4 No array
Example in ST:
(* Motion module FB_ReadParameter *)
ReadParam(Enable := TRUE,Parameternumber := 102, ParameterIndex := 0);
IF ReadParam.Done THEN
Value := ReadParam.Value;
ReadParam(Enable := FALSE);
END_IF
10.3.3.12 MC_ReadStatus
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X X X
Reads out the status of the device. The status machine is orientated to the PLCopen specification
"Function blocks for motion control". The status is read out as long as ENABLE is set to 1.
VAR_INPUT VAR_OUTPUT
Example in ST:
ReadStatus(Enable := TRUE);
IF ReadStatus.Valid THEN
fError := ReadStatus.ErrorStop;
fDisable := ReadStatus.Disabled;
fStopping := ReadStatus.Stopping;
fInMotion := ReadStatus.DiscreteMotion;
fInVelocity := ReadStatus.ContinuousMotion;
fInHome := ReadStatus.Homing;
fStandStill := ReadStatus.StandStill;
end_if
10.3.3.13 MC_Reset
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X X X
Resets an error in the device (fault acknowledgement), on a rising flank from EXECUTE. In case of
error, ERROR is set to 1 and the cause of the fault is entered in ERRORID. With a negative flank on
EXECUTE all errors are reset.
VAR_INPUT VAR_OUTPUT
ERRORID Explanation
0 No error
1700h An error reset could not be performed, because the cause of the error is still present.
Example in ST:
Reset(Execute := TRUE);
IF Reset.Done THEN
(* The error has been reset *)
Reset(Execute := FALSE);
ELSIF Reset.Error THEN
(* Reset could not be executed, as the cause of the error is still present *)
Reset(Execute := FALSE);
END_IF
10.3.3.14 MC_Stop
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X X X
With a rising flank (0 to 1) the device is set to the state STANDINGSTILL. All motion functions which
are active are cancelled. The device brakes to 0 Hz and switches off the output stage. As long as the
Stop command is active (EXECUTE = 1), all other Motion FBs are blocked. The BUSY output
becomes active with the rising flank on EXECUTE and remains active until there is a falling flank on
EXECUTE.
VAR_INPUT VAR_OUTPUT
Writes a 16/32 Bit parameter into the device if EXECUTE changes from 0 to 1 (flank). The parameter
has been written if DONE is set to 1. For the duration of the reading process, the BUSY output is set
to 1. In case of error, ERROR is set to 1 and the ERRORID contains the error code. The signals
DONE, ERROR, ERRORID remain set until EXECUTE changes back to 0. If the EXECUTE signal
changes to 0, the writing process is not cancelled. Only the DONE signal remains set for 1 PLC cycle.
VAR_INPUT VAR_OUTPUT
PARAMETERNU Parameter number INT BUSY The writing process is active BOOL
MBER
PARAMETERIND Parameter index INT ERROR Reading process failed BOOL
EX
VALUE Value to be written INT ERRORID Error code INT
ERRORID Explanation
4 No array
Example in ST:
WriteParam16(Execute := TRUE, ParameterNumber := 102, ParameterIndex := 0, Value := 300);
IF WriteParam16.Done THEN
WriteParam16(Execute := FALSE);
END_IF;
10.3.4 Standard
With a rising flank on CD the counter of the function block CV is reduced by one, as long as CV is
greater than -32768. If CV is less than or equal to 0, the output Q remains TRUE. Via LD the counter
CV can be set to the value saved in PV.
VAR_INPUT VAR_OUTPUT
Example in IL:
LD VarBOOL1
ST CTDInst.CD
LD VarBOOL2
ST CTDInst.LD
LD VarINT1
ST CTDInst.PV
CAL CTDInst
LD CTDInst.Q
ST VarBOOL3
LD CTDInst.CV
ST VarINT2
Example in ST:
CTDInst(CD := VarBOOL1, LD := VarBOOL2, PV := VarINT1);
VarBOOL3 := CTDInst.Q;
VarINT2 := CTDInst.CV;
With a rising flank on CU, the counter of the function block CV is increased by one. CV can be
counted up to the value 32767. As long as CV is greater than or equal to PV, output Q remains TRUE.
Via R the counter CV can be reset to zero.
VAR_INPUT VAR_OUTPUT
Example in IL:
LD VarBOOL1
ST CTUInst.CU
LD VarBOOL2
ST CTUInst.R
LD VarINT1
ST CTUInst.PV
CAL CTUInst(CU := VarBOOL1, R := VarBOOL2, PV := VarINT1)
LD CTUInst.Q
ST VarBOOL3
LD CTUInst.CV
ST VarINT2
Example in ST:
CTUInst(CU := VarBOOL1, R := VarBOOL2, PV := VarINT1);
VarBOOL3 := CTUInst.Q;
VarINT2 := CTUInst.CV;
With a rising flank on CU the counter CV is increased by one, as long as CV is less than 32767. With
a rising flank on CD the counter of the function block CV is reduced by one, as long as CV is greater
than -32768. Via R the counter CV can be set to zero. Via LD the value saved in PV is copied to CV.
R has priority over LD, CU and CV. PV can be changed at any time, QU always relates to the value
which is currently set.
VAR_INPUT VAR_OUTPUT
Example in IL:
LD VarBOOL1
ST CTUDInst.CU
LD VarBOOL3
ST CTUDInst.R
LD VarBool4
ST CTUDInst.LD
LD VarINT1
ST CTUInst.PV
CAL CTUDInst
LD CTUDInst.QU
ST VarBOOL5
LD CTUDInst.QD
ST VarBOOL5
LD CTUInst.CV
ST VarINT2
Example in ST:
CTUDInst(CU:=VarBOOL1, R:=VarBOOL3, LD:=VarBOOL4, PV:=VarINT1);
VarBOOL5 := CTUDInst.QU;
VarBOOL5 := CTUDInst.QD;
VarINT2 := CTUDInst.CV;
Both functions are used for flank detection. If a flank is detected on CLK, Q is set to TRUE until the
next function call-up, after which it is reset to FALSE. Only with a new flank can Q become TRUE
again for a cycle.
• R_TRIG = rising flank
• F_TRIG = falling flank
Function call-ups
VAR_INPUT VAR_OUTPUT
Example in IL:
LD VarBOOL1
ST RTRIGInst.CLK
CAL RTRIGInst
LD RTRIGInst.Q
ST VarBOOL2
Example in ST:
RTRIGInst(CLK:= VarBOOL1);
VarBOOL2 := RTRIGInst.Q;
Information
The output of the function only changes if the function is called up. Because of this it is advisable to continually
call up the flank detection with the PLC cycle.
Bi-stable function: via S the output Q1 is set and via R1 it is deleted again. If R1 and S are both TRUE,
R1 is dominant.
VAR_INPUT VAR_OUTPUT
Example in IL:
LD VarBOOL1
ST RSInst.S
LD VarBOOL2
ST RSInst.R1
CAL RSInst
LD RSInst.Q1
ST VarBOOL3
Example in ST:
RSInst(S:= VarBOOL1 , R1:=VarBOOL2);
VarBOOL3 := RSInst.Q1;
Bi-stable function; via S1 the output Q1 is set and via R it is deleted again. If R1 and S are both TRUE,
S1 is dominant.
VAR_INPUT VAR_OUTPUT
R Reset BOOL
Example in IL:
LD VarBOOL1
ST SRInst.S1
LD VarBOOL2
ST SRInst.R
CAL RSInst
LD SRInst.Q1
ST VarBOOL3
Example in ST:
SRInst(S1:= VarBOOL1 , R:=VarBOOL2);
VarBOOL3 := SRInst.Q1;
VAR_INPUT VAR_OUTPUT
Example in IL:
LD VarBOOL1
ST TOFInst.IN
LD DINT#5000
ST TOFInst.PT
CAL TOFInst
LD TOFInst.Q
ST VarBOOL2
Example in ST:
TOFInst(IN := VarBOOL1, PT:= T#5s);
VarBOOL2 := TOFInst.Q;
Information Timer ET
The time ET runs independently of a PLC cycle. Starting of the timer with IN and setting of the output Q are only
executed with the function call-up "CAL". The function call-up takes place within a PLC cycle. However, with PLC
programs which are longer than 5 ms this may result in the occurrence of jitter.
If IN = TRUE is set, the timer counts upwards. If ET = PT, Q is set to TRUE and the timer stops. Q
remains TRUE for as long as IN is also TRUE. With a new rising flank on IN the counter starts again
from zero. PT can be changed while the timer is running. The time period in PT is entered in
milliseconds. This enables a time delay between 5ms and 24.8 days. As the time base of the PLC is
5ms, the minimum time delay is also 5ms.
Here, literals can be used for simplified input, e.g.
• LD TIME#50s20ms = 50.020 seconds
• LD TIME#1d30m = 1 day and 30 minutes
VAR_INPUT VAR_OUTPUT
Example in IL:
LD VarBOOL1
ST TONInst.IN
LD DINT#5000
ST TONInst.PT
CAL TONInst
LD TONInst.Q
ST VarBOOL2
Example in ST:
TONInst(IN := VarBOOL1, PT:= T#5s);
VarBOOL2 := TONInst.Q;
Information Timer ET
The time ET runs independently of a PLC cycle. Starting of the timer with IN and setting of the output Q are only
executed with the function call-up "CAL". The function call-up takes place within a PLC cycle. However, with PLC
programs which are longer than 5 ms this may result in the occurrence of jitter.
With a positive flank on IN the timer is started with the value 0. The timer runs up to the value which is
entered PT and then stops. This process cannot be interrupted! PT can be changed during counting.
The output Q is TRUE, as long as the timer ET is less than PT. If ET = PT and a rising flank is
detected on IN, the timer is started again at 0.
Here, literals can be used for simplified input, e.g.
• LD TIME#50s20ms = 50.020 seconds
• LD TIME#1d30m = 1 day and 30 minutes
VAR_INPUT VAR_OUTPUT
Example in IL:
LD VarBOOL1
ST TPInst.IN
LD DINT#5000
ST TPInst.PT
CAL TPInst
LD TPInst.Q
ST VarBOOL2
Example in ST:
TPInst(IN := VarBOOL1, PT:= T#5s);
VarBOOL2 := TPInst.Q;
Information Timer ET
The time ET runs independently of a PLC cycle. Starting of the timer with IN and setting of the output Q are only
executed with the function call-up "CAL". The function call-up takes place within a PLC cycle. However, with PLC
programs which are longer than 5 ms this may result in the occurrence of jitter.
10.3.5.1 FB_ReadTrace
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X
The memory areas of the FI can be read out directly with the aid of this FB.
If the FB detects a positive flank on ENABLE, all parameters which are present on the input are
adopted. The memory address which is to be read out is indicated with STARTINDEX and MEMORY.
If the reading process is successful, the VALID output changes to 1 and the value which has been
read out is in VALUE.
Allocation of the memory areas is carried out via the MEMORY input:
MEMORY = 1 to P613[0-251] corresponds to 504 INT or 252 DINT values
MEMORY = 0 to P900[0-247] up to P906[0-111] corresponds to 3200 INT or 1600 DINT values
VAR_INPUT VAR_OUTPUT
SIZE Memory format BOOL READY The entire memory has been read BOOL
out
ERRORID Explanation
0 No error
10.3.5.2 FB_WriteTrace
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X
Via this FB, individual values or large numbers of values can be intermediately saved in the FI. The
values are not permanently saved, i.e. the values are lost if the FI is restarted.
Allocation of the memory areas is carried out via the MEMORY input:
MEMORY = 1 to P613[0-251] corresponds to 504 INT or 252 DINT values
MEMORY = 0 to P900[0-247] up to P906[0-111] corresponds to 3200 INT or 1600 DINT values
VAR_INPUT VAR_OUTPUT
STARTINDEX Indicates the memory INT ACTINDEX Actual memory index, to which DINT
cell to be written to saving will be carried out in the next
cycle
ERRORID Explanation
0 No error
Information
Please note: The memory area in the setting MEMORY = 0 is also used by the Scope function. Use of the Scope
function overwrites the saved values!
• In the menu item "Display", set the parameter P1003 to "PLC Display"
• Switch to the operating value display with the left or right arrow key
• PLC display is now enabled in the ParameterBox and remains permanently enabled.
In the visualisation mode of the ParameterBox, the content of the display can be set with the two FBs
described below. However, before the item "Allow ParameterBox function modules" must be activated
in the PLC configuration dialogue (Button ). With the process value "Parameterbox_key_state",
the keyboard status of the box can also be queried. With this, input into the PLC program can be
implemented. The display structure and the keys to be read out for the ParameterBox can be seen in
the figure below.
10.3.6.2 FB_DINTToPBOX
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X X X
This function module converts a DINT value into an ASCII string and copies this into the
ParameterBox. The output can be in decimal, binary or hexadecimal format; the selection is performed
via MODE. Via ROW and COLUMN the starting point of the string is set in the ParameterBox display.
The parameter LENGTH transfers the length of the string in characters. In decimal MODE the
parameter POINT positions a decimal point in the number which is to be displayed. In POINT it is
stated how many characters are to the right of the decimal point. With the setting 0 the POINT function
is disabled. If the number contains more characters than the length allows and no decimal point is set,
the overflow is indicated by the character "#". If there is a decimal point in the number, all numbers
behind the decimal point may be omitted if required. In hexadecimal and binary MODE the lowest
value bits are displayed if the set length is too short. As long as ENABLE is set to 1, all changes to the
inputs are adopted immediately. If VALID changes to 1, the string has been correctly transferred. In
case of error, ERROR is set to 1. In this case, VALID is 0. The corresponding error code is then valid
in ERRORID. With a negative flank on ENABLE, VALID, ERROR and ERRORID are reset.
Examples:
Length = 5
12345 12345
Point = 0
Length = 5
-12345 #####
Point = 0
Length = 10
123456789 123456.789
Point = 3
Length = 8
123456789 123456.7
Point = 3
VAR_INPUT VAR_OUTPUT
ERRORID Explanation
0 No error
StringToPBox(Enable := TRUE);
else
StringToPBox;
end_if;
10.3.6.3 FB_STRINGToPBOX
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X X X
This function module copies a string (chain of characters) into the memory array of the ParameterBox.
Via ROW and COLUMN the starting point of the string is set in the ParameterBox display. The
parameter TEXT transfers the required string to the function module; the name of the string can be
obtained from the table of variables. As long as ENABLE is set to 1, all changes to the inputs are
adopted immediately. If the CLEAR input is set, the entire display content is overwritten with space
characters before the selected string is written. If VALID changes to 1, the string has been correctly
transferred. In case of error, ERROR is set to 1. In this case, VALID is 0. The corresponding error
code is then valid in ERRORID. With a negative flank on ENABLE, VALID, ERROR and ERRORID
are reset.
VAR_INPUT VAR_OUTPUT
ERRORID Explanation
0 No error
1506h The option "Allow ParameterBox function modules" is not activated in the PLC configuration.
Example in ST:
(* Initialisation *)
if FirstTime then
StringToPBox.ROW := 1;
StringToPBox.Column := 16;
FirstTime := False;
end_if;
StringToPBox(Enable := TRUE);
else
StringToPBox;
end_if;
The cycle time of the PLC is 5ms. This cycle may be too long to detect very rapid external events. Via
FB Capture it is possible to capture certain physical values on flanks at the FI inputs. Monitoring of the
inputs is carried out in a 1ms cycle. The values which are saved can be read by the PLC later.
With a positive flank on EXECUTE all inputs are read in and the Capture function is enabled. The FI
input which is to be monitored is selected via the INPUT input. Via EDGE, the type of flank and the
behaviour of the module are selected.
EDGE = 0 With the first positive flank, the selected value is saved under OUTPUT1 and DONE1 is
set to 1. The next positive flank saves under OUTPUT2 and DONE2 is set to 1. The FB is
then disabled.
EDGE = 1 Behaviour as for EDGE = 0, with the difference that triggering is with the negative flank.
EDGE = 2 With the first positive flank, the selected value is saved under OUTPUT1 and DONE1 is
set to 1. The next negative flank saves under OUTPUT2 and DONE2 is set to 1. The FB
is then disabled.
EDGE = 3 Behaviour as for EDGE = 2, with the difference that triggering is first with the negative
and then with the positive flank.
If the input CONTINUOUS is set to 1, then only the settings 0 and 1 are relevant to EDGE. The FB
continues to run and always saves the last triggering event under OUTPUT1. DONE1 remains active
from the first event. DONE2 and OUTPUT2 are not used.
The BUSY output remains active until both Capture events (DONE1 and DONE2) have occurred.
The function of the module can be terminated at any time with a negative flank on EXECUTE. All
outputs retain their values. With a positive flank on EXECUTE first, all outputs are deleted and then
the function of the module is started.
VAR_INPUT VAR_OUTPUT
INPUT SK54xE BYTE BUSY FB still waiting for a Capture event BOOL
Input to be monitored
0 = Input 1
----
7 = Input 8
SK52xE, SK53xE,
SK2xxE, SK2xx-EFDS
Input to be monitored
0 = Input 1
----
3 = Input 4
ERRORID Explanation
0 No error
Example in ST:
Power(ENABLE := TRUE);
IF Power.STATUS THEN
Move(EXECUTE := TRUE, POSITION := Pos, VELOCITY := 16#2000);
(* The FB waits for a High signal on DIG1. When this is detected, the FB saves the actual
position. The value can be queried with the property "OUTPUT1". *)
Capture(EXECUTE := TRUE, INPUT := 0);
IF Capture.DONE1 THEN
Pos := Capture.OUTPUT1;
Move(EXECUTE := FALSE);
END_IF;
END_IF;
Information
Several instances of this FB may exist in the PLC program. However, only two instances may be active at the
same time!
10.3.8 FB_DinCounter
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
X V1.1 and
Availability X X X X X
above
This FB is used to count pulses via the digital inputs. All flanks (Low - High and High - Low) are
counted. The minimum pulse width is 1 ms.
The FB is enabled via ENABLE. With the positive flanks, the inputs PV, UD, DIN and MODE are
adopted and all outputs are deleted.
MODE
• 0 = Overflow, the counter is operated as a continuous counter. It can overflow in both positive and
negative directions. When the function is started, CV = PV is set. In this Mode BUSY remains
always 1 and Q always 0.
• 1 = without overflow
– Counting forwards to CV starts at 0, BUSY = 1, and runs until CV=>PV. Then BUSY changes to
0 and Q to 1. The counting process stops.
– Counting backwards to CV starts at PV and runs until CV<= 0. During this time is BUSY = 1 and
changes to 0 when the end of the count is reached. In return, Q changes to 1.
– The restart of the counter is reached at the ENABLE input via a new flank.
DIN defines the measuring input. The number of inputs depends on the respective FI (max. 4).
• Input 1 =0
• Input 2 =1
• Input 3 =2
• Input 4 =3
VAR_INPUT VAR_OUTPUT
0 = larger numbers
1 = smaller numbers
ERRORID Explanation
0 No error
10.3.9 FB_FunctionCurve
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X X
This function module produces a mapping control. Defined points can be communicated to the
function block, with which it emulates a function. The output then behaves according to the saved
map. Linear interpolation is carried out between the individual base points. The base point are defined
with X and Y values. The X values are always of the INT type, the Y values can either be of the INT or
the DINT type, depending on the size of the largest base point. More memory is required if DINT is
used. The base points are entered in the column "Init Value" in the variables window. If TRUE is
detected at the ENABLE input, on the basis of the input value INVALUE the corresponding output
value OUTVALUE is calculated. VALID = TRUE indicates that the output value OUTVALUE is valid.
As long as VALID is FALSE, the output OUTVALUE has the value 0. If the input value INVALUE
exceeds the upper or the lower end of the characteristic range, the first or the last output value of the
characteristic range remain until the INVALUE returns to within the area of the characteristic range. If
the characteristic range is exceeded or undershot, the appropriate output MINLIMIT or MAXLIMIT is
set to TRUE. ERROR becomes TRUE, if the abscissa values (X values) of the characteristic range do
not continuously increase or if no table is initialised. The appropriate error is output by ERRORID and
the starting value is 0. The error is reset if ENABLE = FALSE.
VAR_INPUT VAR_OUTPUT
ERRORID Explanation
0 No error
1400h Abscissa values (X values) of the characteristic range do not always increase
10.3.10 FB_PIDT1
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X X X
The controller starts to calculate when ENABLE is set to TRUE. The control parameters are only
adopted with a rising flank fromENABLE. While ENABLE is TRUE, changes to the control parameters
have no effect. If ENABLE is set to FALSE, the output remains at its last value.
The output bit VALID is set, as long as the output value of Q is within the Min and Max limits and the
ENABLE input is TRUE.
Information
If the entire program cannot be executed within a PLC cycle, the controller calculates the output value a second
time with the old scanning values. This ensures a constant scanning rate. Because of this it is essential that the
CAL command for the PIDT1 controller is executed in each PLC cycle and only at the end of the PLC program.
VAR_INPUT VAR_OUTPUT
ERRORID Explanation
0 No error
10.3.11 FB_ResetPostion
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
V2.3 and V3.1 and On+ V2.1 and V1.2 and
Availability X X
above above above above
With a flank on the EXECUTE input, the current position (P601) is set to the value entered in Position.
If a position offset is entered in parameter P609, this offset is subtracted from the position.
With absolute encoders the current position can only be reset to 0. The value is not used in the
position.
VAR_INPUT VAR_OUTPUT
This module is used to determine the average torque during movement at a constant speed. From this
value, physical values, such as the weight which is being moved can be determined.
The FB is started via a positive flank on the EXECUTE input. With the flank, all inputs are adopted by
the FB. The FI moves with the speed which is set in SPEED. The measurement is started after the
elapse of the time which is set in STARTTIME. The duration of the measurement is defined under
MEASURETIME. The FI stops after the elapse of the measurement time. If the input REVERSE = 1,
the measurement process starts again, but with a negative speed. Otherwise the measurement is
complete, the output DONE changes to 1 and the measurement result is in VALUE.
As long as the measurement process is running, BUSY is active.
The scaling of the measurement result VALUE is 1 = 0.01% of the rated torque of the motor.
Call-up of another Motion FB stops the measurement function and the output ABORT changes to 1.
All outputs of the FB are reset with a new positive flank on EXECUTE.
VAR_INPUT VAR_OUTPUT
ERRORID Explanation
0 No error
0x1C02 The tolerance of the measurement values with respect to each other is greater than 1/8
Weigh(EXECUTE := Power.Status);
(* Was weighing completed? *)
if Weigh.done then
Value := Weigh.Value;
end_if;
Information
Only one instance of this FB is permissible in the PLC program!
10.4 Operators
Information
Some of the following operators may also contain further commands. These must be placed in brackets behind
the operator. It must be noted that a space must be included behind the opened bracket. The closing bracket
must be placed on a separate line of the program.
LD Var1
ADD( Var2
SUB Var3
)
10.4.1.1 ABS
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X X X
Example in IL:
LD -10 (* Loads the value -10 *)
ABS (* Accumulator = 10 *)
ST Value1 (* Saves the value 10 in Value1 ab *)
Example in ST:
Value1 := ABS(-10); (* The result is 10 *)
Adds variables and constants together with the correct prefixes. The first value for addition is in the
AE/accumulator, the second is loaded with the ADD command or is inside the bracket. Several
variables or constants can be added to the ADD command. For bracket addition, the accumulator is
added to the result of the expression in brackets. Up to 6 bracket levels are possible. The values to be
added must belong to the same type of variable.
Example in IL:
LD 10
ADD 204 (* Addition of two constants *)
ST Value
LD 170 (* Addition of a constant and 2 variables. *)
ADD Var1, Var2 (* 170dez + Var1 + Var2 *)
ST Value
LD Var1
ADD( Var2
SUB Var3 (* Var1 + ( Var2 - Var3 ) *)
)
ST Value
Example in ST:
Ergebnis := 10 + 30; (* The result is 40 *)
Ergebnis := 10 + Var1 + Var2;
Divides the accumulator by the operands For divisions by zero, the maximum possible result is
entered into the accumulator, e.g. for a division with INT values, this is the value 0x7FFF or the value
0x8000 if the divisor is negative. For bracket division, the accumulator is divided by the result of the
expression in brackets. Up to 6 bracket levels are possible. The values to be divided must belong to
the same type of variable.
Example in IL:
LD 10
DIV 3 (* Division of two constants *)
ST iValue (* The result is 9 *)
LD 170 (* Division of a constant and 2 variables. *)
DIV Var1, Var2 (* (170dez : Var1) : Var2 *)
ST Value
LD Var1 (* Divide Var1 by the content of the brackets *)
DIV( Var2
Example in ST:
Ergebnis := 30 / 10; (* The result is 3 *)
Ergebnis := 30 / Var1 / Var2;
10.4.1.4 LIMIT
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X X X
The command limits the value in the accumulator to the transferred minimum and maximum values.
Values If this is exceeded, the maximum value is entered in the accumulator and if it is undershot, the
minimum value is entered. If the value lies between the limits, there is no effect.
Example in IL:
LD 10 (* Loads the value 10 into the accumulator *)
LIMIT 20, 30 (* The value is compared with the limits 20 and 30. *)
(* The value in the accumulator is smaller, the accumulator is overwritten with 20 *)
ST iValue (* Saves the value 20 in Value1 *)
Example in ST:
Ergebnis := Limit(10, 20, 30); (* The result is 20 *)
10.4.1.5 MAX
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X X X
This value determines the maximum value of two variables or constants For this, the current value of
the accumulator is compared with the value transferred in the MAX command. After the command, the
larger of the two values is in the accumulator. Both values must belong to the same type of variable.
Example in IL:
LD 100 (* Load 100 into the accumulator *)
MAX 200 (* Compare with the value 200 *)
ST iValue (* Save 200 in Value2 (because larger value) *)
Example in ST:
Ergebnis := Max(100, 200); (* The result is 200 *)
This command determines the minimum value of two variables or constants. For this, the current value
of the accumulator is compared with the value transferred in the MIN command. After the command,
the smaller of the two values is in the accumulator. Both values must belong to the same type of
variable.
Example in IL:
LD 100 (* Load 100 into the accumulator *)
MIN 200 (* Compare with the value 200 *)
ST Value2 (* Save 100 in Value2 (because smaller value) *)
Example in ST:
Ergebnis := Min(100, 200); (* Save 100 in Value2 (because smaller value) *)
The Accumulator is divided by one or more variables or constant and the remainder of the division is
the result in the accumulator. For the bracket Modulus, the accumulator is divided by the result of the
expression in the brackets and the modulus is formed from this. Up to 6 bracket levels are possible.
Example in IL:
LD 25 (* Load the dividend *)
MOD 20 (* Division 25/20 per modulus = 5 *)
ST Var1 (* Save result 5 in Var1 *)
LD 25 (* Load the dividend *)
MOD( Var1 (* Result = 25/(Var1 + 10) per modulus into the accumulator *)
ADD 10
)
ST Var3 (* Save result 10 in Var3 *)
Example in ST:
Ergebnis := 25 MOD 20; (* Save result 5 in Var1 *)
Ergebnis := 25 MOD (Var1 + 10); (* Result = 25/(Var1 + 10) per modulus into the accumulator *)
Multiplication of the accumulator with one or more variables or constants. For bracket multiplication,
the accumulator is multiplied by the result of the expression in brackets. Up to 6 bracket levels are
possible. Both values must belong to the same type of variable.
Example in IL:
LD 25 (* Load the multiplier *)
MUL Var1, Var2 (* 25 * Var1 * Var2 *)
ST Var2 (* Save result *)
LD 25 (* Load the multiplier *)
MUL( Var1 (* Result = 25*(Var1 + Var2) *)
ADD Var2
ST Var3 (* Save result as variable Var3 *)
)
Example in ST:
Ergebnis := 25 * Var1 * Var2;
Ergebnis := 25 * (Var1 + Var2);
10.4.1.9 MUX
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X X X
Various constants or variables can be selected via an index, which is located in front of the command
in the accumulator. The first value is accessed via the Index 0. The selected value is loaded into the
accumulator. The number of values is only limited by the program memory.
Example in IL:
LD 1 (* Select the required element *)
MUX 10,20,30,40,Value1 (* MUX command with 4 constants and a variable *)
ST Value (* Save result = 20 *)
Example in ST:
Ergebnis := Mux(1, 10, 20, 30, 40, Value1) (* Save result = 20 *)
Subtracts the accumulator from one or more variables or constants. For bracket subtraction, the
accumulator is subtracted from the result of the expression in brackets. Up to 6 bracket levels are
possible. The values to be subtracted must belong to the same type of variable.
Example in IL:
LD 10
SUB Var1 (* Result = 10 - Var1 *)
ST Ergebnis
LD 20
SUB Var1, Var2, 30 (* Result = 20 - Var1 - Var12 - 30 *)
ST Ergebnis
LD 20
SUB( 6 (* Substract 20 from the contents of the bracket *)
AND 2
) (* Result = 20 - (6 AND 2) *)
ST Ergebnis (* Result = 18 *)
Example in ST:
Ergebnis := 10 - Value1;
Information
The operators listed here require intensive computing. This may result in a considerably longer running time for
the PLC program.
Calculation of the relevant mathematical function. The value to be calculated must be available in
minutes of arc. The scaling corresponds to 1 = 1000.
Conversion: Angle in radians = (Angle in degrees * PI / 180) * 1000 e.g. an angle of 90° is converted
as follows: 90° * 3,14 / 180) *1000 = 1571
Example in IL:
LD 1234
SIN
ST Ergebnis (* Result = 943 *)
Example in ST:
Ergebnis := COS(1234); (* Result = 330 *)
Ergebnis := ACOS(330); (* Result = 1234 *)
Ergebnis := SIN(1234); (* Result = 943 *)
Ergebnis := ASIN(943); (* Result = 1231 *)
Ergebnis := TAN(999); (* Result = 1553 *)
Ergebnis := ATAN(1553); (* Result = 998 *)
10.4.2.2 EXP
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X
Forms the exponential function to the base of Euler's Number (2.718) from the Accumulator. Up to 3
places behind the decimal point may be stated, i.e. 1.002 must be entered as 1002.
Example in IL:
LD 1000
EXP
ST Ergebnis (* Result = 2718 *)
Example in ST:
Ergebnis := EXP(1000); (* Result = 2718 *)
10.4.2.3 LN
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X
Logarithm to base e (2.718). Up to 3 places behind the decimal point may be stated, i.e. 1.000 must
be entered as 1000.
Example in IL:
Example in ST:
Ergebnis := LN(1234); (* Result = 210 *)
10.4.2.4 LOG
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X
Forms the base 10 logarithm from the accumulator. Up to 3 places behind the decimal point may be
stated, i.e. 1.000 must be entered as 1000.
Example in IL:
LD 1234
LOG
ST Ergebnis (* Result = 91 *)
Example in ST:
Ergebnis := LOG(1234); (* Result = 91 *)
10.4.2.5 SQRT
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X
Forms the square root from the accumulator. Up to 3 places behind the decimal point may be stated,
i.e. 1.000 must be entered as 1000.
Example in IL:
Example in ST:
Ergebnis := SQRT(1234); (* Result = 1110 *)
Bit-wise AND link of the AE/accumulator with one or two variables or constants. Bit-wise AND(...)
linking with the AE/accumulator and the AE/accumulator which was previously formed in the bracket.
Up to 6 bracket levels are possible. All values must belong to the same type of variable.
Example in IL:
LD 170
AND 204 (* AND link between 2 constants *)
(* Accumulator = 136 (See example in the table) *)
LD Var1
AND ( Var2 (* AE/Accumulator = Var1 AND ( Var2 OR Var3 ) *)
OR Var3
)
Example in ST:
Ergebnis := 170 AND 204; (* Result = 136dec *)
0 0 0
0 1 0
1 0 0
1 1 1
Example: 170dec (1010 1010bin) AND 204dec (1100 1100bin) = (1000 1000bin) 136dec
Bit-wise AND linking of the AE/accumulator with a negated operand. Bit-wise AND (...) linking of the
AE/accumulator and the negated result of the bracket. Up to 6 bracket levels are possible. The values
to be linked must belong to the same type of variable.
Example in IL:
LD 2#0000_1111
ANDN 2#0011_1010 (* ANDN link between 2 constants *)
(* Accu = 2#1111_0101 *)
LD Var1
ANDN ( Var2 (* AE/Accumulator = Var1 ANDN ( Var2 OR Var3 ) *)
OR Var3
)
0 0 1
0 1 1
1 0 1
1 1 0
Example: 170dec (1010 1010bin) AND 204dec (1100 1100bin) = (1000 1000bin) 136dec
10.4.3.3 NOT
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X X X
Example in IL:
LD BYTE#10 (* Load the value 10dec into the ACCU in Byte format *)
NOT (* The value is resolved on the Bit level (0000 1010), *)
(* negated bit-wise (1111 0101) and then converted back *)
(* converted, result = 245dec *)
ST Var3 (* Save result as variable Var3 *)
Example in ST:
Ergebnis := not BYTE#10; (* Result = 245dez *)
Bit-wise OR link of the AE/accumulator with one or two variables or constants. Bit-wise OR(...) linking
with the AE/accumulator and the AE/accumulator which was previously formed in the bracket. Up to 6
bracket levels are possible. All values must belong to the same type of variable.
Example in IL:
LD 170
OR 204 (* OR link between 2 constants *)
LD Var1
OR ( Var2 (* AE/Accumulator = Var1 OR ( Var2 AND Var3 ) *)
AND Var3
)
Example in ST:
Ergebnis := 170 or 204; (* Result = 238 *)
0 0 0
0 1 1
1 0 1
1 1 1
Bit-wise OR linking of the AE/accumulator with a negated operand. Bit-wise OR (...) linking of the
AE/accumulator and the negated result of the bracket. Up to 6 bracket levels are possible. The values
to be linked must belong to the same type of variable.
LD Var1
ORN ( Var2 (* AE/Accumulator = Var1 ORN ( Var2 OR Var3 ) *)
OR Var3
)
Example in ST:
Ergebnis := 2#0000_1111 ORN 2#0011_1010; (* Result = 2#1100_0000 *)
0 0 1
0 1 0
1 0 0
1 1 0
10.4.3.6 ROL
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X X X
Bit-wise rotation of the accumulator to the left. The content of the accumulator is shifted n times to the
left, whereby the left bit is inserted again on the right.
Example in IL:
LD 175 (* Loads the value 1010_1111*)
ROL 2 (* Accumulator content is rotated 2x to the left *)
ST Value1 (* Saves the value 1011_1110 *)
Example in ST:
Ergebnis := ROL(BYTE#175, 2); (* Result = 2#1011_1110 *)
Ergebnis := ROL(INT#175, 2); (* Result = 16#C02B *)
10.4.3.7 ROR
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X X X
Bit-wise rotation of the accumulator to the right. The content of the accumulator is shifted n times to
the right, whereby the right bit is inserted again on the left.
Example in IL:
LD 175 (* Loads the value 1010_1111*)
ROR 2 (* Accumulator content is rotated 2x to the right *)
ST Value1 (* Saves the value 1110_1011 *)
Example in ST:
Ergebnis := ROR(BYTE#175, 2); (* Result = 2#1110_1011 *)
10.4.3.8 S and R
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X X X
Sets and resets a boolean variable if the result of the previous link (the AE) was TRUE.
Example in IL:
LD TRUE (* Loads the AE with TRUE *)
S Var1 (* VAR1 is set to TRUE *)
R Var1 (* VAR1 is set to FALSE *)
Example in ST:
Ergebnis := TRUE;
Ergebnis := FALSE;
10.4.3.9 SHL
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X X X
Bit-wise left shift of the accumulator. The content of the accumulator is shifted n times to the left and
the bits which are pushed out are lost.
Example in IL:
LD 175 (* Loads the value 1010_1111*)
SHL 2 (* Accumulator content is shifted 2x to the left *)
Example in ST:
Ergebnis := SHL(BYTE#175, 2); (* Result = 2#1011_1100 *)
Ergebnis := SHL(INT#175, 2); (* Result = 16#2BC *)
10.4.3.10 SHR
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X X X
Bit-wise right shift of the accumulator. The content of the accumulator is shifted n times to the right
and the bits which are pushed out are lost.
Example in IL:
LD 175 (* Loads the value 1010_1111*)
SHR 2 (* Accumulator content is shifted 2x to the right *)
ST Value1 (* Saves the value 0010_1011 *)
Example in ST:
Ergebnis := SHR(BYTE#175, 2); (* Result = 2#0010_1011 *)
LD Var1
XOR ( Var2 (* AE/Accumulator = Var1 XOR ( Var2 OR Var3 ) *)
OR Var3
)
Example in ST:
Ergebnis := 2#0000_1111 XOR 2#0011_1010; (* Result = 2#0011_0101 *)
0 0 0
0 1 1
1 0 1
1 1 0
Bit-wise Exclusive OR linking of the AE/accumulator with a negated operand. Bit-wise Exclusive OR
(...) linking of the AE/accumulator and the negated result of the bracket. Up to 6 bracket levels are
possible. The values to be linked must belong to the same type of variable.
Example in IL:
LD 2#0000_1111
XORN 2#0011_1010 (* XORN link between 2 constants *)
(* Accu = 2#1100_1010 *)
LD Var1
XORN ( Var2 (* AE/Accumulator = Var1 XORN ( Var2 OR Var3 ) *)
OR Var3
)
Example in ST:
Ergebnis := 2#0000_1111 XORN 2#0011_1010; (* Result = 2#1100_1010 *)
0 0 1
0 1 0
1 0 0
1 1 1
Example in IL:
LD 10 (* Loads 10 as BYTE *)
LD -1000 (* Loads -1000 as INT *)
LD Value1 (* Loads the variable Value1 *)
10.4.4.2 LDN
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X X X
Example in IL:
LDN Value1 (* Value1 = TRUE at AE = FALSE *)
ST Value2 (* Save to Value2 = FALSE *)
10.4.4.3 ST
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X X X
Saves the content of the AE/accumulator to a variable. The variable to be saved must match the
previously loaded and processed data type.
Example in IL:
LD 100 (* Loads the value 1010_1111 *)
ST Value1 (* Accumulator content 100 is saved in Value1 *)
Saves the content of the AE to a variable and negates it. The variable to be saved must match the
previously loaded and processed data type.
Example in IL:
LD Value1 (* Value1 = TRUE at AE = TRUE *)
STN Value2 (* Save to Value2 = FALSE *)
10.4.5.1 EQ
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X X X
Compares the content of the accumulator with a variable or constant. If the values are equal, then AE
is set to TRUE.
Example in IL:
LD Value1 (* Value1 = 5 *)
EQ 10 (* AE = Is 5 equal to 10 ? *)
JMPC NextStep (* AE = FALSE - program does not jump *)
ADD 1
NextStep:
ST Value1
Example in ST:
(* Is value = 10 *)
if Value = 10 then
Value2 := 5;
end_if;
10.4.5.2 GE
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X X X
Compares the content of the accumulator with a variable or constant. If the value in the accumulator is
greater or equal to the variable or constant, then AE is set to TRUE.
Example in IL:
LD Value1 (* Value1 = 5*)
GE 10 (* Is 5 greater than or equal to 10? *)
JMPC NextStep (* AE = FALSE - program does not jump *)
ADD 1
NextStep:
ST Value1
Example in ST:
(* Is 5 greater than or equal to 10? *)
if Value >= 10 then
Value := Value - 1
end_if;
10.4.5.3 GT
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X X X
Compares the content of the accumulator with a variable or constant. If the value in the accumulator is
greater than the variable or constant, then AE is set to TRUE.
Example in IL:
LD Value1(* Value1 = 12 *)
GT 8 (* Is 12 greater than 8? *)
JMPC NextStep (* AE = TRUE - program jumps *)
ADD 1
NextStep:
ST Value1
Example in ST:
(* Is 12 greater than 8? *)
if Value > 8 then
Value := 0;
end_if;
10.4.5.4 LE
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X X X
Compares the content of the accumulator with a variable or constant. If the value in the Accumulator is
less than or equal to the variable or constant, then AE is set to TRUE.
Example in IL:
LD Value1 (* Value1 = 5*)
LE 10 (* Is 5 less than or equal to 10? *)
JMPC NextStep:
ST Value1
Example in ST:
(* Is Value less than or equal to 10?*)
if Value <= 10 then
Value := 11;
end_if;
10.4.5.5 LT
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X X X
Compares the content of the accumulator with a variable or constant. If the value in the accumulator
is less than the variable or constant the AE is set to TRUE.
Example in IL:
LD Value1 (* Value1 = 12 *)
LT 8 (* Is 12 less than 8 ? *)
JMPC NextStep (* AE = FALSE - program does not jump *)
ADD 1
NextStep:
ST Value1
Example in ST:
(* Is Value less than 0? *)
if Value < 0 then
Value := 0;
end_if;
10.4.5.6 NE
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X X X
Example in IL:
LD Value1 (* Value1 = 5 *)
NE 10 (*Is 5 not equal to 10 ?*)
JMPC NextStep (* AE = TRUE - program jumps *)
ADD 1
NextStep:
ST Value1
Example in ST:
if Value <> 5 then
Value := 5;
end_if;
Information
The process value PLC_control_word overwrites the function block MC_Power. The PLC setpoints overwrite the
function blocks MC_Move…. und MC_Home.
_20_PLC_control_word PLC control word Corresponds to the USS INT R/W All
profile
_26_PLC_additional PLC additional control Corresponds to the USS INT R/W SK 5xxP
_control_word1 word 1 profile SK 54xE
SK 53xE
SK 52xE
SK 2xxE
SK 2xxE-FDS
SK 180E
SK 190E
On/On+
_27_PLC_additional PLC additional control Corresponds to the USS INT R/W SK 5xxP
_control_word2 word 2 profile SK 54xE
SK 53xE
SK 52xE
SK 2xxE
SK 2xxE-FDS
SK 180E
SK 190E
On/On+
_28_PLC_status_word PLC status word Corresponds to the USS INT R/W SK 5xxP
profile SK 54xE
SK 53xE
SK 52xE
SK 2xxE
SK 2xxE-FDS
SK 180E
SK 190E
On/On+
SK 53xE
SK 52xE
SK 2xxE
SK 2xxE-FDS
On/On+
_34_PLC_Busmaster_ Master function control Corresponds to the USS INT R/W SK 5xxP
Control_word word (bus master profile SK 54xE
function) via PLC SK 53xE
SK 52xE
SK 2xxE
SK 2xxE-FDS
SK 180E
SK 190E
On/On+
_39_PLC_set_digital_ Outgoing PLC BusI/O Bit 0: BusIO Bit0 INT R/W SK 5xxP
output_bus data Bit 1: BusIO Bit1 On/On+
Bit 2: BusIO Bit2
Bit 3: BusIO Bit3
Bit 4: BusIO Bit4
Bit 5: BusIO Bit5
Bit 6: BusIO Bit6
Bit 7: BusIO Bit7
Bit 8: Flag 1
Bit 9: Flag 2
Bit 10: Status word Bit 11
Bit 11: Status word Bit 12
SK 190E
On/On+
SK 2xxE-FDS
SK 180E
SK 190E
On/On+
On/On+
_66_BusIO_input_bits Incoming Bus I/O data - Bit0 – 7 = Bus I/O In Bit INT R SK 5xxP
0–7 SK 54xE
- Bit 8 = Flag 1 SK 53xE
- Bit 9 = Flag 2 SK 52xE
- Bit 10 = Bit8 of Bus SK 2xxE
control word
SK 2xxE-FDS
- Bit 11 = Bit9 of Bus
SK 180E
control word
SK 190E
On/On+
_67_BusIO_output_bits Outgoing Bus I/O data Bit0 = Bus / AS-i Dig INT R SK 5xxP
Out1 SK 54xE
Bit1 = Bus / AS-i Dig On/On+
Out2
Bit2 = Bus / AS-i Dig
Out3
Bit3 = Bus / AS-i Dig
Out4
Bit4 = Bus / 1.IOE Dig
Out1
Bit5 = Bus / 1.IOE Dig
Out2
Bit6 = Bus / 2.IOE Dig
Out1
Bit7 = Bus / 2.IOE Dig
Out2
Bit8 = Bit 10 Bus status
word
_67_BusIO_output_bits Outgoing Bus I/O data Bit0 = Bus / AS-i Dig INT R SK 53xE
Out1 SK 52xE
Bit1 = Bus / AS-i Dig
Out2
Bit2 = Bus / AS-i Dig
Out3
Bit3 = Bus / AS-i Dig
Out4
Bit4 = AS-i Actuator 1
Bit5 = AS-i Actuator 2
Bit6 = Flag 1
Bit7 = Flag 2
Bit8 = Bit 10 Bus status
word
Bit9 = Bit 11 Bus status
word
_67_BusIO_output_bits Outgoing Bus I/O data Bit0 = Bus / AS-i Dig INT R SK 2xxE
Out1
Bit1 = Bus / AS-i Dig
Out2
Bit2 = Bus / AS-i Dig
Out3
Bit3 = Bus / AS-i Dig
Out4
Bit4 = Bus / IOE Dig
Out1
Bit5 = Bus / IOE Dig
Out2
Bit6 = Bus / 2nd IOE Dig
Out1
Bit7 = Bus / 2nd IOE Dig
Out2
Bit8 = Bit 10 Bus status
word
Bit9 = Bit 11 Bus status
word
_67_BusIO_output_bits Outgoing Bus I/O data Bit0 = Bus / AS-i Dig INT R SK 2xxE-FDS
Out1
Bit1 = Bus / AS-i Dig
Out2
Bit2 = Bus / AS-i Dig
Out3
Bit3 = Bus / AS-i Dig
Out4
Bit4 = Bus / AS-i Dig
Out5
Bit5 = Bus / AS-i Dig
Out6
Bit6 = Bus / 2nd IOE Dig
Out1
Bit7 = Bus / 2nd IOE Dig
Out2
Bit8 = Bit 10 Bus status
word
Bit9 = Bit 11 Bus status
word
Information
In order for the "key-states" to be displayed in the PLC, the ControlBox and ParameterBox must be in
PLC display mode. Otherwise only the value "0" is displayed
_70_Set_controlbox_ ControlBox display value Display value = Bit 29 – DINT R/W All
show_val Bit 0
Decimal point = Bit 31 –
Bit 30
_82_Current_reason_ Actual reason for the Problem 10.0= 100 BYTE R All
FI_blocked switch-on inhibit state
1A = 100
LD
_151_Direct_torque
_current
INT_TO_DINT
MUL Num_InFu
DIV DINT#819
ST Value
1A = 100
Int_3 3
10.6 Languages
10.6.1.1 General
Data types
The PLC supports the data types listed below.
BOOL 1 Bit 0 to 1
Literal
For greater clarity it is possible to enter constants for all data types in various display formats. The
following table gives an overview of all possible variants.
Bool FALSE 0
TRUE 1
BOOL#0 0
BOOL#1 1
2#0011_0011 51
BYTE#2#00001111 15
BYTE#2#0001_1111 31
8#05_71 377
BYTE#8#10 8
BYTE#8#111 73
BYTE#8#1_11 73
16#0001_FFFF 131071
INT#16#1000 4096
DINT#16#0010_2030 1056816
-10 -10
10_000 10000
INT#12 12
DINT#-100000 -100000
TIME#5D10H15M 5days+10hours+15minutes
T#1D2H30M20S 1day+2hours+30minutes+20seconds
Comments
It is advisable to provide the sections of the program with comments in order to make the PLC
program understandable at a later date. In the application program these comments are marked by
starting with the character sequence "(*" and finishing with "*)" as shown in the following examples.
Example:
Jump marks
With the aid of the operators JMP, JMPC or JMPCN whole sections of the program can be bypassed.
A jump mark is given as the target address. With the exception of diacritics and „ß“ it may contain all
letters, the numbers 0 to 9 and underscores; other characters are not permitted. The jump mark is
terminated with a colon. This may stand on its own. There may also be further commands after in the
same line after the jump mark.
Possible variants may appear as follows:
Example:
Jump mark:
LD 20
This_is_a_jumpmark:
ADD 10
MainLoop: LD 1000
A further variant is the transfer of a jump mark as a variable. This variable must be defined as type
LABLE_ADDRESS in the variable table, then this can be loaded into the variable 'jump marks'. With
this, status machines can be created very simply, see below.
Example:
LD FirstTime
JMPC AfterFirstTime
(* The label address must be initialized at the beginning *)
LD Address_1
ST Address_Var
LD TRUE
ST FirstTime
AfterFirstTime:
JMP Address_Var
Address_1:
LD Address_2
ST Address_Var
JMP Ende
Address_2:
LD Address_3
ST Address_Var
JMP Ende
Address_3:
LD Address_1
ST Address_Var
Ende:
Function call-ups
The Editor supports one form of function call-ups. In the following version, the function CTD is called
up via the instance I_CTD. The results are saved in variables. The meaning of the functions used
below is described in further detail later in the manual.
Example
Command Description
Example:
IF value < 7 THEN
WHILE value < 8 DO
value := value + 1;
END_WHILE;
END_IF;
10.6.2.1 Common
Data types in ST
The PLC supports the data types listed below.
BOOL 1 Bit 0 to 1
Information
For numbers it is advisable to state the data type in order to create an efficient PLC program, e.g.:
VarInt := INT#-32768, VarDINT := DINT#-2147483648.
Assignment operator
On the left hand side of an assignment there is an operand (variable, address) to which the value of
an expression on the right hand side is assigned with the assignment operator "=".
Example:
Var1 := Var2 * 10;
After execution of this line, Var1 has ten times the value of Var2.
Example:
Timer(IN := TRUE, PT := 300);
A := Timer.Q;
Evaluation of expressions
The evaluation of the expression is performed by processing the operators according to certain linking
rules. The operator with the strongest link is processed first and then the operator with the next
strongest link, etc. until all of the operators have been processed. Operators with links of the same
strength are processed from left to right.
The table below shows the ST operators in the order of the strength of their links:
Multiply *
Divide /
Modulus MOD
AND AND
Add +
10.6.2.2 Procedure
Return
The RETURN instruction can be used to jump to the end of the program, for example, depending on a
condition.
IF
With the IF instruction, a condition can be tested and instructions carried out depending on this
condition.
Syntax:
IF <Boolean_Expression1> THEN
<IF_Instruction>
ELSIF <Boolean_Expression2> THEN
<ELSIF_Instruction1>
ELSIF <Boolean_Expression n> THEN
<ELSIF_Instruction n-1>
ELSE
<ELSE_Instruction>}
END_IF;
The part in the curly brackets {} is optional. If <Boolean_Expression1> is TRUE, then only the
<IF_Instructions> are executed and none of the other instructions.. Otherwise, starting with
<Boolean_Expression2>, the boolean expressions are evaluated in sequence until one of the
expressions is TRUE. Then, only the expressions following this boolean expression and before the
next ELSE or ELSIF are evaluated. If none of the boolean expressions is TRUE, only the
<ELSE_Instructions> are evaluated.
Example:
IF temp < 17 THEN
Bool1 := TRUE;
ELSE
Bool2 := FALSE;
END_IF;
CASE
With the CASE instruction, several conditional instructions with the same condition variables can be
combined into a construct.
Syntax:
CASE <Var1> OF
<Value1>: <Instruction 1>
<Value2>: <Instruction 2>
<Value3, Value4, Value5: <Instruction 3>
• If the variable in <Var1> has the value <Value i>, the instruction <Instruction i> is executed.
• If <Var 1> does not have any of the stated values, the <ELSE instruction> is executed.
• If the same instruction is to be executed for several values of the variable, these values can be
written separately in sequence, separated with commas as the condition of the common instruction.
• If the same instruction is to be executed for a range of values of the variable, the initial value and
the end value can be written separated by a colon as the condition for the common instruction.
Example:
CASE INT1 OF
1, 5:
BOOL1 := TRUE;
BOOL3 := FALSE;
2:
BOOL2 := FALSE;
BOOL3 := TRUE;
10..20:
BOOL1 := TRUE;
BOOL3:= TRUE;
ELSE
BOOL1 := NOT BOOL1;
BOOL2 := BOOL1 OR BOOL2;
END_CASE;
FOR loop
Repetitive processes can be programmed with the FOR loop.
Syntax:
FOR <INT_Var> := <INIT_VALUE> TO <END_VALUE> {BY <STEP>} DO
<Instruction>
END_FOR;
The part in the curly brackets {} is optional. The <Instructions> are executed as long as the counter
<INT-Var> is not larger than the <END_VALUE>. This is checked before the execution of the
<Instructions> so that the <Instructions> are never executed if the <INIT_VALUE> is larger than the
<END_VALUE>. Whenever the <Instructions> are executed, the <INIT-Var> is increased by a <Step
size>. The step size can have any integer value. If this is missing, it is set to 1. The loop must
terminate, as <INT_Var> is larger.
Example:
FOR Zaehler :=1 TO 5 BY 1 DO
Var1 := Var1 * 2;
END_FOR;
Syntax:
REPEAT
<Instruction>
UNTIL
<Boolean Expression>
END_REPEAT;
The <Instructions> are executed until the <Boolean Expression> is TRUE. If the <Boolean
Expression> is TRUE with the first evaluation, the <Instructions> are executed exactly once. If the
<Boolean Expression> is never TRUE, the <Instructions> will be executed endlessly, which will create
a runtime error.
Information
The programmer must ensure that no endless loops are created by changing the condition in the instruction part
of the loop, for example a counter which counts upwards or downwards.
Example:
REPEAT
Var1 := Var1 * 2;
Count := Count - 1;
UNTIL
Count = 0
END_REPEAT
WHILE loop
The WHILE loop can be used in the same way as the FOR loop, with the difference that the
termination condition can be any boolean expression. This means that a condition is stated, which, if it
is true, will result in the execution of the loop.
Syntax:
WHILE <Boolean Expression> DO
<Instructions>
END_WHILE;
The <Instructions> are executed repeatedly for as long as the <Boolean_Expression> is TRUE. If the
<Boolean_Expression> is FALSE in the first evaluation, the <Instructions> will never be executed. If
the <Boolean_Expression> is never FALSE, the <Instructions> will be repeated endlessly.
Information
The programmer must ensure that no endless loops are created by changing the condition in the instruction part
of the loop, for example a counter which counts upwards or downwards.
Example:
WHILE Count <> 0 DO
Var1 := Var1*2;
Count := Count - 1;
END_WHILE
Exit
If the EXIT instruction occurs in a FOR, WHILE or REPEAT loop, the innermost loop will be
terminated, regardless of the termination condition.
10.7 Jumps
10.7.1 JMP
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X X
Example AWL:
JMP NextStep (* Unconditional jump to NextStep *)
ADD 1
NextStep:
ST Value1
10.7.2 JMPC
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X X
Conditional jump to a jump point If AE = TRUE, the command JMPC jumps to the stated jump point.
Example AWL:
LD 10
JMPC NextStep (* AE = TRUE - program jumps *)
ADD 1
NextStep:
ST Value1
10.7.3 JMPCN
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X X
Conditional jump to a jump point JMPCN jumps if the AE register = FALSE. Otherwise the program
continues with the next instruction.
Example AWL:
LD 10
JMPCN NextStep (* AE = TRUE - program does not jump *)
ADD 1
10.8.1 BOOL_TO_BYTE
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X X X
Converts the data type of the AE from BOOL to BYTE. If the AE is FALSE, the accumulator is
converted to 0. If the AE is TRUE, the accumulator is converted to 1.
Example in IL:
LD TRUE
BOOL_TO_BYTE (* AE = 1 *)
Example in ST:
Ergebnis := BOOL_TO_BYTE(TRUE); (* Result = 1 *)
10.8.2 BYTE_TO_BOOL
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X X X
Converts the data type from BYTE to BOOL. As long as BYTE is not equal to zero, this always gives
the conversion result TRUE.
Example in IL:
LD 10
BYTE_TO_BOOL (* AE = TRUE *)
Example in ST:
Ergebnis := BYTE_TO_BOOL(10); (* Result = TRUE *)
10.8.3 BYTE_TO_INT
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X X X
Converts the data type from BYTE to INT. The BYTE is copied into the Low component of the INT and
the High component of INT is set to 0.
Example in IL:
LD 10
BYTE_TO_INT (* Accumulator = 10 *)
Example in ST:
Ergebnis := BYTE_TO_INT(10); (* Result = 10 *)
10.8.4 DINT_TO_INT
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X X X
Converts the data type from DINT to INT. The High component of the DINT value is not transferred.
Example in IL:
LD 200000
DINT_TO_INT (* Accumulator = 3392 *)
LD DINT# -5000
DINT_TO_INT (* Accumulator = -5000 *)
LD DINT# -50010
DINT_TO_INT (* Accumulator = 15526 *)
Example in ST:
Ergebnis := DINT_TO_INT(200000); (* Result = 3392 *)
Ergebnis := DINT_TO_INT(-5000); (* Result = -5000 *)
Ergebnis := DINT_TO_INT(-50010); (* Result = 15526 *)
10.8.5 INT_TO_BYTE
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X X X
Example in IL:
LD 16#5008
INT_TO_BYTE (* Accumulator = 8 *)
Example in ST:
Ergebnis := INT_TO_BYTE(16#5008); (* Result = 8 *)
10.8.6 INT_TO_DINT
SK 53xE SK 180E SK 155E-FDS
SK 5xxP SK 54xE On/On+ SK 2xxE SK 2xxE-FDS
SK 52xE SK 190E SK 175E-FDS
Availability X X X X X X X X
Converts the data type from INT to DINT. The INT is copied into the Low component of the DINT and
the High component of the DINT is set to 0.
Example in IL:
LD 10
INT_TO_DINT (* Accumulator = 10 *)
Example in ST:
Ergebnis := INT_TO_DINT(10); (* Result = 10 *)
The PLC continues to operate with PLC User Fault 23.X and 24.X!
SimpleBox Fault
Text in the ParameterBox Cause
Group Details in
Remedy
P700[-01]
/ P701
E022 22.0 No PLC program The PLC has been started but there is no PLC program in
the device
- Load PLC program into the FI
SimpleBox Fault
Text in the ParameterBox Cause
Group Details in
Remedy
P700[-01]
/ P701
22.1 PLC program is faulty The checksum check via the PLC program produced an
error.
- Restart the device (Power ON) and try again
- Alternatively, reload PLC program
22.3 Stack overflow More than 6 bracket levels were opened during the run
time of the program
- Check the program for run time errors
22.4 Max. PLC cycles exceeded The stated maximum cycle time for the PLC program was
exceeded
- Change the cycle time or check the program
22.5 Unknown command code A command code in the program cannot be executed
because it is not known.
- Program error, behaviour as for Error 22.1
- Version of the PLC and the NORDCON version do not
match
11 Project Mode
11.1 General
The project mode is an extension of the normal mode. As default, this is deactivated and must be
activated in the Settings. The mode allows the user to manage a project. Projects can be loaded and
saved. A project includes the frequency inverters with their data (parameters and PLC program), links
to external parameter files or PLC programs, as well as the layout of the application. With a new start
of NORDCON the last project which has been saved is always loaded. A new project is created if no
project can be found. The project mode was developed for the following application:
• 11.2 "HMI"
• 11.3 "Save and restore"
Open project... This action opens a file selection dialogue and the user must select a project
file (*.ncpx).
Save project This action opens a file selection dialogue and the user specifies a name for
the project file (*.ncpx). After this, the project is saved under this name.
Project Send all data This action sends all parameters and the PLC program to the devices.
Read all data The action loads all parameters from the devices and saves them in the project
file. In addition, the PLC program in the device is compared with that in the
project. If they are not identical a warning is displayed in the log.
Remove This action deletes the parameter for the selected device from the project.
parameter
Remove PLC The action deletes the PLC program for the selected device from the project.
program
Add PLC program This action adds a saved PLC program for the highlighted device.
Export This action exports the parameters for the selected device to a file.
parameters
Export PLC This action exports the PLC program for the selected device to a file.
program
PLC Save This action saves the PLC in the project file.
Save as ... This action opens a file selection dialogue and the user must select a file
name. After this, the PLC program is saved in a separate file.
Parameter Save This action saves the parameters in the project file.
setup
Save as ... This action opens a file selection dialogue and the user must select a file
name. After this, the parameters are saved in a separate file.
11.2 HMI
The project mode is ideally suitable for good visualisation. The user connects the PC to the system
and starts the device search (Bus scan Ctrl. F5). After the device search is complete, the user can
place the required display elements for the device in the work area, e.g. parameter window,
oscilloscope or control window. After this, the project must be saved. After the project has been
opened, the devices and the layout are restored. This enables the user to always work with the same
user interface.
Information
When a project is loaded, it is not checked whether the devices which are contained in the project are actually
connected. Communication errors may result if other devices are connected to the bus. Please take care that you
always use the same device for the communication connection if you use the system bus.
Information
When a project is loaded, it is not checked whether the devices which are contained in the project are actually
connected. Communication errors may result if other devices are connected to the bus. Please take care that you
always use the same device for the communication connection if you use the system bus.
Save
After a device search (bus scan) the action "Read all Data" reads the parameters of all of the devices
which are found. The parameters must first be saved in NORDCON and then saved manually in the
project file (Save All). Three options are available to users for the action "Read all Data". These
options can be activated or deactivated in the settings dialogue.
Option Description
Delete all data records on If this option is activated, the data records for all of the devices which are included in
cancellation the project are deleted when the function "Read all Data" is cancelled. Otherwise, not
all parameters will be read out and the data in the project file is incomplete.
Delete incomplete data If this option is enabled, the data record for a device is deleted if an error occurs during
records the function "Read all Data".
Delete data records from If this option is enabled, the data record for a device is deleted if there is no
devices not ready for communication with the device during execution of the function "Read all Data".
communication
PLC programs cannot be read out in the current version of NORDCON. Because of this, the programs
of the device and the project file are compared during the action "Read all Data". If they are not
identical, a warning is given in NORDCON. This action is skipped if no PLC program is saved for a
device.
If device parameters are saved in the project file, this is indicated with a special device symbol in the
project structure. The same applies for the PLC program. However, the existence of the device symbol
does not provide any information with regard to the current status and completeness of the data. After
readout, the parameters can be edited with the parameter editor. The user selects a device in the
project tree and opens the parameter editor (Parameterise F7). The parameters can be read or
deleted in the editor. The action "Save" saves the parameters for the selected device in the project
and also saves the project on the hard drive. If the parameter is to be saved in a separate file, the
action "Save as" must be executed.
Information
If errors occur during "Read all Data", these are noted in the log and the backup is continued. All of the
parameters which are noted in the log are not saved in the project file. We recommend that the fault is remedied
and a new backup carried out for the device.
Restore
This function can be executed after opening the project via the main menu. For this, the parameters
which are saved in the project file are sent to the devices. As standard, all parameters are always sent
to the devices. However, in most cases this is not advisable and only takes up time. To reduce the
number of parameters, the user must enable the option "Only transfer enabled parameters" and
enable the required parameters in the parameter editor.
In the second step, the PLC programs which are saved in the project are loaded, translated and also
sent to the device. As in normal mode, the PLC program for a device is edited with the PLC editor.
When the editor is opened, the PLC program is automatically loaded from the project file. After editing,
Information
If errors occur during the process, this is noted in the log and the process is continued All of the parameters which
are noted in the log could not be saved in the device. The same applies for the PLC programs. We recommend
that the fault is remedied and the action restarted.
Information
PLC programs can only be allocated to devices with PLC functionality!
To enable a faster download of the project, only the required parameters may be transferred. For this,
only a value for these parameters can be assigned in the parameter editor.
To configure the project download, a batch file is saved in the installation directory of NORDCON. This
file must be copied and adapted accordingly. The following transfer parameters exist for the function:
Example:
„AUTODOWNLOAD=c:\Projekt_Starter.ncpx“
CONNECTIONSTRING=[ID=1, This transfer parameter specified the communication parameters. If this
PORTNR=[COMx (x=serial port parameter is not transferred, the settings from the project are used.
number)], BAUDRATE=[baud rate]]
(Optional) Example:
"CONNECTIONSTRING=ID=1,PORTNR=COM1, BAUDRATE=38400"
AUTOLOG=[log file] This transfer parameter specifies the path for the log file. A log file is not
created if this parameter is not transferred.
12 Firmware
5.Click on Connect
6.Carefully read the warning information and confirm with the "I accept" button
Information
The firmware can only be updated if the device has the address 0 and the baud rate is set to 38400 bits/s.
Information
Restart the device if the firmware transfer is interrupted or is not carried out correctly. If the device is not
subsequently found in a bus scan, the firmware updated program (FirmwareUpd.exe) can also be started
manually. The program is located in the main directory NORDCON.
1. Settings
No. Description
1 In the selection box, the user specifies the COM port of the PC to which the frequency inverter is
connected. If the program was called up via NORDCON this parameter does not need to be set.
2 For some USB to RS232 converters, this setting may enable more stable communication. Only select
this setting if you have problems with the connection.
3 The "Connect" button creates a connection to the connected device. If a device was found, the LED (4)
illuminates green and the firmware download window opens.
No. Description
5 This option activates the update of the firmware via the system bus.
6 This selection box specifies the transfer speed between the PC and the connected device.
7 This selection box specifies the mapped USS address of the device.
No. Description
1 This field indicates whether the frequency inverter which is connected supports firmware updates. If this
is not the case, the LED next to the field lights up red.
2 This field displays the frequency inverter family of the connected device. If a device cannot be detected,
the LED next to the field is red, and a firmware update is not possible.
3 This field displays the version number of the connected frequency inverter.
4 This field displays the status of the connected frequency inverter. If the frequency inverter is enabled,
the LED next to the field is red and a firmware update is not possible.
No. Description
1 This field shows the status of the currently loaded firmware. The LED next to the field is red if the
firmware file cannot be loaded or the firmware does not match the connected device. A firmware update
is not possible.
2 This field shows the version information for the currently loaded firmware.
3 This field shows the frequency inverter family which is supported by the currently loaded firmware.
4 Clicking the "..." button opens a file selection dialogue. The user can select a firmware file in the
window. The file is adopted by clicking "Open" and is then saved in the program configuration file.
4. Update firmware
No. Description
1 The "Start" button must be pressed to start the firmware update. The selected firmware cannot be
loaded to the device if the button is not active.
2 An update which has been started is cancelled by pressing the "Cancel" button. Cancellation is only
possible during the initialisation phase.
3 The download window cannot be closed during an update. Before or after a download, the user can
cancel the update by pressing the "Close" button.
4 The progress display shows the progress of the update and the current status.
All NORD modules connected to the system bus can be visualised and parameterised via a participant
with an RS232/RS485 interface using NORDCON. For this, the communication queries are tunnelled
via NORDCON or the device which is connected to the firmware update program. The following
mapping procedure is used for tunnelling the queries.
30 Bus module
Device Version
SK 1xxE All
SK TU4-POL All
SK TU4-PNT All
SK TU4-EIP All
The following devices support firmware updates via the system bus:
Device Version
SK 1xxE All
13 Settings
The user can change the current program settings with the menu option "Extras->Settings". The attitudes are
divided into the following categories:
In this category the user can change the settings of the user interface. The following options are
available:
Language
With this option the user can choose the language for the interface.
Parameter language
With this option the user can choose a different language for the parameter name in the dialog
“Parameterisation". This choice is activated by the option "Use other language for parameter setting".
Border width
With the parameter the user can change the border width of the device display. A value can be set
between 0 and 10 pixels. More largely or if smaller value is registered, the largest or smallest value is
used automatically.
Number of columns
With this parameter the user specifies a firm number of columns. The value can be set between 1 and
10. If a larger or smaller value is registered, the largest or smallest value used automatically.
Attention
This parameter can be only changed, if the option "optimal number of columns" was
not selected.
13.3 Control
In the category 5 "Control" the user can change the settings of the “Control" window.
NOTE
13.4 Project
In this heading, the user can specify the path for the project file. Settings such as the interface which is
used, bus scan settings, device names, etc. are saved in this file. Old settings can be reloaded by
selecting an existing file.
13.5 Directories
In this heading the directories in which the parameter databases, configuration files, macro files and
internal databases are located can be set. In order to change one of the paths, the required directory
must be highlighted in the list. A new path can be selected by clicking on the "Change" button. The
standard directory for each category can be entered with the aid of the "Standard" button.
Customer files
All customer-specific files, e.g. macros or parameter files are saved in this directory.
Internal databases
These databases are required for the internal execution of the program. The parameter structure for
the particular frequency inverter families is saved in these databases.
13.7 Parameter
In the category you can choose settings of the 4 "Parameterization".
13.8 PLC
Delete old log entries before compiling
Is this option enabled, the old log entries are deleted before compiling.
14 Messages
No. Description
204 Communication module settings could not be set. Check whether the present baud rate is supported.
No. Description
216 Firmware can only be updated if the device has the address 0!
217 Program to update the firmware cannot be started! Please re-install NORDCON to remedy the problem.
221 More than 1 device found on the bus. An update may cause problems. Do you wish to continue?
222 Control data will be inconsistent if macros and control windows are used simultaneously. Please close all
control windows or the macro editor.
223 Transfer cannot be started because the parameter editor is open! Please close the editor and re-start the
function.
224 Online help cannot be found! Please re-install NORDCON to remedy the problem.
225 Device cannot be disconnected because at least one window for the device is open.
231 The settings have been changed. Do you wish to save the changes?
232 Your computer does not support the display of Chinese characters. Display errors may occur!
234 The present version of the device does not support firmware updates via the system bus!
235 The present version of the technology unit does not support firmware updates via the system bus!
236 The device at address 0 does not support firmware updates via the system bus!
237 PLC not registered! Please contact Support (+49 (0)180 500 61 84).
No. Description
238 Incorrect registration code! Please contact Support (+49 (0)180 500 61 84).
239 Firmware download can only be executed with a baud rate of 38400 baud!
242 The current version of the TU3 technology units does not support firmware updates!
249 At least one error has occurred during the project transfer!
250 At least one warning has occurred during the project transfer!
255 The change requires a bus scan! Do you wish to adopt the changes?
258 Not all of the settings could be transferred to the selected bus extension unit? Do you wish to continue?
261 No project file has been created! Do you want to save the project now?
268 The PLC program is secured and can only be loaded to the device!
269 Communication type changed. All devices have been deleted from the list! Do you wish to continue?
270 The Midas.dll is too old. The DLL was overwritten by another application with an older version. Delete the
No. Description
271 Midas.dll is not installed. The DLL was deleted by another application. Please reinstall NORDCON.
301 Incorrect path for the internal database. NORDCON will now be ended
313 The parameter window must be closed in order to end the program!
314 The parameter window must be closed in order to execute the bus scan!
316 The parameter has not been permanently saved in the device. Do you still wish to exit?
317 Start address must not be greater than the end address!
318 Not all i parameters are current. Please execute "Read all".
320 Not all i parameters are selected. Please change the filter!
No. Description
409 Function cannot be executed because the scheduler has been started.
411 File has been changed by the user! Do you wish to open the file?
501 Are the device types different? Do you wish to open the file?
502 File cannot be opened because the version of the file format is unknown!
504 File has been changed by the user! Do you wish to open the file?
600 Control of the device is restricted or not possible for the following reason: the control word (P509) is not
configured for USS!
601 Control of the device is restricted or not possible for the following reason: setpoint source 1 (P510.0) is not
configured for USS!
602 Control of the device is restricted or not possible for the following reason: setpoint source 2 (P510.1) is not
configured for USS!
603 Control of the device is restricted or not possible for the following reason: the control word (P509) and
setpoint source 1 (P510.0) are not configured for USS!
604 Control of the device is restricted or not possible for the following reason: the control word (P509) and
setpoint source 2 (P510.1) are not configured for USS!
605 Control of the device is restricted or not possible for the following reason: setpoint source 1 (P510.0) and 2
(P510.1) are not configured for USS!
606 Control of the device is restricted or not possible for the following reason: the control word (P509) and
setpoint source 1 (P510.0) and 2 (P510.1) are not configured for USS!
700 Action cannot be executed because the connection to the device is interrupted!
803 Errors have occurred during the action "Transfer parameters"! Do you wish to save?
804 Action "Transfer parameters" has been cancelled by the user! Do you wish to save?
805 Differences have been detected! Do you wish to view the report?
807 Connection to the device will now be re-established! Do you wish to continue?
No. Description
901 File must be saved before it can be converted. Do you wish to create a new file?
904 File has been changed by the user! Do you wish to open the file?
907 The PLC program has been changed! Do you wish to save?
1101 An incomplete data record for the device has been deleted!
1102 An incomplete data record for the device has been saved!
1103 The data record for a device which is not ready for communication has been deleted.
Information
Digital functions for up to eight digital inputs can be configured in the source device. Without an
expansion module the target device has six digital inputs. Please check whether the functions
in digital inputs 7/8 can be implemented on other inputs and adjust P420 and P475 accordingly.
or
The input assignment for connecting an HTL rotary encoder is different on the target device
(DI2/3 -> DI3/4). Please adjust the hardware connection of the HTL encoder and the
No. Description
Information
The “Evacuation mode” function is not supported by the target device. Please contact the
customer support.
1202 Pulse frequency below the minimum value permissible for the target device.
Information
A pulse frequency below 4 kHz was set in the source device. The value for the target device is
outside the permissible range. Please adjust the pulse frequency in P504 accordingly.
Information
A baud rate of 230400 baud or 460800 baud was selected in the source device. These settings
are not supported by the target device. Please adjust P511 accordingly.
Information
You have entered a parameter value that was previously without function. The value now
corresponds to a function in the target device. The values of the corresponding function remain
in the factory setting during conversion in the target device.
1208 Maximum position outside the permissible value range in the target device.
Information
For rotary axes / turntable applications, a negative overrun point could be set in the target
device via P615 (for TTL encoder) or P620 (for HTL encoder). The configuration for such
applications with negative position value range is different on the target device. The overrun
point can now be set in the target device for a TTL encoder in P620[1] and for a HTL encoder in
P620[2] in a range from 0 to 50000 rev. Please adjust parameters P615 and P620 according to
your application.
No. Description
1209 Analogue function of digital input 2 and 3 must be configured manually in the target device.
Information
Evaluation of pulsed digital signals (analogue function of digital input) can only be carried out in
the target device at digital input 3. Please configure the options 81 or 82 in P420[3] for this. The
analogue function can then be set in P400[9].
1210 Manual configuration of the Hiperface encoder via parameter P301[3] required in the target device.
1211 Monitoring of a fourth option module is not supported by the target device.
1212 Manual configuration for the CANopen encoder is not supported by the target device.
Information
The manual configuration of the CANopen encoder is not supported by the target device.
Please check whether an automatic configuration (P604 = 3) is possible.
1219 No suitable device could be found! The standard device has been used.
1220 Connection of the temperature sensor via dedicated PTC thermistor input on the target device is
recommended.
1221 Conversion with the device version less than [x] is to be checked separately!
Information
The conversion is designed for the devices SK5xxE from version 3.2 and SK540E from version
2.4. Older versions are not fully supported and must be checked separately. The functionality of
the conversion may be limited because not all required parameters are available in older
versions.
15 NORD DRIVESYSTEMS
Motoring Ahead
Our products embody an innovative combination between compact mechanics and intelligent
electronics. We market and produce a complete product line of mechanical and electronic drive
components including, quality gear reducers, motors, frequency inverters, servo controllers and
decentralized drive technology.
Moving Together
15.2.1 SK 135E
Please find further details for the motor starter SK 135E here
15.2.2 SK 180E
15.2.3 SK 200E
After many years of experience with motor-mounted AC Vector drives, with the release of the SK 200E
NORD has now introduced a new series of devices which enable a wide range of decentralised drive
technology solutions. These robust, reliable and economic systems are suitable for extensive use in
plant applications such as conveying and are specially optimised for price sensitive market segments.
Similar to the SK 500E panel mount series, an application-oriented performance level is available
which offers the same high quality functionality. Expected features of decentralised components such
as robust design, integration of plug connectors, rapid replacement and decentralised modules for
communication and I/O signals ensure reliable integration of distributed drive units at the field level.
SK 215E
• Basic equipment – as SK 205E (see above)
• Safety function “Safe stop” as per EN 954-1 (EN13849) up to max. Category 4, Stop category
0 and 1.
SK 225E
• Basic equipment – as SK 205E (see above)
• ASi interface on board
SK 235E
• Basic equipment – as SK 205E (see above)
• Safety function “Safe stop” as per EN 954-1 (EN13849) up to max. Category 4, Stop category
0 and 1.
• ASi interface on board
15.2.4 SK 500E
B H
Control .................... 9, 16, 44, 45, 78, 202, 204 Introduction ..................................................... 9
Copy .............................................................. 14 L
Copying instructions ......................................67 Language .............................................. 51, 202
Creating new instructions ..............................68 load ............................................................... 61
Cut ................................................................. 14 Log ................................................................ 17
Cutting instructions ........................................67 Log window ................................................... 66
D M
Delete ............................................................ 14 Macro ................................................ 9, 63, 207
Detailed control ........................................45, 46 Macro editor ........................................ 202, 207
Device ......................................................16, 78 Macro generator................................ 9, 63, 207
Device ............................................................ 20 Main menu .................................. 12, 13, 16, 78
Device report .......................................202, 203 Master (USS Anfrage)................................... 70
Directories............................................202, 206 Measurement ................................................ 61
Docking ..........................................................26 Measurement ................................................ 59
Down.............................................................. 14 Menu ............................... 12, 13, 14, 17, 18, 19
E N
Edit................................................................. 14 Name............................................................. 32
Error ............................................................. 209 New ............................................................... 13
Exit ................................................................. 13 NORD corporate history.............................. 218
export ............................................................. 61 NORDCON ..................................................... 9
Export ............................................................ 13 Notes ........................................................... 209
Extras............................................................. 18 O
F Open ............................................................. 13
File ................................................................. 13 Oszilloskop ........................................ 58, 59, 61
Filter ............................................................... 39 Oszilloskop display ....................................... 58
Firmware update program ...........................196 Oszilloskop Drucken ..................................... 61
R W