1. 3
2. 24
3. 41
1. - CIMPLICITY Machine Edition. 57
2. -. 71
1
Smart I/O. ISaGRAF.
: ISaGRAF, , , Smart I/O ISaGRAF.
:
().
:
- ;
- ;
- ;
- .
( ), ( ). .
Smart I/O, ISaGRAF ()
Smart I/O , . , /, .
Smart I/O Smart-Base, Motorola MC86302. Smart-Base , 2 (RS-232 RS-485), , /. : SM-DIN1 (8 024 ), SM-DOUT1 (8 024 ) / SM-DAD1 (4 -10+10 12 2 -10+10 12 ). , -10+10 .
|
|
Smart I/O ISaGRAF, IEC 1131-3. ( IEC) :
SFC (Sequential
Function Charts), .
FBD (Fanction Block
Diagrams), , . , , .
, LD (Ladder
Diagrams), . LD FBD .
ST (Structured Text),
. ST , , IF-THEN-ELSE, FOR-TO-DO, WHILE-DO, REPEAT-UNTIL. .
IL (Instruction List), ().
ISaGRAF :
1. , ( ), ANSI C ( ).
2. , :
- ;
- ;
- ;
- ;
- / , ISaGRAF;
- ;
- .
3. Modbus (RTU, Slave).
4. ISaGRAF ( ISaGRAF Server).
5. / .
6. ISaGRAF - .
7. (PEP Modular Computers, Motorola, ABB, Computer Boards, Keitley Metrabyte, WEIDMULLER .).
8. , /.
9. , .
, . , PEP Modular Computers ISaGRAF PROFIBUS.
|
|
ISaGRAF (. .1):
- (ISaGRAF DevSys);
- (ISaGRAF Target).
. 1. ISaGRAF.
(ISaGRAF Target) . () . - . , , MS-DOS, 55 , , OS-9, 10 . , .
. 2 , .
. 2. .
ISaGRAF 3 :
BEGIN () , .
SEQUENTIL () , SFC.
END () , .
, - , . 3. .
, , . . , , .
. 3. ISaGRAF Target.
(SFC). , (SFC), :
- (FBD);
- (LD);
- (ST);
- (IL).
Smart I/O ISaGRAF () (. .4).
. 4. - .
:
1. ISaGRAF. Windows Start () Programs () ISaGRAF Projects (). Project manager ( ), ISaGRAF .
2. ISaGRAF. File () New () ( ) . Create new project ( ). Name: (:) ( 8 ). IO configuration: ( /) . OK (). IGaGRAF . .
|
|
3. ISaGRAF () . , Edit () Set comment text ( ). Project comment text ( ) Comment: (:) ( 1). OK, .
4. . ( ), File () Open (). Programs (). .
5. . File () New(). New program ( ) :
- Name: (:) ( NO_GPA);
- Comment: (:) ( );
- Language: (:) IEC 1131-3: FBD ( ), IL ( ), SFC ( ), LD ( ), ST ( ). , Language FBD;
- Style: (:) : Begin, Sequential, End, Function Function block. , Execution: Begin.
ʻ. , :
- (Begin);
- ( - FBD);
- (NO_ GPA);
- ( ).
6. . (Dictionary), Dictionary () File (). , :
- Booleans ();
- Integers/Reals (/);
- Timers ();
- Strings ();
- FB instances(FB );
- Defined words ().
, Booleans () ..
|
|
, .
, Booleans () . Boolean variable ( ). :
- Name: (:) (. . 1);
- Comment: (:) (. . 1);
- Attributes: (:) , Internal (), Input (), Output (), Constant (); . 1;
- .
Store (). Booleans () , , , .
Timer () . Timer variable ( ) :
Name: (:) (. . 2);
Commentary: (:) (. . 2);
Attributes: (:) Internal () Constant () . 2;
.
Safe (). Timer () , , , .
1.
Normal | Boolean | input | . |
Norm_Stp_DP_KS | Boolean | input | . |
Magistral | Boolean | input | . |
Ring | Boolean | input | . |
Indication_NO | Boolean | output | . |
Dis_Mag_Ind | Boolean | internal | . |
Dis_Ring_Indic | Boolean | internal | . |
Dis_EM_KPV | Boolean | internal | 1,5. |
Dis_PNS | Boolean | output | |
Dis_PNU | Boolean | output | |
Dis_MKT_VNA | Boolean | internal | |
Dis_NO_Ind | Boolean | output | . |
Dis_VOU | Boolean | internal | . |
Dis_mtch_cnt | Boolean | output | . |
En_Ring_Ind | Boolean | internal | . |
En_MKT_VNA | Boolean | internal | . |
En_EM_CK | Boolean | internal | . |
En_PNS | Boolean | output | . |
En_PNU | Boolean | output | . |
Vkl_Em_KPV | Boolean | output | 1,5. |
nBDpriv6600 | Boolean | internal | n < 6600. |
Open_kp5 | Boolean | internal | 5. |
Open_kp6p | Boolean | internal | 6. |
Open_kp9 | Boolean | internal | 9. |
Open_KPV | Boolean | internal | 1,5. |
Close_kp1 | Boolean | internal | 1. |
Close_kp2 | Boolean | internal | 2. |
Close_kp6 | Boolean | internal | 6. |
Close_kp12 | Boolean | internal | 12. |
2.
Delay | Timer | internal | (300 ). |
7. , , . . File () Exit (). , (FBD/LD Program).
|
|
-, . 5.
. 5. - .
, , .
Select variable ( ) ( ) . ʻ (), Cancel ().
, . , , . .
( ) . ( ), ( ), , , .
, ( ) Delete .
, . File () Save () ʻ ().
8. . Project () I/O connection ( /) / . ( 256), / ( ). .
/ .
, ( 0), ( , , ). Edit () Set board/equipment ( /). Select board/equipment ( /). Library (), (boards) (equipments). .
( unit). SM-DIN1 ( ). ʻ (). / / 8 , 8 SM-DIN1.
, ( ), . logical address, , , .
, ( 0) . Connect I/O channel #0 ( / #0), .
, ( . 3), Connect (). / / . SM-DIN1 . 3.
3. SM-DIN1.
Normal | |
Norm_Stp_DP_KS | |
Magistral | |
Ring |
, , Close (), /.
( 1) SM-DOUT1 . 4. .
4. SM-DOUT1.
Indication_NO | |
Vkl_Em_KPV | |
Dis_mtch_cnt | |
En_PNS | |
En_PNU | |
Dis_PNS | |
Dis_PNU | |
Dis_NO_Ind |
, /.
/ File () Save.
9. ( ).
Make () Verify () ( ) . . , , . , . ?. Exit ().
, , , . Make () Compiler options ( ). Compilation options ( ) Target: (:) ISa68M:TIC code for Motorola, Select (), ʻ. Motorola, Smart I/O.
Smart I/O Make () Make application ( ). ( ) . ?. Exit (). .
10. Smart I/O . Debug () Link setup ( ). -ʻ :
Target slave number ( ) 1;
Communication port ( ) COM1;
.
Setup () :
Baud rate ( []) 9600;
Parity () none ();
Format () 8 bits, 1 stop (8 , 1 );
Flow control ( ) none ().
ʻ () -ʻ.
.
Debug () Debug (). No application ( ). File Download (). ISa68M:TIC code for Motorola Download ().
11. Smart I/O ( ). File () Start application ( ).
12. , , 0 2 SM-DIN1 ( ). , . SM-DOUT1 0 1, 300 2, 3 4, 300 5, 6 7.
: Delay 300 10 .
:
1. ISaGRAF.
2. .
3. ISaGRAF?
4. .
5. ISaGRAF.
2