Frequently asked questions

Aus Deutschmann Wiki
Zur Navigation springen Zur Suche springen

Inhaltsverzeichnis

Electronic Cam Controls

Are there replacements for a product that is no longer available? (LOCON 32-HC, LOCON 32-PM)...

1. Substitution option with LOCON 24:

In order to be able to offer you an alternate device we need to know the encoder type that was used before (absolute, parallel or incremental...), the encoder's resolution, the idle time type (bitwise or blockwise - in case of doubt the bitwise version is the more flexible one - and the number of used outputs.

Note: The standard version of the operator panel features protection type IP54. If you require IP65 (as with LOCON 32-HC) then it has to be ordered optionally.

2. Substitution option with LOCON 100 / LOCON 200:

Basically the following points ALWAYS have to be clarified in case of replacing a product that is no longer available: (Example in italic)

  • Which encoder is used in connection with the cam control (NSW) (maximum of 16 inputs) → number of encoder inputs → at INC. at least 2, at absolute → number of tracks = number inputs)

A TA58-O360-GYE is used → 9 tracks = 9 inputs

  • What other pins are used? (e. g. at INC. encoders Clear + and/or Clear- → number of inputs +1 or +2)

None → + 0 inputs

  • Is the Prog.Enable wired? (if yes → number of inputs +1)

Yes. → +1 input

  • Is the external program selection wired? If yes, how many programs? (number of inputs +2 ... +7)

Yes, up to program 8. 5 pins are required for it → +5 inputs

According to the amount here the decision is made, whether LOCON 100 or LOCON 200 can be used. Provided that the amount remains below 16, either a LOCON 100 or a LOCON 200 can be used. If the amount of required inputs exceeds 16, then a LOCON 100 has to be used, provided that the number of inputs without the external program selection is less than 16. 9 encoder inputs +1 Prog.Enable input + 5 program inputs = total of 15 inputs. Either LOCON 100 or LOCON 200 can be used.

Quantity determination of expansion modules that have to be used (LOCON 100-A32 or LOCON 200-IO8):

  • Is the RunControl-relay wired? If yes → number of outputs + 1

Yes. + 1 output for RunControl

  • How many outputs are used at the cam control? → Number of the basis' remaining outputs (LOCON 100 + LOCON 200) = 16 - number of inputs

32 outputs are used. → Total = 1 + 32 = 33 outputs. Either LOCON 100 (1 output) with an LOCON 100-A32 extension (=32 outputs) OR LOCON 200 (1 output) + 3 x LOCON 200-IO8 (8 outputs each = 32 outputs) can be used here.

Basically the version LOCON 200 + LOCON 200-IO8 is to be favored, since the cycle times for this constellation are lower than those for LOCON 100.

On principle it does not matter which TERM is used. LOCON 100 & LOCON 200 are supported by TERM 6, TERM 24 & TERM 32 to a partially limited extent. For that reason the parameterization and configuration should principally always be carried out with WINLOC 32 and the mentioned TERMs should be used for operation.

How to connect a LOCON with the RS232-interface (COM port) at the PC?

At the PC COM port there is a 9-pole D-SUB pin connection with the following assignment:

