background image

26 

7.5

 

FTP Configuration – Type 4 

These configuration parameters are used in communications with an FTP server. They 

apply to both HSPA (3G) and CDMA (2G) radios. 

 

Parameters for FTP Configuration 

Parameter 

Code 

Reference 

Description 

Default 

Report Type  

Report types that can be requested on 

demand from Over the Air or SMS 

(put = to FTP server, get = to Messenger): 

 

24 = put data log (***.dat.txt) 

25 = put event log (***.evt.txt) 

26 = get binary code image 

27 = get config file 

28 = put config file (***.cfg.txt) 

 

Filenames for Put commands are 

automatically generated as: 

<vehicleID><mmddyyhhmm>.<ext>.txt 

Ex: MyTruck0301081322.cfg.txt 

 

 

Put path on 

server  

63 characters  e.g.   ./msngr/elogs/ 

 

Get path on 

server  

63 characters  e.g.   ./msngr/elogs/ or ./ for 

the root directory 

 

Get filename   63 characters  e.g. MyEventLog.txt 

 

Report Rate   

Frequency in minute.  If this is a value 

greater than 0, then any reports via 

cellular will not occur.  FTP takes 

precedence. 

 

Server Port 

Number  

Port number FTP server uses for file 

transfer. 

21 

Range 0 - 65535 

Server IP 

Address 

 

Customer 

specific 

127 characters max 

Can be entered in DNS or dotted decimal 

format 

Login 

username  

63 characters 

 

Login 

password  

63 characters 

 

10 

Active/Passive  0 - active FTP server, 1 - passive 

 

 

 

 

Summary of Contents for Messenger 600

Page 1: ...Messenger 600 User s Guide Version 1 0 0 May 13 2020 ...

Page 2: ...2 ...

Page 3: ... Channel Data 15 5 Modbus 15 5 1 RTU Slave 15 5 2 RTU Master 15 6 Debug Menu 16 6 1 Default Configuration and Sample Session 17 7 Configuration 18 7 1 Debug Configuration Commands 19 7 2 Site Configuration Type 1 22 7 3 Options Configuration Type 2 23 7 4 CELL Configuration Type 3 24 7 5 FTP Configuration Type 4 26 7 6 Serial Port Configuration Type 6 27 7 7 Channel Configuration Type 9 29 7 8 Rep...

Page 4: ... may contain other proprietary notices and copyright information that should be observed Information in this document is subject to change without notice The software described in this document is furnished under a license agreement or nondisclosure agreement The software may be used or copied only in accordance with the terms of those agreements No part of this publication may be reproduced store...

Page 5: ...m the industry standard Modbus RTU serial protocol and support of custom serial communications to external devices Features The hardware feature set of this platform includes Messenger with LTE modem running on ATT or Verizon networks 12VDC battery backup 120VAC to 12VDC power supply battery charger with main power fail signal RS485 port for Modbus RTU communication RS232 port for programming usin...

Page 6: ...location The Messenger 600 reads values using the Modbus RTU protocol over an RS485 serial connection The user programs each of the 600 values that are to be read into Messenger channels which are numbered from 301 to 900 1 3 Host Server Communications The Messenger utilizes a proprietary protocol to send notifications and to receive OTA commands from the RemoteIQ server Each notification sent typ...

Page 7: ...ement The Messenger 600 is configured to require a message acknowledgement from the host server providing complete end to end verified communication Message acknowledgement provides a verifiable mechanism that a message was delivered even during poor network conditions 1 3 4 Store and Forward Data Queue There are several scenarios where a message may not be deliverable network down host server dow...

Page 8: ... an internet NIST time server Automatic via GPS The Messenger will set the RTC from the date time read from the GPS module Manually Set the time via the Debug port through the Maintenance menu OTA SMS The RTC is set from an OTA config command or an SMS config command Configuration parameters in OPTIONS and CELL are used to define how the RTC is set 1 3 6 Packaging The Messenger 600 comes mounted o...

Page 9: ...onsists of the following steps 1 Unpack the Equipment 2 Mount the Equipment The Messenger should be mounted in a vertical position to try and minimize the chance of water entering through the antenna connections The antenna wires should have a service loop just below the antenna connectors 3 Connect Main Power 2 2 Mounting the Equipment The Messenger 600 is shipped mounted to a DINrail as shown be...

Page 10: ...on If the antenna is mounted outside and may be subject to lightning a surge arrestor can be inserted between the Messenger and the antenna If the antenna is mounted inside it should be located near a window NOTE Service loops should be provided for the antenna cabling near the antenna connections to minimize water ingress through the RF coax connections ...

Page 11: ...ED 1 GRN System State Rate Definition Blink 1 blink every 5 seconds Sleep Mode Blink 1 blink every second CPU Run Normal Blink 5 blinks every second Boot Loader Mode all other LEDs off On or Off Solid System Failure LED 2 RED Cell Registration State Rate Definition Blink Rapid blink then off Ok Rx Tx Activity w CELL Modem Blink 1 blink every second Not Registered Check APN Verify valid cellular ac...

