![VIPA CPU 21 Series Скачать руководство пользователя страница 268](http://html1.mh-extra.com/html/vipa/cpu-21-series/cpu-21-series_manual_1029229268.webp)
Chapter 9 Deployment CPU 21xSER-1
Manual VIPA CPU 21x
9-10
HB103E - Rev. 05/45
Parameterization
The parameterization happens during runtime deploying the SFC 216
(SER_CFG). You have to store the parameters for STX/ETX, 3964R, USS
and Modbus in a DB.
Please regard that not all protocols support the complete value range of
the parameters. More detailed information is to be found in the description
of the according parameter.
Note!
Please regard that the SFC216 is not called again during a communication
because as a result of this all buffers are cleared.
If you don’t want to alter the communication parameter any more, you
should place the call of the SFC 216 in the start-up OB OB 100.
Name
Declaration
Type
Comment
Protocol
IN
BYTE
No. of protocol
Parameter
IN
ANY
Pointer to protocol-parameters
Baudrate
IN
BYTE
No of Baudrate
CharLen
IN
BYTE
0=5Bit, 1=6Bit, 2=7Bit, 3=8Bit
Parity
IN
BYTE
0=Non, 1=Odd, 2=Even
StopBits
IN
BYTE
1=1Bit, 2=1,5Bit, 3=2Bit
FlowControl IN
BYTE
1
(fix)
RetVal
OUT
WORD
Error Code ( 0 = OK )
Here you fix the protocol to be used. You may choose between:
1: ASCII
2: STX/ETX
3: 3964R
4: USS Master
5: Modbus RTU Master
6: Modbus ASCII Master
7: Modbus RTU Slave
8: Modbus ASCII Slave
SFC 216
(SER_CFG)
Protocol
Содержание CPU 21 Series
Страница 1: ...Manual VIPA CPU 21x Order No VIPA HB103E Rev 05 45 ...
Страница 2: ...Lerrzeichen ...
Страница 6: ...About this Manual Manual VIPA CPU 21x Subject to change to cater for technical progress ...
Страница 10: ...Contents Manual VIPA CPU 21x iv HB103E Rev 05 45 ...
Страница 30: ...Chapter 1 Principles Manual VIPA CPU 21x 1 18 HB103E Rev 05 45 ...
Страница 58: ...Chapter 2 Hardware description Manual VIPA CPU 21x 2 28 HB103E Rev 05 45 ...
Страница 80: ...Chapter 3 Deployment CPU 21x Manual VIPA CPU 21x 3 22 HB103E Rev 05 45 ...
Страница 178: ...Chapter 5 Deployment CPU 21x 2BT02 with H1 TCP IP Manual VIPA CPU 21x 5 48 HB103E Rev 05 45 ...