Вы находитесь на странице: 1из 119

/

................................................................................ 6
, ,
............................................................................ 7
.......................................................... 7
..................................................... 8
................................................................... 8
1. ..................................................... 9
1.1. ............................................ 11
1.2. ......................................... 12
1.3.
................................................................................... 12
1.4. ................................................. 14
1.5. ................................................ 16
2. ............ 17
2.1. (Discrete input)......................... 17
2.1.1. (Time of filtration) ........... 17
2.1.2. (Visibility) ................................ 18
2.1.3. (Trigger) .................................... 18
2.1.3.1. (Number of Input)............... 19
2.1.3.2. (SenseEdge) .................. 19
2.1.4. (Counter 16bit)............................ 21
2.1.5. (Encoder 16bit) .......................... 21
2.1.5.1. (First Input)
(Second Input) ................................................................ 22
2.1.5.2. (Range) ............................... 22
2.1.5.3. (Encoder Type) ................. 23
2.1.6. (Counter SP). 23
2.1.6.1. (Start Pin Num),
(Stop Pin Num)
(Count Pin Num) .............................................................. 24
2.1.6.2. (Start
Sense Edge), (Stop Sense
Edge) (Count Sense Edge).... 25
2.2. (Discrete output) ..................... 26
2.2.1. (Save Value)... 27
2.2.2. (Pulse?wide modulator) ....................... 27
2.2.2.1. (Number of output) ........... 28

2.2.2.2. 100 (Period of PWM


in 100 mksec) ................................................................. 28
2.2.2.3.
100 (Minimal duration of impulse in 100 mksec) .......... 29
2.2.3. (Generator) ............................. 29
2.2.3.1. (Invertion) ................. 30
2.3. (Special output)
(Button) .................................................................... 31
2.4. .............................................. 33
2.4.1. (Unified Signal
Sensor) ............................................................................ 34
2.4.1.1. (Type of sensor).................. 35
2.4.1.2.
(Measure interval, s)......................................................... 35
2.4.1.3. (Ain low & Ain
high) ............................................................................. 35
2.4.1.4. ,
(First point Delta), (Second point Delta)
(Third point Delta)........................................................ 36
2.4.2. (Thermocouple sensor)36
2.4.2.1. (Cold junction
compensation) ................................................................ 38
2.4.3. (RTD
sensor) ............................................................................ 38
2.4.4. (Contact sensor)................ 40
2.5. (Analog output) ....................... 42
2.5.1. (Type) .................................... 43
2.5.2. (Null
correction) (Full
range correction) ............................................................... 43
3. ............... 44
3.1. Modbus (Slave).................................................... 44
3.1.1. (Address) ....................... 45
3.1.2. Modbus (FIX).
............................................................................ 45
3.1.3. ............... 47
3.1.3.1. Debug RS?232, RS?232, RS?
485............................................................................... 47
3.1.3.1.1.
(CommunicationSpeed, bod)............................................ 48
3.1.3.1.2. (Parity) .............. 48
3.1.3.1.3. (DataBits)..... 48
3.1.3.1.4. ? (StopLength) . 48
3.1.3.1.5. (InterfaceType) ....... 49
3.1.3.1.6.
(FrameOriented) ........................................................... 49
2

3.1.3.1.7. ,
(Framing time) .............. 49
3.1.3.2. TCP............................................................ 49
3.1.3.2.1. (RemotePort) .......... 50
3.1.3.3. Modem .............................................. 50
3.1.3.3.1. 1(Tel number1),
2(Tel number2),
3(Tel number3) ................................................... 53
3.1.3.3.2.
(Enable alternative numbers) ............................. 53
3.1.3.3.3. (Connect time) ..... 53
3.1.3.3.4. (Amount
Repeat)....................................................................... 53
3.1.3.3.5. (Repeat time)
................................................................................. 54
3.1.3.3.6. (Polling
resume time) ................................................................ 54
3.1.3.3.7.
(Max answer time) .......................................... 54
3.1.3.3.8.
(Test period).................................................... 54
3.1.3.3.9.
(Request timeout)............................................ 55
3.1.3.3.10. (Block
incoming calls) ............................................................. 55
3.1.3.3.11. (Idle
disconnection time) ....................................................... 55
3.1.3.3.12.
(Software flow control) ................................................... 55
3.1.3.3.13. (Modem
init filename) ................................................................ 56
3.1.4. ................ 56
3.1.4.1.
.......................................................................... 58
3.1.4.2. .............. 59
3.2. Modbus (Master) ................................................. 61
3.2.1. Modbus (Master) .... 62
3.2.1.1. IP? (Module IP) ............................ 64
3.2.1.2. ?, (Max
timeout)......................................................................... 64
3.2.1.3. TCP (TCP port) ............................. 64
3.2.1.4. (NetMode) ............ 64
3.2.1.5.
(ModuleSlaveAddress) ...................................................... 65
3.2.1.6. (Work mode)................... 65
3.2.1.7. (Amount Repeat)............ 65
3

3.2.1.8. (Byte
Sequence)...................................................................... 66
3.2.1.9. , (Polling
time) ............................................................................. 66
3.2.2.
Modbus (Master) ................................................................ 66
3.2.2.1. (Command) ... 67
3.2.2.2.
(Start Address)................................................................ 67
3.2.2.3. (Amount byte) ......... 67
3.2.3. ............................... 67
3.3. (Archiver).......................................... 69
3.3.1. (Archive Mode) 71
3.3.2. (Archive Type)........................... 72
3.3.3. , (Period of Archiving) .. 72
3.3.4. (Archive Name) ......................... 72
3.3.5. (Comment) ................. 72
3.3.6. (Start time)
(Stop time) ......................................... 72
3.3.7. (On Sunday)
(On Saturday) .................................................................... 73
3.3.8. (File Output) ............... 73
3.3.8.1. (File name).......................... 74
3.3.8.2. (Mode) ............... 75
3.3.8.3. (Type) .......................................... 75
3.3.8.4. (Max file
size) ............................................................................. 75
3.4. Owen (Slave) .................................................... 76
3.4.1. (Slave Name) ......................... 77
3.4.2. (Address Length)... 77
3.4.3. (Address) ....................... 77
3.4.4. Owen (FIX). 78
3.4.5. ..................................... 78
3.4.5.1. (Hash name) .... 80
3.4.5.2. (Index)
? (Use a index?) .................................................... 80
3.4.5.3. (Float
Type) ............................................................................ 80
3.4.5.4. (Precision)............................. 80
3.5. Owen (Spy) ...................................................... 81
3.5.1. Owen (Spy) ................ 81
3.5.1.1. (Address Length) .............. 82
3.5.1.2. (Address) .................. 82
3.6. Owen (Master) .................................................. 83
3.6.1. Owen (Master)............ 84
3.6.1.1. ,
(Max response delay, ms) .................................................. 87
4

3.6.1.2. (Work mode)................... 87


3.7. DCON (Master).................................................. 88
3.7.1. DCON (Universal DCON
Device) ............................................................................ 89
3.7.1.1. (Request format),
(Good response format)
(Bad response format) ...................... 90
3.7.1.2. (Max response
timeout)......................................................................... 93
3.7.1.3. (Work mode)................... 93
3.8. (Statistic) ........................................... 95
3.9. (Constant value) ................................. 96
3.9.1. (Constant Value) ........... 96
3.9.2. EasyWorkPLC
(Comment for EasyWorkPLC)................................................. 97
. ,
................................................................. 98
.1. 50, 100 100
150 .............................................................................. 98
.2. ................................ 98
.
...................................................................................100
. .............................104
.1. ( ) .............................104
.2. ......................................104
.2.1. Modbus () ..........................................104
.2.2. () .............................................105
.2.3. DCON () ............................................108
.3. Modem ...................................109
.4. ...................................110
.5. ...110
. DCON
Master ......................................................................112
.1. IPC?7033 .....................112
.2. IPC?
7021 1
...........................................................................114
. Modem .............117
.1. Modem
.............................................................................117
.2. Modem ...........118


