The ASCII Manager is used to transmit and/or receive data with a simple device.
To add an ASCII Manager to your controller, select the ASCII_Manager in the Hardware Catalog, drag it to the Devices tree, and drop it on one of the highlighted nodes.
For more information on adding a device to your project, refer to:
• Using the Drag-and-drop Method
• Using the Contextual Menu or Plus Button
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. 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. 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. 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 receives 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. Note: This parameter cannot be used simultaneously with Frame Length Received. |
Serial Line Settings |
Parameters specified in the Serial Line configuration window. |
NOTE: In the case of using First End Character and Second End Character simultanously, these 2 conditions are considered as one frame termination condition. The frame termination condition becomes TRUE when the 2 characters are recognized.
In the case of using several frame termination conditions, the first condition to be TRUE will terminate the exchange.
To add a Modem to the ASCII Manager, refer to Adding a Modem to a Manager.