WI-GTWY-9-xxx Wireless Gateway User Manual V1.18 User Manual WI-GTWY-9-xxx Wireless Gateway Weidmuller Inc., 821 Southlake Blvd., Richmond, VA 23236 Tel: (804) 794-2877 Fax: (804) 897-4136 Web: www.weidmuller.com...
Page 2
WI-GTWY-9-xxx Wireless Gateway Introduction v1.18 Thank you for your selection of the WI-GTWY-9 module. We trust it will give you many years of valuable service. ATTENTION! Incorrect termination of supply wires may cause internal damage and will void warranty. To ensure your WI-GTWY-9 enjoys a long life, double check ALL your connections with the user’s manual...
Page 3
This device must be operated as supplied by Weidmuller, Inc. Any changes or modifications made to the device without the written consent of Weidmuller, Inc. May void the user’s authority to operate the device. End user products that have this device embedded must be supplied with non-standard antenna connectors, and antennas available from vendors specified by Weidmuller, Inc..
Page 4
Weidmuller, Inc. is not liable for any consequential damages or loss of operations or profits resulting from the use of these products. Weidmuller, Inc. is not liable for damages, losses, costs, injury or harm incurred as a consequence of any representations, warranties or conditions made by Weidmuller, Inc.
Weidmuller, Inc.’s products are designed to be used in industrial environments, by experienced industrial engineering personnel with adequate knowledge of safety design considerations. Weidmuller, Inc. radio products are used on unprotected license-free radio bands with radio noise and interference. The products are designed to operate in the presence of noise and interference, however in an extreme case, radio noise and interference could cause product operation delays or operation failure.
WI-GTWY-9-xxx Wireless Gateway Introduction v1.18 How to Use This Manual To receive the maximum benefit from your WI-GTWY-9-xxx product, please read the Introduction, Installation and Operation chapters of this manual thoroughly before using the WI-GTWY-9-xxx. Chapter Four Configuration explains how to configure the modules using the Configuration Software available.
APPINGS XXX TO ODULES 4.4.1 Mappings from Inputs at Remote WI-I/O 9-x I/O Modules 4.4.2 Mappings from WI-GTWY-9-xxx to Outputs at Remote WI-I/O 9-x I/O Modules 4.4.3 Don’t Send if in Comm Fail 4.4.4 Startup Polls 4.4.5 Polls to Remote Modules...
INTRODUCTION 1.1 Overview The Wireless Gateway products provide a wireless interface between various fieldbus protocols used in process and automation applications. The WI-GTWY-9-xxx includes an integral 900MHz license-free radio transceiver, and WI-I/O 9 transfers transducer and control signals (I/O) using a highly secure and highly reliable radio protocol.
The WI-GTWY-9-MD1 has two serial connections - RS232 and RS485, on the bottom end plate of the module. The serial port provides both RS232 and RS485 hardware connections, however both connections are paralleled internally - both connections cannot be used at the same time.
WI-GTWY-9-PR2 via the fieldbus (a value read by the Profibus master). So a Profibus Slave WI-GTWY-9-PR1 could handle up to 1952 (244 x 8) discrete inputs or 244 low resolution analog inputs or 122 (244 x ½) high resolution analog inputs, or some combination in between.
8 discrete inputs or outputs, but analog or pulse I/O take up 1 byte for low resolution values (8-bit) or 2 bytes for high resolution values (16-bit). An “output” is a value coming into the WI-GTWY-9-ET1 via the fieldbus. An input is a value going out from the WI-GTWY-9-ET1 via the fieldbus.
Each register can be 16 discrete inputs or outputs, or one analog or counter 16-bit value. An “output” is a value coming into the WI-GTWY-9-M+1 via the fieldbus. An input is a value going out from the WI-GTWY-9-M+1 via the fieldbus.
1.2.1 On-board I/O The WI-GTWY-9-xxx has eight on-board discrete I/O. Each I/O point can be used as either a discrete input (voltage free contact input) or discrete output (transistor output) - an I/O point cannot be used as both input and output.
Any WI-GTWY-9-xxx or WI-I/O 9-x module can act as a radio repeater for other modules - that is, radio messages can be passed onto other modules. Up to five repeater addresses can be configured for messages transmitted to a WI-GTWY-9-xxx module.
♦ time period, configurable 1 – 4096 sec (1.1 hour), or ♦ real time clock, or ♦ on demand by the host device, by writing to a “trigger register” in the WI-GTWY-9-xxx 1.3.2 WI-GTWY-9-xxx to WI-GTWY-9-xxx Network Different types of WI-GTWY-9-xxx modules can communicate - for example, a Modbus WI- GTWY-9-xxx can communicate with an Ethernet WI-GTWY-9-xxx.
Page 17
WI-GTWY-9-xxx “sees” a large number of changes in its database at the one time. For example, if a host writes a block of 100 signal values to a WI-GTWY-9-xxx, and 20 of these values have changed since the last write-operation. If the block is mapped to another WI- GTWY-9-xxx, then the WI-GTWY-9-xxx can transmit all 20 values in one radio message, instead of 20 messages.
1.3.4 WI-GTWY-9-xxx Repeaters Any WI-I/O 9-x module can repeat a normal radio message, however only WI-GTWY-9-xxx modules can repeat a block message. WI-GTWY-9-xxx units connected to a host device can also act as a repeater for other modules. Where a WI-GTWY-9-xxx is being used without a host device as a repeater or data-concentrator, it can be configured as “Repeater-only”.
For the host device, the WI-GTWY-9-xxx provides an "Active" signal on the RS232 port (DCD pin 1). Its purpose is to indicate to the host that the WI-GTWY-9-xxx is now processing output messages for the remote modules. When the WI-GTWY-9-xxx powers down (or should an internal fault occur), the "Active"...
Page 20
WI-GTWY-9-xxx will convert the 16 bit value into a binary (1 bit) value before it responds. The WI-GTWY-9-xxx is able to scale the I/O value between the I/O database and the host device - this is a user-configurable function.
Page 21
WI-GTWY-9-xxx Wireless Gateway V1.18 again when the WI-GTWY-9-xxx receives a message from the remote module. The default configuration is that output updates ARE sent during comms fail conditions.
Whenever an output register is set “on”, the corresponding input register is automatically set “off”. For example, if register 4321 is set to “1”, the WI-GTWY-9-xxx will also set 4301 to “0”. This means that if both the input and output registers corresponding to the same I/O point are used in the configuration, then the output register has priority.
Page 23
WI-GTWY-9-xxx Wireless Gateway V1.18 The WI-GTWY-9-xxx also monitors its battery voltage and supply voltage. These are stored in registers 4310 and 4311 respectively, as 16 bit values, scaled so that a value of 16384 decimal (hex 4000) corresponds to 8 V, and a value of 49152 (hex C000) corresponds to 40V.
8 discrete (binary) values, or two bytes can be used for a 16-bit analogue or pulse register. So the interface is limited to 4300 discrete inputs (the limit of the WI-GTWY-9- xxx database) or 1024 analogue inputs (the limit of the HMS interface) or a combination. The same applies for outputs.
4425. The WI-GTWY-9-xxx will not know what the radio strength of the message from #24 to #25 is. If #25 is another WI-GTWY-9-xxx, then it can record this RSSI and this register could be mapped to an I/O register in the first WI-GTWY-9-xxx.
The communications failure status is bit 15 of the status register for each I/O point. If the host device reads a register as a digital or binary value, then the WI-GTWY-9-xxx returns bit 15 of the register (0 or 1) - this is the comms fail bit of a status register.
They will start again when an input message from this module is received. If the WI-GTWY-9-xxx determines that a output message should be sent to an output which is disabled because of this feature, then the output message will not be sent and the comms fail status of that output is set ("on"...
Page 28
WI-GTWY-9-xxx Wireless Gateway V1.18 ensure this does not occur. An additional security level using data encryption can also be selected. 3. Malicious operation, or “hacking” This is the problem most associated with security concerns - the ability for someone to access information from a radio system by “listening-in”, or to cause damage by transmitting...
Terminals will accept wires up to 12 gauge (2.5 sqmm) in size. All connections to the module must be low voltage (SELV). Normal 110-240V mains supply should not be connected to any terminal of the WI-GTWY-9-xxx module. Refer to Section 3.3 Power Supply.
Page 30
RF power to be used. Where it is not possible to achieve reliable communications between two modules, then another WI-I/O 9-x or WI-GTWY-9-xxx module may be used to receive the message and re-transmit it. This module is referred to as a repeater.
V1.18 For information on antennas and cables for the WI-GTWY-1 licensed products, please refer to Weidmuller, Inc. or an authorized distributor. Connections between the antenna and coaxial cable should be carefully taped to prevent ingress of moisture. Moisture ingress in the coaxial cable is a common cause for problems with radio systems, as it greatly increases the radio losses.
3.3 Power Supply The WI-GTWY-9-xxx power supply is a switch-mode design which will accept either AC or DC supply. The module includes an integral battery charger for a backup battery.
WI-GTWY-9-xxx Wireless Gateway V1.18 12 – 24 volts AC RMS or 9 – 30 volts DC at the “supply” terminals, or 10.8 –15 volts DC at the “battery” terminals. The power supply should be rated at 1.5 Amps and be CSA Certified Class 2. For use in Class 1 Div 2 explosive areas (USA/Canada), the power supply must be approved for Class 1 Div 2 use.
• Supply voltage (I/O Reg 4311) - 8 – 40VDC corresponds to hex 4000 – hex C000. 3.3.3 Solar Supply A WI-GTWY-9-xxx can be powered from a solar supply using an external regulator. If a 12V solar supply is used, the 12V battery can be connected to the battery supply connections of the WI-GTWY-9-xxx and the WI-GTWY-9-xxx will monitor for low battery status and also battery voltage.
3.4.1 Digital Inputs / Outputs All eight of the WI-GTWY-9-xxx DIO terminals may be used as discrete inputs. These inputs are suitable for voltage free contacts (such as mechanical switches) or NPN transistor devices (such as electronic proximity switches). PNP transistor devices are not suitable. Contact wetting current of approximately 5mA is provided to maintain reliable operation of driving relays.
WI-GTWY-9-xxx Wireless Gateway V1.18 3.5 Serial Port 3.5.1 RS232 Serial Port The serial port is a 9 pin DB9 female and provides for connection to a terminal or to a PC for configuration, field testing and for factory testing. It is also used by the Modbus/DF1 version for fieldbus connection.
RS485 should not be used with the DF1 unit. The RS485 port provides for communication between the WI-GTWY-9-xxx unit and its host device using a multi-drop cable. Up to 32 devices may be connected in each multi-drop network. Note that the RS485 port is shared internally with the RS232 port - make sure that the RS232 port is disconnected before using the RS485 port.
10 and added to the value on the right switch to give the node address. Where the WI-GTWY-9-xxx module is mounted at the end of the RS485 link, the RS485 link should be terminated by switching the termination switch “on” (down in the above diagram).
RS485 (Negative) Not connected 3.7 Ethernet Port For WI-GTWY-9-ET1 modules only. The Ethernet connection uses a standard RJ45 connector on the top end-plate of the module. The selector switches should all be “off” (in the diagram below, “off” is up).
WI-GTWY-9-xxx Wireless Gateway V1.18 3.8 Modbus Plus Port For WI-GTWY-9-M+1 modules only. Connection to the Modbus Plus Network is via the 9-pin D-SUB connector located at the antenna end of the module. Pin-outs are outlined in the table below. D9 MODBUS...
WI-GTWY-9-xxx Wireless Gateway V1.18 3.9 DeviceNet Port For WI-GTWY-9-DE1 modules only. Connection to the DeviceNet Network is via the 5-pin plugable screw terminal connector located at the antenna end of the module. Pin-outs are specified below. DEVICENET SELECTOR DIAGNOSTIC CONNECTION SWITCHES LED’s...
Each module in the project is configured with a unit address. Each module must have a unique unit address within the one system. A valid unit address for a WI-GTWY-9-xxx is 1 to 95. A network may have up to 95 addresses communicating directly via radio (unit addresses 1 to 95).
WI-GTWY-9-xxx Wireless Gateway V1.18 All of these steps must be performed to configure the WI-GTWY-9-xxx module. 4.2 Configuration Program The configuration software is available on a CD, and needs to be installed on your PC before you can use it. The CD contains a setup file called setup.exe. Select the configuration software window on the Product CD and an installation Wizard will guide you through the installation procedure.
WI-GTWY-9-xxx Wireless Gateway V1.18 4.2.1 Program Operation Start the software by either clicking on the start bar and navigating to the Configuration menu or by running WI SERIES.EXE in the directory selected in the setup stage. The Initial screen will appear.
Page 45
Select the type of module from the list. For WI-GTWY- xxx modules, you will be asked to select the bus protocol. This must match the WI-GTWY-9-xxx module type you have installed. You have the option of selecting a unit address for the module, or allowing the program to select one automatically.
Page 46
The default name for a unit will include the unit address. For example, “WI-GTWY#10” is a WI-GTWY-9-xxx module with unit address 10. You can change the name of a unit - for example, you could replace the default name with “Pump Station 14”.
WI-GTWY-9-xxx Wireless Gateway V1.18 Deleting a Unit A module can be deleted from the configuration by highlighting the unit and selecting “Delete Unit”. 4.2.2 Security There are two security features available. You can enter a password to protect the configuration files, and you can enable security encryption of the radio transmissions.
Page 48
WI-GTWY-9-xxx Wireless Gateway V1.18 • If you do not enable security, there will be no data encryption of the radio messages. This is the default setting. • If a security key has been entered, this key is downloaded into each module as part of the configuration download process.
Ethernet Debug” on the Ethernet configuration display - see section 4.8. 4.3 Uploading and Downloading To upload or download a configuration file, the WI-GTWY-9-xxx must be connected to the PC via a RS232 cable. For Modbus/DF1 units, the host device must be disconnected, even if it is connected to the RS485 port.
V1.18 4.3.1 Loading from a WI-GTWY-9-xxx If you load a configuration from a WI-GTWY-9-xxx into a “blank” or new project, then the program will not be able to display the mappings from remote modules (as the program does not know what the remote modules are). You will get a warning message like this:...
Refer to the WI-I/O 9-x I/O User Manual. When mapping inputs to a WI-GTWY-9-xxx, you will be asked to select an I/O Register. Select the “…” box beside the “At I/O Register” heading - this will allow you to select the I/O register between 0 and 4299.
To set the comms fail times, select the WI-GTWY-9-xxx, and select the “Comms Fail Time” option. Each remote input already mapped to the WI-GTWY-9-xxx will automatically be listed, including the remote module containing the mapping.
Page 53
WI-GTWY-9-xxx Wireless Gateway V1.18 Change Sensitivities Radio messages to remote modules can be change messages (when the value of the I/O register changes) or update messages (when the update time has elapsed). If a change message is sent, the update period restarts.
You can configure a special “Don’t Send if in Comms Fail” mapping. If this is configured for a particular remote module, the WI-GTWY-9-xxx will not transmit output messages to this remote address, if there is a communications failure status on any input or output configured for the same remote address.
This allows the WI-GTWY-9-xxx to have correct values on start-up. 4.4.5 Polls to Remote Modules It is possible for a WI-GTWY-9-xxx to send a poll to a remote module at other times apart from start-up. A poll can be sent under the following events: •...
Page 56
The mappings can be “read” or “write” mappings. A Read mapping is a request sent to another WI-GTWY-9-xxx to return a block of values. A Write mapping is a message sending a block of values to another WI-GTWY-9-xxx. A Read mapping from WI-GTWY-9-xxx#2 to WI-GTWY-...
Page 57
WI-GTWY-9-xxx. In the above example, the destination block will be I/O registers 32 – 46 (15 registers starting at register 32). So, in the above example, a block of 15 x 16-bit values will be written from I/O Reg 110 – 124 in WI-GTWY-9-xxx#1 to I/O Reg 32 – 46 in WI-GTWY-9- xxx#2.
A block mapping can be “triggered” or initiated by several different methods. • By the host device writing to a “trigger register” in the source WI-GTWY-9-xxx - the block mapping message is sent each time the host device writes to the trigger register.
WI-GTWY-9-xxx Wireless Gateway V1.18 Each block mapping that is configured is allocated a status register in the range 9500 – 9999 (i.e. one status register for a maximum of 500 possible block mappings). The status register for a given block mapping is shown on the right hand side of the Block Mapping display (under the heading “Status Lcn”).
The reason for the offset is to stagger messages with the same time setting. For example, if you configure 5 block mappings all to be sent at 10 minutes, then the WI-GTWY-9-xxx will try to send these messages at the same time - some of the messages will have to wait until the earlier messages have been sent.
Page 61
V1.18 Setting the Clock The clock within the WI-GTWY-9-xxx can be set by the host device, and read by the host device. The WI-GTWY-9-xxx provides four clock registers for days/hours/minutes/seconds - the registers are 4330 – 4333. On power-up, these registers are set to zero. Reg 4333 increments each second, Reg 4332 increments each minute, Reg 4331 each hour and Reg 4330 each day.
4.5.6 Block Read Mappings A Read mapping is a request sent to another WI-GTWY-9 to return a block of values. Like the Block Write mapping it can be triggered by a Real Time clock, Time period or by Host trigger...
WI-GTWY-9#1 will send a block mapping request to WI-GTWY-9#2 who will then send a block mapping from its I/O registers 52 for a count of 10 to WI-GTWY-9#2 I/O registers 52 – 61. This Block read will be performed using the real time clock at 10-minute intervals. A response timeout of 5 seconds is used to indicate that if the Block read values have not been received in 5 seconds then the Comms Fail bit for this block read mapping will be set.
- this can be monitored by the host device. 4.5.10 “Repeater-only” Configuration Any WI-GTWY-9-xxx module can act as a repeater unit. However a WI-GTWY-9-xxx may need to be installed as a repeater only (that is, there is no host device connected). In this case, the base WI-GTWY-9-xxx, the WI-GTWY-9-xxx-MD1 unit would normally be used as this is the lowest cost of the WI-GTWY-9-xxx modules.
WI-GTWY-9-xxx Wireless Gateway V1.18 4.6 Change Sensitivity & I/O Value Scaling 4.6.1 Change Sensitivity “Change” messages for both individual I/O mappings and block mappings use a sensitivity value to trigger the message. Sensitivities are configured for blocks of I/O registers - that is, each I/O register does not have a unique sensitivity.
A sensitivity value of 1 in 65535 is a change of 0.0015%. If the host device writes an analogue value to a WI-GTWY-9-xxx every 100msec, it will change by at least 1 bit each time. A small sensitivity value will cause a change message to be sent every 100msec. If there are many analogue values in the same situation, then there would be many change messages every 100msec.
Page 67
WI-GTWY-9-xxx Wireless Gateway V1.18 Scaling is configured in the “Sensitivities” section of the configuration software. If you select a new sensitivity/scaling block, you can select/deselect sensitivity or scaling or both. There is no relationship between sensitivity and scaling - we use the same configuration area as it is convenient because both features use blocks of I/O registers.
Page 68
WI-GTWY-9-xxx Wireless Gateway V1.18 The second example shows another I/O block (registers 81 to 1080) that has been selected for scaling only - the sensitivity function has been disabled (these registers will use the default sensitivity of 2000 configured on the main Sensitivity configuration screen).
WI-GTWY-9 uses. The option of Reset Buffer on Empty will allow for the WI-GTWY-9 to be fully reset to clear its buffers. By default this is disabled and can be used in applications of when a Gateway is used as...
Modbus or DF1 protocol. 4.7.1 MODBUS Slave If you use the WI-GTWY-9-xxx Modbus Slave interface, then the host device will be a Modbus Master device. The only configuration required for the Modbus slave interface is selecting the Modbus address and serial port parameters. This is done in the “Serial Settings” screen. A valid Modbus slave address is 1 to 255.
Page 71
WI-GTWY-9-xxx Wireless Gateway V1.18 The value of a discrete (digital) I/O point is stored in the WI-GTWY-9-xxx database as a hexadecimal ' 0000' (“off”) or hex ' FFFF' (“on”). However the WI-GTWY-9-xxx will respond with either a ‘0’ (“off”) or ‘1’ (“on”) to a digital read command from the Modbus master - these are commands 01 and 02.
Unable to process message 4.7.2 MODBUS Master If you use the WI-GTWY-9-xxx as a Modbus Master, then the host device/s will be Modbus Slave device/s. If the RS485 port is used, then multiple Modbus Slave devices can be connected to the WI-GTWY-9-xxx.
Page 73
WI-GTWY-9-xxx Wireless Gateway V1.18 not respond to the command, then the WI-GTWY-9-xxx will write a ‘FFFF’ value to one of its own registers, configured under “CF Register” - in this case it is register 4800. The “Command Type” selected is a write command (you can select read or write) - which means that the values are sent from the WI-GTWY-9-xxx to the Modbus Slave.
Page 74
I/O points between the WI-GTWY-9-xxx and the Modbus Slave devices. Digital I/O The value of a digital I/O point is stored in the WI-GTWY-9-xxx database as a hexadecimal ' 0000' (“off”) or hex ' FFFF' (“on”). However the WI-GTWY-9-xxx will generate either a ‘0’ (“off”) or ‘1’...
The WI-GTWY-9-xxx will poll each Modbus slave in order. If there is no delay time entered, the WI-GTWY-9-xxx will poll as quickly as it is able to. If there is a delay time entered, then this delay time will occur between each poll message.
Page 76
The SLC and Micrologic PLC’s read/write two types of registers. An “Integer” has a signed 16 bit value (-32768 to 32767). A “Long Integer” has a 32 bit value. The WI-GTWY-9-xxx registers contain an unsigned 16 bit value (0 to 65535). We recommend that you use Long Integer read/write commands - the upper 16 bits of the 32 bit value will be ignored.
Page 77
WI-I/O 9-x module. The DF1 commands are configured in the “Serial Mapping” screen. The serial port should be configured in the same way as the host device. If the WI-GTWY-9-xxx acts only as a command responder, no further configuration is required.
Page 78
V1.18 Discrete I/O The value of a digital I/O point is stored in the WI-GTWY-9-xxx database as a hexadecimal ' 0000' (“off”) or hex ' FFFF' (“on”). However the WI-GTWY-9-xxx will generate either a ‘0’ (“off”) or ‘1’ (“on”) to a binary file when initiating a “Typed Logical Write” command or responding to a “Typed Logical Read”...
Page 79
Micrologic). These address data by file number and file offset. To address an I/O register, L, in the WI-GTWY-9-xxx, use DF1 file number L / 100, with the remainder value (L % 100) as the DF1 file offset. For example, to read I/O register 2643 in the WI-GTWY-9-xxx, read from file...
8-bit value (a single fieldbus location) or as a high resolution 16-bit value (two consecutive fieldbus locations). To optimize I/O usage, the WI-GTWY-9-xxx provides a flexible method of data transfer between the Radio Interface and the Fieldbus Interface. The user configures links between the Radio Interface and Fieldbus Interface via Fieldbus Mappings in the WI Series Configuration Software.
Radio Interface. If you want to send a value from the WI-GTWY-9-xxx to the host device, use a Fieldbus Write Mapping. The input data from the Radio Interface (i.e. input data that has either come in from the radio or from local I/O) will be transferred to the IN Area via the fieldbus write mapping.
Page 82
The six possible types of Fieldbus Mapping are outlined in the table below. Fieldbus Mapping Types Transfer Mode Read Mapping Write Mapping Single Bit The WI-GTWY-9-xxx reads a block The WI-GTWY-9-xxx takes the of consecutive bits from Fieldbus MSB (most significant bit) of a OUT Area and stores each bit in...
Page 83
WI-GTWY-9-xxx Wireless Gateway V1.18 transfer of digital I/O in cases where it is not desirable (or possible) to use a whole 16-bit register just to store a 0 or 1 value. 4.9.3 Endianess Endianness is the convention that two parties that wish to exchange information will use to send and receive this information if the information needs to be broken into smaller packets, i.e.
Page 84
• All IN/OUT Area locations accessed by the fieldbus must be part of a fieldbus mapping in the WI-GTWY-9-xxx - that is, if a host device is writing to bytes 0 – 100 in the OUT Area, there must be at least one fieldbus read mapping that uses these locations - if not, the Fieldbus Interface will generate an error response message.
Page 85
WI-GTWY-9-xxx Wireless Gateway V1.18 Three Fieldbus Mappings are illustrated in the example above. Note that “Word Address Mode” is selected, meaning that the Fieldbus Interface IN and OUT Areas will be treated as word- addressed arrays by configuration software. The parameters for each fieldbus mapping were setup using the mapping configuration screen as described above.
Page 86
WI-GTWY-9-xxx Wireless Gateway V1.18 BIT transfer, that each individual bit in the Fieldbus Interface is transferred to an entire 16-bit I/O Register. Note also that there is a word-location 1 for both the Fieldbus OUT and IN areas. The third mapping is another “Read BIT” mapping, reading 8 bits from Fieldbus OUT Area word-location 1 to I/O Registers 4320 –...
4.10 Fieldbus Configuration - Profibus Slave The Profibus WI-GTWY-9-xxx-PR1 acts as a Profibus DP Slave - the host device is a Profibus Master. If you use the WI-GTWY-9-xxx with a PLC, the PLC configuration tool will require a GSD file so it can recognize the Profibus interface in the WI-GTWY-9-xxx.
V1.18 4.11 Fieldbus Configuration - Profibus Master The WI-GTWY-9-xxx-PR2 implements a complete Profibus-DPV0/DPV1 master. The hardware is optimized for high throughput and can be used in mono or multi master networks up to 12 Mbit/s. Up to 125 slaves with a total max of 2048 byte input and 2048 byte output data can be connected.
Page 89
WI-GTWY-9-xxx Wireless Gateway V1.18 the fieldbus interface for I/O on the Profibus network. I/O in the fieldbus interface must be linked with I/O in the radio interface via appropriate fieldbus mappings (see 4.8 Fieldbus Configuration above) for I/O transfer with the radio network.
Page 90
WI-GTWY-9-xxx Wireless Gateway V1.18 configuration list). The above example shows a slave device being added to the network at node address 7. Slave Address To change the node address of a slave already configured on the network, locate the slave in the network listview and drag it to the position in the list corresponding to the desired address.
Page 91
WI-GTWY-9-xxx Wireless Gateway V1.18 Group Assignment If the slave supports sync/freeze functionality, it can be assigned to the masters sync/freeze groups by clicking on the checkboxes. The sync/freeze assignment of the groups is also displayed (these can be changed via the master properties dialog).
Page 92
The start address in the fieldbus interface for the inputs or outputs can be altered in the corresponding Start field as shown above. Since the WI-GTWY-9-xxx provides for up to 2048 bytes of inputs and 2048 bytes of outputs, the possible range for inputs or outputs is 0 – 2047.
Page 93
WI-GTWY-9-xxx Wireless Gateway V1.18 I/O modules may also have associated user parameter data defined by the corresponding GSD file. The meaning of these parameters (if applicable) is specific to the slave implementation, and may be altered via the Parameter Assignment tab of the Module Properties form.
Page 94
WI-GTWY-9-xxx Wireless Gateway V1.18 network. The User Defined profile allows the bus parameters to be manually configured for special network configurations and should only be used if the user is familiar with the individual Profibus parameters (see Bus Parameters Tab below).
WI-GTWY-9-xxx Wireless Gateway V1.18 Tqui The quiet time is the time a modulator needs after recognizing a send frame to switch from send to receive. 0 t_bit <= Tqui <= MIN(31 t_bit, Min. Tsdr - 1) Gap Factor The Gap Factor determines how many token rounds occur before a new active node (master) can be added to the token ring.
Trdy = Min. Tsdr 4.11.4 Configuration Example The Following example describes a simple configuration of a WI-GTWY-9-xxx connected to a simple Profibus Slave I/O device. Described is the configuration of the local WI-GTWY-9-xxx Profibus master only, for more detailed configuration examples, an application note can be downloaded from www.weidmuller.com.
Page 97
WI-GTWY-9-xxx Wireless Gateway V1.18 Profibus Network Configuration Once the GSD file for the Profibus slave has been installed, the slave device can be added to the Profibus network (see Configuration section above). For this example, the slave is a modular device, therefore we add the necessary I/O modules to the slave.
WI-GTWY-9-xxx Wireless Gateway V1.18 1) Radio Configuration To complete the configuration, the I/O that has now been transferred to the radio interface must be mapped over the radio network. The analog input from the slave is mapped to an analog...
Page 100
The message interface is by default disabled, but will become enabled by also enabling a “Status Location” via the fieldbus configuration tab in configuration software. The message interface is used to instruct the WI-GTWY-9-xxx to perform a specific task, to request data, to indicate certain events (alarms), or to respond to requests. The message interface can be controlled via a host or other smart device by constructing the appropriate message in the Message Interface Area of the WI-GTWY-9-xxx I/O Registers (radio interface).
Page 101
WI-GTWY-9-xxx Wireless Gateway V1.18 Offset: Register: Message ID Message Information Command Number Data Size Extended Word 1 Extended Word 2 Extended Word 3 Extended Word 4 Extended Word 5 Extended Word 6 Extended Word 7 Extended Word 8 Message Data...
Page 102
WI-GTWY-9-xxx Wireless Gateway V1.18 Bit/Field Description Contents This bit indicates if the received message 0: Message OK contains any errors 1: Error This bit indicates if the message is a 0: Response Message command or a response 1: Command Message...
Page 103
WI-GTWY-9-xxx Wireless Gateway V1.18 I/O Register Purpose 4550 - 4689 Message IN Area (i.e. Messages to send to Profibus Interface) 4700 - 4839 Message OUT Area (i.e. Messages from Profibus Interface) 4850 - 4899 Spontaneous Message OUT Area (i.e. Alarm Messages from Profibus) 4900 –...
Page 104
WI-GTWY-9-xxx Wireless Gateway V1.18 Command and response layout Command Response Message ID (ID) (ID) Message Information 4002h 0002h Command Number 0003h 0003h Data Size 0000h 0000h Slave Extended Word 1 Group Select Slave Address Group Select Address Control Control Extended Word 2...
Page 105
WI-GTWY-9-xxx Wireless Gateway V1.18 • Control Command This parameter specifies the command to send. Explanation 0 (LSB) Reserved (set to zero) Reserved (set to zero) Unfreeze input data Freeze input data Unsynchronize output data Synchronize output data Reserved (set to zero)
Page 106
WI-GTWY-9-xxx Wireless Gateway V1.18 Get Slave Diagnostics GET_SLAVE_DIAG: Command Number = 0004h This command reads diagnostic data from a specified slave. Note: The response data size depends on the actual slave implementation. Range 6 -244. Command and response layout: Command...
Page 107
WI-GTWY-9-xxx Wireless Gateway V1.18 • Master Address Address of the master that parameterized the slave • Ident Number Unique ID assigned by the Profibus User Organization • Extended Diagnostic Data Slave user specific diagnostic data. Consult the documentation for the actual slave for further information.
Page 108
WI-GTWY-9-xxx Wireless Gateway V1.18 Set Slave Address SET_SLAVE_ADDRESS: Command Number = 0006h This command makes it possible to set the node address of a specified slave, provided that the slave supports this feature. Note: The message data size depends on the actual slave implementation; range 0 -240 bytes.
Page 109
WI-GTWY-9-xxx Wireless Gateway V1.18 00h: Change of address is still possible at a later stage 01h-FFh: Change of address only possible after the initial address (i.e. default address = 126) • Error Code [1 ...4 ] If ‘Return Code ’ equals 8030h (‘Negative indication from lower layer ’), status values according to the DP-specification are available in ‘Error Code 1 ’.
Page 110
WI-GTWY-9-xxx Wireless Gateway V1.18 Get Live List GET_LIVE_LIST: Command Number = 0018h This command returns 127 bytes of information about the nodes on the network. Every byte stands for one bus subscriber, and the position of the byte in the response data assigns the address...
Page 111
WI-GTWY-9-xxx Wireless Gateway V1.18 DPV1 Acyclic Read MSAC1_READ: Command Number = 0020h This command initiates a DPV1 Class 1 acyclic read request. Consult EN50170 (DPV1) for more information. Command and response layout: Command Response Message ID (ID) (ID) Message Information...
Page 112
WI-GTWY-9-xxx Wireless Gateway V1.18 • Data [1 ...n] Returned data • Return Code See "Return Codes" in section “DP Error Codes ” below. • Fault Information If ‘Invalid Other ’is returned in the Message Information word in the header of the response, information about the fault can be found here.
Page 113
WI-GTWY-9-xxx Wireless Gateway V1.18 DPV1 Acyclic Write MSAC1_WRITE: Command Number = 0021h This command initiates a DPV1 Class 1 acyclic write request. Consult EN50170 (DPV1) for more information. Command and response layout: Command Response Message ID (ID) (ID) Message Information...
Page 114
WI-GTWY-9-xxx Wireless Gateway V1.18 • Data [ 1 ...n ] Data that should be written. • Fault Information If ‘Invalid Other ’is returned in the Message Information word in the header of the response, information about the fault can be found here.
Page 115
This message indicates that a DPV1 slave has transferred an Alarm message to the master. This message is sent spontaneously by the WI-GTWY-9-xxx, i.e. the module itself initiates the message instruction in the “Spontaneous Message OUT Area” (see “Message Interface Addressing”...
Page 116
WI-GTWY-9-xxx Wireless Gateway V1.18 Range 0 -254 • Seq Number Unique identification number of the alarm. Range 0 -31 • Alarm Spec Ack Gives additional information about the Alarm, such as an error appears, or disappears. It also indicates whether the slave needs additional acknowledge from the Master (Example: Writing to a certain memory area with an Acyclic Write request).
Page 117
WI-GTWY-9-xxx Wireless Gateway V1.18 Alarm Confirmation FB_ABM_MSAL1_ALARM_CON: Command Number = 0023h This message indicates that a slave has confirmed a previous MSAC1_Alarm_Ack, see “Alarm Indication (MSAL1_ALARM_IND)” above. This message is sent spontaneously by the WI- GTWY-9-xxx, i.e. the module itself initiates the message instruction in the “Spontaneous Message OUT Area”...
Page 118
WI-GTWY-9-xxx Wireless Gateway V1.18 • Alarm Spec Ack Gives additional information about the Alarm, such as an error appears, or disappears. It also indicates whether the slave needs additional acknowledge from the Master (Example:Writing to a certain memory area with an Acyclic Write request) Range 0 -7 •...
WI-GTWY-9-xxx Wireless Gateway V1.18 4.11.6 DP Return Codes Possible DP error codes in Message Data word ‘Return Code ’ Return Name Meaning Code 8010h DPMC_ERR_V1C_CLOSED Internal DPMC instance no longer exists. 8011h DPMC_ERR_V1C_STOPPED Internal DPMC instance already stopped 8012h DPMC_ERR_V1C_STARTED...
Page 120
WI-GTWY-9-xxx Wireless Gateway V1.18 Error Codes If return code indicates ‘DPMC_ERR_V1C_REQ_NEG ’, the status values according to the DP- standard may be available in ‘Error Code 1 ’ (See below). Consult the Profibus DP specification for information on how to interpret these status values.
Page 121
WI-GTWY-9-xxx Wireless Gateway V1.18 DPV1 Return Codes Possible DPV1 related Error Codes in Message Data word ‘Return Code’ Return Name Meaning Code 0003h DPMC_ERR_M_MEM_ALLOC Internal memory allocation error 0004h DPMC_ERR_M_L2_REQ Unknown opcode in the confirmation 0005h DPMC_ERR_M_INVALID_PAR Invalid parameter in user request...
WI-GTWY-9-xxx. • Email Client (SMTP). Predefined messages stored within the file system can be sent, triggered by a specified I/O value in the WI-GTWY-9-xxx. It is also possible to include I/O values in emails, using SSI functionality. • IP Access Control. It is possible to configure which IP addresses and what protocols that are allowed to connect to the module.
Page 123
WI-GTWY-9-xxx Wireless Gateway V1.18 255) separated by periods, where each integer represents the binary value of one byte in the IP address. This is called dotted-decimal notation. Example: 169.254.100.175 Subnet Mask An IP Address is divided into two main parts subnet ID and host ID. All devices on the same local network must have the same subnet ID, but a unique host ID.
Enable Ethernet Debug Select this box if you wish to enable Ethernet Diagnostics on the WI-GTWY-9-xxx via configuration software (see section 6.3 for details). For security reasons, disabling this option will disallow all Ethernet diagnostics functions accessible to configuration software, and can only be reactivated via serial port configuration.
Page 125
“Modbus/TCP” checkbox is checked. If Ethernet/IP is also enabled, the “Disable I/O Instance” option must be selected for each fieldbus mapping to which Modbus/TCP Addressing is to apply. IN Area Modbus TCP Addresses (WI-GTWY-9-xxx Write Locations 0 – 1023*) Modbus Modbus Bit Address...
Page 126
Appropriate Modbus prefixes may need to be added to the Modbus Address depending on the host device. For example, a “word write” fieldbus mapping in the WI-GTWY-9-xxx to Modbus location 10, can be read by a host device as 30010 (30000 for an input register + 10 as the address).
The rest of this section assumes the reader is familiar with Ethernet/IP. If you use the WI-GTWY-9-xxx with a PLC, the PLC configuration tool will require an EDS file so it can recognize the Ethernet/IP interface in the WI-GTWY-9-xxx. The file is available on the same CD as the configuration software, or on the Weidmuller, Inc.
Page 128
WI-GTWY-9-xxx Wireless Gateway V1.18 WI-GTWY-9-ETH1 #5 the required I/O registers to the Fieldbus Interface, as described above in the Profibus and Modbus/TCP sections. An “I/O Instance” for each fieldbus link must also be specified so that the configured I/O data is made available to one of the six possible Ethernet connections.
Page 129
WI-GTWY-9-xxx Wireless Gateway V1.18 Assembly Object, Class 04h The Assembly Object binds all mapped I/O data. This data is used for I/O connections. This object is set-up dynamically via fieldbus mappings through configuration software. Class Attributes: Def, Name Service Description...
Page 130
WI-GTWY-9-xxx Wireless Gateway V1.18 I/O Data Input Mapping Object, Class A0h This object is setup dynamically via fieldbus read mappings through configuration software. This data is also available as vendor specific Instance Attributes (64h to 69h) in the Assembly Object.
On a DeviceNet network, each node must be assigned its own unique Mac ID (Node Address). The Mac ID is a value between 0 and 63 used to identify each node. On the WI-GTWY-9-xxx DeviceNet module, the Mac ID and Baud rate settings can be set either using a physical DIP- switch or via the Configuration Software (Fieldbus Configuration page).
• Bit-strobed I/O • Change-of-state / Cyclic I/O The WI-GTWY-9-xxx DeviceNet supports up to 512 bytes of input and 512 bytes of output data via the DeviceNet interface. I/O Data exchange with a DeviceNet Scanner can be performed using any of the above connection types. DeviceNet Scanner configuration towards the WI- GTWY-9-xxx is possible via an EDS file.
Consequently, the WI-GTWY-9-xxx Modbus Plus module supports up to 32 words of Global Outputs (i.e. Data To Network) and up to 32 words of Global Inputs (i.e. Data From Network).
(0x03) Illegal data value in the information field for the addressed slave The WI-GTWY-9-xxx Modbus Plus supports up to 1024 words of output data and 1024 words of input data. Converting this to 40000 registers, the possible output registers (Data To Network) range is 40001 –...
Global Data Input registers 41025 – 41056. Finally, it must be taken into consideration that the WI-GTWY-9-xxx Modbus Plus module dynamically adjusts the 4X register range available to the network depending on the fieldbus mappings configured.
Page 136
WI-GTWY-9-xxx Wireless Gateway V1.18 Serial expansion modules can be connected to the RS485 port of all WI-GTWY-9 units except for the WI-GTWY-9-MD1 unit. If Serial Expansion modules are required to connect to an MD1 then it it can only be done under the following circumstances.
WI-GTWY-9-xxx Wireless Gateway V1.18 4.16 Access to Message Buffer Count The number of messages in buffers is stored in I/O registers for access from the data bus. This provides a powerful diagnostics feature for troubleshooting busy systems. The number of “free”...
The Ethernet and Profibus modules also have four diagnostic LED’s on the end-plate - refer section 6.4. 6.2 Diagnostics Menu The WI-GTWY-9-xxx provides both offline and online diagnostic features to assist with troubleshooting. The offline diagnostics disable both the radio and fieldbus interface drivers, and...
Page 142
PC using the RS232 configuration cable, and that the corresponding com port is selected. To access the terminal, select the WI-GTWY-9-xxx and press “Diagnostics”. Press the “terminal” button in the diagnostics window to open the terminal. 6.2.1 Offline Diagnostics: The offline diagnostics menu disables the radio protocol driver and the fieldbus protocol driver.
Page 143
-100 and -130 dBm. At the other site, the transmitter may be turned on (select “e” at the other WI-GTWY-9-xxx, or “Tone Reversals” if the other module is a WI-I/O 9-x). The display will now show the received radio signal from the other transmitter.
Page 144
Initialize and Enter Debug Menu This option will put the WI-GTWY-9-xxx in online debug mode. In online mode, the module will initialize the radio driver and go online to the radio network. Where possible, the fieldbus driver will also be initialized (i.e. for Ethernet, Profibus, Modbus Plus, and DeviceNet) – for Modbus, DF1, and Serial Driver the fieldbus driver will be disabled so that the serial port can be used for diagnostics.
Page 145
WI-GTWY-9-xxx Wireless Gateway V1.18 • For Ethernet, Profibus, Modbus Plus, or DeviceNet protocol drivers, simply press "Enter" to display the menu. If the module was previously in configuration mode or the offline menu, then first reset power to the module.
Page 146
Note that I/O Image locations are specified in decimal, whereas register values are displayed and specified in hexadecimal. If you want the WI-GTWY-9-xxx to stop the host device writing values to the I/O database at the same time, then select option i) Disable Fieldbus Write Area.
Page 147
To stop the decoding of “comms logging”, select the “Stop Comms” button. You should then also stop the WI-GTWY-9-xxx from outputting radio comms by pulling up the terminal menu (i.e. press “terminal” and then hit enter in the terminal screen) and selecting “d) Disable Comms Logging”.
WI-GTWY-9-xxx Wireless Gateway V1.18 address these messages will not be displayed if you choose this option. This option is useful where there is more than one system in the same area so that only the radio messages relevant to the desired system will be displayed.
Page 149
Ethernet port. This allows radio traffic to be monitored from any location where an Ethernet connection to the WI-GTWY-9-xxx can be established. Simply select ‘Monitor Comms’ from the Network Debug Options section of the Ethernet Settings page. Functionality is as per...
Changes to Ethernet Board firmware effect LED 2 indications when flashing. When flashing this only indicates that an EtherNet IP connection has not been made to the WI-GTWY-9-ET1. Example would be RSLogix has not had a Generic Ethernet Device added with WI-GTWY-9- ET1 IP address and connection data.
WI-GTWY-9-xxx Wireless Gateway V1.18 6.4.2 Profibus Slave Indicating LED’s LED No Indication Description Not Used Green Module is On-Line and data exchange is possible. Module is not On-Line Module is Off-Line and no data exchange is possible. Module is not Off-Line...
WI-GTWY-9-xxx Wireless Gateway V1.18 6.4.3 Profibus Master Indicating LED’s LED No Indication Description 1. Master Status Green Operate mode Green, flashing Clear mode Stop mode Offline 2. Database Status Green Database OK Green, flashing Database download in progress Database invalid No database downloaded 3.
WI-GTWY-9-xxx Wireless Gateway V1.18 6.4.4 Modbus Indicating LED’s LED No Indication Description Not Used Active Red ERROR; This LED indicates that communication is not OK. Green MBP Active; This LED flashes in different patterns depending on the module’s health (see below).
WI-GTWY-9-xxx Wireless Gateway V1.18 6.4.5 DeviceNet Indicating LED’s LED No Color State Description Reserved for future use Not powered / Not online Green Steady Link OK, On line, Connected Green Flashing On line, Not connected Flashing Connection timeout Steady Critical link failure Green/Red Flashing Power on self-test.
Page 155
WI-GTWY-9-xxx Wireless Gateway V1.18 Configure the modules to the same system address, and on each module, configure DI1 to DO2 on the other module. At the fixed module, wire DO2 to DI1 such that DI1 will turn ON when DO2 turns ON. Connect a switch to DI1 on the mobile unit.
WI-GTWY-9-xxx Wireless Gateway V1.18 1. Increasing the height of the antenna at either module, or at both modules can significantly improve the result. Sometimes moving the antenna to the side helps, if there is an obvious obstruction in the radio path.
Page 157
WI-GTWY-9-xxx Wireless Gateway V1.18 system address only or “No” for all System addresses. 11. Tick the “Time stamps” option and then select “Log to File” and type in the name of the log file. 12. From now on everything that is received will be logged to this file with a time stamp.
Page 158
WI-GTWY-9-xxx Wireless Gateway V1.18 should now see “Type ‘m’ for menu..” press “m” and a Configuration Menu will appear. 5. From this menu type the letter corresponding to “Initialize and Enter Debug Menu” on the menu. (It may be different for some versions).
Page 159
WI-GTWY-9-xxx Wireless Gateway V1.18 To check firmware version 1. Start W-Series Configuration Utility and open up the appropriate project. 2. Select from the module you wish to monitor comms at. 3. Press the “Diagnostic” button on the right hand side of the configuration screen and a new window will open headed “Communications Log”.
Weidmuller, Inc. is not liable for any consequential damages or loss of operations or profits resulting from the use of these products. Weidmuller, Inc. is not liable for damages, losses, costs, injury or harm incurred as a consequence of any representations, warranties or conditions made by Weidmuller, Inc. or its representatives or by any other party, except as expressed solely in this document..
WI-GTWY-9-xxx Wireless Gateway User Manual Appendix 1 Status Registers I/O Status Registers 5000 - 9499 Information Meaning Communications For inputs, this bit is set (“on”) if no message has been received from failure the remote address within the timeout period configured for this input.
Page 162
Only Bit 13 of registers 9500 – 9999 may be altered by a host device (i.e. via the fieldbus interface). For WI-GTWY-9-xxx modules with firmware versions later than 1.50, the setting of registers 9500 – 9999 must follow the new change-of-state algorithm. The Force bit will only be activated on a transition from 0 –...
User Manual Appendix 2 IT Functionality WI-GTWY-9-xxx-ET1 Ethernet module only Filesystem The filesystem is a fixed-size storage area with a hierarchical directory structure. Any user- or application data can be stored in files within the filesystem. Files can be grouped in directories for increased readability.
Page 164
‘\user\pswd’ and ‘\pswd\ respectively. These directories are protected from web browser access. The file format is the following: User1:password1 User2:password2 User3:password3 Example: TEST:WI-GTWY-9-xxx In this example, the username is ‘TEST’, and the password is ‘WI-GTWY-9-xxx’. If no ‘:’ is present, the password will be equal to the username.
Page 165
WI-GTWY-9-xxx Wireless Gateway User Manual web_accs.cfg To protect a directory from web access, a file called ‘web_accs.cfg’ must be placed in the directory to protect. This file shall contain a list of users that are allowed to browse the protected directory and its subdirectories. Multiple of these password files may be present in the system, allowing different users to access different files and directories.
Page 166
(allowable values are “Auto”, “100”, or “10”) [Duplex] Auto (allowable values are “Auto”, “Full”, or “Half”) [SMTP address] 0.0.0.0 [SMTP username] username [SMTP password] password [DNS1 address] (Primary DNS) 0.0.0.0 [DNS2 address] (Secondary DNS) 0.0.0.0 [Domain name] weidmuller.com [Host name] GUEST...
Page 167
WI-GTWY-9-xxx Wireless Gateway User Manual NOTE: In the current firmware implementation “IP Address”, “Subnet Mask”, “Gateway Address”, and “SMTP Address” will always be overridden by the values used in configuration software (i.e. those values cannot be set by writing to this file).
Page 168
Appendix 2 IT Functionlity Virtual File System The module also contains a virtual file system containing a set of files used to build the default configuration webpage. The virtual file system can be overwritten or disabled, but not erased; A file with the same name in the file system replaces the file in the virtual file system until it is removed.
Page 169
WI-GTWY-9-xxx Wireless Gateway User Manual This function returns the currently used IP address. DisplaySubnet Syntax: <?--#exec cmd_argument=’DisplaySubnet’--> This function returns the currently used Subnet mask DisplayGateway Syntax: <?--#exec cmd_argument=’DisplayGateway’--> This function returns the currently used Gateway address DisplayDNS1 Syntax: <?--#exec cmd_argument=’DisplayDNS1’-->...
Page 170
Appendix 2 IT Functionlity This function returns the username used for SMTP authentication. DipslaySMTPPswd Syntax: <?--#exec cmd:argument=’DisplaySMTPPswd’--> This function returns the password used for SMTP authentication. GetText (Note - This function cannot be used within email messages) Syntax: <?--#exec cmd arbgument=’GetText( "ObjName", OutWriteString ( offset ), n )’--> This SSI function gets the text from an object and stores it in the OUT area.
Page 171
WI-GTWY-9-xxx Wireless Gateway User Manual • A number, the precision, that specifies the maximum number of characters to be printed from a string, or the number of digits to be printed after the decimal point for e, E, or F conversions, or the number of significant digits for g or G conversion, or the...
Page 172
Appendix 2 IT Functionlity The arguments that can be passed to the SSI function printf are: Argument Description InReadSByte(offset) Reads a signed byte from position offset in the IN area InReadUByte(offset) Reads an unsigned byte from position offset in the IN area InReadSWord(offset) Reads a signed word (short) from position offset in the IN area InReadUWord(offset)
Page 173
WI-GTWY-9-xxx Wireless Gateway User Manual Character Input data, Argument Type Decimal number; byte, short Number, byte, short. The number may be in octal (leading 0(zero)) or hexadecimal (leading 0x or 0X) Octal number (with or without leading zero); byte, short Unsigned decimal number;...
Page 174
Appendix 2 IT Functionlity This SSI function saves the contents of a passed form to a file. The passed name/value pair will be written to the file "File name" separated by the "Separator" string. The contents can either be Appended to the file or overwrite the current content of the file. Default output: Success - Form saved to file...
Page 175
WI-GTWY-9-xxx Wireless Gateway User Manual Parameter Description Area Source Fieldbus Interface Area. Possible values are ‘IN’ or ‘OUT’ Offset Source offset in Fieldbus Area, shall be written in decimal or hexadecimal. Type Source data type. Possible values are ‘byte’, ‘word’, and ‘long’...
Page 176
Appendix 2 IT Functionlity Note: If the [Register] or [Register match] information is changed, a reset is required for changes to take effect. Other changes will take effect directly without a reset. Note: Hexadecimal values must be written in the format 0xN where ‘N’ is the hexadecimal value.
Page 177
WI-GTWY-9-xxx Wireless Gateway User Manual help Syntax: help [general|diagnostic|filesystem] version This command will display version information, serial number and MAC ID exit This command closes the Telnet session. Diagnostic Commands The following commands can be viewed by the command ‘help diagnostic’...
Page 178
Appendix 2 IT Functionlity Syntax: cd [path] Changes current directory. format Formats the filesystem. This is a privileged command and can only be called in administration mode. Syntax: del [[path][filename]] Deletes a file. Syntax: ren [[path][old name]] [[path][new name]] Renames a file or directory. move Syntax: move [[source path][source file]] [[destination path]]...