/ .
/ ( )
, (
,
).
/ (%I %Q). /
target?, .

/. -, ,
, /.

CoDeSys PLC Configuration ( ),
.
, ,
.

,
/ .

, ,

(
..

) ,
,
.


.
. BOOL.
( )
, .
,
.
,
/, ,
, .
BOOL, BYTE, WORD, DWORD, FLOAT, STRING. .
PLC?Configuration CoDeSys,

-.
,
,

.
()
, PLC-Configuration.
/ , .
,
.
.
.
.
,
.
.
: , .
(Target file) ,

,
.

SCADA






Supervisory Control And Data Acquisition. ,

,


: BOOL
:
BYTE, WORD, DWORD, SINT, USINT, INT, UINT, DINT UDINT.
:
REAL ,
.
:
STRING .

.
. , - 80
. CoDeSys,
1 255 .

, , .
.




BYTE:
WORD:
DWORD:
SINT:
USINT:
INT:
UINT:
DINT:
UDINT:
REAL:

0
0
0
-128
0
-32768
0
-2147483648
0
1.175494351e-38F

STRING:

,
0x00

255
65535
4294967295
127
255
32767
65535
2147483647
4294967295
3.402823466e+38F

8
16
32
8
8
16
16
32
32
32

+1

1.
PLC Configuration ( )
(Resources)
CoDeSys ( CoDeSys) (. . 1.1).
, -,

. ,
/ ,
( ).
.
.

CoDeSys () *.cfg.
, (Target file)
CoDeSys.

. 1.1.
.

.
CoDeSys.
9

.

.
1. ,
'Extras' 'Properties'.
2. Target file
Target file PLC Configuration
: .

Extras|Standard Configuaration (. . 1.2.),
,
. 1.1.
3. Target File
, (, 100
150), (POU)
(Global Variables), .. Standard
Configuaration , PLC
Configuration,
.
, Target File
.

. 1.2.

10

1.1.

, (. . 1.3):
, (MinCycleLength,
ms) ,
. 0 50 ,
1 .
.
, 1 . ,
, ,
.
, , ,
.

.
,
, ,
Flash ..

SysLibTime ( 100 ).
, (MaxCycleLength,
ms) ,
.
.
1000 10000 , 1000 .

. 1.3.

11

1.2.
:

. ;

, :
SLOT , ,
.
;
(VAR)
(
/).
,
.. .
Append
Subelement ( ) ,

,
.
,
.
. ,

.
Online|Logout
.

1.3.

.
,
,
,
.
(Base parameters)
:
Modul id;

12


Node id. ,

;
- Input, Output, Diagnostic Address
.
, .
.

. 1.4.
,
,
.

. 1.4. .


(Module parameters) (. . 1.5) ,
, :
(Index), (Name), (Value),
(Default) (Min) (Max)
.
.

.

.

13

. 1.5. .

1.4.
.
()
/.
/.
,
,
,
: , %IX 0.0.1
8- 8-
, 4 8 .
:
,
,
.
.
1. , _ ().
2. _.
3. .
4. .
14

, . 1.6,
.

. 1.6.
, ,
.

:
(,
8 discrete inputs = 8 );
;
;
( ).


, , Bit 3.

15

1.5.

,
.
. 1.7 .

Append Subelement (. . 1.1)
, .

. 1.7.

16

2.

:
.
, , ()

, (. 3).

2.1. (Discrete input)


(Discrete input)
/ , .
8- .
:
(Time of filtration) 0
10000, 10 (1 . = 100 , 10 . = 1 ) (. .
2.1.1).
.

(), .
(Visibility)
EasyWorkPLC. yes no,
no (. . 2.1.2).
:
(Trigger) (. . 2.1.3), (Counter) (. . 2.1.4),
(Encoder) (. . 2.1.5) (Counter
SP) (. . 2.1.6).
. 1.3. 1.4.

2.1.1. (Time of filtration)



.

, (1 . = 100 , 10 . = 1
).
:


,
17

,
;

1
(TRUE), ,
0 (FALSE);

0 (FALSE),
,
1 (TRUE);

2 5,
.

, ?1.
,
, ,
, .. .

2.1.2. (Visibility)

EasyWorkPLC
.
yes ,
EasyWorkPLC.

2.1.3. (Trigger)
,
.
(Trigger)
.
.
:
(Number of Input) 0 7,
0 (. . 2.1.3.1).
(SenseEdge)
RISE_EDGE, FALL_EDGE BOTH_EDGE,
RISE_EDGE (. . 2.1.3.1).
(Visibility)
EasyWorkPLC. yes no,
no (. . 2.1.2).
(Trigger)
. 2.1.
18

! ( ) BOOL
: 0 ,
, 1 .

. 2.1.

2.1.3.1. (Number of Input)


,
( 0) .

2.1.3.2. (SenseEdge)
,
.
, , , .
, ,
0 1,
RISE_EDGE, 1 0, FALL_EDGE,
, BOTH_EDGE.
.
, , ..
0. ( 0),

BOTH_ EDGE.
19

!
, , .
, , ..
, ,
, , ,
, .

. 2.2.

. 2.2.

20

2.1.4. (Counter 16bit)


,
,
.
(Counter)
16
. ID=502.
16- .
:
(Number of Input) 0 7,
0 (. . 2.1.3.1).
(SenseEdge)
RISE_EDGE, FALL_EDGE BOTH_EDGE,
RISE_EDGE (. . 2.1.3.2).
(Visibility)
EasyWorkPLC. yes no,
no (. . 2.1.2).
,
.
.

2.1.5. (Encoder 16bit)


,
2-


.
,
. . 2.1.1.
(Encoder)
.
16- ( WORD).
:
(First Input) 0 7,
0 (. . 2.1.5.1).
(Second Input) 0 7,
1 (. . 2.1.5.1).
(Range) 0 65000,
255 (. . 2.1.5.2).

21

(Encoder Type)
RING, LINEAR, RING (. . 2.1.5.3).
(Visibility)
EasyWorkPLC. yes no,
no (. . 2.1.2).
(Encoder)
. 2.3.

. 2.3.

2.1.5.1. (First Input)


(Second Input)
(First Input) (Second
Input) , .

, ;
1- =, 2-
=.

2.1.5.2. (Range)
(Range)
.

22

2.1.5.3. (Encoder Type)


(Encoder Type) :
, .
!
:


, ,
0;

, .
,
..
0 , (Range).

2.1.6.
(Counter SP)

,

. (Counter 16bit), , ,
(
) ,
.
(Counter SP)
.
16- ( WORD).
:
(Start Pin Num) 0 5,
5 (. . 2.1.6.1).
(Stop Pin Num) 0
6, 6 (. . 2.1.6.1).
(Count Pin Num) 0 7,
7 (. . 2.1.6.1).
(Start Sense Edge)
RISING_EDGE, FALL_EDGE BOTH_EDGE,
RISING_EDGE (. . 2.1.6.2).
(Stop Sense Edge)
RISING_EDGE, FALL_EDGE BOTH_EDGE,
RISING_EDGE (. . 2.1.6.2).
23

(Count Sense Edge)


RISING_EDGE, FALL_EDGE BOTH_EDGE,
RISING_EDGE (. . 2.1.6.2).
,
.
(
), .
.

