Line 1: |
Line 1: |
| ==Step 1. Understanding what is {{{model|FMU1YX}}} RS232/RS485 TCP Link mode== | | ==Step 1. Understanding what is {{{model|FMU1YX}}} RS232/RS485 TCP Link mode== |
| | | |
− | In this mode link with external device (for example PC) using text messages can be established. FMU125 has to be connected to the external device through RS232 or RS485. | + | In this mode link with external device (for example PC) using text messages can be established. {{{model|FMU1YX}}} has to be connected to the external device through RS232 or RS485. |
| Any string of data coming to RS232 or RS485 will be routed to server (if link is currently active). Messages that are exchanged between FMU device and server, have to be packed in Codec.12 format. | | Any string of data coming to RS232 or RS485 will be routed to server (if link is currently active). Messages that are exchanged between FMU device and server, have to be packed in Codec.12 format. |
− | Here for TCP link establishment we will be using Hercules. For sending messages from external device to server over FMU125 Terminal will be used. | + | Here for TCP link establishment we will be using Hercules. For sending messages from external device to server over {{{model|FMU1YX}}} Terminal will be used. |
| | | |
| ==Step 2. Setting parameters in configurator for TCP Ascii mode test== | | ==Step 2. Setting parameters in configurator for TCP Ascii mode test== |
− | First of all, in the FMU125 configurator you have to set parameters for RS232 or RS485 (depends on which RS232 or RS485 port you are using) in global parameters window. | + | First of all, in the {{{model|FMU1YX}}} configurator you have to set parameters for RS232 or RS485 (depends on which RS232 or RS485 port you are using) in global parameters window. |
| | | |
| [[Image:FMB125 RS232 configuration window.png|500px|none]] | | [[Image:FMB125 RS232 configuration window.png|500px|none]] |
Line 16: |
Line 16: |
| | | |
| You can also use RS485 which is also suitable for Ascii TCP Link mode. | | You can also use RS485 which is also suitable for Ascii TCP Link mode. |
− | In order to make a link between FMU125 device and server, Domain and Target Server Port have to be set in the working device profile, GPRS data sending Settings section. | + | In order to make a link between {{{model|FMU1YX}}} device and server, Domain and Target Server Port have to be set in the working device profile, GPRS data sending Settings section. |
− | When right parameters are set, you can save the configuration to FMU125 device. | + | When right parameters are set, you can save the configuration to {{{model|FMU1YX}}} device. |
| | | |
− | ==Step 3. Establishing FMU125 test link with server through Hercules== | + | ==Step 3. Establishing {{{model|FMU1YX}}} test link with server through Hercules== |
− | In this case we have a PC that is considered to be a server and an external device at the same time. When FMU125 is configured and connected to the external device, next what we have to do is to start Hercules (Figure 2) which is in server side and will be used for sending/receiving messages. | + | In this case we have a PC that is considered to be a server and an external device at the same time. When {{{model|FMU1YX}}} is configured and connected to the external device, next what we have to do is to start Hercules (Figure 2) which is in server side and will be used for sending/receiving messages. |
| | | |
− | (Please keep in mind that external device RX cable needs to be connected to FMU125 device TX cable and external device TX cable connected to FMU125 RX cable.) | + | (Please keep in mind that external device RX cable needs to be connected to {{{model|FMU1YX}}} device TX cable and external device TX cable connected to {{{model|FMU1YX}}} RX cable.) |
| | | |
| [[Image:FMB125 Hercules window.png|600px|none]] | | [[Image:FMB125 Hercules window.png|600px|none]] |
Line 32: |
Line 32: |
| 2. In the Client connection status you will be able to see if a connection between server and FMU device has started successfully; | | 2. In the Client connection status you will be able to see if a connection between server and FMU device has started successfully; |
| | | |
− | 3. In the Send field you can write a message that is packed in Codec.12 format which will be sent to FMU125 device. | + | 3. In the Send field you can write a message that is packed in Codec.12 format which will be sent to {{{model|FMU1YX}}} device. |
| | | |
| ==Step 4. Sending from server to external device over Hercules== | | ==Step 4. Sending from server to external device over Hercules== |
− | When sending a message from Hercules, first you have to pack it in Codec.12 format. If you want to send a message to external device over FMU125 from server, a packed message should be pasted into the Send field in Hercules (Figure 2, marked field 3). The HEX format box should be unchecked if the text is in HEX format (for example: $00$00$00$00$00$00$00$26$0C$01$05$00$00$00$1e$48$65$6c$6c$6f$2c$20$6c$65$74$73$20$74$65$73$74$20$54$43$50$20$6c$69$6 | + | When sending a message from Hercules, first you have to pack it in Codec.12 format. If you want to send a message to external device over {{{model|FMU1YX}}} from server, a packed message should be pasted into the Send field in Hercules (Figure 2, marked field 3). The HEX format box should be unchecked if the text is in HEX format (for example: $00$00$00$00$00$00$00$26$0C$01$05$00$00$00$1e$48$65$6c$6c$6f$2c$20$6c$65$74$73$20$74$65$73$74$20$54$43$50$20$6c$69$6 |
| e$6b$20$6d$6f$64$65$01$00$00$1a$ef etc.). When you press Send button, you will see your message in the Sent data field (Terminal). | | e$6b$20$6d$6f$64$65$01$00$00$1a$ef etc.). When you press Send button, you will see your message in the Sent data field (Terminal). |
− | If the message is sent successfully to FMU125, you can check it in the Terminal window. | + | If the message is sent successfully to {{{model|FMU1YX}}}, you can check it in the Terminal window. |
| | | |
− | Connect Port ½ cable one end to RS232 RX/TX cables on FMU125 device and then connect USB side to computer. Please find which port is used for Port ½ cable in device manager. | + | Connect Port ½ cable one end to RS232 RX/TX cables on {{{model|FMU1YX}}} device and then connect USB side to computer. Please find which port is used for Port ½ cable in device manager. |
| Please select correct COM Port (1). In this case we use COM21. Then press connect (2). | | Please select correct COM Port (1). In this case we use COM21. Then press connect (2). |
| | | |