Please comply with the system
NOTE
requirements together with the
operating instructions and help
section included with the software.
The device can be operated in "Remote" mode via an RS 232 or
USB interface using the laboratory software labworldsoft
232 interface (M) at the back of the device is fitted with a 9-pole
SUB-D jack which can be connected to a PC. The pins are assigned
serial signals.
USB Interface
The Universal Serial Bus (USB) is a serial bus system which allows
the device to be connected to the PC. Devices that support USB
can be connected to each other whilst they are running (hot
plugging) and provide automatic recognition of the connected
devices and their properties.
Use the USB interface in conjunction with labworldsoft
operation in "Remote" mode and for updating the firmware using
the "Firmware update tool".
Installation
Before the device is connected with the PC using the USB data
cable, the USB driver must be installed.
The USB driver can be downloaded from the website:
Serial interface RS 232 (V 24)
Configuration:
•
The functions of the interface circuit between the device and
the automation system are a selection from the signals
specified in the EIA standard RS232 as per DIN 66020 Part 1.
•
Standard RS 232, corresponding to DIN 66259 Part 1 is valid
for the electric characteristics of the interface circuits and
assignment of signal states.
•
Transmission process: Asynchronous character transmission
in start-stop operation.
•
Transmission type: Full duplex.
•
Character format: Character composition according to data
format in DIN 66022 for start-stop operation. 1 start bit, 7
character bits, 1 parity bit (even), 1 stop bit.
•
Transmission speed: 9600 Bits/s.
•
Data flow control: none
•
Access method: Data transmission from the device to the
computer only occurs after a request from the computer.
Command syntax and format
The following points should be noted for the instruction set:
•
Commands are generally sent from the computer (master) to
the device (slave).
•
The device only responds to requests from the computer.
Even error messages are not send spontaneously from the
device to the computer (automation system).
•
The commands are transmitted in captial letters.
•
Commands and parameters, as well as consecutive parameters,
must be separated by at least one space (code: hex 0x20).
•
Each individual command (including parameters and data)
and all responses are completed with CRLF (code: hex 0x20
hex 0x0d hex 0x0A) and can have a maximum length of 50
characters.
•
The dot is used for decimal separators in a floating-point
value (code: hex 0x2E).
Interfaces and outputs
The details given above generally comply with the recommen-
dations of NAMUR (NAMUR recommendations for the design of
electrical plug-in connectors for analogue and digital signals in
laboratory MSR devices. Rev. 1.1).
The NAMUR commands and the additional IKA-specific
commands are only used as low-level commands for communication
®
. The RS
between the device and the PC. With an appropriate terminal or
communication program, these commands can be transmitted
directly to the device.
NAMUR commands Function
IN_NAME
IN_PV_4
IN_SP_4
OUT_SP_4
®
for
START_4
STOP_4
RESET
OUT_NAME
OUT_SP_42@n
OUT_WD1@m
OUT_WD2@m
"Watchdog" functions; monitoring of the serial data flow
If, once this function has been activated (see NAMUR commands),
there is no retransmission of the command from the computer
within the set time ("watchdog time"), the Evacuation function is
switched off in accordance with the set "watchdog" mode or is
returned to previously set target values. The data transmission may
be interrupted by, for example, a crash in the operating system,
a power failure in the PC or an issue with the connection cable
between the computer and the device.
"Watchdog" mode 1
If event WD1 should occur, the evacuation function is switched
off and ER 2 is displayed. Set watchdog time to m (20 - 1,500)
seconds, with watchdog time echo. This command launches the
watchdog function and must be transmitted within the set wat-
chdog time.
"Watchdog" mode 2
If there is an interruption in data communications (longer than the
set watchdog time), the speed target value is changed to the set
WD safety speed limit. The warning PC 2 is displayed. The WD2
event can be reset with OUT_WD2@0 - this also stops the watch-
dog function.
Set watchdog time to m (20 - 1,500) seconds, with watchdog
time echo. This command launches the watchdog function and
must be transmitted within the set watchdog time.
Read device name
Read current speed value
Read rated speed value
Adjust the rated speed value
Start evacuation
Stop evacuation
Switch to normal operating mode
Set device name
Setting WD safety limit speed with
set value echo
Watchdog mode 1
Watchdog mode 2
27