(Counter SP) . 2.4.

. 2.4.

2.1.6.1. (Start Pin Num),


(Stop Pin Num)
(Count Pin Num)
(Start Pin Num)
(Stop Pin Num) ,

.
(Count Pin Num)
, () ,
.

24

2.1.6.2. (Start
Sense Edge), (Stop Sense
Edge) (Count Sense Edge)
(Start Sense Edge),
(Stop Sense Edge)
(Count Sense Edge) ,
(. . 2.1.3.2)
.
.
, , ..
0. ( 0),

BOTH_ EDGE.

25

2.2. (Discrete output)


(Discrete output)
/ .
(
).
:
(Save Value) TRUE FALSE
(. . 2.2.1).
(Visibility)
EasyWorkPLC. yes no,
no (. . 2.1.2).
:
(Pulse?wide modulator) (. . 2.2.2) (Generator)
(. . 2.2.3).
/
.
.
/
, /
.
. 2.5 :
.

. 2.5.

26

. ,
,
(Save Value)
.

2.2.1. (Save
Value)
.
- ,
..,
: . ,
.

,
(Save Value). : FALSE ,
(=0), TRUE (=1).

2.2.2. (Pulse?wide modulator)


,

?
, .
(Pulse?wide modulator)
.
16- ( WORD).
:
(Number of output) 0 7,
0 (. . 2.2.2.1).
. 0 (n-1), n
,
.
100 (Period of PWM in 100 mksec)
100 360000, 100 . (. .
2.2.2.2).
100
(Minimal duration of impulse in 100 mksec) 1
65000, 30 . (. . 2.2.2.3).
. 1 . = 100 .

27

(Visibility)
EasyWorkPLC. yes no,
no (. . 2.1.2).
,
( 0 65535 ( 0 100%
)).
(Pulse?wide modulator)
. 2.6.

. 2.6.

2.2.2.1. (Number of output)


(Number of output)
, -.

2.2.2.2. 100 (Period of


PWM in 100 mksec)
100 (Period of PWM in 100 mksec)
-.
100 360000 ., 10
36 .

28

2.2.2.3.
100 (Minimal duration of impulse in 100 mksec)
100
(Minimal duration of impulse in 100 mksec)
.

2.2.3. (Generator)

(Generator)

,


.
. (Generator)
- .
.
100-
.
(Generator) . 100-
, , , 30.
(Generator)
.
3 ,
:
(Frequency) - 1 10 ,
(Q?Duty Circle) 0 999 ( 0 99.9%
0.1%);
/ (Amount Ticks).
,
. 00 ,
0xffffffff .
:
(Invertion)
yes no, no (. . 2.2.3.1).

. 2.7.

29

(Generator)

. 2.7.

2.2.3.1. (Invertion)
(Invertion)
(Generator)
.

30

2.3.
(Special output) (Button)
(Button)
,
"/" .
,
Button .
. Button ,
.
3 , .
.
(Special output) ,

(
). TRUE
.
.
:
(Visibility)
EasyWorkPLC. yes no,
no (. . 2.1.2).
.
/ .

(Special output) (Button) . 2.8 2.9.

31

. 2.8.

. 2.9.

32

2.4.
.
.

.
.
Replace Elements
:
, ( ),
( )
.

, .
.
. 2.10
.

. 2.10.


, ,
.

33

2.4.1.
(Unified Signal Sensor)

:
(Type of sensor) ,
,
IT_4_20 ( 4 20
) (. . 2.4.1.1).
(Measure interval, s)
,
, .. , 1 , 1 (.
. 2.4.1.2).
(Ain low & Ain high)
, 0 (.
. 2.4.1.3).
, (First
point Delta), (Second point Delta) (Third point Delta)
,
0 (. . 2.4.1.4).
:
Value (), Real ,
,
.
. ( )
.

.
.
.

Circular time ( ), Word


0
65536 . (1 .=10 ).

.
Analog Input , .


. 2.11.

34

. 2.11.

2.4.1.1. (Type of sensor)


(Type of sensor) ,

.
:
0 20 , 4 20 , 0 5 ,
50 +50 , 0 1 , 0 10
0 5000 .
.

2.4.1.2.
(Measure interval, s)
(Measure
interval, s) .

2.4.1.3. (Ain low & Ain


high)
(Ain low & Ain high)
.
,
020 100 +500 ,
0
35

100 , 20
+500 .
100 +500. .

2.4.1.4. ,
(First point Delta), (Second point
Delta) (Third point Delta)
,
(First point Delta), (Second point Delta) (Third point
Delta) .
( 2-
).
. ,
, .
[xxx]_Point , ,
Delta
.
. ,
, 1- 50 ,
48 . 2 ,
,
.
. ,
.
,
.
. ,
,
,
2- ( ).
, . ,
, , .

2.4.2. (Thermocouple
sensor)
:
(Type of sensor) ,
, TP_L
( (L) [200 ...+800 ]) (. .
2.4.1.1).
36

(Measure interval, s)
,
, .. , 1 , 1 (.
. 2.4.1.2).
(Cold junction compensation)
On () Off (),
On (. . 2.4.2.1).
(Ain low & Ain high)
, 0 (.
. 2.4.1.3).
, (First
point Delta), (Second point Delta) (Third point Delta)
,
0 (. . 2.4.1.4).
:
Value (), Real ,
,
.
. ( )
.

.
.
.

Circular time ( ), Word


0
65536 . (1 .=10 ).

.
Analog Input , .


.
(Type of sensor).
.

, , 148.
.

. 2.12.
37

. 2.12.

2.4.2.1. (Cold
junction compensation)
(Cold junction
compensation) .

.
.

2.4.3.
(RTD sensor)

""


, .
:
(Type of sensor) ,
, r385_50
( Pt 50 ( =0,00385 -1), . . 2.4.1.1).
(Measure interval, s)
,
, .. , 1 , 1 (.
. 2.4.1.2).
(Ain low & Ain high)
, 0 (.
. 2.4.1.3).

38

, (First
point Delta), (Second point Delta) (Third point Delta)
,
0 (. . 2.4.1.4).
:
Value (), Real ,
,
.
. ( )
.

.
.
.

Circular time ( ), Word


0
65536 . (1 .=10 ).

.
Analog Input , .


.
(Type of sensor).
.
.

. 2.13.

. 2.13.

39

2.4.4. (Contact sensor)



,
.
:
(Type of sensor) ,
, KT (. .
2.4.1.1).
(Measure interval, s)
,
, .. , 1 , 1 (.
. 2.4.1.2).
:
Value (), Real ,
,
.
. ( )
.

.
.
.

Circular time ( ), Word


0
65536 . (1 .=10 ).

.
Analog Input , .
1
0. 1 , ,
, 50 .
, 50
.

. 2.14.

40

. 2.14.

41

2.5. (Analog output)


.

:

, ;
, ;
, .
:
(Type) Current 0
20 mA Voltage 0 10 V,
(. . 2.5.1).
(Null correction)
(Full range correction) ,
, 0 (.
. 2.5.2).
(Save Value)
, , 0 (. . 2.2.1).
(Visibility)
EasyWorkPLC. yes no,
no (. . 2.1.2).
. 2.15
.

. 2.15.

42

2.5.1. (Type)
(Type) .
: 420
010 .
.
.
,

. 4 20, 0
10. Real.

2.5.2. (Null
correction)
(Full range correction)
(Null correction)
(Full range correction)
.
.
: 4 15 ,
1 10 .

43

3.

,

.
,

3.1. Modbus (Slave)


Modbus ,

