The TReX outputs are driven high or low, or for a particular period of time depending on configuration. The outputs are controlled via the WTE Output Control Protocol message received and decoded. Each output can be configured to operate under various error states (Refer to Outputs).
TReX User Manual v15.30 Firmware PLC Screens The PL screen is a main screen of the TReX-460 that displays the currently configured ladders in groups of six lines. Further lines can be reached by pressing the DOWN button on the front of the device.
Radio Links The TReX can be configured to use industry leading AES 256-bit, block chained encryption for all used radio data links. This means messaging between WTE TReX radios cannot be intercepted without sharing of a key between devices. A unique, non repeating timestamp is transmitted with every packet, ensuring that same content messages are not repeated, and also allows for protection against replay attacks.
TReX User Manual v15.30 Firmware Programmable Logic Controller An optional feature of the TReX-460 is a telemetry-optimised PLC. This allows automated control of outputs and transmissions based on configurable inputs, serial input, received messages, counters, comparators and timers. This PLC utility uses a ladder logic programming similar to other commercially available PLC devices.
Accepting the job can be performed with a simple keypress that will send receipt to the dispatch system that the vehicle is on-route. See WTE Ack and Confirm Protocol for usage details. With a single keypress, key messages can be responded to. Details of the responder are returned and logged.
Page 42
TIME Sets the internal clock. UNIT ID This is the unit ID that is used by the WTE output control protocol. This can be any number or alpha numeric description. e.g. “01” or “Unit-A” SOUND Allows control of system sounds that may be heard on an ALERT and also key beeps.
Page 46
If this minimum level is not reached, there will be a transmit warning and the RF OUTPUT (Shared with the MISMATCH output) will operate if configured. This parameter should NOT be changed without instruction from WTE. MAX PWR Specifies the maximum power level as read from the forward ADC during a transmission.
TReX User Manual v15.30 Firmware PROTOCOL Menu Specifies the protocol to apply for serial input. Accepts WTE, CUSTOM, RAW, AUX and in some cases others as required or specified. Specifies the protocol to apply for serial output. Accepts WTE, CUSTOM, RAW, AUX and in some cases others as required or specified.
Password to be used to log in to the broker. Not all brokers require this. UNIT ID This is the unit ID that is used by the WTE output control protocol. This can be any number of alpha numeric description. e.g. “01” or “Unit-A”. The UNIT ID is part of the published MQTT topic.
Page 68
HOST This is the name that can be associated to the TReX. This name can be used directly instead of the IP address to address the TReX. By default is “WTE-TReX” LOCAL IP IP Address for access to the TReX.
Each POS TYPE entry is used to control the type of input used at the corresponding position in the rung. The possible types are: • INPUT [I:]: Input will be active when the corresponding input of the TReX-460 is level high. Each of the following inputs are available for local and remotely accessed TReX units.
Page 80
◦ Input 12: Link status, input indicates if the unit is actively receiving messages. Useful to act on remote units that are no longer communicating. • OUTPUT [Q]: Input will be active when the corresponding output of the TReX-460 is closed. •...
Page 81
TReX User Manual v15.30 Firmware energised. • OUTPUT (SQ): Sets (latches) a specified digital output of the TReX-460 when the rung is energised. • OUTPUT (RQ): Resets (releases latch) of a specified digital output of the TReX-460 when the rung is energised.
*BYPASS=[1234567:1][[01]12345-8]<CR> “[[01]12345-8]” will be added to the RX message screens, logged etc., as if received across the air. In this case, the message will also be processed as a WTE Output Protocol message and immediately operate the TReX outputs. *LAB Set the unit in transmit mode, it can be configured to transmit carrier only or modulated.
TReX User Manual v15.30 Firmware Transmit Commands *TX_FREQ Specifies the transmit frequency in Hz. For the TReX-460 the minimum is 421000000 and maximum is 480000000. Typical usage: *TX_FREQ=460000000<CR> *TX_PROTO Specifies the protocol to apply for serial input. Accepts WTE, RAW and AUX.
2400_6, 4800_25, 4800_12, 4800-4L_6, 9600_25, 9600-4L_25, 9600-4L_12, 16K-4L_25, 16K-4L_12, 32K-4L_25 Typical usage: *RX_BAUD=512_25<CR> *RX_PROTO Specifies the protocol to apply for serial output, accepts WTE, RAW and AUX. See protocol section for more detail on protocols and configuration. Typical usage: *RX_PROTO=WTE<CR> Page 114 of 302...
Output Commands The output commands allow the GPIO pins to be configured as outputs or inputs. Following configuration of the pins as outputs, they are controlled using the WTE Output Control Protocol. Note: Please refer to Input Output Hardware Connection section on this manual for examples of how to connect the input and output pins on the TReX board.
XX are any characters (up to 12 either numeric or alphanumeric) that are used to uniquely address each TReX when used in conjunction with the WTE Output Control Protocol. By default this ID is “01”, allowing numeric paging to be used to transmit messages.
WT Protocol The WT Protocol is the default protocol used by WTE products. It allows for a variety of over the air transport methods (such as POCSAG and DMR paging) to be used and a variety of baud rates.
Page 143
= 4800 4 Level GFSK NOTE: Although the protocol supports the following modulation types and channel spacings, the supplied WTE product may only support a subset of these modulation rates (determined by regional restrictions). <SPACE> is a single space character.
All messages received come out via the serial port as configured in by the *RX_PROTO setting: If *RX_PROTO=WTE then the output will look like: WT1234567A10<SPACE>TEST<CR> The exact same format allows units to be connected together, or protocols to be converted from one type to another.
4 Level Modulations All WTE 4L modulations, regardless of the used channel spacing, transmit data using the WTE_EN transport method. 4L modulations also do not include forward error correction information as all 2L modulation supported do. This gives much faster possible transmission speeds.
Master. Software Integration An example integration of the TReX into the control software LabVIEW is provided by WTE on request. This integration consists of the virtual interface (VI) file TReX-SCADA.vi. This VI provides basic control over the different inputs and outputs of the connected master TReX device as well as the slave devices communicating wirelessly with the master device.
TReX User Manual v15.30 Firmware PLC Support An optional feature of the TReX-460 is a telemetry-optimised PLC. This allows automated control of outputs and transmissions based on configurable inputs, received messages, counters, comparators and timers. This PLC utility uses a ladder logic interface similar to other commercially available PLC devices.
TReX User Manual v15.30 Firmware examples to act as starting points when designing a PLC program for the TReX-460. Key Terminology Inputs: These are sometimes referred to as relays or relay inputs in historical PLC devices. The TReX PLC supports: •...
Register Bit 1. Multi-Branch Rungs The TReX-460 does not directly support the implementation of multiple separate branches on a single rung. If multiple branches from a single main rung are required, these branches must be...
TReX User Manual v15.30 Firmware Latched Motor Starter A TReX-460 is set up with a normally open start button connected to Digital Input 1 and a normally closed stop button connected to Digital Input 2. Digital Output 1 of the TReX is configured to control a pump motor (through external relay or contactor).
TReX User Manual v15.30 Firmware Motion-Activated Lights A TReX-460 is set up with two motion sensors connected to Input 1 and Input 2 that provide a normally open input signal until movement is detected and two lights connected to the TReX via inputs on Output 1 and Output 2.
TReX User Manual v15.30 Firmware Delayed Action Transmitter A TReX-460 is set up with a single normally closed button connected to Input 1. The intended behaviour is to have the TReX transmit a message when the button is held open for 30 seconds.
TReX User Manual v15.30 Firmware Alert-Based Cooling System In this example, a TReX-460 is set up in a hot environment with a cooling fan controlled from Digital Output 4. The intended behaviour is that the TReX will turn on the cooling fan for 10 minutes whenever it’s onboard temperature sensor passes 90°C.
Page 188
TReX User Manual v15.30 Firmware This PLC program takes advantage of the Alert Output functionality of the TReX-460 to provide an intelligent response to alert events. This is achieved by using the configured alert output (Output 8) as an input to the PLC program.
TReX User Manual v15.30 Firmware Simple Multi Unit Alarm System In this example, one TReX-460 is configured as a SCADA Master Device and two TReX- 460s are configured as SCADA Slave Devices. The Master Device has two LED indicators connected to Output 1 and Output 2, while both slave devices have smoke sensors connected to Input 6.
The WTE PLC Configuration Tool is a desktop application designed to enable fast development of TReX PLC programs. This tool is available free of charge. The WTE PLC Configuration tool gives the ability to not only construct TReX PLC programs, but to also run and debug these programs in a simulated TReX environment.
This PLC Program now has a basic level of functionality. To save this program, select either the “Save” button in the toolbar at the top of the program, or select File->Save Project. This will allow the project to be saved as a WTE PLC file (.wtplc). Running Simulated Programs This PLC program can be tested in a simulated TReX environment.
Selecting “Yes” will open the folder in using the system file browser. These files can be loaded onto a WTE TReX PLC device through the device’s USB Mass Storage functionality. Once loaded, the PLC program can be run locally on the device.
Project Examples The WTE PLC Configuration Tool installation includes several example projects of varying complexity and usage of available resources. These examples are available in the “Examples” subdirectory of the program installation. Selecting “Load Project” for the first time will open this directory by default.
MODE, the output must be configured to be TELEMETRY. It is possible to restrict outputs(s) that are updated by DISABLING outputs on the REMOTE ID device. REMOTE ID devices are automatically controlled using the WTE output control protocol. When there is any input change, or an analog input changes by more than a configured threshold amount, there is an immediate transmission that updates a REMOTE ID device outputs.
Any input (including battery and analog inputs) can be used to control any output(s) if required. The WTE output control protocol can be used as the payload of any message. Desired control solution 1: To close output 2 when the battery voltage is low. The assumption in this case is that the unit ID is the default ID of 01.
This section describes how to control the outputs of WTE Products via transmission payloads. The WTE protocol needs to be able to switch many outputs on, and many off in a single message. Receivers need to be able to be uniquely addressed, and in a manner that is maintainable.
TReX User Manual v15.30 Firmware Analog & Digital Output Format The WTE output control protocol allows the direct control of analog outputs. [[ID]UZ[AA]CCC-OOOO] Where: [ is the character ‘[’ ] is the character ‘]’ ID is the UNIT_ID that must match the TReX to be controlled..
RX_RANGE and/or a more complex OUT_ID. Remote Command Output Format The WTE output control protocol allows the direct control of remote units. This allows specific TReX units to accept commands or protocols for processing “over the air”. [[ID]U0[AA]] Where: [ is the character ‘[’...
The WTE Ack and Confirm Protocol can be embedded into the payload of any message. Typically the protocol message would be attached to the end of a message, so that paging messages would display normally for typical users.
Secure Nationwide Paging In order to transmit secure messages across an existing nationwide paging service (to be decoded by a TReX-460) the message must be encrypted by another TReX, and the encrypted message then provided to a nationwide paging service provider.
Page 242
TReX User Manual v15.30 Firmware The message will be decrypted, and displayed on the RX screen. If the selected output protocol is WTE, then the decoded message will also be returned out the serial port. This method allows secure activation of TReX outputs or reception of sensitive information for processing or retransmission.
Page 244
Country Name (2 letter code) [AU]:NZ State or Province Name (full name) [Some-State]:Canterbury Locality Name (eg, city) []:Christchurch Organization Name (eg, company) [Internet Widgits Pty Ltd]:WTE Ltd Organizational Unit Name (eg, section) []:IT Department Common Name (e.g. server FQDN or YOUR name) []:WTE-TReX Email Address []:info@wte.co.nz...
Page 245
> openssl x509 -req -sha256 -days 365 -in server.csr -signkey key.pem -out server.pem Signature ok subject=C = NZ, ST = Canterbury, L = Christchurch, O = WTE Ltd, OU = IT Department, CN = WTE-TReX, emailAddress = info@wte.co.nz Getting Private key Enter pass phrase for key.pem:...
Store forward and DMR licenses are required for these modes of operation. Store Forward In this mode, a TReX can intercept a POCSAG paging message, either from a WTE transmitter or a third party paging transmitter. This message, after being received is then transmitted again.
2. One USB mini B cable. 3. An appropriate encrypted hex file supplied by WTE Limited. Valid TReX hex files take the form emzTReX-vXXXX.hex Note: Attempting to load a hex file not intended for use with the TReX will render the TReX inoperable.
TReX User Manual v15.30 Firmware Upgrade Process 1. Run the application WTE-UBL.exe – this is the WTE Firmware Update Tool as shown above. 2. BEFORE applying power to the TReX, press the “UP” button, and HOLD the button down. 3. Apply power to the TReX.
It is the users responsibility to ensure local regulations are adhered to. In no event shall WTE Limited be liable for any incidental, special, indirect or consequential damages, harm to any person, lost profits or lost data, harm to your equipment, cost of...
Maintenance No User-Serviceable Components. Servicing is only to be performed by WTE Limited, or agent appointed by WTE Limited. Servicing outside of the warranty period is at the discretion of WTE Limited. Page 293 of 302...
TReX User Manual v15.30 Firmware Product Warranty WTE Limited products are warranted for a period of 12 months after purchase date against faulty workmanship or materials. Return the product, all freight paid by the customer and the product will be repaired or replaced.
Need help?
Do you have a question about the TReX-460 and is the answer not in the manual?
Questions and answers