Page 12: ... State Rate Definition Blink 1 blink every second No Fix Off Solid Fix LED 6 RED Modbus State Rate Definition Blink Rapid burst Ok Rx Tx Activity on Port 2 or 3 On Solid Fault comm timeout error Off Solid Ok No Faults LED 7 RED USR1 State Rate Definition Blink 1 blink every second Lithium Coin Cell battery is low or RTC has stopped On Solid If DIN1 DIN2 DIN3 or DIN4 are configured as pulse counter...

Page 13: ...bled Rate Definition OFF Not registered or not detectable 1 blink 1 2 sec pause signal strength 6 weak 2 blinks 1 2 sec pause signal strength 12 3 blinks 1 2 sec pause signal strength 18 4 blinks 1 2 sec pause signal strength 24 5 blinks 1 2 sec pause signal strength 24 strong ...

Page 14: ... channels numbers 301 900 The Modbus channels are user configurable for reading writing digital or analog values from a Modbus RTU slave device 4 1 Defined Channels The following channels are pre defined in the Messenger Table 1 Pre Defined Channels Channel Number Channel Name Type Description Start Digital Channels data values are 0 or 1 1 Cell Digital System Status of cellular modem operation 1 ...

Page 15: ...of the available serial ports 2 or 3 Port 2 supports RS232 and RS485 Port 3 only supports RS232 5 1 RTU Slave Being configured as a Modbus RTU Slave device allows SCADA HMI software to read channel values from the Messenger Setting up a serial port is the only configuration necessary to enable Modbus Slave operation The Modbus register map for all channel data values is available on request Refere...

Page 16: ...its 1 stop bit no parity NOTE Once connected press the Enter key to see the Main Menu example below ________MessengerAB________ Site Name Site Name Model CP750 ANTX LVW3 MBUS J1939 Version AB v8 1 8D 02 26 20 Date Time 05 13 20 14 34 09 Asset ID 357766090587705 GPRS Reg Home Server Primary MSISDN 15772170946 Local IP 10 208 242 239 Network LTE CELL RSSI 16 18 15 GPS No Fix DataQue 9 PushQue 0 Outp...

Page 17: ...ession The Default configuration for the Messenger 600 is supplied as a separate file named MessengerAB 600 Default Config txt A sample annotated programming session is supplied as a separate file named MessengerAB 600 Sample Debug Session doc ...

Page 18: ... format is the same for all methods listed above Some of the methods put a wrapper around the configuration line to aid in transport and decoding on the receive end The basic configuration line format referenced as CL is described below CL x i y zzzz y zzzz y zzzz y zzzz Where the commas are required as the delimiter between value fields x is a unique number identifying the configuration line type...

Page 19: ...iguration Commands Users can manage the current configuration via the built in Debug Menu system From the main menu select Site Setup 6 From Site Setup select User Input 1 From the User Input prompt the following read modify commands are applicable 7 1 1 Read Command This is the read configuration command format 255 x i CR Where 255 is the read command x is the configuration line type code i is an...

Page 20: ...in use Communications with the unit could be lost 7 1 3 Global Command The global command can be used to set the same parameter to the same value within the same configuration type for multiple indexes The global command only works with Geo Fence Channel Schedule Report Flags and J1939 configuration types The global command format is 257 x i j y zzzz CR Where 257 is the global command x is the con...

Page 21: ...ommand Examples 257 9 301 320 6 1 CR For channels 9 301 320 inclusive change the decimal position 6 to 1 257 12 352 388 4 2 CR Change the report flags 12 for channels 352 388 inclusive to include data type 2 2 in the end of day report 4 ...

Page 22: ...vent log timestamps Central 3 Range 0 7 0 UTC 1 Atlantic 2 Eastern 3 Central 4 Mountain 5 Pacific 6 Alaska 7 Hawaii 3 Next Call Delay This delay is enforced between successive attempts to connect and send data to host server 20 Range 1 32000 seconds 4 8 reserved 11 Modbus Poll Mode This defines how the unit polls a MODBUS slave for registers 1 0 single register per poll 1 multiple registers per po...

Page 23: ...Signal Strength Indicate cellular signal strength via blink patterns on LED 8 1 7 Turn off all LEDs except System 0 1 0 8 Add Msg Checksum Add checksum to data records sent to host server 0 9 Set RTC From GPS If enabled will set the system clock from the GPS clock The AUTO TIMESET parameter in the cell config will set the system clock from an internet time server Enable only one of these parameter...

Page 24: ...s are sent and no ACK response expected 1 When the system sends a message it waits for an ACK response from the host server 2 A fixed offset 10000 is added to an event code to indicate to the host server that the system is expecting an ACK response 3 Auto Time Set Enables setting of the system clock RTC via internet time servers If enabled time is checked at power on then daily at 1 AM 1 0 disable...

Page 25: ...ort number of secondary host Order specific Range 0 65535 10 Secondary Host IP Address Defines IP address of secondary host server Order specific 127 characters max Can be entered in DNS or dotted decimal format 12 APN 63 characters 13 Username 63 characters 14 Password 63 characters 17 Local Port Defines the local port number to use when connecting to a host server 605 Range 0 65535 20 Listener P...