. Modbus , ..,
: (slave),
, (master),
.
, ..
slave.
.
:
(Address) 1 247,
0 (. . 3.1.1).
(Visibility)
EasyWorkPLC. yes no,
no (. . 2.1.2).
:
Modbus (FIX) (. . 3.1.2).
, Modbus,
Append
Subelements.
!

()


.
Modbus (Slave)
. 3.1.

44

. 3.1. Modbus (Slave)

3.1.1. (Address)
(Address)
. 1 247,
0, ,
.

3.1.2.
Modbus

(FIX).


, .
, , .
Modbus (Slave)
Modbus (FIX) , ,
.
: RS?232, RS?
485, TCP (Ethernet) Modem (Hayes?).

. . 3.2
.

45

. 3.2.

, .. .
, ,
(
). , ,
/ (, Scada
). , ,
, , ,
,
, .
. 3.3.

. 3.3.
46

,
com- Ethernet. Ethernet
(, .), Scada ,
,
com-, ,
.
.

3.1.3.
3.1.3.1. Debug RS*232, RS*232, RS*
485
. 3.4.
.

. 3.4.
, ,
,
, .
:
(CommunicationSpeed, bod)
(2400, 4800, 9600, 14400, 19200, 28800,
38400, 57600, 115200), 115200 (. . 3.1.3.1.1).
(Parity) ,
NO PARITY CHECK ( )
(. . 3.1.3.1.2).
47

(DataBits) 5
8 , 8 (. . 3.1.3.1.3).
? (StopLength)
(, ),
(One stop bit) (. . 3.1.3.1.4).
(InterfaceType)
RS?232 RS?485, RS?485 (. . 3.1.3.1.5).
(FrameOriented)
ASCII RTU-, ASCII (. .
3.1.3.1.6).
,
(Framing time) 0 50 ,
0 (. . 3.1.3.1.7).
(Visibility)
EasyWorkPLC. yes no,
no (. . 2.1.2).
. Debug RS-232
:
Parity = NO PARITY CHECK
Data Bits = 8
Stop Length = 1

3.1.3.1.1.
(CommunicationSpeed, bod)

(CommunicationSpeed, bod)
.
3.1.3.1.2. (Parity)
(Parity)
(, ).
3.1.3.1.3. (DataBits)
(DataBits)
.
3.1.3.1.4. * (StopLength)

.

48

(StopLength)

3.1.3.1.5. (InterfaceType)
(InterfaceType)

(RS?232 RS?485).
3.1.3.1.6. (FrameOriented)
:
ASCII
(RTU-).
(FrameOriented) (RTU
ASCII).
ASCII-
,
, , .
RTU- :
, , -
/ ( ).
.
(, Modbus 3,5
), , ,
. ,
.
3.1.3.1.7. ,
(Framing time)
,
(Framing time)
, .

.

3.1.3.2. TCP

TCP.
TCP:
(RemotePort)
0 65535, 502 (. . 3.1.3.2.1).

49

(Visibility)
EasyWorkPLC. yes no,
no (. . 2.1.2).
. IP- MAC-

-.

(. PLC Browser).
MAC- IP- .
. 3.5. TCP
.

. 3.5. TCP
3.1.3.2.1. (RemotePort)

.

(RemotePort)

3.1.3.3. Modem

Hayes- .
:
1 (Tel number1)
(. . 3.1.3.3.1).
2 (Tel number2)
(. . 3.1.3.3.1).
3 (Tel number3)
(. . 3.1.3.3.1).
50

(Enable
alternative numbers) ,
yes no, no (. .
3.1.3.3.2).
(Connect time) ,
,
0 2147483647, 180 (. . 3.1.3.3.3).
(Amount repeat)
, 0 2147483647,
3 (. . 3.1.3.3.4).
(Repeat time) ,
,
0 2147483647, 120 (.
. 3.1.3.3.5).
(Polling resume time)
, ,
0 2147483647,
600 (. . 3.1.3.3.6).
(Max answer
time) ,
0 65535,
40 (. . 3.1.3.3.7).
(Test period)
,
0 65535, 5 (. .
3.1.3.3.8).
(Request timeout)
,
0 65535,
1 (. . 3.1.3.3.9).
(Block incoming calls)
,
yes no, no (. . 3.1.3.3.10).
(Idle disconnection time)
, OPC ( ,
),
0 65535, 60 (. . 3.1.3.3.11).
(Software flow control)
,
yes no, no (.
. 3.1.3.3.12).
(Modem init filename)
,
(. . 3.1.3.3.13).

51

. 3.6.
.

. 3.6.

Modem
, , .
:
Line status :
- 2, ;
- 1,
;
- 0, .
Modem fault , 1,
. 0,

( ).
Start auto dial :
- 0FF ;
- 0x01 ;
- 0x02 ( ,
)
(
Tel number1 );
Stop
dial

1,
.
0.

52

3.1.3.3.1. 1(Tel number1),


2(Tel number2), 3(Tel
number3)
1 (Tel number1),
2 (Tel number2), 3 (Tel number3)
, .
: ATDT ATDP
.
:
1) 84959999999 - , ,
;
2) ATDT+79069999999 GSM- ( ),
;
3) ATDP88129999999 -,
.
3.1.3.3.2.
(Enable alternative numbers)

(Enable alternative numbers)
.
(Tel Number1, Tel Number2, Tel Number3) .
,
yes, Tel
Number1, no.
3.1.3.3.3. (Connect time)
(Connect time) ,

, .
, ,
, . 0
.
3.1.3.3.4. (Amount
Repeat)
(Amount Repeat)
. 0
.
53

3.1.3.3.5. (Repeat time)


(Repeat time) ,
. 0
- .
3.1.3.3.6. (Polling
resume time)
(Polling resume time)
,
.
,
,
.
0 , ..
( ) .
3.1.3.3.7.
(Max answer time)

(Max answer time)
.
(

CONNECT).

( ).
3.1.3.3.8.
(Test period)
(Test
period) .
,
Modem fault 1. 0 ,
.

54

3.1.3.3.9.
(Request timeout)

(Request timeout)
.
1 , , ,
.
, ,
.
3.1.3.3.10. (Block incoming
calls)
(Block incoming calls)
.
yes, , ,
, Modbus (Master)
( ,
). no,

Slave- (, MobBus Slave).
Slave- DCON Slave, Owen Slave
.
3.1.3.3.11. (Idle
disconnection time)
(Idle disconnection
time) ,
OPC- ( ,
) ,
. 0
.
3.1.3.3.12. (Software
flow control)
(Software flow
control) .

Xon / Xoff. ,

55

AT- (. -
). ,
yes, ,
no.
3.1.3.3.13. (Modem init
filename)
(Modem init filename)

.

.
.
,
AT- ATZ.
: extconf.cfg.
Modem .

3.1.4.
,
Modbus (Slave).

Modbus (Slave).
Modbus ,
Modbus (Slave), , .
. ,
.. ( 2 ).
, .
,
, -.
, , .
0 n , 0 n,
(.. 2 ).
Modbus (Slave)
(): REAL, 4 , 2 8 (. . 3.7).

56

. 3.7. Modbus (Slave).



. slave-
,
( 0- ), .
Modbus (Slave)
. ,
0, ,
1 (
) , ..
57

, ,
() (..,
2-, 8-, 4-),

/.

3.1.4.1.


(align), CoDeSys,
, 8
, 2 4
. 4- 4, 2-
2, ( 8 ) 1
.
( 0
- ) , ,
, 000,
001 .. 4- ,
004, .., 4, .. ,
, , 4 4 .
,
. ,
,
, /,
:
,
(). ,
,
.

. 3.8.

58

. 3.8. /

3.1.4.2.
,
, , ,
, , .
Modbus (Slave), , ..
,
, .
59

