HVAC (, ) 3 :
.
63/73

, : 63 DIN 73 ( )
8 , 8 . .
73 2 COM , 73. 5. 73-5 RS-485 * 2. 63 RS485 .
73 4 2 63.
( , segnetics). , Segnetics. , . .
, ( ). , , . , .. .
? 1 (8 ). .
63 5 , . 73 4 4 .
73 . . . 73 .
, 63. - , . , RS485.
RS485, !
, , , RS232-debug , . RS232 to RS485.
Codesys 2.3. . ( ). ( Oscat). , ( , ?). , ( 61131-3).
Modbus?
Slave. , , , , . . .
, , . .
.
( , ).
. . Modbus.lib ( ) . , . , ( ),
- ;
- (Segnetics )
- ;
- COM ;
- ( Pixel);
- ,
- 220 ( , )
:
- 220;
- 73;
- ;
- 63 , 2 x 16 ;
- . , .. ;
- ( ). . .
:
Segnetics SMH2g Pixel

, Pixel - SMH2g. SMH2gi linux. .
I/O SMH2g ( 4 DI / 4 DO 5 DI / 2 DO SMH2gi). Pixel (6DI/3DO/5AI/2AO), .
Pixel .
, Segnetics . Ethernet Pixel .
Segnetics . . . ( , , ).
Segnetics . IDC. , . 5 . .
, , . Segnetics - . .
SMLogix. Segnetics. . - ( ) :

.
Segnetics SMConstructor, ( ). .
Pixel COM . . Modbus.
Modbus?
. , , Modbus. slave.
Master . Modbus Segnetics ( ) .
:
:
-
- ( Pixel)
-
- COM (- linux SMH2gi, )
- Pixel. 1,5-8 . 1,5-12. .
:
Schneider Electric M171/172

HVAC . , , Schneider.
171 , M172
. , TM172PDG42R 42 I/O. Ethernet (M172), RS485 ( 172 2 .), CAN. , .
.
SoMachine HVAC. . . .
. . , , . Youtube :
. ST ( Time DWORD). . :
Var
Var1 : bool;
Var2 : bool;
End_var
? . .
, SMLogix. .
Modbus?
. .. slave .
Modbus . , .
1,5 :
- 1 Master .
, . RS485 . .. . 100, 100 Master'a ( );
- 0.5 Slave 12 . Modbus TCP. . COM .
:
:
- ( , 172). , ;
- ;
- ;
- . - .
- . , .
. 100 () 172:
P.S.
Codesys 2.3. , Segnetics, ( ). /.
Codesys, ST (Structured Text), . , .
63 Schneider M172 .
. , ( ).
. , .

https://habrahabr.ru/post/332722/