NANO B Operator’s Manual And C Ba 351
User Manual:
Open the PDF directly: View PDF .
Page Count: 285
PROCESS-PLC
NANO B and C
Operator's Manual
Article # 608 602 83
Edition 3.5
January 2002 / Printed in Germany
PROCESS-PLC
Edition 3.5
Jetter AG reserves the right to make alterations to its products in the interest of
technical progress. These alterations need not be documented in every single case.
This manual and the information contained herein have been compiled with due
diligence. However, Jetter AG assumes no liability for printing or other errors or
damages arising from such errors.
The brand names and product names used in this manual are trade marks or
registered trade marks of the respective title owner.
2
Jetter AG
NANO-B
How to Contact us:
Jetter AG
Gräterstrasse 2
D-71642 Ludwigsburg
Germany
Phone - Switchboard:
Phone - Sales:
Phone - Technical Hotline:
++49 7141/2550-0
++49 7141/2550-530
++49 7141/2550-444
Telefax:
E-Mail - Sales:
E-Mail - Technical Hotline:
Internet Address:
++49 7141/2550-425
sales@jetter.de
hotline@jetter.de
http://www.jetter.de
This Manual is an Integral Part of the
PROCESS-PLC Systems NANO-B and
NANO-C:
Model:
Serial No:
Year of Manufacture:
Order No:
To be entered by the customer:
Inventory No:
Place of operation:
© Copyright 2002 by Jetter AG. All rights reserved.
Jetter AG
3
PROCESS-PLC
Significance of this Operator's Manual
This manual is an integral part of the PROCESS-PLC NANO-B
•
•
and must be kept in a way that it is always at hand until the PROCESS-PLC
NANO-B will be disposed.
If the PROCESS-PLC NANO-B is sold, transferred or lent, this manual must be
handed over.
In any case you encounter difficulties to clearly understand the manual, please
contact the manufacturer.
We would appreciate any kind of suggestion and contributions on your part and
would ask you to inform or write us. This will help us to produce manuals that are
more user-friendly and to address your wishes and requirements.
From this PROCESS-PLC NANO-B may result unavoidable residual risks to persons
and property. For this reason, any person who has to deal with the operation,
transport, installation, maintenance and repair of the PROCESS-PLC NANO-B must
have been familiarised with it and must be aware of these dangers.
Therefore, this person must carefully read, understand and observe this manual, and
especially the safety instructions.
Missing or inadequate knowledge of the manual results in the loss of any claim of
liability on part of Jetter AG. Therefore, the operating company is recommended to
have the instruction of the persons concerned confirmed in writing.
4
Jetter AG
NANO-B
Table of Contents
Table of Contents
Jetter AG
1
Safety Instructions
11
2
Installing the NANO-B Controller
16
2.1
Mechanical Connection
16
2.2
Electrical Connection
18
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
Power Supply
Interfaces
Digital Inputs
Digital Outputs
Single- and Dual-Channel Counter
Analog Inputs
Analog Output
Stepper Motor Control
18
19
31
32
33
34
35
36
2.3
Description of LEDs
39
2.4
Description of the STOP/RUN Switch
40
3
Basic Unit
41
3.1
Physical Dimensions
41
3.2
Technical Data
41
4
5
Operating Conditions
Software Programming
44
48
5.1
Addressing Digital Inputs/Outputs
48
5.1.1
5.1.2
Basic Controller
Expansion Modules
48
48
5.2
Access to Flags
50
5.2.1
5.2.2
User Flags
Special Flags
50
52
5.3
Register Description
55
5.3.1
5.3.2
5.3.3
5.3.4
User Registers
Programming with the Aid of Registers
Calculating with the Aid of Registers
Special Registers
55
55
58
61
6
User Interfaces, Operator Guidance
74
6.1
Technical Data
74
6.2
Description of Connections
76
6.3
Multi-Display Mode
76
6.4
Programming the User Interfaces
78
6.4.1
6.4.2
Display of Texts
Text Output Parameters
78
78
5
Table of Contents
PROCESS-PLC
6.4.3
6.4.4
6.4.5
Control Characters for Text Output
Displaying Register Contents
Query of Register Values
80
81
82
6.5
Fixed-point Numbers
83
6.5.1
6.5.2
6.5.3
Display of Fixed-point Numbers
Input of Fixed-point Numbers
USER_INPUT: Suggested Value
83
84
86
6.6
Registers for User Interfaces
87
6.7
User Interface-related Flags
100
6.8
Controlling the Keys and LEDs of the User Interface
101
7
Network Operation
107
7.1
JETWay-H: JETTER Data Highway
107
7.2
JETWay-R: Process Level
108
7.3
N-SEND Registers and N-GET Registers
109
7.3.1
7.3.2
7.3.3
N-SEND REGISTER
N-GET REGISTER
Access to slave inputs, slave outputs and slave flags
109
110
110
7.4
Registers for Network Operation
112
8
Single-/Dual-Channel Counter
117
8.1
Description of Connections
117
8.2
Register Description
117
9
Analog I/Os
120
9.1
Description of Connections
120
9.2
Register Description
120
10
Stepper Motor Control
123
10.1
Overview and Technical Data
123
10.2
Firmware of Stepper Motor Control
124
10.2.1 Register Assignment
10.2.2 Register Description
126
127
10.3
Sample Programs
137
11
User-Programmable Interface
140
11.1
Description of Connections, Activation
140
11.2
Register Description
143
11.3
Programming
145
11.3.1 Program Listing
11.3.2 Symbol Listing
12
6
Real-Time Clock
145
147
148
Jetter AG
NANO-B
Jetter AG
Table of Contents
13
Expansion Modules
150
13.1
Topology of the JETTER System Bus
150
13.1.1 Centralised Arrangement on the JETTER System Bus
13.1.2 Decentralised Arrangement on the JETTER System Bus
13.1.3 Direct Connection of FESTO CP Modules
to the JETTER System Bus
151
151
152
13.2
N-ID 8 Module, 8 Digital Inputs
153
13.2.1
13.2.2
13.2.3
13.2.4
Physical Dimensions
Overview and Technical Data
Description of Connections
Description of LEDs
153
154
157
157
13.3
N-OD 4.2 Module, 4 Digital Outputs
158
13.3.1
13.3.2
13.3.3
13.3.4
Physical Dimensions
Overview and Technical Data
Description of Connections
Description of LEDs
158
159
162
162
13.4
N-OD 8 Module, 8 Digital Outputs
163
13.4.1
13.4.2
13.4.3
13.4.4
Physical Dimensions
Overview and Technical Data
Description of Connections
Description of LEDs
163
164
167
167
13.5
N-IO 16 Module - Digital Inputs and Outputs
168
13.5.1 Physical Dimensions of the N-IO 16 Module
13.5.2 Overview and Technical Data
13.5.3 Description of Connections
168
169
172
13.6
N-IA 4 Module - Analog Inputs
176
13.6.1
13.6.2
13.6.3
13.6.4
Physical Dimensions of the N-IA 4 Module
Overview and Technical Data
Description of Connections
Register Description - N-IA 4 Module
176
177
181
185
13.7
N-OA 2 and N-OA 4 Modules - Analog Outputs
187
13.7.1
13.7.2
13.7.3
13.7.4
Physical Dimensions of the N-OA 2, and N-OA 4 Modules
Overview and Technical Data
Description of Connections
Register Description - N-OA 2, and N-OA 4 Modules
187
189
192
195
13.8
N-CNT 1 Module - Single and Dual-Channel Counter
197
13.8.1
13.8.2
13.8.3
13.8.4
Physical Dimensions of the N-CNT 1 Module
Overview and Technical Data
Description of Connections
Register Description - N-CNT 1 Module
197
198
201
207
13.9
Serial Interface Module N-SER 1
212
13.9.1
13.9.2
13.9.3
13.9.4
Physical Dimensions of the N-SER 1 Module
Overview and Technical Data
Description of Connections
Register Description - N-SER 1 Module
212
213
216
219
7
Table of Contents
PROCESS-PLC
13.9.5 Hardware and Software Flow Control of the N-SER 1 Module
13.9.6 Sample Program
223
224
13.10 Parallel Interface Module N-PRN 1
227
13.10.1
13.10.2
13.10.3
13.10.4
13.10.5
227
228
231
233
235
Physical Dimensions of the N-PRN 1 Module
Overview and Technical Data
Description of Connections
Register Description - N-PRN 1 Module
Sample Program
13.11 N-PS1 Module - Power Supply Unit for Remote Modules 237
13.11.1 Physical Dimensions of the N-PS 1, and N-PS 1CP Modules
13.11.2 Technical Data
13.11.3 Description of Connections of the
N-PS 1 Module 242
13.11.4 Description of Connections of the
N-PS 1CP Module 243
14
237
239
NANO Network Topology and
FESTO CP Modules
244
14.1
FESTO CP Modules, FESTO Tee Connector
244
14.2
Networking of NANO and FESTO CP Modules
245
14.3
FESTO CP Modules Attached to a NANO-B Controller
246
14.3.1 Commissioning a PROCESS-PLC NANO-B/C
equipped with FESTO CP Modules
14.3.2 Comparing Set/Actual Configuration
248
249
14.4
Register Description of the FESTO CP Module
251
14.5
Example: Register Assignment of FESTO CP Modules
255
15
Error Handling
258
15.1
Hardware Errors
258
15.2
Application Program Errors
259
15.3
OS Error Messages
262
16
NANO-C: Differences from NANO-B
264
List of Appendices
Appendix A:
Appendix B:
Appendix C:
Appendix D:
Appendix E:
Appendix F:
8
Downloading the Operating System
Multitasking Operating System
Glossary
List of Abbreviations
List of Illustrations
Index
268
269
273
278
281
283
Jetter AG
NANO-B
1 Safety Instructions
Table
Contents
of
1
Safety Instructions
The NThe PROCESS-PLCs NANO-B or NANO-C are in line with the current state of the
art. The PROCESS-PLCs NANO-B or NANO-C fulfil the valid safety regulations and
PID 1
standards. Special emphasis was given to the safety of the users. In the following
module is text, the term NANO-B is used for both PROCESS-PLCs NANO-B or NANO-C.
Differences between these controllers are described explicitly.
in line
Of course, the following regulations apply to the user:
with the
• relevant accident prevention regulations;
current
• accepted safety rules;
• EC guidelines and other country-specific regulations.
state of
the art.
Usage as Agreed Upon
This NUsage as agreed upon includes operation in accordance with the operating
instructions
PID 1
The PROCESS-PLC NANO-B is used to control machinery, such as conveyors,
module
production machines, and handling machines.
supply of the PROCESS-PLC NANO-B must be made through the SELV
complies Power
module exclusively.
The use of other power supply modules is not admissible.
with the
safety
Usage Other Than Agreed Upon
regulatio The PROCESS-PLC NANO-B must not be used in technical systems which to a high
degree have to be fail-save, e.g. ropeways and aeroplanes.l
ns and
standard If the PROCESS-PLC NANO-B is to be run under surrounding conditions, which
differ from the conditions mentioned in chapter 4: "Operating Conditions, page 44, ,
s in
the manufacturer is to be contacted beforehand.
effect.
Who is permitted to operate the PROCESS-PLC
Special
NANO-B?
emphasis Only instructed, trained and authorised persons are permitted to operate the
was given PROCESS-PLC NANO-B.
Mounting and backfitting may only be carried out by specially trained personnel, as
to the
specific know-how in the field of electrical engineering will be required.
safety of Maintenance of the PROCESS-PLC NANO-B
the users.
The PROCESS-PLC NANO-B is maintenance-free. Therefore, for the operation of
the module no inspection or maintenance are required.
Shutting down and disposing of the PROCESS-PLC
NANO-B
The environmental regulations for the respective country apply to shutting down and
disposing of the PROCESS-PLC NANO-B on the operating company’s premises.
Jetter AG
11
1 Safety Instructions
PROCESS-PLC
Descriptions of Symbols
This sign is to indicate a possible impending danger of serious physical damage
or death.
Danger
This sign is to indicate a possible impending danger of light physical damage.
This sign is also to warn you of material damage.
Caution
This sign is to indicate a possible impending situation which might bring damage
to the product or to its surroundings.
Important!
You will be informed of various possible applications, e.g. with regard to
installation, and will receive further useful suggestions.
Note!
· / -
Enumerations are marked by full stops, strokes or scores.
Operating instructions are marked by this arrow.
Automatically running processes or results to be achieved are marked by this
arrow.
Illustration of PC and user interface keys.
12
Jetter AG
NANO-B
1 Safety Instructions
Ensure Your Own Safety
Disconnect the PROCESS-PLC NANO-B from the electricity mains to carry out
maintenance work. By doing so, you will prevent accidents resulting from electric
voltage and moving parts.
Instructions on EMI
The noise immunity of a system corresponds to the weakest component of the
system. For this reason, correct wiring and shielding of the cables is important.
Important!
Measures for increasing immunity to interference:
Shielding must be done on both ends of the applicable cables.
The entire shield must be drawn behind the isolation, and then be
clamped under a strain relief with the greatest possible surface area.
When the signal is connected to terminal screws: The strain relief must
directly and with the greatest possible surface area be connected with a
grounded surface.
When male connectors are used: Only use metallised connectors, e.g.
SUB-D with metallised housing. Please take care of direct connection
here as well.
On principle, physical separation should be maintained between signal
and voltage lines.
Jetter AG
13
1 Safety Instructions
PROCESS-PLC
Male/female SUB-D connectors (9, 15 or 25 pins) with metallised
housing.
Fig. 1: Shielding in conformity with the EMC standards
Important!
To avoid malfunctions the following must be ensured:
The shielding must be clamped under a strain relief with the greatest
possible surface area.
The connection between the housing and the shielding must be
electrically conducting.
The distance between unshielded conductor ends must be as short as
possible.
Modifications and Alterations to the Module
For safety reasons, no modifications and changes to the PROCESS-PLC NANO-B
and its functions are permitted. Any modifications to the PROCESS-PLC NANO-B
not expressly authorised by the manufacturer will result in a loss of any liability claims
to Jetter AG.
The original parts are specially designed for the PROCESS-PLC NANO-B. Parts and
equipment of other manufacturers are not tested on our part, and are, therefore, not
released by us. The installation of such parts may impair the safety and the proper
functioning of the PROCESS-PLC NANO-B.
For any damages resulting from the use of non original parts and equipment any
claims with respect to liability of Jetter AG are excluded.
14
Jetter AG
NANO-B
1 Safety Instructions
Malfunctions
Malfunctions or other damages are to be reported to an authorised person
immediately. The PROCESS-PLC NANO-B must be protected from improper or
inadvertent use. Only qualified experts are allowed to carry out repairs.
Safety and protective devices, e.g. the barrier and cover of the terminal box, must
never be shunted or by-passed.
Dismantled protective equipment must be reattached prior to commissioning and
checked for proper functioning.
Information Signs and Labels
Writings, information signs, and labels always have to be observed and kept
readable.
Damaged or unreadable information signs and labels are to be exchanged.
Residual Dangers
Danger resulting from electric shock!
If the PROCESS-PLC NANO-B is not isolated from the mains, for example during
maintenance and repair works, you can suffer from an electric shock.
Please, observe the following precautions in order to avoid injuries such as
muscle cramps, burns, unconsciousness, respiratory standstill:
Isolate the PROCESS-PLC NANO-B from the mains (pull out the mains
plug) when working on the control system.
Have works on the electric and electronic system performed by
qualified personnel only.
Jetter AG
15
2 Installing the NANO-B Controller
PROCESS-PLC
2
Installing the NANO-B Controller
2.1
Mechanical Connection
Scope of Supply
•
•
PROCESS-PLC NANO-B
Operator's Manual
Installation Sequence
Check the shipment for completeness.
Choose the place of the DIN rail for mounting the PROCESS-PLC NANOB and, if necessary, the expansion modules in your electric cabinet in
accordance with chapter 13 "Expansion Modules", page 150.
Mount the NANO-B module and any expansion modules to the DIN rail
according to chapter 13 "Expansion Modules", page 150.
Connect a user interface to your controller (LCD port) using the interface
cable DK-422.
Connect the NANO-B controller to your computer using the programming
cable EM-PK.
Switch the controller on and download a SYMPAS program from your
computer to your user interface.
Check the controller for proper functioning.
User Interface Cable DK-422
Programming Cable EM-PK
Fig. 2: Example: Connecting a LCD display to the PROCESS-PLC NANO-B
16
Jetter AG
NANO-B
2.1 Mechanical Connection
Installation Accessories (not included in the scope of delivery)
•
•
•
•
•
DIN rail with mounting screws
Programming cable EM-PK; 0.5 m, 2.5 m, or 5 m long
User interface cable DK-422; 2.5 m or 5 m long
Expansion modules according to chapter 13 "Expansion Modules", page 150
Computer
Notes on safety as regards the installation
Caution: Electric Shock!
If the PROCESS-PLC NANO-B and any expansion modules according to chapter
13 "Expansion Modules", page 150 are not isolated from the mains, for example
during installation, maintenance, and repair, you can get an electric shock.
Please, observe the following precautions in order to avoid injuries such as
muscle cramps, burns, unconsciousness, etc.
Have works on the electric and electronic system performed by
qualified personnel only.
Isolate the PROCESS-PLC NANO-B and associated peripheral
devices from the mains when working on the control system.
Prior to putting the PROCESS-PLC NANO-B into operation:
Jetter AG
•
reattach dismantled protective equipment and check it for proper
functioning;
•
secure the PROCESS-PLC NANO-B against accidental contact with
conductive parts and components;
•
connect only devices or electrical components to the signal lines of
the PROCESS-PLC NANO-B that have been sufficiently separated
from the connected electric circuits;
•
a durable connection to the PROCESS-PLC and the expansion
modules must be provided.
17
2 Installing the NANO-B Controller
PROCESS-PLC
2.2
Electrical Connection
2.2.1
Power Supply
Fig. 3: Power Supply Terminals
Power supply is to be made through a 24 V DC power supply unit with SELV output.
The power supply must meet the following requirements:
Voltage range:
DC 20 .... 30 V
Filtration:
Residual ripple 5 %
Rating:
approx. 100 W (fully equipped)
Important!
If the NANO CPU is not supplied with sufficient power (under-voltage),
malfunctions may occur.
In case of centralised arrangement, the digital expansion modules are also supplied
through the basic controller. In case of decentralised arrangement, the digital
expansion modules are supplied through the power supply unit N-PS1, see chapter
13 "Expansion Modules", page 150. The intelligent expansion modules have got their
own connection for the 24 V power supply.
18
Jetter AG
NANO-B
2.2 Electrical Connection
2.2.2
Interfaces
On the basic controller there are three female connectors for various interfaces; see
fig. 17, page 41.
Assignment of these interfaces is shown in the following illustration:
Fig. 4: Block Diagram of NANO-B Interfaces
Interface
Jetter AG
Function
Specification
9 pin SUB-D port
(front panel)
•
•
•
Programming
Visualising
JETWay-H, -R
– RS232
– RS232
– RS485
15 pin SUB-D port
(front panel)
•
•
•
•
Programming
User Interfaces
Visualising
JETWay-R, -H
–
–
–
–
9 pin SUB-D port
•
Expansion by modules
connected to system bus
RS232
RS422
RS232
RS485
19
2 Installing the NANO-B Controller
PROCESS-PLC
Note!
Please note that simultaneous use of all interfaces is not possible. For more
information, please refer to the following table:
*)
RS232
9-pin
RS232
15-pin
RS485*)
9-/15-pin
RS 422
15-pin
RS 232
9-pin
—
yes
yes
yes
RS232
15-pin
yes
—
yes
no
RS485 *)
9-/15-pin
yes
yes
—
yes
RS 422
15-pin
yes
no
yes
—
RS485 short-circuited on both plug connectors
Pin Assignment - 9 pin male SUB-D connector
20
PIN
Signal
Interface
1
—
—
2
TXD
3
RXD
Programming interface or
VIADUKT: RS 232
4
24 V
—
5
—
—
6
—
—
7
GND
Ground
8
Data +
JETWay H, or JETWay R
9
Data -
Jetter AG
NANO-B
2.2 Electrical Connection
Pin Assignment - 15 pin male SUB-D connector
PIN
Signal
Interface
1
—
—
2
TXD
3
RXD
Programming interface or
VIADUKT: RS 232
4
24 V
—
5
—
—
6
—
—
7
GND
Ground
8
Data +
JETWay H, or JETWay R
9
Data -
10
SDB
11
SDA
12
RDB
13
RDA
14
—
—
15
—
—
LCD:
RS 422
Important!
Power consumption through pin 4 of the 9 pin SUB-D connector, or pin 4 of the
15-pin SUB-D connector is limited to a maximum of 750 mA.
In case both connectors are used simultaneously, power consumption of the 9pin and 15-pin SUB-D connectors is limited to a maximum of 750 mA.
Jetter AG
21
2 Installing the NANO-B Controller
Programming
Interface RS232
to PC
PROCESS-PLC
Please refer to “Programming Interface JETWay-H/PC" on page 24.
Programming Cable EM-PK
PROCESS-PLC
Shield
PC
Shield
9 pin male SUB-D
connector
Connect shield with the greatest
possible surface area!
Use metallised housing only!
PIN
9-pin
female SUB-D
connector
Signal
PIN
2
TXD
RXD
2
3
RXD
TXD
3
7
Gnd
5
For hardware-handshake, pins 7 and 8, as well as pins 1, 4 and 6 have to be shortcircuited on the PC side (COM1).
Important!
•
The connection cable EM-PK can be obtained from JETTER AG.
•
In case you prefer to fabricate your own cable, the following minimum
requirements, also with a view to EMC, must be met:
•
22
1. Number of cores:
3
2. Core cross-sectional area:
0.25 mm²
3. Connector (male):
SUB-D, metallised
4. Maximum cable length:
15 m
5. Shield:
complete shielding, no paired shielding
The shield must be connected to the metallised connector housings on both
ends of the cable with the greatest possible surface area.
Jetter AG
NANO-B
2.2 Electrical Connection
Interface for
LCD Displays
EM-DK Cable for LCD 9, LCD 10 and LCD 12
PROCESS-PLC
Shield
LCD Display
Shield
15 pin male SUBD connector
Connect shield with the greatest
possible surface area!
Use metallised housing only!
15 pin female SUB-D
connector
PIN
Signal
PIN
4
DC 24 V
15
7
Gnd
12
10
TXD
RXD
9
12
RXD
TXD
11
Important!
•
The connection cable EM-DK can be obtained from JETTER AG.
•
In case you prefer to fabricate your own cable, the following minimum
requirements, also with a view to EMC, must be met:
•
Jetter AG
1. Number of cores:
4
2. Core cross-sectional area:
0.25 mm²
3. Connector (male):
SUB-D, metallised
4. Maximum cable length:
30 m
5. Shield:
complete shielding, no paired shielding
The shield must be connected to the metallised connector housings on both
ends of the cable with the greatest possible surface area.
23
2 Installing the NANO-B Controller
Programming
Interface
JETWay-H/PC
PROCESS-PLC
Use of the JETWay-H interface demonstrates the following advantages over the
RS232 interface:
•
•
99 PROCESS-PLCs can be addressed from a SYMPAS workstation.
Transfer rates of up to 115 KBaud can be realised.
JETWay-H Cable
PROCESS-PLC
Shield
Specification
RS485
9 pin male SUB-D
connector
Shield
or
15 pin male SUBD connector
Connect shield with the greatest
possible surface area!
Use metallised housing only!
PIN
Signal
JETWay card
7
Gnd
7
8
Data +
8
9
Data -
9
Important!
•
•
24
Also with a view to EMC, the following minimum requirements apply to the
JETWay-H cable fabrication:
1. Number of cores:
3
2. Core cross-sectional area:
0.25 mm²
3. Connector (male):
SUB-D, metallised
4. Maximum cable length:
400 m
5. Shield:
complete shielding, no paired shielding
The shield must be connected to the metallised connector housings on both
ends of the cable with the greatest possible surface area.
Jetter AG
NANO-B
JETWay-H board
for PCs
2.2 Electrical Connection
Connection between the SYMPAS program and up to 99 Process PLC control
systems via JETWay-H is realised with the help of the PC board shown below.
Fig. 5: JETWay-H PC Board
The DIP-switch is used to define the port address. The default address "340h" must
be inserted into the AUTEXEC.BAT as follows:
SET JETWAY_PORT = 340h
Note!
If it is intended to use the SYMPAS program together with the operating system
Windows NT and the JETWay port, the program "SETUP JETWAY BOARD"
must be installed.
Jetter AG
25
2 Installing the NANO-B Controller
DIP Switch
PROCESS-PLC
A different port address can be selected using the DIP-switch on the JETWay-H
board as shown above, cf. fig. 5, page 25.
DIP-switch (S) on the JETWay-H board
*)
Port X
S7
S6
S5
S4
S3
S2
S1
300h
OFF
OFF
ON
ON
ON
ON
ON
310h
OFF
OFF
ON
ON
ON
OFF
ON
320h
OFF
OFF
ON
ON
OFF
ON
ON
330h
OFF
OFF
ON
ON
OFF
OFF
ON
340h*)
OFF
OFF
ON
OFF
ON
ON
ON
350h
OFF
OFF
ON
OFF
ON
OFF
ON
360h
OFF
OFF
ON
OFF
OFF
ON
ON
Default setting
The AUTEXEC.BAT entry must be changed in accordance with the table as shown
above:
SET JETWAY_PORT = X
During system configuration selection is made between programming interface
RS232 and JETWay-H in the SYMPAS menu [menu item: Special -> Interface].
Fig. 6: SYMPAS Menu [Special -> Interface]
26
Jetter AG
NANO-B
Network Interface
JETWay-R
2.2 Electrical Connection
The network interface JETWay-R serves for networking PROCESS-PLC's and/or
networking of devices, such as remote I/Os, valve terminals etc.; cf. chapter 7
"Network Operation", page 107.
JETWay-R Cable
PROCESS-PLC
Shield
Specification
RS485
9 pin male SUB-D
connector (PC)
Shield
or
15 pin male SUBD connector
(LCD)
Connect shield with the greatest
possible surface area!
Use metallised housing only!
PIN
Signal
Comment
7
Gnd
-
8
Data +
-
9
Data -
-
Important!
•
•
Jetter AG
Also with a view to EMC, the following minimum requirements apply to the
JETWay-R cable fabrication:
1. Number of cores:
3
2. Core cross-sectional area:
0.25 mm²
3. Connector (male):
SUB-D, metallised
4. Maximum cable length:
400 m
5. Shield:
complete shielding, no paired shielding
The shield must be connected to the metallised connector housings on both
ends of the cable with the greatest possible surface area.
27
2 Installing the NANO-B Controller
User Interface
Port
PROCESS-PLC
User Interface Cable DK-422
PROCESS-PLC
Shield
User Interface
Shield
15 pin male SUBD connector
Connect shield with the greatest
possible surface area!
Use metallised housing only!
15 pin male SUBD connector
PIN
Signal
PIN
4
DC 24 V
15
7
Gnd
12
10
SDB
RDB
6
11
SDA
RDA
7
12
RDB
SDB
4
13
RDA
SDA
5
Important!
•
•
•
28
The connection cable DK-422 can be obtained from JETTER AG.
In case you prefer to fabricate your own cable the following minimum
requirements, also with a view to EMC, must be met:
1. Number of cores:
6
2. Core cross-sectional area:
0.25 mm²
3. Connector (male):
SUB-D, metallised
4. Maximum cable length:
400 m
5. Shield:
complete shielding, no paired shielding
The shield must be connected to the metallised connector housings on both
ends of the cable with the greatest possible surface area.
Jetter AG
NANO-B
2.2 Electrical Connection
Important!
When the DK-422 cable is used, care must be taken that the end marked with
"CPU" is connected to the basic controller NANO-B. The other end of the cable
must be connected to the user interface. If the cable is connected the other way
round, the port of the user interface will be destroyed.
Important!
If you prefer to manufacture the cables yourself, be sure to unambiguously mark
the cable ends with "CPU" and "LCD" to prevent incorrect connection. If the cable
is connected the other way round, the port of the user interface will possibly be
destroyed.
Visualisation
Interface
The process visualisation system VIADUKT can optionally be connected to the
PROCESS-PLC by two different types of connectors. Connector selection
depends on the slot available and free to use on the NANO-B. For cable
specification see “Programming Interface RS232 to PC" on page 22.
VIADUKT Cable
PROCESS-PLC
Shield
VIADUKT
RS232
9-pin male SUB-D
connector
Shield
or
15-pin male SUBD connector
Connect shield with the greatest
possible surface area!
Use metallised housing only!
PIN
Signal
PIN
2
TXD
RXD
2
3
RXD
TXD
3
7
Gnd
5
For hardware-handshake, pins 7 and 8, as well as pins 1, 4 and 6 have to be shortcircuited on the PC side (COM1).
Jetter AG
29
2 Installing the NANO-B Controller
PROCESS-PLC
System Bus Cable for NANO Expansion Modules
CAN-BUS
9-pin male or
female SUB-D
connector
Signal
Contact # (pin)
Contact # (socket)
CMODE0
1
1
CL
2
2
GND
3
3
CMODE1
4
4
TERM
5
5
unused
6
6
CH
7
7
unused
8
8
Do not connect
9
9
A detailed description of the CAN bus and of the expansion modules will be given in
chapter 13.1 "Topology of the JETTER System Bus", page 150.
Important!
Also with a view to EMC, the following minimum requirements apply to the system
bus (CAN-BUS) cable fabrication:
1.
Number of cores:
5
2.
Core cross-sectional area:
0.25 mm²
3.
Connector (male):
SUB-D, metallised
4.
Shield:
complete shielding, no paired shielding
5.
Cable capacitance:
maximum 60
ρF
------m
6.
Resistivity:
maximum 70
Ω
-------km
7.
Cable length:
a maximum of 30 m for a maximum
transfer rate of 1MBit/s
8.
The shield must be connected to the connector housings on both ends of the
cable with the greatest possible surface area.
Shield
30
Jetter AG
NANO-B
2.2 Electrical Connection
2.2.3
Digital Inputs
On the basic controller, 8 terminals have been provided for digital inputs (24 V
signals). The 0 V signal is to be connected to the 0 V terminal of the electric cabinet.
Technical Data of Digital Inputs
Amount of inputs
8
Rated input voltage
DC 24 V
Voltage range
20 .. 30 V
Input current
approx. 8mA
Input resistance
3.0 kΩ
Input delay time
approx. 3 ms
Signal voltage ON
min. 15 V
Signal voltage OFF
max. 10 V
Electrical isolation
None
Numbering System of Basic Controller Inputs*)
*)
Input
Number
Input # 1
101
...
...
Input # 8
108
cf. chapter 5.1 "Addressing Digital Inputs/Outputs", page 48.
Fig. 7: Connection Details for Digital Inputs
Jetter AG
31
2 Installing the NANO-B Controller
2.2.4
PROCESS-PLC
Digital Outputs
On the basic controller, 8 terminals have been provided for digital outputs (24 V
signals). The 0 V signal is to be connected to the 0 V terminal of the electric cabinet.
Technical Data of Digital Outputs
Amount of outputs
8
Type of outputs
Transistor, pnp
Rated voltage
DC 24 V
Voltage range
20 .. 30 V
Load current
Max. 0.5 A per output
Electrical isolation
None
Protective circuit
Short-circuit, overload, overvoltage,
overtemperature protection
Protection against inductive loads
Yes
Signal voltage ON
Typ. VSupply -1.5 V
Numbering system of Basic Controller Outputs*)
Output
*)
Number
Output # 1
101
...
...
Output # 8
108
cf. chapter 5.1 "Addressing Digital Inputs/Outputs", page 48.
Fig. 8: Connecting Digital Outputs
32
Jetter AG
NANO-B
2.2 Electrical Connection
2.2.5
Single- and Dual-Channel Counter
– In register 2900 the counter can be set to single- or dual-channel operation.
– The count value is stored to register 2901. It is possible to count events with a
pulse frequency of up to 10 kHz.
– With dual-channel operation, in register 2901 four-fold evaluation with a counting
frequency of 40 kHz is carried out.
– When using the single-channel counter with channel A, the rising as well as the
falling edge will be counted. With single-channel operation, the counting
frequency in register 2901 is 20 kHz.
Fig. 9: Connection Details for Single-/Dual-Channel Counter
Technical Data - Single-/Dual-Channel Counter (X4)
Signal Voltage
DC 24 V
Operating Point:
•
•
Pulse Frequency
10 kHz
Low level
High level
up to 2.0 V
20 ... 30 V
Connection of Counter (X4)
COUNTER A
Channel # 1
COUNTER B
Channel # 2
0V
Ground
Note!
As a rule, use only 24 V sensors, since 5 V sensors cannot be evaluated.
Jetter AG
33
2 Installing the NANO-B Controller
2.2.6
PROCESS-PLC
Analog Inputs
On the basic controller, four terminals for voltage signals and one 0 V terminal have
been provided for analog inputs (X5).
Technical Data of Analog Inputs
*)
Amount of Analog Inputs
4 (IN 1 through IN 4)
Ground
0 V (IN 0 V)
Voltage Range
0 .. 10 V
Input Resistance
20 kΩ
Resolution
10 Bit
Accuracy
1%
Delay Time
< 10 ms*)
cf. register 2920 in chapter 5.3.4 "Special Registers", page 61.
Note!
Bit 0 of register 2900 is set to 1 using the SYMPAS program or following a reset.
This way, analog inputs are enabled.
Fig. 10: Connection Details for Analog Inputs
34
Jetter AG
NANO-B
2.2 Electrical Connection
2.2.7
Analog Output
On the basic controller, one terminal for voltage signals and one 0 V terminal have
been provided for analog outputs (X5).
Technical Data of Analog Outputs
Number of Analog Outputs
1 (OUT)
Ground
0 V (OUT 0 V)
Voltage Range
0 .. 10 V
Frequency
0.5 Hz
Ripple
±10 mV
Resolution
8 Bit
Delay Time
< 120 ms
Load Current Carrying Capability
10 mA
Fig. 11: Connection Details for Analog Output
Jetter AG
35
2 Installing the NANO-B Controller
2.2.8
PROCESS-PLC
Stepper Motor Control
For stepper motor control, 2 terminals for the DIR and STEP signal and one 0 V
terminal have been provided on the basic controller (X3).
Technical Data - Stepper Motor Control
Positioning Range
-8388608 .. +8388607
Positioning Speed
Max. 5 kHz
Acceleration/Deceleration Ramp
Linear, rate programmable
Acceleration/Deceleration Frequency
Programmable
Frequency Setting Accurary
1 Hz resolution, crystal-calibrated
Interface (outputs) to Power Amplifier
Open collector:
•
DIR - direction
•
STEP - stepping pulse
Load Current Carrying Capability of
Outputs
I max. = 300 mA
Inputs
Limit switch LH side/RH side
(24 V, NC or NO)
Reference switch
(24 V, NC or NO)
Note!
The stepper motor control functions without any feedback, e.g. from an
incremental encoder. Consequently, the operator must ensure that the axis is
smoothly moving and that settings for acceleration and deceleration ramps are
not to steep, otherwise the motor will skip steps.
Fig. 12: Connection Details for Stepper Motor Control
36
Jetter AG
NANO-B
2.2 Electrical Connection
Stepper Motor Control Connection (X3, X4)
DIR (X3) (open collector)
Directional signal
STEP (X3) (open collector)
Stepping signal
0 V (X3)
Ground
IN 2 (X4)
Reference switch
IN 3 (X4)
Negative limit switch
IN 4 (X4)
Positive limit switch
Note!
The limit and reference switches are physically identical with the digital inputs
102 (IN 2), 103 (IN 3), and 104 (IN 4) located on the basic control unit. Definition
of their function is made in register 11104.
Note!
If, in spite of correct wiring, the axis cannot be positioned, polarity reversal of limit
switches can be a possible cause. If the limit switches have been defined as NC's
and if no signal is present, the stepper motor will interpret this as if the axis had
actuated the limit switch. In this case, positioning in direction of the limit switch is
not possible.
Important!
Usually, the power amplifier includes pull-up resistors for STEP and DIR signals.
In case there are no pull-up resistors, an external circuitry with pull-up
resistors must be set up. When doing so, the maximum current is limited to
300 mA, or else the transistors of the controller will be destroyed.
For this purpose, it is mandatory to read the description of connections given
in the operator's manual of the relevant stepper motor and power amplifier
manufacturer.Malfunctions during operation of your plant can only be avoided if
the connection is correct.
Connection according to fig. 13, page 38 is only one option for connecting a
specific stepper motor controller, and is not universally applicable.
Jetter AG
37
2 Installing the NANO-B Controller
STEP and DIR
Signals
PROCESS-PLC
STEP and DIR outputs are open collector outputs. The 0 V potential is applied to
the terminals through these outputs. The voltage is determined by the power
circuitry of the stepper motor drive. As a rule, switching voltage is supplied by the
power unit via pull-up resistors, thus enabling direct connection of motors.
Stepper Motor
Driving Circuit
Fig. 13: NANO-B Stepper Motor Driving Circuit
Possible Internal
Circuitry
DIR and STEP
Fig. 14: Exemple: Internal Circuitry of a DIR and STEP Signal
38
Jetter AG
NANO-B
2.3 Description of LEDs
2.3
Description of LEDs
Fig. 15: Arrangement of LEDs
LED
Jetter AG
Meaning
24 V
Output supply OK
5V
Internal logic voltage OK
RUN lit
Application program is running
RUN flashing
1. Application program is not running. Switch is set to
STOP.
2. Application program was stopped. Switch is set to
RUN. (To restart the program press Shift-F2 in the
Setup window)
3. Program transfer -> Flash
ERR
Error. Details of the error state are specified in registers
2008 through 2012.
DIR
Direction signal for stepper motor
STEP
Stepping signal for stepper motor
A
Channel # 1 of single/dual-channel counter
B
Channel # 2 of single/dual-channel counter
39
2 Installing the NANO-B Controller
2.4
PROCESS-PLC
Description of the STOP/RUN Switch
Fig. 16: STOP/RUN Switch
40
STOP Position
If, at the time of applying the power supply voltage to the control system, the switch
is in STOP position, the application program will not start. It can be activated by
pressing SHIFT-F2 in the SYMPAS program, or through transfer of a program.
RUN Position
If, at the time of applying the power supply voltage to the control system, the switch
is in RUN position, the application program will start.
Jetter AG
NANO-B
3.1 Physical Dimensions
3
Basic Unit
3.1
Physical Dimensions
Fig. 17: Mounting Dimensions of the NANO-B Basic Unit
3.2
Technical Data
Technical Data of the NANO-B Basic Unit
Jetter AG
Program memory
16 KByte Flash-EPROM
User register 24 bits
2000 register in the RAM The RAM is batterybacked. The battery has a service life of approx. 10
years
Data format
24 Bit Integer: - 8.388.608 ... + 8.388.607
Internal intermediate
results
32 Bit
Quantity of flags
255 buffered, and 1800 overlapped
(from register 0 ... 74)
Digital inputs, cf. page 31
DC 24 V
Digital outputs, cf. page 32
Transistor DC 24 V, 0.5 A, pnp
Analog inputs, cf. page 34
4 10-bit inputs: 0 -10 V
Analog outputs, cf. page 35
1 8-bit output: 0 -10 V
41
3 Basic Unit
PROCESS PLC
Technical Data of the NANO-B Basic Unit
Stepper motor controller
cf. page 36 and page 123
1 (STEP, DIR) Open Collector
Real-time clock,
cf. page 148
1
Single-/dual-channel
counter 24 V
cf. page 148
10 kHz
User programmable serial
interface; refer to page 148
RS 232 / RS 485 / RS 422 *)
Programming interface
RS 232 *)
Interface for connecting
user interface and
visualisation equipment
RS 232 / RS 422 *)
Fieldbus interface
JETWay
RS485 *)
System bus interface
JETTER System Bus Interface
Power supply unit
requirements
DC 24 V (20 - 30 V) at the terminals X1,
residual ripple < 5%, filtered; double isolation
between output (SELV or PELV) and input.
Power loss
•
•
•
Time Interval ≤ 10 ms
Time interval
between two voltage
dips ≥ 1 s
Severity level PS2
to DIN EN 61131-2
Heat loss of CPU logic
circuit
2.5 Watt
CPU power consumption
incl. 8 digital outputs, but
without expansion modules
96 Watt (8 x 0.5 A x 24 V)
Enclosure
Aluminium, powder coated, black
Dimensions
(H x W x D in mm)
114 x 110 x 70
Weight
720 g
Mounting
DIN Rail
*) Not
all of the four interfaces are available at the same time, see chapter 2.2.2
"Interfaces", page 19.
42
Jetter AG
NANO-B
3.2 Technical Data
NANO-B Basic Unit - Terminals
Power supply
Screw terminals
Digital inputs and outputs
Screw terminals
Analog I/O’s
Screw terminals
Fast dual-channel counter
Screw terminals
Stepper motor control with
Screw terminals
DIR, STEP
Jetter AG
Programming interface
Female connector SUB-D, 9 pins
User programmable serial interface
Female connector SUB-D, 9 or 15 pins
depending on configuration
Field bus interface JETWAY
Female connector SUB-D, 9 or 15 pins
JETTER System Bus Interface
Female connector SUB-D, 9 pins, with
additional mechanical guiding for
expansion modules
Interface for connecting user interface and visualisation equipment
Female connector SUB-D, 9 or 15 pins
43
4 Operating Conditions
PROCESS-PLC
4
Operating Conditions
Note!
The general technical specifications listed below apply to all modules of the
PROCESS-PLC NANO-B.
In addition to this, in the description of the expansion modules, beginning from
chapter 3 "Basic Unit", page 41 and chapter 13 "Expansion Modules", page 150,
further technical data and operating conditions are specified.
Operating Parameters
Condition
44
Comment
Ambient Temperature
0 .. 50 °C
Storage
temperature
-25 °C .. 70 °C
to
Air Humidity
5% - 95%
No condensing
to DIN EN 61131-2
Pollution Degree
2
to DIN EN 61131-2
Corrosion Immunity /
Chemical Resistance
No special protection
against corrosion.
Ambient air must be free
from higher concentrations of acids, alcaline solutions, salts, metal vapours, or other corrosive
or electroconductive contaminants.
to DIN EN 61131-2
Operating Altitude
Up to 2,000 m above sea
level.
to
DIN EN 61131-2,
DIN EN 60068-2-1
DIN EN 60068-2-2
DIN EN 61131-2
Jetter AG
NANO-B
4 Operating Conditions
Operating Parameters
Vibration
Resistance
•
•
•
10 Hz ... 57 Hz: with an
amplitude of 0.0375
mm for continuous
operation and a peak
amplitude of 0.075 mm
57 Hz ... 150 Hz: 0,5 g
constant acceleration
for continuous
operation and 1.0 g
constant acceleration
as peak value
1 octave per minute,
10 frequency sweeps
(sinusoidal), all three
spatial axes
to
DIN EN 61131-2
IEC 68-2-6
Free Falls
Withstanding Test
Height of fall (units within
packing): 1 m
to
DIN EN 61131-2,
DIN EN 60068-2-32
Shock Resistance
15 g occasionally for
11 ms
to
DIN EN 61131-2
IEC 68-2-27
Degree of
Protection
•
•
to
DIN EN 60529
Mounting Position
Any position, snapped on
DIN Rail
DIN Rail acc. to DIN EN
50022
Class of Protection
III
to
DIN EN 61131-2
Dielectric Test
Voltage
Functional ground is
connected to chassis
ground internally.
to
DIN EN 61131-2
Overvoltage
Category
II
to
DIN EN 61131-2
Power Loss
•
•
to
DIN EN 61131-2
•
IP 20
IP 10 (bottom side of
enclosure)
Time period ≤ 10 ms
Time intervall between
two voltage dips ≥ 1 s
Severity level PS2
Important!
Measures to avoid damages in transit and storage:
The packing material and the storage place are to be chosen in a way
that the values given in the above table "Operating Parameters" are
kept to.
Jetter AG
45
4 Operating Conditions
PROCESS-PLC
EMC - NANO-B Basic Unit
Emitted Interference
Parameter
Enclosure
Value
•
•
Frequency band
30 - 230 MHz, limit 30 dB (µV/m)
at 10 m
Frequency band
230 - 1000 MHz, limit 37 dB
(µV/m) at 10 m
(class B)
Reference
DIN EN 50081-1
DIN EN 50081-2
DIN EN 55011
Interference Immunity: Enclosure
Parameter
Value
Reference
RF Field,
amplitudemodulated
Frequency band 27 -1000 MHz;
test signal strength 10 V/m
AM 80 % with 1 kHz
Criterion A
DIN EN 61131-2
DIN EN 50082-2
DIN EN 61000-4-3
Electromagnetic
RF Field, pulsemodulated
Frequency 900 ± 5 MHz
Test field strength 10 V/m
50 % ON period
Repetition rate 200 Hz
Criterion A
DIN EN 50082-2
DIN EN 61000-4-3
Magnetic Field
with Mains
Frequency
50 Hz
30 A/m
DIN EN 50082-2
DIN EN 61000-4-8
ESD
Discharge through air:
Test Peak Voltage 15 kV (Humidity
Rating RH-2 / ESD-4)
Contact Discharge:
Test peak voltage 4 kV
(severity level 2)
Criterion A
DIN EN 61131-2
DIN EN 50082-2
DIN EN 61000-4-2
Interference Immunity: Signal and Data Lines
Parameter
46
Value
Reference
Asymmetric
RF, amplitudemodulated
Frequency 0.15 - 80 MHz
Test voltage 10 V
AM 80 % with 1 kHz
Source Impedance 150 Ω
Criterion A
DIN EN 50082-2
DIN EN 61000-4-6
Burst
Test voltage 2 kV
tr/tn 5/50 ns
Repetition rate 5 kHz
Criterion A
DIN EN 50082-2
DIN EN 61131-2
DIN EN 61000-4-4
Jetter AG
NANO-B
4 Operating Conditions
EMC - NANO-B Basic Unit
Test with
Damped
Oscillation
Damped Oscillation
Frequency 1 MHz
Source Impedance 200 Ω
Repeat Factor 400/s
Test voltage 1 kV
DIN EN 61131-2
DIN EN 61000-4-12
Interference Immunity: Process, measuring and control lines,
long bus lines and long control lines
Parameter
Value
Reference
Asymmetric
RF, amplitudemodulated
Frequency 0.15 - 80 MHz
Test voltage 10 V
AM 80 % with 1 kHz
Source Impedance 150 Ω
Criterion A
DIN EN 50082-2
DIN EN 61000-4-6
Burst
Test voltage 2 kV
tr/tn 5/50 ns
Repetition rate 5 kHz
Criterion A
DIN EN 50082-2
DIN EN 61131-2
DIN EN 61000-4-4
Interference Immunity: Mains Inputs and Outputs for AC and DC
Parameter
Jetter AG
Value
Reference
Asymmetric
RF, amplitudemodulated
Frequency 0.15 - 80 MHz
Test voltage 10 V
AM 80 % with 1 kHz
Source Impedance 150 Ω
Criterion A
DIN EN 50082-2
DIN EN 61000-4-6
Burst
Test voltage 2 kV
tr/tn 5/50 ns
Repetition rate 5 kHz
Criterion A
DIN EN 50082-2
DIN EN 61131-2
DIN EN 61000-4-4
Test with
Damped
Oscillation
Damped Oscillation
Frequency 1 MHz
Source Impedance 200 Ω
Repeat Factor 400/s
Test voltage 1 kV
Criterion A
DIN EN 61131-2
DIN EN 61000-4-12
47
5 Software Programming
PROCESS-PLC
5
Software Programming
5.1
Addressing Digital Inputs/Outputs
5.1.1
Basic Controller
Numbering System of Basic Controller Inputs
Input
Number
Input # 1
101
Input # 2
102
...
...
Input # 8
108
Numbering System of Basic Controller Outputs
5.1.2
Output
Number
Output # 1
101
Output # 2
102
...
...
Output # 8
108
Expansion Modules
The address is made up of the module number and the number of the respective
input or output:
Coding of Input / Output Number: xyz
Note!
When determining the module number, only digital input or output modules are
counted. Intelligent modules, such as N-SV 1, N-SM 1, N-PID 1, etc., located
among the digital input and output modules, are not taken into consideration.
Module number 1 is assigned to the basic control unit. Starting from there, the
module numbers are counted left to right.
48
Jetter AG
NANO-B
5.1 Addressing Digital Inputs/Outputs
Example 1:
The table below shows the input/output numbering for a basic controller with two
N-ID 8 modules and one N-OD 8 output module, arranged as follows:
NANO-B
Basic
Controller
N-OD 8
Output
Module
N-ID 8
Input
Module
N-ID 8
Input
Module
Module # 1
Module # 2
Module # 3
Module # 4
Inputs and Outputs
101 .. 108
Output
201 .. 208
Input
301 .. 308
Input
401 .. 408
Example 2:
Basic controller with with a digital output module N-OD 8, an intelligent expansion
module N-SV 1, a power supply module N-PS1 and digital input module N-ID 8.
NANO-B
Basic
Controller
N-OD 8
Output
Module
N-SV 1
Servo
Module
N-ID 8
Input
Module
Module # 1
Module # 2
Module # 3
Module # 4
Inputs and Outputs
101 .. 108
Output
201 .. 208
SV-Module
! ! !
Input
301 .. 308
Note!
Jetter AG
-
From example 2 can be seen that the module N-SV 1 is not taken into
account when assigning numbers to digital inputs and outputs.
-
The N-PS1 module is required as voltage supply module for the nonintelligent N-ID8 module. Please refer to chapter “N-PS1 Module Power Supply Unit for Remote Modules” on page 237.
-
When assigning input and output numbers, the N-PS1 module is not
taken into account.
49
5 Software Programming
PROCESS-PLC
5.2
Access to Flags
5.2.1
User Flags
Flags 0 through 255 are freely available to the user. These flags are overlaid on
registers 2600 through 2610 such that whole flag ranges can be accessed through
registers. Logic operations are carried out using the word-processing instructions
W-AND, W-OR and W-XOR.
Note!
All flags of the PROCESS-PLC NANO-B are remanent.
Overlaying of
Flags on
Registers
Register
Flag
2600
0 -23
2601
24 - 47
2602
48 - 71
2603
72 - 95
2604
96 - 119
2605
120 - 143
2606
144 - 167
2607
168 - 191
2608
192 - 215
2609
216 - 239
2610
240 - 255*)
For the complete list of flags overlaid on registers please refer to page 72.
*)Note!
Bits 16 through 23 of register 2610 are 0.
Example:
Overlaying of flags on registers
by the example of register 2609
Bit #
0
1
2
3
4
...
21
22
23
Reg. 2609
1
0
0
0
1
...
0
1
0
216
217
218
219
220
...
237
238
239
Flag
50
Jetter AG
NANO-B
Programming with
the Aid of Flags
5.2 Access to Flags
Example 1:
A program is to start execution of a process when the start button is pressed and
automatic mode is enabled through the corresponding flag being set, e.g. in
another task.
WHEN
E eStartButton
Flag mAutomaticMode
THEN
...
Example 2:
Execution of a second task -- the automatic task -- is to be started in the main task
using a flag.
TASK tMainTask---------------------------------------------...
IF
E eStartButton
THEN
Flag mAutomaticMode
...
THEN
GOTO tMainTask--------------------------------------------TASK tAutomaticMode--------------------------------------------WHEN
Flag mAutomaticMode
THEN
...
THEN
GOTO mAutomaticMode
Jetter AG
51
5 Software Programming
PROCESS-PLC
5.2.2
Special Flags
The operating system of the Process PLC makes various special flags available
which can be used to control and modify functions.
The functions of these special flags are listed in the following table.
Note!
As a rule, setting a flag means enabling the corresponding function.
Exceptions will be referred to separately.
Functions of Special Flags
Control of User Interface LEDs
2224
LED of
2230
LED of
2225
LED of
2231
LED of
2226
LED of
2232
LED of
2227
LED of
2233
LED of
2228
LED of
2234
LED of
2229
LED of
2235
LED of
Scanning of user interface keys
52
2181
2201
2182
2202
2183
2203
2184
2204
2185
2205
Jetter AG
NANO-B
5.2 Access to Flags
Functions of Special Flags
Jetter AG
2186
2206
2187
2207
2188
2208
2189
2209
2190
2210
2191
2211
2192
2212
2193
2214
2194
2213
2195
2215
2196
2216
2197
2217
2198
2218
2199
2219
2221
2220
2223
2222
2170
2160
2171
2161
53
5 Software Programming
PROCESS-PLC
Functions of Special Flags
2172
2162
2173
2163
2174
2164
2175
2165
2176
2166
2177
2167
2178
2168
2179
2169
2200
2060
Display Format
DISPLAY_REG hexadecimal
Prioritisation of System Tasks
2056
PC task after each user task.
2057
LCD task after each user task.
2058
JETWay task
2059
Time-out monitoring of I/O modules after each task
(particularly, polling of FESTO CP modules).
2061
Reading out of output states (not from RAM, but from the
module).
Network Control via Special Flags
54
2062
Multimaster mode signals readiness to receive tokens on the
network.
2063
Master in multimaster mode.
Jetter AG
NANO-B
5.3 Register Description
5.3
Register Description
5.3.1
User Registers
•
In the register range 0 through 1999, 2000 remanent user registers are
available to the user. They serve as buffers for storage of comparison and
measured values, as well as of setpoints.
•
These registers are 24 Bit wide and have got a value range from +8,388,607
through -8,388,608.
•
For example, registers are loaded using the instruction REGISTER_LOAD.
Note!
The contents of the 2000 NANO-B user registers are maintained after switching
off the power supply.
5.3.2
Programming with the Aid of Registers
The instruction
REGISTER_LOAD [x with a]
serves for loading of numeric values or contents of other registers into a register.
In the instruction above, "x" represents the number of the register value "a" is to be
written into by analogy with Fig. 18 and Fig. 19.
Fig. 18: REGISTER_LOAD with
numeric parameters
Jetter AG
Fig. 19: REGISTER_LOAD with
symbolic parameters
55
5 Software Programming
Indirect and
Double Indirect
Addressing
PROCESS-PLC
For the x and the a in the instruction shown above, not only a number can be
written, but a register can be specified as well. By pressing the space key an R is
placed in front of the register number.
If R(y) is written instead of x, value a is written into the register the number of
which is contained in register y.
If R(b)is written instead of a, not the value itself, but the content of the specified
register is loaded into register x or R(y).
If, instead of a, RR (press space key twice) is entered and then a number b, first, the
value contained in the register with the number b is read.
REGISTER_LOAD [x with RR(b)]
This value then serves as register number. This means, a new value is read in the
register with the specified number, and then stored to register x.
Fig. 20: Indirect and Double Indirect Addressing
Examples:
1. Loading of a number into a register
REGISTER_LOAD [rNewPosition with 1280]
Value 1280 is loaded into the register rNewPosition.
2. Copying one register into another register
REGISTER_LOAD [rVoltage with R(rVoltage1)]
The value which is contained in the register rVoltage1 will be
loaded into register rVoltage. In other words, the contents of
register rVoltage1 is copied into register rVoltage.
56
Jetter AG
NANO-B
5.3 Register Description
3. Loading by double indirect addressing
REGISTER_LOAD [rVoltage with RR(rV Pointer)]
The value of the register, the number of which is specified in register
r(V Pointer), is loaded into register rVoltage.
4.Double indirect addressing: Numerical example
Register Number
Value
REG 64
111
REG 111
70035
REG 150
11
REG 11
any value
The following instruction will be carried out with the given parameters:
REGISTER_LOAD [R(150) with RR(64)]
This instruction will result in the following register values and the
graphic representation shown in Fig. 21:
Register 64 = 111
remains unchanged
Register 64 = 70035
remains unchanged
Register 64 = 11
remains unchanged
Register 64 = R150
= RR64 =
R111 = 70035
Fig. 21: Example for Double Indirect Addressing
Jetter AG
57
5 Software Programming
PROCESS-PLC
5.3.3
Calculating with the Aid of Registers
The following instructions are used for calculations:
• REG
• REGNULL
• REGDEC
• REGINC
The register number can indirectly be specified for all four instructions.
Fig. 22: Example of Register Arithmetic
Programming
Instruction REG
This instruction obtains direct access to the value of a register and can be dealt
with like a variable. In an output instruction, a certain value is assigned to the
register above the equals sign. In an input condition, the content of a register is
read. In both cases, the register accesses below the equals sign result in reading
the register content.
Examples:
1. THEN
REG 1
=
REG 105
*
25
In this example an assignment (output instruction) is shown, which is initiated by
THEN. Register 105 is read and its contents multiplied by 25. The result of this
arithmetic operation will be stored in register 1. The contents of register 105 will
remain unchanged.
58
Jetter AG
NANO-B
5.3 Register Description
2. IF
REG 1
=
REG 105
*
25
THEN
In this case the expression REG 1 = REG 105 * 25 is not part of an output
instruction, but of an input condition. In this part of the program the value of register
1 remains unchanged. It will only be compared with the product REG 105 * 25.
Programming
Instruction
REGNULL
This instruction obtains direct access to the value of a register and can be dealt
with like a variable. In an output instruction, a certain value is assigned to the
register above the equals sign. In an input condition, the content of a register is
read. In both cases, the register accesses below the equals sign result in reading
the register content.
By using the instruction REGZERO a register value is set to 0, or a register is sensed
whether its value is 0:
REGNULL
The meaning of this instruction as an input condition following IF or WHEN is
explained in the example below:
Example: REGZERO compared with REG
IF
REGZERO 49
THEN
IF
REG 49
=
0
THEN
These two program parts have the same functions. On the righthand
side of the example the comparison is carried out as a general
arithmetic comparison. On the lefthand side of the example the
special instruction REGZERO is used. Using REGZERO speeds up
program execution.
Jetter AG
59
5 Software Programming
Programming Instruction REGDEC
and REGINC
PROCESS-PLC
These two instructions serve for decreasing (decrementing), respectively
increasing (incrementing) a register value by 1. Such functions are frequently
used in loops for increasing or decreasing counters and pointers.
Example: REGDEC compared with REG
THEN
REGDEC 100
THEN
REG 100
=
REG 100
1
These two program parts have the same functions. With both of
them, the value of register 100 is decremented by 1.
Example: REGINC compared with REG
THEN
REGDEC 88
THEN
REG 88
=
REG 88
+
1
These two program parts have the same functions. With both of
them, the value of register 88 is incremented by 1.
Example: REGDEC and REGZERO
REGISTER_LOAD [1 with 10]
Label 55
...
REGDEC 1
IF
REGZERO 1
THEN
ELSE
GOTO 55
THEN
This way, a loop can be realised which executes a certain number of
iterations. During each run of the loop, the value of the "counting
register" is decremented by one and is being checked whether it is 0
(REGZERO 1). If the value is 0, the first THEN will be ignored and the
loop will go to the second THEN to continue execution of the program
there. If the value of register 1 is not 0, the program will return to the
starting point of the loop.
60
Jetter AG
NANO-B
5.3 Register Description
5.3.4
Special Registers
Special
Register
Number
Function
1) Value Range
2) Reset Value
3) Cross Reference
Operating System and Error Messages
Jetter AG
2000
Software version
1)
2)
0 .. 65535
Version
2001
Status register
1)
2)
3)
-8388608 .. +8388607
Status
chapter 15 "Error
Handling", page 258
2002
Run Time Register: Operating time
since reset in 0.1 s. The unit is
dependent on register 2003.
1)
2)
0 .. +8388607
0
2003
Time base for DELAY, as well as
START-TIMER and TIMER-END?
1)
2)
0 .. 255
10 (100 ms)
2006
Cycle time of all tasks in ms
1)
2)
0 .. 255
not defined
2008
Operating system error
1)
2)
3)
0 .. 65535
0
chapter 15 "Error
Handling", page 258
2009
Number of the erroneous task
1)
2)
3)
0 .. 255
-1 and -2
chapter 15 "Error
Handling", page 258
2010
Program address of the error for
internal use
1)
2)
0 .. 65535
0
2011
Time-out of I/O module # 2, 3, 4, 5,
... , 15
1)
2)
3)
0 .. 255
0
chapter 15 "Error
Handling", page 258
2012
Time-out of slave module
specifying module #
1)
2)
3)
0 .. 255
0
chapter 15 "Error
Handling", page 258
2013
Quantity of connected nonintelligent modules
1)
2)
0 .. 255
Quantity
2014
Quantity of connected intelligent
modules
1)
2)
0 .. 255
Quantity
2015
Pointer on module array
1)
2)
0 .. 255
0
61
5 Software Programming
PROCESS-PLC
Special
Register
Number
2016
Function
Module array:
1) Value Range
2) Reset Value
3) Cross Reference
1)
2)
0 .. 255
Qty. of modules
2015 means pointer
2015
2016
2015
2016
2015
2016
= 0 ->
= Qty. of modules
= 1 ->
= Code of the first module
= 2 ->
= Code of the second
module etc.
Codes:
0=
1=
2=
3=
4=
5=
6=
7=
32 =
33 =
128 =
129 =
130 =
131 =
132 =
133 =
253 =
254 =
255 =
62
N-OD8
N-ID8
N-IO16
N-IA4
N-OA4
N-CNT 1
N-PRN 1
N-SER 1
Outputs of FESTO CP
Modules
Inputs of FESTO CP
Modules
N-SV1
CAN-DIMA
N-SM2
N-SM1D
N-PID 1
N-Profi 1
Dummy
Dummy I/O
not identified
2022
Version of the application program
of non-intelligent modules
2023
Bit-coded list:
– non-intelligent modules
– dummy modules
1)
2)
0 .. 65535
last setting
2024
Bit-coded list:
– non-intelligent modules
– dummy modules
1)
2)
0 .. 255
last setting
2027
Error of output driver
1)
one bit per module
2028
Monitoring interval for I/O modules
1)
2)
0 .. 255
20 (200 ms)
Jetter AG
NANO-B
5.3 Register Description
Special
Register
Number
Function
1) Value Range
2) Reset Value
3) Cross Reference
Task Control
2004
Task switch conditions
Task switching always if
• DELAY
• USER_INPUT
• WHEN (not fulfilled), and also if
• Bit 0 = 1 AND Task switch timeout (2005)
• Bit 1 = 1 AND GOTO
• Bit 2 = 1 AND IF (not fulfilled)
1)
2)
3)
0 .. 255
3
Please refer to chapter
“Principle of Operation”
on page 270.
2005
Time-out period for a task:
Period after which a task is exited
at the latest,
refer to register 2004
1)
2)
3)
0 .. 255
20 (20 ms)
Please refer to chapter
“Principle of Operation”
on page 270.
2006
Cycle time of all tasks in ms
1)
2)
0 .. 255
not defined
2007
Number of the highest user task
1)
2)
0 .. 31
Number
2025
Present task
2026
Prioritized task
1)
2)
0 .. 31, 255
255 (no priorities
assigned)
2091
Reserve capacity of the stack in
which the query is carried out.
2100 .. 2131
Task status:
1)
2)
3)
0 .. 255
Status
SYMPAS:
Index window
255 =
254 =
253 =
250 =
1=
0=
Jetter AG
Task is being processed
DELAY
USER_INPUT
WHEN_MAX
TASKBREAK
not existing
2200 .. 2231
Task index
1)
2)
3)
0 .. 65535
TASK Start
SYMPAS:
Index window
2300 .. 2331
Task time register for delay
1)
2)
0 .. +8388607
0
63
5 Software Programming
PROCESS-PLC
Special
Register
Number
Function
1) Value Range
2) Reset Value
3) Cross Reference
Control of User Interfaces (LCD display)
2804
Number of characters
1)
2)
3)
0 .. 255
48
chapter 6.6 "Registers
for User Interfaces",
page 87
2805
Number of characters per line
1)
2)
3)
0 .. 255
24
chapter 6.6 "Registers
for User Interfaces",
page 87
2806
Text choice for DISPLAY_TEXT_2
1)
2)
3)
0 .. 255
0
chapter 6.6 "Registers
for User Interfaces",
page 87
0 = Text 1
1 = Text 2
64
2807
DIVISOR (USER_INPUT)
1)
2)
3)
0 .. 65535
1
chapter 6.5 "Fixedpoint Numbers", page
83
2808
Number of decimal places
(USER_INPUT)
1)
2)
3)
0 .. 255
0
chapter 6.5 "Fixedpoint Numbers", page
83
2809
Divisor (DISPLAY_REG)
1)
2)
3)
0 .. 65535
1
chapter 6.5 "Fixedpoint Numbers", page
83
2810
Number of decimal places
(DISPLAY_REG)
1)
2)
3)
0 .. 255
0
chapter 6.5 "Fixedpoint Numbers", page
83
2812
Field length for integer display
register
1)
2)
3)
0 .. 255
8
chapter 6.6 "Registers
for User Interfaces",
page 87
Jetter AG
NANO-B
5.3 Register Description
Special
Register
Number
Function
2813
Field length USER_INPUT
1)
2)
3)
0 .. 255
8
chapter 6.6 "Registers
for User Interfaces",
page 87
2814
Indirect cursor position
1)
2)
3)
0 .. 255
0
chapter 6.6 "Registers
for User Interfaces",
page 87
2815
Default value
USER_INPUT
1)
2)
3)
-8388608 .. +8388607
0
chapter 6.6 "Registers
for User Interfaces",
page 87
2816
Sign suppression
1)
2)
3)
0 .. 255
0
chapter 6.6 "Registers
for User Interfaces",
page 87
2817
Status USER_INPUT
1)
2)
3)
0 .. 255
Status
chapter 6.6 "Registers
for User Interfaces",
page 87
2818
Restrictions of monitor functions
0 = OFF
1 = ON
1)
2)
3)
0 .. 255
255
chapter 6.6 "Registers
for User Interfaces",
page 87
2819
Display time of monitor functions
1)
2)
3)
0 .. 65535
350
chapter 6.6 "Registers
for User Interfaces",
page 87
2820
Switch to monitor display
1)
2)
3)
0 .. 255
0
chapter 6.6 "Registers
for User Interfaces",
page 87
2821
Dialog language:
1)
2)
3)
0 .. 255
0
chapter 6.6 "Registers
for User Interfaces",
page 87
0 = German
1 = English
Jetter AG
1) Value Range
2) Reset Value
3) Cross Reference
65
5 Software Programming
Special
Register
Number
66
PROCESS-PLC
Function
1) Value Range
2) Reset Value
3) Cross Reference
2822
LCD interface baud rate
1)
2)
3)
0 .. 7
6
chapter 6.6 "Registers
for User Interfaces",
page 87
2823
PC interface baud rate
1)
2)
3)
0-7
6
chapter 6.6 "Registers
for User Interfaces",
page 87
2824
Indirect buffer number when
device 0 is specified
1)
2)
3)
0-4
2
chapter 6.6 "Registers
for User Interfaces",
page 87
2825
Text buffer for display 1
1)
2)
3)
1-4
1
chapter 6.6 "Registers
for User Interfaces",
page 87
2826
Text buffer for display 2
1)
2)
3)
1-4
2
chapter 6.6 "Registers
for User Interfaces",
page 87
2827
Text buffer for display 3
1)
2)
3)
1-4
3
chapter 6.6 "Registers
for User Interfaces",
page 87
2828
Text buffer for display 4
1)
2)
3)
1-4
4
chapter 6.6 "Registers
for User Interfaces",
page 87
2829
Basic key flag number for display 1
1)
2)
3)
-161 - 1824. 2000
2000
chapter 6.6 "Registers
for User Interfaces",
page 87
2830
Basic key flag number for display 2
1)
2)
3)
-161 - 1824. 2000
2000
chapter 6.6 "Registers
for User Interfaces",
page 87
Jetter AG
NANO-B
5.3 Register Description
Special
Register
Number
Function
1) Value Range
2) Reset Value
3) Cross Reference
2831
Basic key flag number for display 3
1)
2)
3)
-161 - 1824. 2000
2000
chapter 6.6 "Registers
for User Interfaces",
page 87
2832
Basic key flag number for display 4
1)
2)
3)
-161 - 1824. 2000
2000
chapter 6.6 "Registers
for User Interfaces",
page 87
2833
Register number for controlling
LEDs of display 1
1)
1 - 1999, 2622 - 2637,
2649
2649
chapter 6.6 "Registers
for User Interfaces",
page 87
2)
3)
2834
Register number for controlling
LEDs of display 2
1)
2)
3)
2835
Register number for controlling
LEDs of display 3
1)
2)
3)
2836
Register number for controlling
LEDs of display 4
1)
2)
3)
1 - 1999, 2622 - 2637,
2649
2649
chapter 6.6 "Registers
for User Interfaces",
page 87
1 - 1999, 2622 - 2637,
2649
2649
chapter 6.6 "Registers
for User Interfaces",
page 87
1 - 1999, 2622 - 2637,
2649
2649
chapter 6.6 "Registers
for User Interfaces",
page 87
Network Control
Jetter AG
2700
Network number
1)
2)
3)
0 .. 255
2
chapter 7.4 "Registers
for Network
Operation", page 112
2701
Baud Rate
1)
2)
3)
0 .. 255
10
chapter 7.4 "Registers
for Network
Operation", page 112
67
5 Software Programming
PROCESS-PLC
Special
Register
Number
68
Function
1) Value Range
2) Reset Value
3) Cross Reference
2702
Register offset
1)
2)
3)
0 .. 65535
0
chapter 7.4 "Registers
for Network
Operation", page 112
2703
Flag offset
1)
2)
3)
0 .. 65535
0
chapter 7.4 "Registers
for Network
Operation", page 112
2704
Input offset
1)
2)
3)
0 .. 65535
100
chapter 7.4 "Registers
for Network
Operation", page 112
2705
Output offset
1)
2)
3)
0 .. 65535
100
chapter 7.4 "Registers
for Network
Operation", page 112
2706
Output mask
1)
2)
3)
0 .. 65535
1000
chapter 7.4 "Registers
for Network
Operation", page 112
2707
Indirect network number
1)
2)
3)
0 .. 126
0
chapter 7.4 "Registers
for Network
Operation", page 112
2708
Time-out period for network
1)
2)
0 .. 65535 ms
250 ms
2709
Network response time
1)
2)
3)
0 .. 65535 ms
0
chapter 7.4 "Registers
for Network
Operation", page 112
2710
Quantity of network errors
1)
2)
3)
0 .. 255
0
chapter 7.4 "Registers
for Network
Operation", page 112
Jetter AG
NANO-B
5.3 Register Description
Special
Register
Number
Function
1) Value Range
2) Reset Value
3) Cross Reference
2711
Error code of the last access to the
network
1)
2)
3)
0 .. 255
0
chapter 7.4 "Registers
for Network
Operation", page 112
2712
Next master
(Multimaster mode)
1)
2)
0 .. 255
0
2713
Maximum network number
(Multimaster mode)
1)
2)
0 .. 255
0
2716
Token transfer time
(Multimaster mode)
1)
2)
-8388608 .. +8388607
0
Time Registers
2002
Register runtime with an increment
of 0.1 s. This register is linked with
register 2003.
1)
2)
0 .. +8388607
0
2003
Time base for DELAY, as well as
START-TIMER and TIMER-END?
1)
2)
0 .. 255
10 (100ms)
2006
Cycle time of all tasks in ms
1)
2)
0 .. 255
not defined
2300 .. 2331
Task time register for delay
1)
2)
0 .. +8388607
0
Single-/Dual-Channel Counter
2901
Count value
1)
2)
3)
-8388608 .. +8388067
0
chapter 8 "Single-/
Dual-Channel
Counter", page 117
2918
Counting rate
1)
2)
-32768 .. +32767
0
2919
Time base for counting rate
1)
2)
0 .. 255
10 (100 ms)
1)
2)
3)
0 .. 65535
1
chapter 8 "Single-/
Dual-Channel
Counter", page 117
and chapter 9 "Analog
I/Os", page 120
Other Registers
2900
Jetter AG
Peripheral devices monitoring
register:
69
5 Software Programming
PROCESS-PLC
Special
Register
Number
Function
1) Value Range
2) Reset Value
3) Cross Reference
AD/DA Register
2902
Analog OUT
1)
2)
3)
0 .. 255 (0 .. 10 V)
2
chapter 9 "Analog I/
Os", page 120
2903 .. 2906
Analog IN 1 .. 4
1)
2)
0 .. 1023
depending on input
value
chapter 9 "Analog I/
Os", page 120
3)
2920
Slew rate limitation AD
1)
2)
3)
2 .. 2000
2
chapter 9 "Analog I/
Os", page 120
RTC-Registers
2911
Seconds
3)
chapter 12 "Real-Time
Clock", page 148
2912
Minutes
3)
chapter 12 "Real-Time
Clock", page 148
2913
Hours
3)
chapter 12 "Real-Time
Clock", page 148
2914
Day of the week 0 .. 6
3)
chapter 12 "Real-Time
Clock", page 148
2915
Day
3)
chapter 12 "Real-Time
Clock", page 148
2916
Month
3)
chapter 12 "Real-Time
Clock", page 148
2917
Year 0 .. 99
3)
chapter 12 "Real-Time
Clock", page 148
24 Combined Inputs
2400
101..108, 201..208, 301..308
2401
201..208, 301..308, 401..408
...
2413
70
1401..1408, 1501..1508,
1601..1608
Jetter AG
NANO-B
5.3 Register Description
Special
Register
Number
Function
1) Value Range
2) Reset Value
3) Cross Reference
16 Combined Inputs
2420
101..108, 201..208
2421
201..208, 301..308
...
2434
1501..1508, 1601..1608
8 Combined Inputs
2440
101..108
2441
201..208
...
2455
1601..1608
24 Combined Outputs
2500
101..108, 201..208, 301..308
2501
201..208, 301..308, 401..408
...
2513
1401..1408, 1501..1508,
1601..1608
16 Combined Outputs
2520
101..108, 201..208
2521
201..208, 301..308
...
2534
1501..1508, 1601..1608
8 Combined Outputs
2540
101..108
2541
201..208
...
2555
Jetter AG
1601..1608
71
5 Software Programming
PROCESS-PLC
Special
Register
Number
Function
1) Value Range
2) Reset Value
3) Cross Reference
Flags Overlaid on Registers
0
256 .. 279
1
280 .. 303
...
74
2032 .. 2047
2600
0 .. 23
2601
24 .. 47
...
2610
240 .. 255
2611
2048 .. 2071
2612
2072 .. 2095
...
2620
2264 .. 2287
2621
2288 .. 2303
2622
0 .. 15
2623
16 .. 31
...
2637
240 .. 255
2638
2048 .. 2063
2639
2064 .. 2079
...
2655
72
2320 .. 2335
Jetter AG
NANO-B
5.3 Register Description
Special
Register
Number
Function
1) Value Range
2) Reset Value
3) Cross Reference
Festo CP Valve Terminals
Jetter AG
2017
Quantity of Festo CP modules
1)
2)
3)
0 .. 7
0
chapter 14 "NANO
Network Topology and
FESTO CP Modules",
page 244
2018
Index to configuration table
1)
2)
3)
1 .. 8
1
chapter 14 "NANO
Network Topology and
FESTO CP Modules",
page 244
2019
Check number
1)
2)
3)
0 .. 65535
Check number
chapter 14 "NANO
Network Topology and
FESTO CP Modules",
page 244
2020
Type of the Festo CP module
1)
2)
3)
0 .. 65535
Type
chapter 14 "NANO
Network Topology and
FESTO CP Modules",
page 244
2021
I/O configuration
1)
2)
3)
0 .. 65535
I/O configuration
chapter 14 "NANO
Network Topology and
FESTO CP Modules",
page 244
73
6 User Interfaces, Operator Guidance
PROCESS-PLC
6
User Interfaces,
Operator Guidance
6.1
Technical Data
Overview: User Interfaces
Type
74
Display
Keys
Comment
Interface
Cable
LCD 9
2 lines of 24
characters
each
– 12 F keys (with
LED)
– Special Function
Keys
– Numeric keypad
OpenColl
EM-DK
LCD 10
2 lines of 24
characters
each
– 12 F keys (with
LED)
– Special Function
Keys
– Numeric keypad
9 mm character
height
backlit
OpenColl
EM-DK
LCD 110
4 lines of 20
characters
each
– 12 F keys (with
LED)
– Special Function
Keys
– Numeric keypad
backlit
RS422
DK-422
LCD 12
2 lines of 16
characters
each
– 4 F keys
– Special Function
Keys
– Numeric keypad
designed for
installation in
hand-held operator
consoles
OpenColl
EM-DK
LCD 16
4 lines of 20
characters
each
– 5 F keys (with
LED)
allows modular
expansion by
keyboard (NUM25)
and handwheel
(HR1) modules
RS422
DK-422
LCD 17
Graphic
Display 128 x
240 Pixels
– 6 F keys (with
LED)
– Special Function
Keys
– Numeric keypad
Cursor keypad
Visualisation with:
– Numeric
objects
– Text variables
– Bargraph
D/A transfer
RS422
DK-422
LCD 19
Graphic
Display 240 x
120 Pixels
– 6 F keys (with
LED)
– Special function
keys with
alphanumeric
function
– Numeric keypad
– Cursor keypad
Visualisation with:
– Numeric
objects
– Text variables
– Bargraph
D/A transfer
RS422
DK-422
LCD 23
2 lines of 24
characters
each
– Cursor left
– Cursor right
– ENTER
5 mm character
height
RS422
DK-422
Jetter AG
NANO-B
6.1 Technical Data
Overview: User Interfaces
Type
Jetter AG
Display
Keys
Comment
Interface
Cable
LCD 23L
1 line of 16
characters
– Cursor left
– Cursor right
– ENTER
8 mm character
height
RS422
DK-422
LED 23
1 line of 8
characters
–
12 mm character
height
7-segment LED
RS422
DK-422
LCD 25
2 lines of 24
characters
each
– 5 F keys (with
LED)
5 mm character
height, backlit
RS422
DK-422
LCD 25L
1 line of 16
characters
–
8 mm character
height, backlit
RS422
DK-422
LED 25
1 line of 8
characters
(LED)
–
12 mm character
height
7-segment LED
RS422
DK-422
LCD 27
2 lines of 24
characters
each
–
–
–
–
LCD 34
2 lines of 24
characters
each
– 5 F keys
– Special Function
Keys
– Numeric keypad
5 F keys
Cursor keypad
Clear
ENTER
RS422
DK-422
backlit
RS422
DK-422
75
6 User Interfaces, Operator Guidance
6.2
PROCESS-PLC
Description of Connections
The user interface cables DK-422, resp. EM-DK are used to connect user interfaces
to the LCD input of the NANO-B basic control unit. Refer to specification for user
interface cables on page 28 and page 23.
6.3
Multi-Display Mode
Multi-display mode allows a PROCESS-PLC NANO-B to be operated with up to four
LCD user interfaces. When doing so, the same or different texts and/or register
contents can be displayed on the various user interfaces.
Specific parameters for the LCD user interface used are described in the
corresponding Operator's Manual.
To each user interface a specific number has to be assigned.
If only one LCD user interface is used, value 0 is assigned to it always.
If more than one LCD user interface is used, a value between 1 and 4 is
assigned to each LCD user interface starting with 1. In this case, a display
with # 1 must be existing.
The display, to which # 1 was assigned, is the master LCD. After power-up only the
first LCD user interface is synchronised with the PROCESS-PLC. The other LCDs
remain inactive until they receive command signals.
Note!
User input and monitor mode can be activated at the same time only for one
display.
Note!
•
•
•
•
•
•
76
Power supply of several LCD user interfaces cannot be performed by the
controller itself.
LCD user interfaces have to be supplied by a separate 15 V to 30 V DC power
supply unit.
Power consumption of individual LCD user interfaces has to be taken into
account during system design and for using the system.
For connecting several user interfaces to the LCD port of the PROCESS-PLC
you need an adaptor or modified connecting cables.
The originally shipped cables have to be modified according to Fig. 23, page 77.
In multi-display mode only user interfaces with RS 422 interface can be used.
Jetter AG
NANO-B
6.3 Multi-Display Mode
Fig. 23: Pin Assignment of Connecting Cable for Several LCD User Interfaces
Important!
•
•
Jetter AG
Also with a view to EMC, the following minimum requirements apply to the
connecting cable fabrication:
1. Number of cores:
6
2. Core cross-sectional area:
0.25 mm²
3. Connector (male):
SUB-D, metallised
4. Maximum cable length:
100 m
5. Shield:
complete shielding, no paired shielding
The shield must be connected to the metallised connector housings on both
ends of the cable with the greatest possible surface area.
77
6 User Interfaces, Operator Guidance
6.4
PROCESS-PLC
Programming the User Interfaces
This chapter gives a description of such instructions necessary for programming
display and keyboard modules. For programming, the following instructions will be
used:
• DISPLAY_TEXT
• DISPLAY_REG
• USER_INPUT
6.4.1
Display of Texts
The following instruction is used to display text on the user interface:
DISPLAY_TEXT [#, cp= ]
6.4.2
Device Number
78
Text Output Parameters
The parameter "Device Number" is specified by entering numerals from 0 through 9.
#0 through #4
Selection of a user interface.
#5 through #8
Not assigned
#9
Selection of the user-programmable interface PRIM.
Jetter AG
NANO-B
Cursor Position
6.4 Programming the User Interfaces
By this parameter, the cursor position is defined, where the first character of the text
is to appear.
Cursor Positions of various User Interfaces
Type
Cursor
Position 0
Jetter AG
Cursor Positions
LCD 9
1. line:
2. line:
1 through 24
25 through 48
LCD 10
1. line:
2. line:
1 through 24
25 through 48
LCD 12
1. line:
2. line:
1 through 16
17 through 32
LCD 16
1. line:
2. line:
3. line:
4. line:
1 through 20
21 through 40
41 through 60
61 through 80
LCD 17
Status line:
1 through 40
LCD 19
Status line:
1 through 40
LCD 23
1. line:
2. line:
LCD 23L
1 through 16
1 through 16
LED 23
1 through 7
1 through 7
LCD 25
1. line:
2. line:
LCD 25L
1 through 16
1 through 16
LED 25
1 through 7
1 through 7
LCD 27
1. line:
2. line:
1 through 24
25 through 48
LCD 34
1. line:
2. line:
1 through 24
25 through 48
1 through 24
25 through 48
1 through 24
25 through 48
The cursor position 0 has a special meaning: If cursor position 0 is set, new text will
be attached to the text displayed last. The cursor is located at exactly the same
position, where it had been positioned after execution of the last instruction
"DISPLAY_TEXT".
79
6 User Interfaces, Operator Guidance
6.4.3
PROCESS-PLC
Control Characters for Text Output
The two characters "_" and "$" serve as control characters for text output.
DELSCR
„_" When this character is used, first, the displayed text is deleted and then,
irrespective of the specified parameter, the given text is displayed starting from
cursor position 1. This character does only make sense, when it is placed at the
beginning of the text, as otherwise the first part of the text would be displayed first,
and then would be deleted immediately. This character has got the meaning DELSCR
(Delete Screen). If this character is to be displayed, the character code for DELSCR
can be changed in the special register.
DELEOL
„$" This character deletes the rest of a line from the present cursor position on. It is
also referred to as DELEOL (Delete End Of Line).
Examples:
DISPLAY_TEXT [#0, cp=0, "_Actual Position:"]
By using this instruction the entire LCD display is deleted first, and "Actual position:"
is then displayed on the upper line of the display (cursor position = 1). Any numeral
displayed previously will be ignored following DELSCR. The following display will
appear:
Actual Position:
DISPLAY_TEXT [#0, cp=25, "_Set Position:$"]
After issuing this instruction, the text "Set Position:" is written at the given cursor
position, i.e. at the beginning of the second line of the display. Then, the rest of this
line is deleted.
DISPLAY_TEXT [#0, cp=0, "ERROR"]
After issuing this instruction, the text "ERROR" is written, starting from the present
cursor position.
While doing so, this text is simply attached to any already existing text.
Register 2814
The cursor position is indirectly specified by register 2814.
Note!
If register 2814 is containing a value ≠ 0, this value is interpreted as cursor
position and the text "ERROR" is written at the given position, e.g. with the following
instruction:
DISPLAY_TEXT [#0, cp=1, "Error"]
80
Jetter AG
NANO-B
6.4 Programming the User Interfaces
6.4.4
Displaying Register Contents
A register value can be output on a user interface using the following instruction:
DISPLAY_TEXT [#, cp= Reg=]
The parameters "DeviceNo" and "CursorPos" have got exactly the same function as
described for the DISPLAY_TEXT instruction, refer to chapter 6.4.3: "Control
Characters for Text Output", page 80. Additionally, a register number is to be
specified. Of course, this is the number of the register, the contents of which are to
be displayed. For this purpose, indirect addressing can be applied as well.
Examples:
DISPLAY_REG [#0, cp=17, Reg=100]
Through this instruction, register 100 is displayed on the LCD. If register 2812 has
not been changed since reset, the register value is displayed at the end of the first
display line, as shown below (assumption: the display was empty before the
instruction was issued, and register 100 = -3567):
.............................................- 3567
.............................................................
The dots are to represent the positions which have still got the „previous“ contents
after issuing the instruction.
DISPLAY_TEXT [#0, cp=25, "Actual Position:$"]
DISPLAY_REG [#0, cp=41, Reg=12109]
From this example can be seen how the two DISPLAY instructions can be combined
usefully.
First, the text "Actual Position:" is written into the second line (on the left), while the
rest of the second line is deleted (dollar sign "$"). The second instruction is used to
display the contents of register 12109 on the bottom right of the display. With a servo
controller module which is plugged onto module 2, the actual position is stored to this
register. For example, the actual position of axis 21 has got the value 5400.
.........................................................
Actual Position:
5400
The dots are to represent the positions which have still got the „previous“ contents
after issuing the instruction.
Jetter AG
81
6 User Interfaces, Operator Guidance
6.4.5
PROCESS-PLC
Query of Register Values
The instruction:
USER_INPUT [#, cp= Reg=]
serves to read in register values which can be input using a user interface.
To both of the parameters "Device Number" and "Cursor Position" the same
conditions apply as to the DISPLAY_TEXT instruction. If cursor position 0 is entered,
the value contained in register 2814 is taken as cursor position for user input. If the
value of register 2814 is 0 (default value following reset), the present cursor position
is used for user input.
The register number is the number of the register to which the value that has been
entered is to be assigned. Here, simple indirect register addressing is possible as
well.
Important!
As a rule, for USER_INPUT 8 characters available. This value which is stored to
register 2813 can also be altered.
Example:
DISPLAY_TEXT [#0, cp=1, "_New Position?"]
USER_INPUT [#0, cp=17, Reg=100]
To provide meaningful user guidance, the USER_INPUT instruction usually is
combined with the DISPLAY_TEXT instruction. The effect of these two instructions is
that the text "New Position?" is displayed on the top left of the display. Then, the
controller is waiting for a numeral to be entered. This numeral will be stored to
register 100 and will serve as new set position for positioning purposes.
82
Jetter AG
NANO-B
6.5 Fixed-point Numbers
6.5
Fixed-point Numbers
Fixed-point numbers can be displayed and entered with the help of the user
interface. While doing so, the functions of register 2812: "Field length for
DISPLAY_REG" and register 2813: "Field length for USER_INPUT" remain unchanged.
These registers are specified as mentioned above.
6.5.1
Display of Fixed-point Numbers
For this purpose, two additional special registers are available, namely the registers
2809 and 2810.
Register 2809: Divisor for Value Output DISPLAY_REG
Register Value
Decimal Positions
1
0
10
1
100
2
1000
3
10000
4
The number of decimal positions is defined through the value of this register. As an
alternative, instead of register 2810, register 2809 can also be used. A maximum of
four decimal positions is possible.
Register 2810: Decimal Positions for DISPLAY_REG
Register Value
Decimal Positions
0
0
1
1
2
2
3
3
4
4
The number of decimal positions is defined through the value of this register. As an
alternative, instead of register 2810, register 2809 can also be used. A maximum of
four decimal positions is possible.
Jetter AG
83
6 User Interfaces, Operator Guidance
PROCESS-PLC
Example:
The instruction
DISPLAY_REG [#0, cp=1, reg=200]
is used to display the contents of register 200 on the LCD.
The number 20.00, for example, is displayed by the following register definitions:
Register 200 = 2000
Register 2809 = 100
[Divisor for Value Output DISPLAY_REG]
Register 2810 = 2
[Decimal Positions for DISPLAY_REG]
Note!
The numeric value of register 200 remains unchanged. For representation
purposes on the display, a decimal point is added only.
6.5.2
Input of Fixed-point Numbers
For this purpose, two additional special registers are available, namely the registers
2807 and 2808.
Register 2807: Divisor for Value Input USER_INPUT
Register Value
Decimal Positions
1
0
10
1
100
2
1000
3
10000
4
The number of decimal positions for data input is defined through the value of this
register.
As an alternative, instead of register 2807, register 2808 can also be used. A
maximum of four decimal positions is possible.
84
Jetter AG
NANO-B
6.5 Fixed-point Numbers
Register 2808: Decimal Positions for USER_INPUT
Register Value
Decimal Positions
0
0
1
1
2
2
3
3
4
4
The number of decimal positions for data input is defined through the value of this
register.
As an alternative, instead of register 2808, register 2807 can also be used. A
maximum of four decimal positions is possible.
Example:
Data is downloaded from the user interface to register 200 using the following
instruction:
USER_INPUT [#0, cp=1, reg=200]
Once the value 20.00 is entered by the operator, the following values appear in the
relevant registers:
Register 200 = 2000
Register 2807 = 100
[Divisor for value output USER_INPUT]
Register 2808 = 2
[Decimal positions for USER_INPUT]
Note!
The numerical value of register 200 is 2000. For representation purposes, on the
display a decimal point is added only. The operator has to input the value for
register 200 only, together with the desired decimal places. From this input the
values of register 2807 and register 2808 will result.
Jetter AG
85
6 User Interfaces, Operator Guidance
6.5.3
Default Value in
Register 2815
PROCESS-PLC
USER_INPUT: Suggested Value
An additional special register, i.e. register 2815, has been provided to suggest a
value (default value) to the user when issuing the USER_INPUT instruction.
The value contained in register 2815 will be shown on the display followed by the
cursor, instead of 0. The operator may either confirm this value (default value) by
pressing ENTER, or alter it. The altered value is accepted by pressing ENTER.
By pressing C (clear), the input is deleted; then the suggested value contained in
register 2815 will appear again.
Example 1:
USER_INPUT [#0, cp=1, Reg=100]
Display Text:
0_
The displayed value 0 is the default value of register 2815.
Example 2:
Reg2815=88
USER_INPUT [#0, cp=1, Reg=100]
Display Text:
88_
The displayed value 88 is the defined value contained in register 2815.
86
Jetter AG
NANO-B
6.6 Registers for User Interfaces
6.6
Registers for User Interfaces
Register 2804: Amount of Characters of the User
Interface*)
Function
Read
Description
Present value of the amount of user interface characters.
Value following reset: 48
Write
New value specifying the amount of characters for the
connected user interface.
Value range
1 - 127
*)This
register gets initialised by the connected user interface.
Register 2805: Amount of Characters per Line*)
Function
Read
Description
Present value: Amount of characters per line of user interface.
Value following reset: 24
*)
Write
New value specifying the amount of characters for the
connected user interface.
Value range
1 - 127
This register gets initialised by the connected user interface.
Register 2806: Text Choice for the DISPLAY_TEXT_2
Instruction
Function
Read
Description
Present value for the text to be displayed in connection with
the DISPLAY_TEXT_2 instruction.
Value 0: Text 1
Value 1: Text 2
Value following reset: 0
Write
New value for text choice:
Value 0: Text 1
Value 1: Text 2
Value range
Bilingual Text
Output
Jetter AG
0-1
Using the DISPLAY_TEXT_2 instruction a choice can be made between two texts to
be displayed, e.g. for bilingual operator guidance. Additional example: Text 1 for the
customer, text 2 for the service staff.
In this register choice is made which one of the two texts is to be displayed.
87
6 User Interfaces, Operator Guidance
PROCESS-PLC
Register 2807: Divisor for USER_INPUT of Fixed-point
Numbers
Function
Read
Description
Present value for the divisor to define the amount of decimal
positions for user inputs:
Value 0: No decimal position
Value 10: 1 decimal position
......
Value 10000: 4 decimal positions
Value following reset: 1
Write
Illegal
Value range
0 - 10000
The data being supplied by the NANO-B controller are integer values. When data are
input with decimal positions by the user, these data are read out of register 2807 or
2808.
Register 2807 represents a divisor from which the amount of decimal positions
results. For example, if the divisor value is 10, the resulting amount of decimal
positions will be 1 (1/10 = 0.1).
Register 2808: Amount of Decimal Positions for
USER_INPUT of Fixed-point Numbers
Function
Read
Description
Present amount of decimal positions for user inputs:
Value 0: No decimal position
Value 1: 1 decimal position
......
Value 4: 4 decimal positions
Value following reset: 0
Write
-
Value range
0-4
Unlike register 2807 where the number of decimal positions is represented by a
divisor, in register 2808the number of decimal positions is specified directly.
88
Jetter AG
NANO-B
6.6 Registers for User Interfaces
Register 2809: Divisor for Displaying Fixed-point
Numbers for DISPLAY_REG Instruction
Function
Read
Description
Present value for the divisor to define the amount of decimal
positions for DISPLAY_REG:
Value 0: No decimal position
Value 10: 1 decimal position
......
Value 10000: 4 decimal positions
Value following reset: 0
Write
New value for the divisor to define the amount of decimal
positions for DISPLAY_REG.
Value range
0 - 10000
The data being supplied by the NANO-B controller are integer values. If these are to
be displayed with decimal positions on the user interface using the DISPLAY_REG
instruction, this can be achieved by using either register 2809 or 2810.
Register 2809 represents a divisor from which the amount of decimal positions
results. For example, if the divisor value is 10, the resulting amount of decimal
positions will be 1 (1/10 = 0.1).
Register 2810: Amount of Decimal Positions for
Displaying Fixed-point Numbers for DISPLAY_REG
Function
Read
Description
Present value of the amount of decimal positions for
DISPLAY_REG:
Value 0: No decimal position
Value 1: 1 decimal position
......
Value 4: 4 decimal positions
Value following reset: 0
Write
Present value of the amount of decimal positions for
DISPLAY_REG.
Value range
0-4
Unlike register 2809 where the amount of decimal positions is defined by a divisor,
in register 2810 the amount of decimal positions can be specified directly.
If, for example, 3 decimal positions are to be displayed, the value 3 can directly be
input into register 2810. In register 2809, though, the divisor to be input would be
1000.
Jetter AG
89
6 User Interfaces, Operator Guidance
PROCESS-PLC
Register 2812: Field Length for DISPLAY_REG
Instruction
Function
Description
Present field length for the DISPLAY_REG instruction
Read
Value following reset: 8
Write
New field length for the DISPLAY_REG instruction
Value range
0-9
Definition of the number of positions to be displayed. A maximum of 8 positions can
be assigned to register display.
If values of two or three characters are to be displayed only, the actually required
number of positions can be assigned to the display by using register 2812. This is of
special importance if a great number of texts and values are to be displayed on a user
interface.
The following rule applies: Contents of register 2812 = Number of positions to be
displayed + sign
For example, value of register 2812 = 4 corresponds to 3 positions +1 sign
e.g. - 1 2 3
Note!
It should be considered that one position each is occupied by the sign and the
decimal point. If a 6-digit value is to be displayed, into register 2812 the value 7,
resp. 8 is to be entered.
Register 2813: Field Length for USER_INPUT
Instruction
Function
Read
Description
Present field length for the USER_INPUT instruction
Value following reset: 0
Write
New field length for the USER_INPUT instruction
Value range
1-8
A maximum of 8 positions can be assigned to a user input. This also applies to the
suggested value contained in register 2815.
If values of two or three characters are to be entered only, the actually required
number of positions can be assigned to the display by using register 2813. This is of
special importance if a great number of texts and values are to be displayed on a user
interface.
90
Jetter AG
NANO-B
6.6 Registers for User Interfaces
Note!
It should be considered that one position is occupied by the sign. If a 6-digit value
is to be input, the value 7 is to be entered into register 2813.
Register 2814: Indirect Cursor Position for
DISPLAY_TEXT, DISPLAY_REG and USER_INPUT
Function
Read
Description
Present value for indirect cursor position.
Value following reset: 0
Write
New value for indirect cursor position.
Value range
0 - 127
If for the DISPLAY_TEXT, DISPLAY_REG and USER_INPUT instructions the cursor
position 0 is specified, the cursor position contained in register 2814 will be used. If
the value in this register is 0 as well, the text or value to be displayed will be attached
the texts or values that have already been displayed.
Register 2815: Suggested (default) Value for the
USER_INPUT instruction
Function
Read
Description
Present default value at the cursor position defined by the
USER_INPUT instruction.
Value following reset: 0
Write
New default value for the USER_INPUT instruction.
Value range
- 8388608 .. + 8388607
Once a USER_INPUT instruction is activated, a default value will appear at the
defined cursor position. This value is 0 by default. If another value is to be displayed
at this position, the position is to be specified in 2815.
Jetter AG
91
6 User Interfaces, Operator Guidance
PROCESS-PLC
Register 2816: Sign Suppression with the
DISPLAY_REG Instruction
Function
Read
Description
Present value for sign suppression.
Value following reset: 0
Write
New value for sign suppression.
Value 0: Sign will be displayed
Value 1: Sign will not be displayed
Value range
0-1
Register values can be displayed either with or without sign. Values are displayed
with sign by default. By using register 2816 it is possible to suppress display of signs .
Register 2817: User Input Status
Function
Read
Description
Present user input status:
Value 0: User input has not been activated
Value 1: User input has been activated
Value following reset: 0
Write
New user input status:
Value 0: Termination without transfer of value
Value 2: Termination with transfer of value
Value range
0-2
From this register can be seen whether a user input is activated at the moment. Thus,
for example, proceeding from another task the time of the user input can be
monitored. Once a defined period is expired, the user input can be terminated and
the value shown on the display can be accepted by writing value 2 into register 2817.
If value 0 has been written into register 2817, the user input is terminated without
accepting the displayed value.
Register 2818: Keyboard Enable for User Interfaces
Function
Read
Description
Present status of keyboard enable
Value following reset: 255
Write
New status of keyboard enable, bit-coded
Value range
0 - 255
To allow the user to have access to defined operating functions, certain keyboard
areas can be enabled, or disabled, by register 2818.
If keyboard functions disabled for service staff are to be enabled again, this can also
be carried out through this register.
92
Jetter AG
NANO-B
6.6 Registers for User Interfaces
Bit-specific Functions of Register 2818
Bit
Jetter AG
Function
Bit 0 = 1
Key with monitor function for displaying
register contents.
Bit 0 = 0
Key "Display of register contents"
disabled, but bits are set.
Bit 1 = 1
Key "Entry of flags"
Bit 1 = 0
Key "Entry of flags" disabled
Bit 2 = 1
Key "Access to outputs"
Bit 2 = 0
Key "Access to outputs" disabled
Bit 3 = 1
Key "Access to inputs"
Bit 3 = 0
Key "Access to inputs" disabled
Bit 4 = 1
Key "Change of register contents"
Bit 4 = 0
Key "Change of register contents" disabled
Bit 5 = 1
Key "Change of flags"
Bit 5 = 0
Key "Change of flags" disabled Flag
"Change of state" is disabled.
Bit 6 = 1
Key "Change of outputs"
Bit 6 = 0
Key "Change of outputs" disabled
Bit 7 = 1
Key "Display of inputs"
Bit 7 = 0
Key "Display of inputs" disabled
93
6 User Interfaces, Operator Guidance
PROCESS-PLC
Register 2819: Switch-over Time between Monitor
Screen and Normal Display
Function
Read
Description
Present value for switch-over time between monitor screen
and normal display:
A multiple of the time base specified in register 2003.
Value following reset: 35
Write
New value for switch-over time between monitor screen and
normal display.
Value range
0 - 65536
If the monitoring functions for registers, flags, display or change of outputs and inputs
have been activated, the display of the user interface will be in monitor screen mode.
In register 2819 the switching-over time between monitor screen and normal display
is specified. Switching-over is carried out upon completion of inputs in monitor mode
of the user interface.
Example:
A value of 35 in register 2819 stands for a switch-over time of 3.5 seconds.
Register 2820: Switching over to Monitor Display
Function
Read
Description
Present state: Switching over to monitor screen by pressing
the ENTER key:
Value 0: Switching over by pressing ENTER enabled
Value 1: Switching over by pressing ENTER disabled
Value following reset: 0
Write
New state for switching over to monitor screen mode:
Value 0: Switching over by pressing ENTER enabled
Value 1: Switching over by pressing ENTER disabled
Value range
0-1
By pressing the ENTER key, direct switching over to monitor screen can be carried
out. This function can be enabled or disabled using register 2820.
94
Jetter AG
NANO-B
6.6 Registers for User Interfaces
Register 2821: Display Language
Function
Read
Description
Present setting for the language of integrated user interface
functions:
Value 0: German
Value 1: English
Value following reset: 0
Write
New setting for the language of integrated user interface
functions:
Value 0: German
Value 1: English
Value range
0-1
By using this register the language for communication functions between user
interface and operator is set. The language setting refers to operating system
functions of the user interface, but not to texts output by the user. Such operating
system functions are, for example, the monitor functions for registers, flags, inputs
and outputs.
Register 2822: User Interface Baud Rate
Function
Read
Description
Present user interface baud rate:
0 = 150
1 = 300
2 = 600
3 = 1200
4 = 2400
5 = 4800
6 = 9600
7 = 19200
Value following reset: 6
Write
New user interface baud rate:
0 = 150
1 = 300
2 = 600
3 = 1200
4 = 2400
5 = 4800
6 = 9600
7 = 19200
Value range
Jetter AG
0-7
95
6 User Interfaces, Operator Guidance
PROCESS-PLC
Register 2823: PC Interface Baud Rate
Function
Read
Description
Present PC interface baud rate:
Value following reset: 6
Write
New PC interface baud rate:
0 = 150
1 = 300
2 = 600
3 = 1200
4 = 2400
5 = 4800
6 = 9600
7 = 19200
Value range
0-7
Register 2824: Indirect Buffer Number with Device 0
Function
Read
Description
Set buffer number
Value following reset: 2
Write
New value for indirect buffer number
Value range
0-4
The NANO controller provides 4 text buffers for multi-display mode. Using the
DISPLAY_TEXT or DISPLAY_REG commands data can be written into this buffer.
When using these commands, the device number defines the buffer which is
activated by the corresponding command. If a device number between 1 and 4 is
used, the buffer is addressed directly. If device number 0 is used, that buffer is
addressed at which register 2824 points. This way it is possible to divert a text, for
which device number 0 was specified, to several displays.
With the help of registers 2825 through 2828 a buffer can be assigned to each
display.
Register 2825: Text Buffer for Display 1
Function
Read
Description
Set number of text buffer
Value following reset: 1
96
Write
A new text buffer is assigned to display 1
Value range
1-4
Jetter AG
NANO-B
6.6 Registers for User Interfaces
Register 2826: Text Buffer for Display 2
Function
Read
Description
Set number of text buffer
Value following reset: 2
Write
A new text buffer is assigned to display 2
Value range
1-4
Register 2827: Text Buffer for Display 3
Function
Read
Description
Set number of text buffer
Value following reset: 3
Write
A new text buffer is assigned to display 3
Value range
1-4
Register 2828: Text Buffer for Display 4
Function
Read
Description
Set number of text buffer
Value following reset: 4
Write
A new text buffer is assigned to display 4
Value range
1-4
Register 2829: Basic Key Flag Number for Display 1
Function
Read
Description
Set basic number
Value following reset: 2000
Write
Basic number of flags which are used for display 1 to
recognize keystrokes.
Value range
-161 ... 1824, 2000
Register 2830: Basic Key Flag Number for Display 2
Function
Read
Description
Set basic number
Value following reset: 2000
Jetter AG
Write
Basic number of flags which are used for display 2 to
recognize keystrokes.
Value range
-161 ... 1824, 2000
97
6 User Interfaces, Operator Guidance
PROCESS-PLC
Register 2831: Basic Key Flag Number for Display 3
Function
Read
Description
Set basic number
Value following reset: 2000
Write
Basic number of flags which are used for display 3 to
recognize keystrokes.
Value range
-161 ... 1824, 2000
Register 2832: Basic Key Flag Number for Display 4
Function
Read
Description
Set basic number
Value following reset: 2000
Write
Basic number of flags which are used for display 4 to
recognize keystrokes.
Value range
-161 ... 1824, 2000
Registers 2829 through 2832 make possible to shift the flag area, reflecting the key
status of the displays, within the whole flag range of the NANO controller.
Note!
The value following a reset maps the keys of all displays into the standard flag
area for single-display mode, i.e. from flag 2160 through 2223.
The flag area for keys is calculated by the following formula:
Flag area for keys = Basic number + (160..223)
If, for example, the basic number is set to -161, the F1 key is mapped to flag 40.
Example:
Following a reset the F1 key is mapped to flag 2201 since the basic number is 2000.
Register 2833: Register Number for Controlling LEDs
of Display 1
Function
Read
Description
Set register number for controlling LEDs of display 1
Value following reset: 2649
98
Write
New register number defining which of the flags resp. register
bits are for controlling LEDs of display 1
Value range
1 ... 1999, 2622 ... 2637, 2649
Jetter AG
NANO-B
6.6 Registers for User Interfaces
Register 2834: Register Number for Controlling LEDs
of Display 2
Function
Read
Description
Set register number for controlling LEDs of display 2
Value following reset: 2649
Write
New register number defining which of the flags resp. register
bits are for controlling LEDs of display 2
Value range
1 ... 1999, 2622 ... 2637, 2649
Register 2835: Register Number for Controlling LEDs
of Display 3
Function
Read
Description
Set register number for controlling LEDs of display 3
Value following reset: 2649
Write
New register number defining which of the flags resp. register
bits are for controlling LEDs of display 3
Value range
1 ... 1999, 2622 ... 2637, 2649
Register 2836: Register Number for Controlling LEDs
of Display 4
Function
Read
Description
Set register number for controlling LEDs of display 4
Value following reset: 2649
Write
New register number defining which of the flags resp. register
bits are for controlling LEDs of display 4
Value range
1 ... 1999, 2622 ... 2637, 2649
These registers are for assigning flags, which control LEDs of displays, to several
address areas. Following a reset the LEDs of all displays are assigned to those flags
to which they are assigned in single-display mode, i.e. to the flags 2224 through
2235.
With the help of registers 2833 through 2836 a register can be assigned to each
display. The lower 12 bits of these registers, then, control the LEDs.
If a given register is overlaid by flags, LEDs can also be addressed via these flags
and not only via register bits.
Example: Flags 2224 through 2239 are overlaid on register 2649.
Jetter AG
99
6 User Interfaces, Operator Guidance
6.7
PROCESS-PLC
User Interface-related Flags
Flag 2057: LCD operation after each user task
Function
Read
Description
Present user interface priority:
Flag = 0: The user interface will be serviced upon completion
of all user tasks, low priority
Flag = 1: The user interface will be serviced after each user
task, high priority
Value following reset: 0
Write
User Interface
Priority
Set flag for high user interface priority, delete flag for low user
interface priority
Definition of the user interface priority. The user interface is serviced by a kind of
background task. In most cases, the user interface has got a priority lower than the
priority of the application program. In this case, the user interface will not be
serviced before complete processing of all user tasks. Usually, this is absolutely
sufficient, since processing will happen in the range of milliseconds which will not
be regarded by the user as waiting time.
This waiting time increases if, especially on four-line displays, a great number of
values is being displayed and the system is waiting for user inputs. Once the priority
of the user interface is raised by setting flag 2057, the user interface is serviced after
each user task. The operating system is then servicing sequentially: Task 0, user
interface, task 1, user interface, task 2, user interface etc.
For further details on task processing refer to register description for task control.
Note!
For normal operation, the user interface priority should be set to low, i.e. flag 2057 = 0.
If during user input there are remarkable delays, the user interface priority can be
raised by setting flag 2057 to 1.
In most cases, more complex user and display functions are required in manual
and setting-up mode of the machinery. Thus, it is possible to set this flag in manual
mode (high priority) and to delete it again in automatic mode (low priority).
100
Jetter AG
NANO-B
6.8 Controlling the Keys and LEDs of the User Interface
6.8
Controlling the Keys and LEDs of the
User Interface
Note!
All keys and LEDs mentioned below in the tables "Control of User Interfaces,
Keys, and LEDs", and "Scanning of User Interface Keys" apply to user interfaces
according to table "Overview: User Interfaces" of chapter 6.1: "Technical Data",
page 74.
Control of User Interfaces, Keys, and LEDs
Special Flags
Jetter AG
LED, Key
Special Flags
LED, Key
2224
LED
2230
LED
2225
LED
2231
LED
2226
LED
2232
LED
2227
LED
2233
LED
2228
LED
2234
LED
2229
LED
2235
LED
101
6 User Interfaces, Operator Guidance
PROCESS-PLC
Scanning of User Interface Keys
Special Flags
LED, Key
Special Flags
LED, Key
Function Keys
2201
2181
2202
2182
2203
2183
2204
2184
2205
2185
2206
2186
2207
2187
2208
2188
2209
2189
2210
2190
2211
2191
2212
2192
Special function keys
102
2214
2193
2213
2194
2215
2195
2216
2196
Jetter AG
NANO-B
6.8 Controlling the Keys and LEDs of the User Interface
Scanning of User Interface Keys
Special Flags
LED, Key
Special Flags
2217
2197
2218
2198
2219
2199
2220
2221
2222
2223
LED, Key
2200
Numerical Keys
Jetter AG
2160
2170
2161
2171
2162
2172
2163
2173
2164
2174
2165
2175
2166
2176
2167
2177
2168
2178
2169
2179
103
6 User Interfaces, Operator Guidance
PROCESS-PLC
Scanning Keys of the LCD 17 User Interface
User Interfaces
with Irregular Flag
Assignment
Flag
Key
Flag
2201
2234
2202
2235
2203
2236
2204
2237
2205
2238
2206
2239
2221
2240
2222
2241
2223
2242
2224
2243
2230
2244
2231
2245
2232
2246
2233
2248
Key
Note!
The user interfaces LCD 17 and LCD 19 haven't got any "SHIFT" functions.
104
Jetter AG
NANO-B
6.8 Controlling the Keys and LEDs of the User Interface
Scanning Keys of the LCD 19 User Interface
Flag
Key
Flag
2201
2234
2202
2235
2203
2236
2204
2237
2205
2238
2206
2239
2221
2240
2222
2241
2223
2242
2224
2243
2230
2244
2231
2245
2232
2246
2233
2248
Key
2249
Jetter AG
105
6 User Interfaces, Operator Guidance
PROCESS-PLC
Scanning Keys of the LCD 27 User Interface
Special Flags
LED, Key
Special Flags
2209
2211
2210
2212
LED, Key
Note!
With the user interface LCD 27 merely flags 2209 through 2212 differ from table
1 : "Scanning of User Interface Keys" on page 102.
106
Jetter AG
NANO-B
7.1 JETWay-H: JETTER Data Highway
98 Nodes
7
Network Operation
7.1
JETWay-H: JETTER Data Highway
The data highway JETWay-H enables several networked control systems of the
PROCESS-PLC family to be controlled by a host computer. Purely technical, the
maximum amount of nodes to be controlled is 126. However, with such a number
of nodes reasonable communication on the network gets next to impossible, since
transmission rate slows down. Therefore, it is advisable to limit the number of nodes
to be controlled to 98. In detail, network operation means:
•
•
•
•
•
Visualisation
Programming
Data transfer
Production data acquisition
Service functions; access to each control system
In addition to this, using a modem remote maintenance of the entire machinery of a
plant is possible.
Note!
Please, refer to chapter 2.2 "Electrical Connection", page 18, for description of
wiring and parameter assignment of JETWay-H.
Fig. 24: JETWay-H for the Management Level
Jetter AG
107
7 Network Operation
PROCESS-PLC
7.2
JETWay-R: Process Level
The JETWay-R network has got two functions:
•
•
The hierarchical networking of PROCESS-PLC control systems.
The connection of decentralized peripheral devices, such as remote I/Os or valve
blocks.
The maximum amount of nodes per level is 99. This network is a monomaster
network. This means that there is one master and a maximum of 98 slaves per
hierarchical level.
Fig. 25: JETWay-R for the Process Level
108
Jetter AG
NANO-B
7.3 N-SEND Registers and N-GET Registers
7.3
N-SEND Registers and
N-GET Registers
Note!
These register numbers are not influenced by the number offset defined in
register 2702.
7.3.1
N-SEND REGISTER
Note!
The PROCESS-PLC NANO-B can be operated as master or slave in a JETWAY-R
network.
By using the following instruction, the master controller can write values into registers
of slave controllers:
N-SEND REGISTER [to from Reg
Source Exif Data:
File Type : PDF
File Type Extension : pdf
MIME Type : application/pdf
PDF Version : 1.4
Linearized : Yes
Subject : PROCESS-PLC
Modify Date : 2002:11:04 10:56:35+01:00
Create Date : 2002:11:04 10:35:17Z
Page Count : 285
Creation Date : 2002:11:04 10:35:17Z
Mod Date : 2002:11:04 10:56:35+01:00
Producer : Acrobat Distiller 5.0 (Windows)
Author : Armin Kreissl; Translation by G.nter Schmitt
Metadata Date : 2002:11:04 10:56:35+01:00
Creator : Armin Kreissl; Translation by G.nter Schmitt
Title : NANO-B Operator’s Manual
Description : PROCESS-PLC
Page Mode : UseOutlines
EXIF Metadata provided by EXIF.tools