Modbus (Slave),
, , Modbus
(Slave), ,
,
(
).
:
;


, , .

. 3.9.

. 3.9.
SCADA,
Modbus (Slave),
. , SCADA
. ,
(,
() Modbus (Slave)), SCADA .
SCADA
, ,
, . ,
: SCADA ,
.

60

3.2. Modbus (Master)


Modbus
, .. Master.
, Modbus (Master),

,
..
:
(Visibility)
EasyWorkPLC. yes no,
no (. . 2.1.2).
Modbus (Master) . 3.10.

. 3.10. Modbus (Master)


Modbus (Master) ,
Modbus (Slave).
:

. ,
TCP,
( Universal
Modbus Device).
, ,

61

Modbus (Master) .
Append Universal Modbus Device,
(. . 3.10).
Modbus (Master)
.
:
LastAddress Modbus (Master)
. , , ,
: .
LastError . ,
.
.
.

3.2.1.
(Master)

Modbus

Modbus (Master)
. 3.11.

. 3.11.
Modbus (Master)

,
( -,
62

). ,
.
Modbus Start/Stop.
0x00FF,
Modbus, 0x00FE,
.
, 0x00FF
Modbus.
Modbus:
IP? (Module IP) IP- (. .
3.2.1.1).
?, (Max timeout)
, , .. , 10 ,
150 (. . 3.2.1.2).
TCP (TCP port) 502 (. . 3.2.1.3).
! ,
.
(NetMode)
TCP Serial, TCP (. . 3.2.1.4).
(ModuleSlaveAddress)
1 247, 1 (. . 3.2.1.5).
(Work mode)
(Poll time), (Value
change), (Both)
(By Command), Polling time (. .
3.2.1.6).
(Amount Repeat)
0 5, 0 (. . 3.2.1.7).
(Byte Sequence)
, (Native)
, Trace mode (Trace mode),
Native (. . 3.2.1.8).
, (Polling time)
10 10000, 100 (. . 3.2.1.9).
. ,
,
Polling time . 100

. , ,
Login / ,
, ( 200, 300 ..)
.
63

(Visibility)
EasyWorkPLC. yes no,
no (. . 2.1.2).
! , . 3.10,
, TCP, ,
TCP Serial.

3.2.1.1. IP* (Module IP)


IP? (Module IP) IP-
, ,
TCP.

3.2.1.2. *, (Max
timeout)
?, (Max timeout)
,
.
, , .
Last error.
.

3.2.1.3. TCP (TCP port)


TCP (TCP port)
Modbus TCP 502, ,
, .

3.2.1.4. (NetMode)
(NetMode) 2
TCP Serial:
TCP , TCP.
Serial ,
.
Serial
, .

64

TCP Ethernet.
IP-.

3.2.1.5.
(ModuleSlaveAddress)

(ModuleSlaveAddress) .
1 247. 0
. , .

3.2.1.6. (Work mode)


(Work mode)
Modbus (Master) :
Poll time
,
(Polling time);
Value change
Owen (Master)
;
Both
, Polling time ,
;
By Command
, Command
0x00FF.

.
(By Command) :
0x00FF
, 0x00FF
.
.
0x00FE
.

3.2.1.7. (Amount Repeat)


(Amount Repeat)
/ .
(Polling time) .
65

3.2.1.8. (Byte
Sequence)
(Byte Sequence)
,
Modbus 32 .
,
, .
/ O ( 8)
Trace_mode.

3.2.1.9. , (Polling
time)
, (Polling time)
.

3.2.2.
Modbus (Master)
Universal Modbus Device
, /
. ():
REAL, STRING, 4 , 2 8 . ,
:
Comm, (. .
3.2.1.6).
/ Modbus (Master):
(Command)
, preset single
register (0x06) (write multiple
registers (0x10) 2- .) (. . 3.2.2.1).
(Start Address)
(. . 3.2.2.2).
(Amount byte) String,
1 80, 80 (. . 3.2.2.3).
. 3.12
.

66

. 3.12. /

3.2.2.1. (Command)
(Command)
( ) , ,
.. ()
ModBus.

3.2.2.2.
(Start Address)
(Start
Address) .

3.2.2.3. (Amount byte)


(Amount byte)
,
.

3.2.3.
Modbus (Master)
, .

, .,

67

, ,
.
. CoDeSys
Delete. ,
- -,
Empty.
.
,

Modbus.
Modbus (Master) .
3.13.

. 3.13. Modbus (Master)

68

3.3. (Archiver)
,
,

-
. Flash
. ,
,
.
,
. ,
Replace element.
:
(Archive Mode)
By timer, By change value By command,
By timer (. . 3.3.1).
(Data Archive Type)
ASCII only Mixed, ASCII only (.
. 3.3.2).
, (Period of Archiving)
5 65535 , 60 (. . 3.3.3).
(Archive Name) (. .
3.3.4).
(Comment)
(. . 3.3.5).
(Start time)
(. . 3.3.6).
(Stop time)
(. . 3.3.6).
(On Sunday) (On Saturday)
() ,
. yes no,
yes (. . 3.3.7).
(Visibility)
EasyWorkPLC. yes no,
no (. . 2.1.2).
:
(File Output) (. . 3.3.8).

. 3.14.

69

. 3.14.

Append
Subelement ,
,
Archiver. : , ,
4-, ( 15
+ ).
Variable Name,
.
Status,
.
.

.
3.15.

TCP
. 3.2.

70

. 3.15.

3.3.1. (Archive
Mode)
(Archive Mode)
:
By timer
;
By change value : -
, , ,
, .
, ;
By command : Status
,
, (0x00FE , 0x00FF ).

71

3.3.2. (Archive Type)


(Archive Type)
:
ASCII only ,
, ..;
Mixed :
, ,
,
.

3.3.3. , (Period of
Archiving)
, (Period of Archiving)

.

3.3.4. (Archive Name)


(Archive Name) ,
.

3.3.5. (Comment)
(Comment)
. ,

.

3.3.6. (Start time)


(Stop time)
(Start time)
.
(Stop time)
.
! ,
, , ..
. ,
::,

. /
, .
72

3.3.7.
(On Saturday)

(On

Sunday)

On Sunday On Saturday
, .
!
. File
Status, ,
,
. , ,
.

3.3.8. (File Output)


(File Output) ,
.
File Output
.
File Output File Status,
.
.
:
(File name) ,
File_name.log (. . 3.3.8.1).
(Mode)
Append to end, Rewrite on start, Rewrite on oversize Shift Mode,
Append to end (. . 3.3.8.2).
(Type) Text Binary,
Text (. . 3.3.8.3).
(Max file size) 100 320000,
500 (. . 3.3.8.4).
(Visibility)
EasyWorkPLC. yes no,
no (. . 2.1.2).
File Output . 3.16.

73

. 3.16. File Output

3.3.8.1. (File name)


(File name) ,
.

74

3.3.8.2. (Mode)
(Mode)
:
Append to end
, , , .
( ),
( Max file size);
Rewrite on start

;
Rewrite on oversize

, ;
Shift Mode , ,
, (
) ,
, , .. .

3.3.8.3. (Type)
(Type) ,
:
(Text)
,
;
() (Binary)
.

3.3.8.4. (Max file


size)
(Max file size)
,
: ,
.

75

3.4. Owen (Slave)


Owen (Slave)
.
Modbus (Slave), Owen (Slave)
,
.
:
(Slave Name) ,
max 8 sym (. . 3.4.1).

(Address Length)
8 bit 11 bit, 8 bit (.
. 3.4.2).
(Address) 0 255
0 2048, , 1 (.
. 3.4.3).
(Visibility)
EasyWorkPLC. yes no,
no (. . 2.1.2).
:
Owen (FIX) (. . 3.4.4).
PLC Configuration Owen
(Slave).
.
, ,
Append
Subelements.
!

()

. 3.17.

76

Owen (Slave)

. 3.17. Owen (Slave)

3.4.1. (Slave Name)


(Slave Name)
. ,
dev.

3.4.2.
Length)

(Address

(Address Length)
.
8- 11- ( ,
).

3.4.3. (Address)
(Address)
, .
0 2048.
! Modbus
(Slave), .

77

3.4.4. Owen (FIX).

Owen (Slave) Owen


(FIX) , ,
.
!
Modbus (FIX) (. . 3.1.2.).
: (FrameOriented)
ASCII, ,
.

3.4.5.

, ( ):
Float variable (Listen),
Float variable +
time (Listen),
Unsigned variable (Listen),
Unsigned
variable + time (Listen),
String variable (Listen),
String variable + time (Listen),
Time variable (Listen),
Time variable + time (Listen).
. Listen ,
, () .
:
(Hash name) (. .
3.4.5.1).
(Index) 0 65535,
0 (. . 3.4.5.2).
? (Use a index?)
yes no, no (. . 3.4.5.2).
(Float Type)
Float, Float?Pic, Fix point binary Fix point BCD,
Float (. . 3.4.5.3).
(Precision) 0 7,
2 (. . 3.4.5.4).

. 3.18.
78

. 3.18.

. Address Length, Address


Owen (Master) Owen (Spy), Polling time Owen (Master).
Owen (Slave) .
Float ,
, , , ,
( ).
Unsigned
( .., )
. Unsigned Insert element
1 , 2 , 4
. 4-
16 . , . .
3.1.2.1. .

String

15
.
Time .
Owen ,
: ::::::.
,
. ( )
(Less Time Field) .

.

79

3.4.5.1. (Hash name)


(Hash name)
.
Owen.
Hash?, RS-485.

3.4.5.2. (Index)
? (Use a index?)
(Index) ,
? (Use a index?)
.
,
.

3.4.5.3. (Float
Type)
(Float Type)
Float.
:
Float IEEE,
, CoDeSys Real,
4 ;
Float?Pic 3 ,
, .. ,
( ) ;
Fix point binary ;
Fix point BCD -
.
! .

3.4.5.4. (Precision)
(Precision)
: 2,
10,12 . 1 10,1, 3
10,120. .
0 7.

80

3.5. Owen (Spy)


Owen (Spy) ,
,
.
Owen (Spy)
, ( com-,
,
, .)
Owen Owen (Slave).
Owen (Spy) , ,
,
RS-485. , ,
- ,
Owen (Spy) .
,
-
.
,
. Owen
(Spy) :
.
:
(Visibility)
EasyWorkPLC. yes no,
no (. . 2.1.2).

. . 3.18.

Owen

(Spy)

3.5.1. Owen (Spy)


Owen (Spy) , . 3.4.5.
:
(Address Length) 8
bit 11 bit, 8 bit (. . 3.5.1.1).
(Address) 0 255
0 2048, , 0 (.
. 3.5.1.2).
(Hash name)
(. . 3.4.5.1).
(Index) 0 65535,
0 (. . 3.4.5.2).
81

? (Use a index?)
yes no, no (. . 3.4.5.2).
(Float Type)
Float, Float?Pic, Fix point binary Fix point BCD,
Float (. . 3.4.5.3).
(Precision) 0 7,
2 (. . 3.4.5.4).
.
1. (Index),
? (Use a index?), (Float Type),
(Precision) Owen (Slave).
2. (Hash name)
, .
,
() Owen (Spy).
3. , (Polling time, ms)
.

3.5.1.1. (Address Length)


(Address Length)
, .
8-
11- .

3.5.1.2. (Address)
(Address)
, .
0 255 0 2047,
.

82

3.6. Owen (Master)


Owen , ..
Master, Owen
(Master),
.
Owen (Master) Owen
(Slave).
:
, (Max response delay,
ms) 0 32000, 50
(. . 3.6.1.1).
(Visibility)
EasyWorkPLC. yes no,
no (. . 2.1.2).
Owen (Master) ,

.
:
(Last address) ,
Owen (Master).
(Last error) ,
.
Hash? (Last Hash) Hash? ,
.
/
(Start/Stop)

/ :
0x00FF, ,
0x00FE,
. ,
0x00FF
.

.
Owen (Master) .
3.19.

83

. 3.19. Owen (Master)


Owen (Slave) Owen (Master)
Owen (FIX) .
Replace element
.

3.6.1. Owen (Master)


Owen (Master) , .
3.4.5. , :
Comm,
.
Owen (Master)
. 3.20.

. 3.20. Owen (Master)


84

:
( Listen)
( Write).
:
(Address Length)
8 bit 11 bit, 8 bit (. . 3.4.2).
(Address) 0 255
0 2048, , 0 (.
. 3.4.3).
(Hash name) (.
. 3.4.5.1).
(Index) 0 65535,
0 (. . 3.4.5.2).
? (Use a index?)
yes no, no (. . 3.4.5.2).
, (Polling time, ms)
20 5000, 20 (. . 3.2.1.6).
(Work mode)
(Polling time), (Value
change), (Both)
(By Command), Polling time (. .
3.6.1.2).
. ,
,
Polling time . 100
. , ,
Login / ,
, ( 200, 300 ..)
.
(Precision) 0 7,
2 (. . 3.4.5.4).

String variable . 3.21.

85

. 3.21.
String variable
.
1. (Index),
?
(Use a index?)

Owen (Slave).
2. (Hash name):
,
Owen (Master).
.
Hash-, RS-485.
3. , (Polling time,
ms) ,
Modbus (Master), : 20 5
.
! ,
:
, , ,
,
. ,
, , ,
, / .

86

3.6.1.1. ,
(Max response delay, ms)
, (Max
response delay, ms) ,
Owen (Master). , ,
.

3.6.1.2. (Work mode)


(Work mode)
Owen (Master) :
Polling time
,
(Polling time);
Value change
Owen (Master)
;
Both
, Polling time ,
;
By Command
, Command ,
, 0x00FF.
.
1.

( Listen)
(Polling time), ,
(Command). ( Write)
(Polling time),
(Value change)
(Both),
, (By Command).

2.


(By Command)
: 0x00FF
,
0x00FF .
.
0x00FE
.

87

3.7. DCON (Master)


DCON
, .. Master,
DCON (Master),

DCON.
:
(Visibility)
EasyWorkPLC. yes no,
no (. . 2.1.2).
DCON (Master)
. 3.22.

. 3.22. DCON (Master)


Owen (Master), DCON (Master)
.
. 3.1.2.
. 1.2.
DCON (Master)
(Last error), ,
.
DCON (Master)
Modbus (Master): ,
,
DCON .
88

Append Universal DCON Device,


.

3.7.1.
(Universal DCON Device)

DCON

DCON
(Universal DCON Device) . 3.23.

. 3.23.
DCON

,
.
,

-,

.
DCON
:

();
Append Subelement ;
,

. (output variables)

DCON.

(input variables);
.
89

DCON (Status).

, .
(Status)
/ : Status
, ,
(0x00FE , 0x00FF ).
DCON (Master):
(Request format) ,
, (. . 3.7.1.1).
(Good response format)
, ! (. . 3.7.1.1).
(Bad response format)
, ? (. . 3.7.1.1).
(Max response timeout)
. ,
, .. , 10 ,
150 (. . 3.7.1.2).
(Work mode)
(By poll time), (By value
change), (Both)
(By command), By poll time (. .
3.7.1.3).
(Visibility)
EasyWorkPLC. yes no,
no (. . 2.1.2).
, (Polling time)
10 10000, 100 (. . 3.2.1.6).
. ,
,
Polling time . 100
. , ,
Login / ,
, ( 200, 300 ..)
.

3.7.1.1. (Request format),


(Good response format)
(Bad response format)
DCON
, , ,
: ( , )
90

, ( ,
/ .) .
(Request format),
(Good response format), (Bad
response format) DCON
(Master) / .
,
.
,
.
, ,
$ ( ), [ ] (
).
.
, .
: [{} ].
, .
. ,
. ,
= 1.

D, H, F, S, *, +, %. .
:
D ASCII-
( ) ASCII-
( ) .
;
H ASCII-
ASCII-

.
;
F ASCII-
,
(). ,
.
ASCII- ;
S
,

91


;
* , .
;
+
.
256.
;
%
. 8-

(DOW-CRC).

. DCON
: ,

8- .
,
.
:

,
() .
, ,
;

, ,
. ,
,
() .
, ..
, - ,
, .
: , ( ), ,
, ., ..
.
DCON
. (input variables)
,
, (output variables)
.
92

DCON
(8,16 32 16 )
( , ).

Request format Good response
format (. . 3.20).
Append Subelements (. . 3.24).
DCON (Master)
/ .

. 3.24.
DCON (Master)

3.7.1.2. (Max
response timeout)
(Max response timeout)
,
DCON (Master). ,
, .
(Last error).

3.7.1.3. (Work mode)


(Work mode)
DCON (Master) :

93

By poll time
,
(Polling time);
By value change
DCON (Master)
;
Both
, Polling time ,
;
By command
, (Status)
DOCN 0x00FF.

94

3.8. (Statistic)
(Statistic)
:
/ Power
status ( 1);
, ,
Error (0 , 1
);
:
(Cycle time in 100 mks),
,
.
,
MinCycleLength, ,
,
, ;
, , (Time to backup
power down, s),
( ).
,
( , .)
.
,
(600 );
(Temp inside PLC), ,
(
,
).
.
.
(Statistic)
. 3.25.

. 3.25.
95

3.9. (Constant value)


(Constant value)
( ).

.
(Constant value)
EasyWorkPLC.
:
(Constant Value)
, 0 (. . 3.9.1).
EasyWorkPLC (Comment for
EasyWorkPLC)
EasyWorkPLC (. . 3.9.2).
(Visibility)
EasyWorkPLC. yes no,
yes (. . 2.1.2).

. 3.26.

(Constant

value)

. 3.26. (Constant
value)

3.9.1. (Constant Value)


(Constant Value)
.
.
, , :
32- [?2*1092*109],
96

Real
, 16- [?
3276832768] ..

3.9.2.

EasyWorkPLC (Comment for EasyWorkPLC)

EasyWorkPLC
(Comment for EasyWorkPLC)
EasyWorkPLC.
.
EasyWorkPLC
,
, (Visibility)
yes.

, .
, - ,
CoDeSys, EasyWorkPLC.

97

. ,

.1. 50, 100


100 150
50, 100 100
,
. -
.
,
, 150
.
50, 100 100
:
1.
.
2. .
3.
0,1 .
4. 50
50 100 100 100.
5.
. ( ,

).
6. First point
0 ( 0 )
Delta , , .
7.
, 0.
8. .

.2.
.1

Type of sensor
8.625
6651 (Termoresistor sensors)
R426_50
Cu 50 ( =0,00426 -1)
50 ...+200
50 ( =0,00428 -1)

R428_50

Pt 50 ( =0,00385 )

R385_50

-1

98

190 ...+200
200 ...+750

. .1

50 ( =0,00391 -1)


Type of sensor
R391_50

Cu 100 ( =0,00426 )

R426_100

100 ( =0,00428 )

R428_100

Pt 100 ( =0,00385 )

R385_100

100 ( =0,00391 )

R391_100

-1

-1

-1

-1

100 ( =0,00617 )
-1

R617_100


200 ...+750
50 ...+200
190 ...+200
200 ...+750
200 ...+750
60 ...+180

Cu 500 ( =0,00426 )

R426_500

50 ...+200

500 ( =0,00428 )

R428_500

190 ...+200

Pt 500 ( =0,00385 -1)

R385_500

200 ...+750

500 ( =0,00391 )

R391_500

200 ...+750

R617_500

60 ...+180

-1

-1

-1

500 ( =0,00617 )
-1

Cu 1000 ( =0,00426 )

R426_1000

50 ...+200

1000 ( =0,00428 )

R428_1000

190 ...+200

-1

-1

Pt 1000

( =0,00385 -1)

R385_1000

200 ...+750

1000

( =0,00391 )

R391_1000

200 ...+750

-1

R617_1000
60 ...+180
1000
( =0,00617 )
( 8.585?2001) (Termocouple sensors)
(L)
TP_L
200 ...+800
(J)
TP_J
200 ...+1200
(N)
TP_N
200 ...+1300
(K)
TP_K
200 ...+1300
(S)
TP_S
0 ...+1600
(R)
TP_R
0 ...+1600
(-1)
TP_WR1
0 ...+2500
(-2)
TP_WR2
0 ...+1800
(-3)
TP_WR3
0 ...+1600
()
TP_T
200 ...+400
( 26.011?80) (Universal
sensors)
0...5,0
IT_0_5
0...100 %
0...20,0
IT_0_20
0...100 %
4,0...20,0
IT_4_20
0...100 %
50,0...+50,0
mV
0...100 %
0...1,0
U0_1
0...100 %
0...10,0
U0_10
0...100 %
(Universal sensors)
(0... 5000 )
R0_5000
0...100 %
.
1. , 100
0 , , 0 (R0), 100
.
2.
.
-1

99

.


Owen (Master)
(. . .1-5).
Owen (Slave) Owen (Spy).

. ,
Owen (Spy) Owen (Slave) Poling Time (
). Owen (Slave)
Address Type ( ) Address ().
1
.1





read



0 .. 6
.2
Owen (Master)


Float variable + time

Address Length
8/11
Address
+
Hash name
read
Index

Use a index?
No
Float type
Float
Precision

Polling time
,

100

2
.3

133, 8, 151, 148



itrL

0,1 30


06
.4
Owen (Master)


Float variable
/ ( )

Address Length
8/11
Address

itrL
Hash name
0-6 ( )
Index
Yes
Use a index?
Fix point binary
Float type
Precision
1
Polling time
,

3
.5

133, 8, 151, 148



/


in?t



06
101

.6
Owen (Master)

Unsigned
variable

/ ( )

Address Length
8/11
Address

in?t
Hash name
06 ( )
Index
Yes
Use a index?
Polling time
,

8 bits
1

4
.7





Dev



.8
Owen (Master)

String variable

( )

Address Length
8/11
Address

dev
Hash name

Index
No
Use a index?
Polling time
,

102

5
.9

133



t.val

3- , :

1 999


07
.10
Owen (Master)

Time variable

/ ( )

8/11
Address Length

Address
t.val
Hash name
0-7 ( )
Index
Yes
Use a index?
Less time field

Seconds

Polling time

1
2

Seconds
Minutes

103

.
,
,
:
;
(, Modbus, DCON);
;
.

.1. ( )
Value.
,
, 4- (. . .1).
.
.1

emSensorOff
emHighColdSold
emLowColdSold
emHighValue


(hex)
(dec)
0xF7
247
0xF8
248
0xF9
249
0xFA
250

emLowValue

0xFB

251

emShortCircuit
emSensBreak
emADCError
emClbrCoef

0xFC
0xFD
0xFE
0xFF

252
253
254
255





(
)
(
)



.2.
.2.1. Modbus ()
Modbus ()
.
Last Address
( IP-,
Modbus);
Last error . .2.
104

.2
Modbus ()

(hex)
(dec)
OK
0x0000
0

NO_DEVICE
0x0051
81

NO_SOCKET
0x0054
84

TCP/IP
SOCKET_ERROR 0x0055
85
/
TCP/IP

.2.2. ()
()
:
Last error (. . .3)
Last Address

Last HASH Hash- ,


.
.3
()

OK
NO_DEVICE
N_ERR


(hex)
(dec)
0x0000
0
0x0051
81
0x0057
87



Hash-
n.Err (0x0233).
(.
. .4)
BAD_HASH
0x4000
16384
Hash-

*
BAD_ADDRESS
0x8000
32768
*
*

105

.4




(hex)
(dec)

OK
0
0

modific
PDOT
2
2
, 3
EROM
3
3
ROM-
ESTR
4
4


EDOT
5
5
(
)
ERNG
6
6

modAllPermis() modEditPermis()
EOWNER
7
7

(
,

).
EPERM
8
8

,
AFE
0x21
33

B8E
0x22
34
8-
B9E
0x23
35
9-
SBE
0x24
36
- (
)
OVB
0x25
37

ERS
0x26
38

CRCE
0x27
39

EDESC
0x28
40

NFNC
0x29
41
,
.

!
,
EDGT
0x30
48
-

SZE
0x31
49

EASK
0x32
50

EACC
0x33
51


IDXOVF
0x34
52

IDXLIM
0x35
53

106

. .4

EXTROM



(hex)
(dec)
0x36
54

RESERVED
0x37
55


LEVGRATT
0x38
56

0 ( )
LEVGRATT1
0x39
57

1
LEVGRATT2
0x3A
58

2
LEVGRATT3
0x3B
59

3
LEVGRATT4
0x3C
60

4
LEVGRATT5
0x3D
61

5
LEVGRATT6
0x3E
62

6
LEVGRATT7
0x3F
63

7
COMMON?
__LOCKSEG
0x41
65

(
COMMON )
__FREESEG
0x42
66
( COMMON
)
__READYSEG
0x43
67

__DEBUGSEG
0x44
68

__NOWHATCOM
0x45
69

WhatCOMState()
__NORUNCOM
0x46
70

RunCOMTask()
0x47
71

(
Valid)
0x48
72
EEPROM

0x49
73
X

0x4A
74
X

0x4B
75

PrevWriteActions()

107

. .4

(hex)
(dec)

GATE _OVR
0x50

GATE_DERR
0x51
81
- ,

(,

)
GATE_NONET
0x52
82

(
)
GATE_MERR
0x53
83

.
.
RS-485

.2.3. DCON ()
DCON ()
:
Last error . .5.
.5
DCON ()

(hex)
(dec)
OK
0x0000
0

NO_DEVICE
0x0051
81

DCON
Status DCON.
.6.
.6
DCON



(hex)
(dec)
NOT_INITIALIZED
0x0000
0

DCON
REQUEST
0x0001
1

BAD_REQUEST_FORMAT
0x0041
65

BAD_REQUEST_DATA
0x0081
129



108

. .6

NO_DEVICE


(hex)
(dec)
0x0051
81

UNINDENTIFIED_ANSVER
OK_ANSVER

0x0021
0x0003

33
3

OK_ANSVER_BAD_FORMAT

0x0043

67

OK_ANSVER_BAD_DATA

0x0083

131

NEG_ANSVER

0x0023

35

NEG_ANSVER_BAD_FORMAT

0x0063

99

NEG_ANSVER_BAD_DATA

0x00A3

163

. Status
DCON DCON
(Work mode=By command).

0xFF.

.3. Modem
Modem
:
Modem fault . .7.

109

.7
Modem

(hex)
(dec)
OK
0x0000
0
,
MODEM_FAULT
0x0001
Modem
1

.4.

:
Status . .8.
.8

(hex)
(dec)
STANDBY
0x0000
0

RUN
0x0001

1

DEVICE_ERROR
0x0002
2

NO_DEVICE
0x0004

4

. Status
. . .9.
.9




(hex)
(dec)
ARHIVING_STARTED
0x00FF
255

ARHIVING_STOPED
0x00FE
254

.5.


File Status .
.10.

110

.10

OK
STOPED
CANT_OPEN
TOO_LARGE


(hex)
(dec)
0x0000
0
0x0001
1
0x0002
2
0x0003
3

FILE_FULL

0x0004

GENERAL_ERROR

0x0005

111






.

.

.
DCON Master
DCON
(Master) /.

.1. IPC?7033

IPC-7033.

IPC?7033:
: #AA[CRC][CR]

;
AA

;
CRC

;
CR

.
:
>+0255.12+013.45+150.11[CRC][CR]

>

;
+025.12
(5 + + )
;
CRC

;
CR

.
DCON (Master)
Universal DCON device,
IPC?7033 ,
. .1.

112

. .1. Universal DCON device


DCON (Master) IPC?7033
8-
Address.
IPC-7033 Float (REAL).
Universal DCON device :
Request format #[2h][+],

;
[2h]

, ,

,
;
[+]


256.

! !
Good response format
>[7f][7f][7f][+],

>


;
[7f]

, ,



,
Float.
113

! [7f]
,

,
.
[+]

CR

, ,

Status.
.

Bad response format ?,

.
Max response timeout 50 .
.
Work mode by change value (
).
.
, ,
dress.
Status
.
! Status
.
.

.2.
IPC?7021 1

IPC-7021
18.
IPC?7021:
: #AA()[CRC][CR]

114

AA

+025.12
CRC
CR

!
CRC
CR

;
;
(5 + + )

;
.

![CRC][CR]
;
;
.

DCON (Master)
Universal DCON device,
IPC-7021, . .2.

. .2. Universal DCON device


DCON (Master)
IPC?7021
, IPC 7021,
power Float (REAL) Universal DCON device.
Universal DCON device :
Request format #18[7f][+],

;
18


( !);
[7f]

, ,

[]......

115

[+]

,
float;

256.

! !
Good response format !,

.
Bad response format ?,

.
Max response timeout 50 .
.
Work mode both (
).
( Polling time)
.
Polling time 1000 .
IPC?7021.

116

.
Modem
Modem
.

.1. Modem

Modem,
Modbus (slave) . .1.

. .1. Modem

Block incoming calls
No, .
, ,
Modbus-. Modbus
, Modem Idle disconnection time
( ) .

, Amount repeat 0.
Tel number1, Tel number2, Tel number3, Enable
alternate numbers, Connect time, Repeat time, Polling resume time
.

117

.2. Modem

Modem,
Modbus (Master) . .2.

. .2. Modem

Tel number1, Tel number2, Tel number3 3


, 3
( Enable alternate numbers Yes). Block
incoming calls Yes, .
Modem 60
( Repeat time).
Modem Modbus (Master),
Modbus-. 180
Modem ( Connect
time) 60 ..

Modbus,
,
Start auto dial 1,
Line status ( 2).
, Modbus-
( Universal Modbus Device Work
mode = By command,
Universal Modbus Device Modbus). , Modbus (,
, Work mode = By command,
), Modem Idle disconnection
time ( ).

118

,
Stop dial 1.
(Start auto dial = 1)
Modem
, , ,
Tel number1. ,
(Tel
number2, Tel number3) 60 ( Repeat
time), . ,
Modem ,
Polling resume time, .. 600 .
Modem
, ,
Repeat time.
(
Software flow control), ,
(
).

119