Page 23 of 32 |
Appendix B.4. How to build a script file that tests a customer log.
The following brief notes are intended for configuration engineers who are expected to be familiar with the FieldServer.
•Take the hex log file and convert to ASCII using special chars (this is an option of the log file converter)
•Choose a response line from near the end of the log (most recent). Check the line is complete.
•Place the line inside an INI file. Make the following changes
•Replace [NP] with [FF]
•Replace [SP] with a space
•Replace [NULL] with a space.
•Use the following files as a guide.
Client.csv
Data_Arrays |
|
|
|
|
|
|
|
|
|
|
Data_Array_Name, | Data_Format, | Data_Array_Length |
|
|
|
| ||||
DA_D1_01, |
|
| Float, | 500 |
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
Connections |
|
|
|
|
|
|
|
|
|
|
Port , | Parity, | Baud, | Data_Bits, | Stop_Bits, | Handshaking, | Protocol, | Timeout, | Print_storage_locations | ||
P1, | None, | 9600, | 8, | 1, | None, | CarrierDP, | 60s, | Yes |
Nodes |
|
|
|
Node_Name, | Node, | Protocol, | Port |
Node_A , | 1, | CarrierDP, | P1 |
Map_Descriptors |
|
|
|
|
|
|
|
|
|
|
|
|
|
Map_Descriptor_Name, | Data_Array_Name, | Data_Array_Offset, | Function, | Node_Name, | Length, | Scan_Interval, | |||||||
CMD_GP_01, |
| DA_D1_01, |
|
| 0, |
| Rdbc, | Node_A, | 202, |
| 5.0s | ||
Server.csv |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Data_Arrays |
|
|
|
|
|
|
|
|
|
|
|
|
|
Data_Array_Name, | Data_Format, | Data_Array_Length |
|
|
|
|
|
| |||||
TABLE_DISPLAY, | Float, |
|
| 500 |
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Connections |
|
|
|
|
|
|
|
|
|
|
|
|
|
Port , | Parity, | Baud, | Data_Bits, | Stop_Bits, | Handshaking, | Protocol, |
|
| |||||
P1, | None, | 1200, | 8, |
|
| 1, | None, |
| CarrierDP, |
|
|
Nodes |
|
|
Node_Name, | Node, | Protocol, |
Node_A , | 1, | CarrierDP, |
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: support@fieldserver.com