PIN 2 - Rx (from the PC's point of view)

PIN 3 - Tx (from the PC's point of view)

PIN 5 - GND

Example:

At the LOCON16/17 the assignment of the X2 is as follows:

PIN 26 - GND

PIN 27 - Rx 232 (from the LOCON's point of view)

PIN 28 - Tx 232 (from the LOCON's point of view)

Generally always the Rx of the PC has to be connected with the Tx of the LOCON and the Tx of the PC with the Rx of the LOCON. Also the GND always has to be connected. In case there is no separate signal "AP-GND, RS-GND" or similar, then the "standard" GND is used.

For the above example it comes to the following cable assignment:

LOCON X2 PIN26 ↔ PC PIN5

LOCON X2 PIN27 ↔ PC PIN3

LOCON X2 PIN28 ↔ PC PIN2

Note: Possible existing blue bridges between the signals "DICNET-/Rx" ↔ "R-" and "DICNET+/Tx" ↔ "R+" have to be removed.

How to reset LOCON 90, LOCON 100, LOCON 100-PB, LOCON 200, LOCON 200-PB, ROTARNOCK 100 or ROTARNOCK 100-PB back to delivery condition (reset)?

In order to be able to reset the device to the condition it was supplied it has to be connected to a PC and the programming software WINLOC 32 has to run. Here it does not matter whether the device is connected to the PC via the RS232-interface or via DICNET and a DICADAP3. In order to initialize the procedure the device has to show the starting message (the example shows a LOCON 100 with an expansion LOCON 100-A32 with DICNET communication, configured as Timer with a counting range of 16):

L100-48(48)-T16-485(DICNET) V3.4

Now place the cursor behind the last character in WINLOC32 with a "left click" and by means of the keyboardkeep "STRG/CTRL" pressed and enter "i". A safety query follows: Reset configuration to defaultvalue and clear all programmed data (Y/N)? N

This query has to be confirmed with "y" within 3 seconds and another safety query follows:

Cancel operation (Y/N) N which is to be confirmed with "n".

If the entry is correct, the following message appears in the terminal window:

Clear EEROM 0H-1fffH ...............................

Restart

L100-48(48)-S4096-485(DICNET) V3.4 ok

(Error: 108)

With it the device was set back to the condition it was originally supplied.

Error108 may be normal since the device expects an encoder (with a resolution of 4096) that may not be connected and therefore causes a timeout. Note: After a reset the optional LOGIC-function has to be activated again. At the devices LOCON 100 & LOCON 200 the interface (RS232 or DICNET) can be set by means of a configuration file. If relating to software "DICNET" was previously configured then the interface is put back to RS232.

How to activate the logic function of LOCON 100-PB, LOCON 200, LOCON 200-PB, ROTARNOCK 100 or ROTARNOCK 100-PB?

A "release code" ("key") is required to be able to release the optional logic functions. You can purchase this code either from us directly or from your reseller. The serial number of the unit, that is supposed to be extended by this function has to be mentioned on the purchase order. For LOCON 100-PB, LOCON 200 or LOCON 200-PB only the serial number of the basic device has to be stated. The logic function will automatically be activated for all extensions. You will receive the release code by e-mail.

The device to be extended by the logic function must be connected to the PC and a start-up string has to be shown WINLOC 32.

With a click on the menue Extras → Product Option Activation a window opens for activation.

The DICNET-ID is entered in the line Device ID. For a connection through RS232 this value remains on "0".

With a click on read serial number the serial number of the device is read out and displayed (at the same time this is a test, that the connection cam control ↔ PC works).

The release code is entered in the line Activation key. Start behind the "-". Click on Run afterwards.

(In case of an error "Returncode=4" is the result.)

A successful release is confirmed with Options activated. Furthermore you can tell the logic function is released by the characters LG in the switch-on message, e. g. at LOCON 200:

L200-16-S4096-H-LG-232 Vx.x

Now the logic functions can be used. By a click with the right mouse button In the upload window under "Logic" a function can be defined:

Note: After a "Clear all" the logic function has to be released again.

In the category Manuals in the download area you can find directions with screen shots by the name "Instructions for the release of the logic function of LOCON 100-PB; LOCON 200(-PB) & ROTARNOCK 100(-PB)".

External Wiring

How is the modification from LOCON 32-HC or LOCON 32-PM to LOCON 24 carried out?

Introductorily we like to point out that this description refers to a LOCON 32-HC, that is/was configured "absolute parallel 360" as encoder type. Consequently the LOCON 24 also has to contain this "O360" in the article text.

LOCON 24 Signal LOCON 32-HC LOCON 32-PM
X1 PIN 1 OUT 1 X10 PIN 2 X1 PIN 1
X1 PIN 2 OUT 2 X10 PIN 1 X1 PIN 2
X1 PIN 3 OUT 3 X10 PIN 4 X1 PIN 3
X1 PIN 4 OUT 4 X10 PIN 3 X1 PIN 4
X1 PIN 5 OUT 5 X10 PIN 6 X1 PIN 5
X1 PIN 6 OUT 6 X10 PIN 5 X1 PIN 6
X1 PIN 7 OUT 7 X10 PIN 8 X1 PIN 7
X1 PIN 8 OUT 8 X10 PIN 7 X1 PIN 8
X1 PIN 9 OUT 9 X10 PIN 10 X1 PIN 9

... more

Models

What has to be considered when using a LOCON 200 in connection with TERM 24?

If a (discontinued) device is supposed to be replaced by LOCON 200 and in case TERM 24 is used in the assembly, then the TERM 24's Firmware must be updated at any rate. For the update the device has to be sent back to us.

TN65 - ROTARNOCK - what is it?

It is the same unit. ROTARNOCK describes the product line and TN65 is the specific type or the article description.

Example: ROTARNOCK 100 - describes the ROTARNOCK-family "100". The detailed article description is explained on the picture "Article description".

Article description


In case of questions concerning the order designation or an alternative device for a unit, whose production is discontinued, our distribution partners are pleased to be at your assistance.

How to change the Profibus Ident Number?

To change the Profibus Ident Number from 3606H to 3231 the ROTARNOCK 100-PB has to be connected with the PC via a serial communication (RS232). For the serial communication the following pin assignemt is valid here:

PC PIN2 (Rx) ↔ ROTARNOCK 25pin D-Sub PIN17 (Tx RED)
PC PIN3 (Tx) ↔ ROTARNOCK 25pin D-Sub PIN18 (Rx RED)
PC PIN5 (GND) ↔ ROTARNOCK 25pin D-Sub PIN25 (GND)

A corresponding programming cable (including plug-in power supply) is to be ordered with the article number V3467. ( V3467 - Programming cable for ROTARNOCK - 232/PB).

The software WINLOC 32 has to be installed on the PC. The interface parameters are entered in "Extras → Options → Port".

If the ROTARNOCK is now supplied with voltage a window opens automatically and the device brings its start-up message, e. g.: R100-48-O4096-PB(126)-232 V3.54 Ok Now place in WINLOC 32 the cursor behind the last character (through a "left click") and press "n" while keeping the keys "STRG/CTRL" pressed. The following confirmation prompt appears: Ident-Nr=3606H, change to 3231H (Y/N)? N This query has to be confirmed with "y" within 3 seconds and the following confirmation appears: New Ident-Nr = 3231H After a re-start the device uses the new Ident Number and it can be put into operation.

The same way the Ident Number can also be changed back from 3231H to 3606H.

How to replace ROTARNOCK 1/2/3/4 by ROTARNOCK 100?

There are two ways to carry out the exchange.

1. Exchange with the convenient programming software for cam controls WINLOC 32 (recommended procedure):

Read out (File→Upload) the ROTARNOCK that is to be replaced with the software WINLOC 32 and store (File→Save) it on the hard disk or open an existing configuration file.

Change from the current view to the view device configuration by clicking on the lettering Configuration on the left side of the configuration file. Activate all selection buttons on the right side. Please write down the following values provided that they are indicated: Encoder resolution, ITC (=idle time compensation) Type, Display factor, ITC Function, Turn Direction, Run-Control and Zero shift.

Important: Please write down the indicated position during downtime (best in the basic position if possible) before removing the old device!

Connect the ROTARNOCK 100 now and carry out an upload or open an existing configuration file. Both, the ROTARNOCK 100 as well as the available configuration file should be unused, otherwise a configuration is not possible. How to set ROTARNOCK 100 back in default mode can be found here.

Change the current view by clicking on the lettering Configuration. Carry out the configuration now by clicking on Device Reconfiguration on the window's right side.

Enter the value for the Virtual Resolution here and select the ITC Type and confirm it with OK.

Change to the configuration view again and activate all selection buttons on the right side. Transfer those values from the old ROTARNOCK, you have written down before, to the new device. Provided that you have written down the value RunControl=yes, you have to set the Run-Control-output to I/O16 and the Run-Control-type to blink!

Important advice: Depending on the application's construction there are different safety mechanisms. If you continue to transfer the cam values now and to download the complete program into the ROTARNOCK the outputs are directly active in dependence on the position and the cam values. This might lead to an unintentional "failure/scrap" of the application.

We recommend to carry out the zero adjustment first before the cams are being transmitted to the device. Load the newly generated configuration in the ROTARNOCK 100 through Download. Install the ROTARNOCK 100 now and change the zero shift offset's value, until (or change the axis mechanically) the currently displayed position is the same as the one you have written down before. There are many different possibilities to carry out the zero adjustment. Sometimes they are also combined. Therefore please carry out an update again after the adjustment.

In WINLOC32 the cam values, idle times and output names are transmitted from the old configuration file to the new one through Extras → Data transfer. This function is only available in the Comfort version of WINLOC 32.

We are pleased to help you transmitting the data also without the Comfort version. To do so, please send an e-mail with both configuration files to support@deutschmann.de.

After the data has been transmitted and verified, the complete file can be saved now and loaded into the device. With it the exchange is completed.

2. Exchange with manual configuration and programming with TERM 6 or TERM 24 (with current Firmware):

The following information on the ROTARNOCK that is to be exchanged should be available: Encoder resolution, type of idle time, turn direction, indicated position before removing the old device (best in the basic position) as well as all cam values and idle times.

Advice: In case your old device features the option R - RunControl, then the device has to be configured with WINLOC 32.

Carry out the exchange. Set the (virtual) encoder resolution and the idle time accordingly via the terminal now. The procedure is described in the corresponding manual.

After that the adaptation of the sense of rotation, if necessary, occurs and after that the adjustment of the zero point. The TERM is supposed to indicate the same position as before the exchange.

Now you can start entering the cams and idle times and finally the application can be tested and be put into operation.

Note: Even though this procedure sounds to be short and simple you have to proceed very carefully. To enter a lot of cams is much more time-consuming than the procedure with WINLOC 32.

Software Tools

Configuration- and programming-software for cam controls?

A configuration- and programming-software WINLOC 32 is available for all Deutschmann cam controls (NS).

The basic version of that software is available free of charge (in the download-area and on the support-DVD). This basic version already features extensive functions. The cam control can be read out, configured and programmed. Also these files can be stored.

By means of a »key« available against charge the comfort functions will be activated (online function, comfortable copying and displacing of programs....). A license that was purchased once is valid for all existing and following versions of the program.

Cam controls with RS232-interface can directly be connected with the PC's COM-interface (see corresponding instruction manual for the cable connection). The cam control's signal TxD has to be wired with the PC's signal Rx and vice versa. The GND has to be wired as well.

For cam controls with DICNET(485)-interface a DICADAP3 has to be used in order to connect the device with the PC. At the same time the DIC+ and DIC- wires are interconnected.

How and where is to enter the WINLOC 32 comfort version license key?

First of all start WINLOC 32.

In the menu line "Extras" → select "Options". A window opens. If necessary please change to the register "License". Now enter the license key you received from us.

Note: When you start to enter the key the line "licence code valid" is displayed in red. If the key is entered correctly, then it turns to green. Each entered character is displayed as "*".

A license that have been purchased once can be used for all follow-up versions. A WINLOC 6 license also works with WINLOC 32.

UNIGATE

How to carry out a Firmware update at UNIGATE?

You can find an explanation on the site Firmware update.

I encountered problems with the RS232 connection between UNIGATE and PC. What to do when WINGATE says "no Gateway found"?

If the UNIGATE sends a message, but WINGATE says "no Gateway found", the Rx line is not properly connected to the UNIGATE. Check the line with a meter (DVM): between GND and Rx = 7 V, as well as GND and Tx = 7 V. The 7 V may vary between 6 and 9 V, but have to be equal on one unit. If one of the two connections is 0 V, Rx and Tx are switched or connected incorrectly.

How to connect an UNIGATE with the RS232-interface (COM port) at the PC?

At the PC COM port there is a 9-pole D-SUB pin connection with the following assignment:

PIN 2 - Rx (from the PC's point of view)

PIN 3 - Tx (from the PC's point of view)

PIN 5 - GND

Example: At the UNIGATE CL the assignment of the X1 is as follows:

PIN 1 - Rx 232 (from the UNIGATE's point of view)

PIN 2 - Tx 232 (from the UNIGATE's point of view)

PIN 3 - AP-GND

Generally always the Rx of the PC has to be connected with the Tx of the UNIGATE and the Tx of the PC with the Rx of the UNIGATE. Also the GND always has to be connected.

For the above example it comes to the following cable assignment:

UNIGATE X1 PIN1 ↔ PC PIN3

UNIGATE X1 PIN2 ↔ PC PIN2

UNIGATE X1 PIN3 ↔ PC PIN5

Does UNIGATE have a "test mode"?

Yes, there is a test mode.

The interface-switch has to be set to position »RS232« and the two rotary coding switches on the serial side (S4 + S5) have to be set to »EE« in order to put the device into the test mode.

After the restart the UNIGATE sends a byte on the serial side from »0-F« every second (some devices will first do a 15 to 30 seconds lasting self test). On the Fieldbus this output occurs accordinglywith the length depending on the set bus width. If useful data is sent to the UNIGATE (serial and Fieldbus) they are sent back from the UNIGATE (ECHO).

How to get my script into the device?

Advice: Please always use the current version of the corresponding software.

Basically there are two ways to load the script into the UNIGATE.

Possibility 1 - via the serial (application-) interface: (applies to ALL UNIGATE SC, IC & CL) The script has to be compiled in the PROTOCOL DEVELOPER by "File → save compiled file" (the script receives the file extension *.dcs), so that the script gets into the device this way. The device has to be set into the configuration mode in order to load the script into the device. The script download can be started with the software WINGATE through "File → Write Script". With the software SPT (ScriptProgramTool) the downlaod is initiated through "File → Open file and program".

Possibility 2 - via the DEBUG-interface and the software PROTOCOL DEVELOPER: (applies to ALL UNIGATE IC & CL as well as UNIGATE SC with option "DB") In this case the device's DEBUG-interface has to be connected with a PC COM-Port. In the software PROTOCOL DEVELOPER and belated power up of the device (NOT in the configuration mode) the message "Device started in Debug mode" appears in the bottom left corner. Now the download can be started with "DEBUG".

How to set the UNIGATE into the configuration mode (Configmode)?

For all Deutschmann UNIGATE devices (except UNIGATE CL & UNIGATE IC) the interface switch has to be set to "RS232" and the two rotary switches S4+S5 must be set to "FF" on the serial side. For the UNIGATE CL the RS232 interface is automatically active throught the switch positions of S4+S5 with "FF". If you use the UNIGATE IC the basis board of the J17.

After a reboot of the device, the device sends the switch-on message in a terminal program (eg WINGATE) via the application interface (NOT DEBUG):

IC-PB-SC PV5.9B[30] (c)dA Script(2k)="Leer" Author="Deutschmann Automation GmbH" Version="1.0" Date=21.08.2001 SN=xxxxxxxx ID=1 Configmode...

Now you know that the unit is in configuration mode.

Practice Tip: With UNIGATE CL, RS and SC the configuration mode is visually indicated by the RS-"State" LED flashing red.

What is to consider when switching to UNIGATE CL from UNIGATE SC?

There is one significant difference between an UNIGATE SC and an UNIGATE CL: the UNIGATE SC devices have a hardware switch "232 ↔ 485", which does not exist on an UNIGATE CL. The UNIGATE CL on the other hand has all interfaces (232/485/422) on board. You still have to consider that if you don't run the RS, you have to run an extra <source lang="delphi"> Set(RS_Type,[?]) </source> command. In the PROFIBUS version there is also the difference of the ID number. The UNIGATE CL-DP needs the GSD file UGIC3218.gsd.

Does the UNIGATE IC support SPI?

Yes, the UNIGATE IC supports SPI. (Up-to-date UNIGATE IC Pinout-List in XLS Format) Pin 3...7 are for the SPI Master (SPI slave on request only) We support 2 different SPI functions: SPI Slow and SPI normal. For SPI Slow you can use the example "example_SPI_slow.dss". For SPI normal, the example "example_SPI.dss" is available (not available for FIDO based Hardware: PROFINET, EtherNet/IP). For FIDO based hardware you can make use of the example "example_SPI_Pinout_Real.dss". I2C is currently not supported.

How to connect two networks (PROFIBUS / PROFINET)?

To establish a connection between two networks (PROFIBUS / PROFINET) you can use a UNIGATE CX. In the delivery state the default setting makes for a transparent data exchange between the two fieldbus systems. You have to keep in mind that the UNIGATE CX works as a slave, which means the Master must take over the communication in every network.

Fieldbus

CANopen

UNIGATE CO (M)-PROFIBUS DP
I encountered problems after downloading the existing/old GWC-file into my new device. Can you list the various steps?
  1. Open the desired GWC file with the configuration tool WINGATE.
  2. Then start the new device and perform the download
  3. Now perform an Upload from the device
  4. The parameter "CAN baud rate" is now at 125k.
  5. If the baudrate is set using the DIP switch you have to change the parameter. Therefor the parameter has to be selected. By double-clicking a window opens in which the "DIP switch" has to be selected.
  6. Afterwards perform another download
  7. Save the change, respectively the "new" GWC file

In a further download of these "new" GWC files into a new device the "CAN baud rate" parameter is now set accordingly and doesn't have to be changed again.

How to replace CANopen (Master) - PROFIBUS DP (Slave)?
  1. Start WINGATE:
  2. Connect the RS232 from PC to UNIGATE (3 wire, 3 pin connector)
  3. Connect power supply
  4. Upload file
  5. Save file
  6. Disconnect the old UNIGATE
  7. Connect the new UNIGATE (see Step 1)
  8. Afterwards click "File - Download" (write to device)


In WINGATE-File the Adresse 0x14 is set to 0

With the new Firmware V2.60 in WINGATE the config file has to be stored with the setting "baud rate: DIP Switch"

DeviceNet

How much power does the UNIGATE IC draw at the DeviceNet power supply 24 Volt connector, PIN 17?

The current consumption is max. 35mA.

EtherNet/IP

How to switch to EtherNet/IP 2Port?

You can find more about switching to EtherNet/IP 2 Port on the UNIGATE CL EtherNet/IP site: Changeover to 2-Port devices

My PLC cannot establish a connection to my EtherNet/IP device. What could be the reason?

Maybe you configured your PLC to use a Unicast connection.

If you are using the Rockwell software RSLogix 5000 you can check this in the UNIGATE's module properties dialogue. Please make sure the option "Use Unicast Connection over EtherNet/IP" on the connection tab is disabled.

Why does the function ReadNewObjectDataEIP show a change of input data, altough all of the data is identical?

In the cyclic data packets a counter value is also transmitted besides the payload. This counter can be incremented into every cycle by the SPS, or only if a change of payload occurs. The command ReadNewObjectDataEIP indicates a change if the counter value changes.

Can I only transfer an even number of bytes with an EtherNet/IP device?

No, as of firmware version 4.0 the number of transferredd bytes per cycle can also be odd (e.g. 7 byte Input, 3 byte Output).

Can a power supply separation be avoided through a script adaptation in a UNIGATE EtherNet/IP with firmware 4.0?

The UNIGATE has to be restarted after setting the IP address via "Set(FieldbusID,". Unfortunately, from a programm technology perspective there is no other way, since the IP address is already read from the EEROM area when booting to start the Ethernet part of the Fieldbusstacks. Only if this part is started correctly our application begins (i.e. the script).

Fast Ethernet

Is there an example of the web server functionality ?

Yes, there is an example, which is available after installing the PROTOCOL DEVELOPER.

  1. Start the UNIGATE CL-FE in configmode
  2. Reset device (WINGATE - options - reset device)
  3. Save the script example: Wingate – File – Write script ... :\Software\ProtocolDeveloper\Example\08 Bus specific\Fast Ethernet script.dcs
  4. Set the IP address and the subnet mask (Do not forget to download the file)
  5. Start the UNIGATE in Run mode (S4+5 not FF and not EE)
  6. Start a FTP Client, such as Total Commander. Establish a FTP connection. (Username and password: deutschmann)
  7. Directory: Flash
  8. Copy "index.html" to CL-FE
  9. Start your browser and enter the IP address you created in WINGATE
  10. If you refresh your browser (F5) you will see that the numerical value increased
  11. That's it!
Is the temperature range down to -40°C by now available for CL devices with RJ45 connectors?

We did not make changes to the CL. We only have the statement of the manufacturer that -40°C are no problem if there are no plug connections made at these temperatures. In our expansion card for CL and FC a RJ45 for -40°C is used.

PROFIBUS

At commissioning a PROFIBUS-slave I do not see any input data when put and also it is not possible to send data to the device.

For CPUs from the company Siemens only direct access up to 4 bytes is possible. Provided that useful data > 4 bytes are supposed to be read or written, then the access has to be made through the SFC14 (read) and SFC15 (write). Further information can be found in the projection software's help.

How to use the UNIGATE IC PROFIBUS DPV1 5V without driver 485 and how much current can the DC/DC converter provide on the fieldbus side?

Deutschmann uses 1W-DC/DC converter, which can be supplied at 5V with 200mA. On the board without driver we need much less than 50mA of these 200mA, which means 150mA remain for the user. These are certainly adequate.

Changing of the Slave ID via SPS

ID is stored in EEROM. <source lang="delphi"> var LBusState : Long ; var L0xE0 : Long ; moveconst ( L0xE0, 0xE0);

BusStart ; //Wait ( Bus_Active ) ;

LoopBusState;

Get ( ReadBusState , LBusState ) ; if LBusState less L0xE0 then :LoopBusState; //!!! neu </source>

Which GSD-file is meant for my device?

We distinguish between 2 versions: DPV0 and DPV1. You can tell from the article description which device is in front of you. A »DP« stands for DPV0; a »DPV1« for itself. The UNIGATE IC-DPL and UNIGATE CL is a DPV1-device.

In the download-area of the respective device only that GSD-file, which is valid for the corresponding device only, is placed at your disposal for download.

A DPV1 slave is downwards compatible and it can also operate in the DPV0 mode. Nevertheless, the DPV1 GSD-file has to be used.

DPV0 slave → GSDfile »DAGW2079.GSD«

DPV1 slave → GSD-file »UGIC3218.GSD«

GSD Datei - How to create a different configuration?
Create a configuration

It is also possible in some configuration tools, like Step 7, to use a “Universal Modul”, this is not mentioned in the GSD file. It seams this is a special feature. In this Modul, you can setup every size.

How to set the Slave ID via the Master?

If the Slave ID is set via a Master and the MSB is also set ("Slave address can not be changed anymore"), the flag can only be reset through a "Reset Device" in the configuration mode in WINGATE.

WARNING: With it the EEROM will be re-initialized and the script will be deleted.

How to realize the conversion from Fieldbus ↔ Modbus RTU (Master)?

This proceeding for a UNIGATE CL-PROFIBUS DPV1 is used as an example for all UNIGATEs and the supported Fieldbuses.

UNIGATE CL is supplied with a Universal Script that makes setting the "Modbus RTU (Master)" protocol very simple. A detailed description how to configure the device can be found here.

Note: In case you want to read out the same register several times, then the parameter "Data Exchange" should be adjusted to "On Trigger". In this case the UNIGATE expects the togglebyte in the Fieldbus Master's first byte.

Application:

The Fieldbus Master requests (read holding register = 03) the register "4567" with the length of 1 word from the Modbus Slave with the ID=2. The resulting inquiry from the Profibus-Master to the UNIGATE is:

02 03 45 67 00 01

(ID=2, read register=03, register=4567 and length in words high + low=0001)

The UNIGATE converts data to Modbus and adds the checksum (=xx):

02 03 4567 00 01 xx

The UNIGATE receives the following response from the Modbus Slave with the ID=2:

02 03 02 03 E8 xx

(ID=2, read register=03, length in byte =02, value of the register 4567=03E8 and checksum=xx)

The UNIGATE puts the Modbusslave's response on the Fieldbus:

02 03 02 03 E8

Consequently a complete inquiry from the Fieldbus Masters has been converted to Modbus and the Slave's response has been issued to the Fieldbus in turn.

The above proceeding describes the function of the UNIGATE RS, UNIGATE CL with Universal Script and configured Modbus-RTU(Master) protocol as well as our Script examples Modbus-RTU(Master).

There are also applications, in which the UNIGATE is supposed to read out a corresponding register or also the UNIGATE cyclically reads the same regsiter again and again through only 1 byte of the Fieldbus Master. With our UNIGATE SC, CL and IC this is possible without a problem. In these two cases the Script only has to be adapted to this requirement. Please use our Script examples for this.

PROFINET

How to connect Deutschmann PROFINET devices to a S7?

For a step-by-step instruction, please download the PDF [1].

How to evaluate a UNIGATE device with a PROFINET interface?

You can evaluate your PROFINET device (UNIGATE CL-Profinet, UNIGATE IC-Profinet, UNIGATE FC-Profinet) with our free PROFINET Module software. All you need is a Microsoft Windows computer with an Ethernet port. The PROFINET Module software is part of our Starter Kit software collection which can be obtained from the download section.

Why can't I assign a device name to my UNIGATE?

For PROFINET the device name is subject to a naming convention. For example, the use of capital letters is not allowed.

How to rename the GSDML file?

The GSDML file can not be renamed. The file name of the GSDML file is also stored in the file itself. If you now rename the file, the original file name is retained in the file. Using this renamed GSDML file, the system reports that the inserted file can not be included because it does not correspond to the valid format.

Script with station name
Script with station name

A BusStart has to be done in the script, then the name will be passed to the stack and appear in the PROFINET Master. However, the name is only given temporarily. Meaning, if the UNIGATE will be started in the config mode, the name will be taken from the file devname.txt. If a name is then set in the PROFINET Master it is effective from now on.

Series

UNIGATE CL

Can I use my configuration file of the series UNIGATE RS for UNIGATE CL as well?

We will be supplying the devices UNIGATE CL with a "UNIVERSAL" script (if it had not been handled that way so far). This script then acts as if it was a UNIGATE RS. That means that the UNIGATE CL can be parameterized via the configuration software WINGATE. An "old" UNIGATE RS configuration file is not compatible with that of the UNIGATE CL. If a UNIGATE RS is to be changed over to UNIGATE CL, then the UNIGATE CL must be read out once via WINGATE and the protocol settings have to be made. This configuration can then be stored in the usual manner and it can be used again for devices of the same type.

Note: If a "Reset Device" is carried out with a UNIGATE CL, then the "UNIVERSAL" script gets lost and it has to be loaded again.

I want to download my UNIGATE SC-PB Script into the UNIGATE CL-PB. The PROFIBUS State LED remains red and/or the serial communication does not work.

This "phenomenon" has two reasons:

  1. The UNIGATE SC-PB requires the GSD-file "DAGW2079.gsd" and the UNIGATE CL-PB requires the GSD-file "UGIC3218.gsd".
  2. The interface of the UNIGATE SC-PB is set via the switch "Interface" and at the UNIGATE CL-PB it is set in the Script.

Remedy: 1. Either the GSD-file for the UNIGATE CL-PB in the PROFIBUS Master in the hardware configuration is changed to "UGIC3218.gsd" or the Ident number has to be changed to "2079" in the Script through the command:

Set ( IdentNumber , 0x2079 ) ;  //default: 0x3218

After the Script download the UNIGATE CL-PB acts like a UNIGATE SC-PB at the PROFIBUS.

2. The interfaces of the UNIGATE CL-PB have to be defined in the Script by means of the Script command:

Set ( RS_Type , RS232 ) ; //or RS485 or RS422
How to configure the UNIGATE CL with WINGATE?

Note: This instruction refers to the configuration of UNIGATE CL in connection with the Universal Script.

The current version of the software WINGATE has to be installed on the PC in order to be able to configure the UNIGATE CL.

Subsequently the UNIGATE CL has to be connected to the PC via the application interface X1. The required wiring can be found here.


The "Universalscript Deutschmann" has to be available in the device, so that it can be configured by WINGATE. When the software WINGATE is executed and the UNIGATE is restarted then you receive the following actuation message from the UNIGATE in the lower part of WINGATE (example: V3553 UNIGATE CL-ProfibusDP):

RS-PBV1-CL (232/422/485) V7.31[30] (c)dA Switch=0x01FF Script(16k)="Universalscript Deutschmann" Author="G/S" Version="V 0.2d" Date 24.07.2008 SN: 3553xxxx ID=1 Konfigmode...

IMPORTANT: ALL following points cannot be carried out unless you receive this message (with or without "Universalscript Deutschmann")!

In case the Script is not in the device, it can be loaded into the UNIGATE with the function File -> Write Script (the Script can be found on the Support CD at: \Software\ProtocolDeveloper\Example\Universal\CL_Universal.dcs or on our website in category "Software").

Now the UNIGATE CL can be read-out through File → Upload. Both options more items visible & more items editable have to be acivated in order to be able to set all functions.

The configuration itself should be made from the top to the bottom. The desired parameters can be moved to the corresponding line with double-click.

When the configuration is completed the altered values have to written into the device with File → Download. This is confirmed by the UNIGATE with:

Download ok

Store data... ...

Restart

RS-PBV1-CL (232/422/485) V7.31[30] (c)dA Switch=0x01FF Script(16k)="Universalscript Deutschmann" Author="G/S" Version="V 0.2d" Date 24.07.2008 SN: 3553xxxx ID=1 Konfigmode...

With it the configuration is finished. Now the device has to be switched to 'voltageless' and the rotary switch at the device has to be adjusted accordingly and connected to the application. Now the device can be put into operation.

Can you deliver the Protocol Converter UNIGATE CL in a lacquered version?

The lacquering of this series does not make sense, since the mechanical oponents such as rotary coding switches, plug connectors, etc. can not be lacquered and thus a disruption would occur.

UNIGATE IC

Problem with the virtual COM-ports via USB

If the Developerboard UNIGATE IC-AB is connected via the USB-interface, then the following procedure has to be taken into account:

  1. Adjust all switches, rotary switches and jumpers in accordance to the UNIGATE IC that is to be used.
  2. Connect the Developerboard UNIGATE IC-AB through the USB-cable to the PC/laptop and supply the Developerboard UNIGATE IC-AB with voltage through the provided power supply.
  3. Put the UNIGATE IC on the socket of the Developerboard UNIGATE IC-AB and set the switch POWER to position ON afterwards. Only now the operating system of the PC recognizes the new virtual interfaces and during initial startup the drivers are installed.
  4. Execute the corresponding software application now and select the (new) interface in Options.
  5. Please push the button Reset. The device responds now (provided that the switch Mode is set to Config) with the startup message or the Script is being executed (switch Mode on Run and the software PROTOCOL DEVELOPER is not initiated) or the device starts in the DebugMode (if the switch Mode is set to Run and the software PROTOCOL DEVELOPER is being executed).

Therefore the switch POWER should not be changed any more since the virtual COM-ports will be re-initialized again with any change from ON→OFF→ON.

Is it possible to lacquer the series UNIGATE IC?

There is no reason why the series UNIGATE IC cannot be lacquered. However, the complete assembly (the whole customer's device) should be lacquered in one piece. To lacquer the UNIGATE IC first would involve a disproportionate high effort, which would lead to high costs (e. g. The software would have to be downloaded before, tapeing of the pins and so on). Therefore we are not supplying the UNIGATE IC-series in lacquered form.

UNIGATE RS

The lacquering of this series does not make sense, since the mechanical oponents such as rotary coding switches, plug connectors, etc. can not be lacquered and thus a disruption would occur. We offer die-cast aluminium housing for these applications.

PROTOCOL DEVELOPER

The PROTOCOL DEVELOPERs help window is empty. What can I do?

By default the help-file has to be existent on a local drive (e. g. C:\)

In order to be able to also access the help-file from a network drive the following lines have to be entered into Notepad and saved as "*.REG" file:REGEDIT4 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\HHRestrictions]

"MaxAllowedZone"=dword:00000001 "EnableFrameNavigationInSafeMode"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\ItssRestrictions]

"MaxAllowedZone"=dword:00000001When the file has been generated it is executed with a double click. The PC has to be restarted, so that the changes will be accepted.

For further information as well as possible risks please log on to: http://support.microsoft.com/kb/896358/de


Microsoft Windows Vista:

By default the access to "*.CHM"-files is denied. In order to make an access possible though, click with the right button on the the file properties under General on Unblock. The help file opens now.

WINGATE