The ASCII Manager is used to transmit and/or receive data with a simple device.
Step |
Action |
---|---|
1 |
In the Devices tree, delete Machine_Expert_Network_Manager or Modbus_Manager from the Serial Line x node if any. |
2 |
Select the ASCII Manager in the Hardware Catalog, drag it to the Devices tree, and drop it on one of the highlighted nodes. |
To configure the ASCII Manager of your controller, proceed as follows:
Step |
Action |
---|---|
1 |
In the Devices tree, double-click ASCII_Manager. Result: The ASCII_Manager configuration window is displayed: ![]()
|
Set the parameters as described in the following table:
Parameter |
Description |
---|---|
Start Character |
If 0, no start character is used in the frame. Otherwise, in Receiving Mode the corresponding character in ASCII is used to detect the beginning of a frame. In Sending Mode, this character is added at the beginning of the frame. |
First End Character |
If 0, no first end character is used in the frame. Otherwise, in Receiving Mode the corresponding character in ASCII is used to detect the end of a frame. In Sending Mode, this character is added at the end of the frame. |
Second End Character |
If 0, no second end character is used in the frame. Otherwise, in Receiving Mode the corresponding character in ASCII is used to detect the end of a frame. In Sending Mode, this character is added at the end of the frame. |
Frame Length Received |
If 0, this parameter is not used. This parameter allows the system to conclude an end of frame at reception, when the controller received the specified number of characters. NOTE: This parameter cannot be used simultaneously with Frame Received Timeout (ms). |
Frame Received Timeout (ms) |
If 0, this parameter is not used. This parameter allows the system to conclude the end of frame at reception after a silence of the specified number of ms. |
Serial Line Settings |
Parameters specified in [Physical Settings] of the Serial Line configuration menu. |
NOTE: In the case of using several frame termination conditions, the first condition to be TRUE will terminate the exchange.