Page 26: ...s are automatically generated as vehicleID mmddyyhhmm ext txt Ex MyTruck0301081322 cfg txt 2 Put path on server 63 characters e g msngr elogs 3 Get path on server 63 characters e g msngr elogs or for the root directory 4 Get filename 63 characters e g MyEventLog txt 5 Report Rate Frequency in minute If this is a value greater than 0 then any reports via cellular will not occur FTP takes precedence...

Page 27: ... enable RS485 for Port 2 set this parameter to 1 and set DIP Switches accordingly RS232 0 0 RS232 1 RS485 3 Modbus Slave ID This sets the Slave ID when port mode is set to MODBUS RTU Slave 126 Range 1 247 4 Baud Defines the port baud rate 57600 Valid baud rates 1200 2400 4800 9600 19200 38400 57600 115200 5 Max Idle Defines the period of inactivity before the active receive buffer is closed 5 Rang...

Page 28: ...Defines the number of data bits in the serial stream 8 Range 7 8 10 Stop Bits Defines the number of stop bits in the serial stream 1 Range 1 2 NOTE Due to errata in UART device 2 stop bits are required for ports 3 and 4 11 Parity Defines parity for the serial stream None 0 Range 0 2 0 none 1 odd 2 even ...

Page 29: ... seconds 0 no delay time immediate alarm 6 Precision Digits to the right of the decimal point Affects precision of value displayed and precision of value reported to host server 0 Range 0 8 7 Low Warning Limit Low warning limit 1 0 Floating point value e g 15 2 Range 999999 0 to 999999 0 1 0 disables limit 8 Low Alarm Limit Low alarm limit should be less than low warning 1 0 Floating point value e...

Page 30: ...nel Channel numbers 301 900 are user configurable MODBUS channels The following parameters are specific to those channels when configured as type analog 20 Slave ID Modbus ID of slave unit 1 Range 1 to 255 1 0 disabled 1 227 for direct connect slave devices 228 239 reserved 240 255 for peer to peer devices 21 Register Number Register number in slave to read write 1 Range 1 65535 22 Modbus Function...

Page 31: ... Write Holding Double 32 bit 26 Write Float 32 bit 27 Read Double Precision Holding 32 bit 31 Read Input Double 32 bit 33 Read Input as Float 32 bit 34 Read Packed Bits in Input 16 bit leave as aggregate 35 Read Packed Bits in Input Double 32 bit leave as aggregate 36 Read Double Precision in Input 32 bit 23 Weight Used to scale register value when not in engineering units Scaled weight register v...

Page 32: ... 1 Big Endian 26 Aggregate Mask When reading bit packed registers function codes 11 12 34 and 35 use this value to mask unwanted bits A 0 in a bit position clears that bit in the value read For the remaining bits when a change from 0 to 1 is detected an alarm event is generated If a change from 1 to 0 is detected a return to normal event is generated This makes it possible for an alarm and normal ...

Page 33: ...ediate alarm 6 Normal Idle State State of input when condition being monitored is normal Normally Open 0 0 open or 3 0V 1 closed to ground 16 Alarm Output A digital output channel that can be activated when this channel goes into alarm referenced as channel number Disabled 0 0 disabled xxx any MODBUS channel configured as a Write Coil channel Channel numbers 301 900 are user configurable MODBUS ch...

Page 34: ...onitor 1 Range 1 32 where 1 is LSB 7 8 Report Flag Configuration Type 12 There are several report types that can be generated by the Messenger each with a unique trigger mechanism Report flags are used to enable specific channel data to be included in specific report types Parameters for Report Flag Configuration Parameter Code Report Type Description Trigger 3 Standard PER Include all channels th...

Page 35: ...tal see Channel Data Channel Type Report Type Data Types Reported i e Report Flag setting Modbus Analog Standard PER Demand DEM 0 none 1 current value 2 current value current max min End of Day EOD 0 none 1 current value 2 current value daily max min Digital Standard PER End of Day EOD Demand DEM 0 none 1 current value 2 current value Aggr Standard PER Demand DEM 0 none 1 aggregate value hex 2 agg...

Page 36: ...te method for setting date time OTA Parameters for Date Time Configuration Parameter Code Reference Description 1 Time Enter as hours minutes and seconds Format hhmmss Use 2 digits for each 2 Date Enter as month day and year Format mmddyy Use 2 digits for each 3 Time Zone Local time zone Range 0 7 0 UTC 1 Atlantic 2 Eastern 3 Central 4 Mountain 5 Pacific 6 Alaska 7 Hawaii 4 Day Light Savings To co...

Page 37: ...37 ...

Page 38: ...38 ...

Page 39: ...39 ...

Page 40: ...40 Antx RemoteIQ LLC 3005 Glacier Pass Cedar Park TX 77613 P 877 686 2689 F 512 255 8306 www antx com ...

Reviews: