Communication
Page 7-14
ABB Control - AC 31
1SBC 260400 R1001-b
06.99
2.3. Programming
Two other functions for ASCII communication exist, apart from the obligatory SINIT function,
for parameter configuration.
2.3.1. Sending messages
Sending an ASCII message from one 40 or 50 series central unit to another device is done
with the
SEND
function
in the user program.
2.3.2. Receiving messages
Receiving an ASCII message on a 40 or 50 series central unit is done with the
REC
function
in the user program.
A detailed description, of the SINIT, SEND and REC functions, is available in the help file of
the AC31GRAF software or in the AC31GRAF software documentation.
2.3.3. Programming example
The communication interface is configured by the SINIT block with the following parameter
values:
- Interface COM1
- 9 600 Bauds
- 1 stop bit
- 8 data bits
- No parity
An echo is defined for visualizing the message on the terminal. The end of the message is set
to a carriage return (CR).
The example consists of receiving the message with the REC block whose text is "Action x"
where x varies from 0 to 9, and then to validate by replying "Action x OK" or to return "error
message" in the case of a message error using the SEND block.
Содержание AC 31
Страница 1: ...Technical Manual Advant Controller 31 40 50 Series 1SBC 260400 R 1001 b ...
Страница 7: ......
Страница 28: ...AC 31 technical documentation ABB Control AC 31 Page 2 1 1SBC 260400 R1001 b 06 99 Chapter 2 Getting started ...
Страница 43: ......
Страница 45: ...Technical specifications Page 3 2 ABB Control AC 31 1SBC 260400 R1001 b 06 99 ...
Страница 83: ......
Страница 84: ...AC 31 technical documentation ABB Control AC 31 Page 4 1 1SBC 260400 R1001 b 06 99 Chapter 4 Installation ...
Страница 85: ...Installation Page 4 2 ABB Control AC 31 1SBC 260400 R1001 b 06 99 ...
Страница 109: ......
Страница 110: ...AC 31 technical documentation ABB Control AC 31 Page 5 1 1SBC 260400 R1001 b 06 99 Chapter 5 Programming ...
Страница 130: ...Programming ABB Control AC 31 Page 5 21 1SBC 260400 R1001 b 06 99 ...
Страница 141: ...Programming Page 5 32 ABB Control AC 31 1SBC 260400 R1001 b 06 99 Figure 5 10 Duplicating inputs of a function block ...
Страница 154: ...AC 31 technical documentation ABB Control AC 31 Page 6 1 1SBC 260400 R1001 b 06 99 Chapter 6 Program Optimization ...
Страница 172: ...AC 31 technical documentation ABB Control AC 31 Page 7 1 1SBC 260400 R1001 b 06 99 Chapter 7 Communication ...
Страница 182: ...Communication ABB Control AC 31 Page 7 11 1SBC 260400 R1001 b 06 99 ...
Страница 189: ......
Страница 190: ...AC 31 technical documentation ABB Control AC 31 Page 8 1 1SBC 260400 R1001 b 06 99 Chapter 8 Diagnosis ...
Страница 191: ...Diagnosis Page 8 2 ABB Control AC 31 1SBC 260400 R1001 b 06 99 Figure 8 1 Error detection LEDs ...
Страница 195: ...Diagnosis Page 8 6 ABB Control AC 31 1SBC 260400 R1001 b 06 99 Figure 8 2 AC31GRAF status window ...
Страница 203: ......
Страница 204: ...AC 31 technical documentation ABB Control AC 31 Annexes Page 1 1SBC 260400 R1001 b 06 99 Annexes ...
Страница 217: ......
Страница 218: ...AC 31 technical documentation ABB Control AC 31 Index Page 1 1SBC 260400 R1001 b 06 99 Index ...