Sie sind auf Seite 1von 9

These are of them PLC FX

X: Ng on attach direct on PLC Y: Ng ra Connection direct word PLC T: Device inh Th C: Device enum M: tip extra for, ng Lnh effect (M8000-M8255) S: tip states Thi, semaphore (S900-S999) D: register P: pointer K: constants decimal H: constants Hex parse

Scripts base 'FX SERIES


Script ti and ti ngc
Ti (LD): be responsible for service 're initializing Cng Tc NO. Ti nghch (LDI): be responsible for service 're initializing Cng Tc NC.

Lnh OUT
Panel scrolling ngy. Multiple instruction OUT may be connected ht bi ht.

Lnh v and v ngc li


V: Ni tip more Cng Tc NO, you can serial more Cng Tc same time. ANI (v ngc li): Ni tip more Cng Tc NC, you can serial more Cng Tc same time.

Script OR, OR ngc


HOC: Ni ht bi ht all Cng Tc NO, is the maximum 10 branch Connection bi ht bi ht cho an scrolling ngy. ORI (hoc ngc li): OR: Ni ht bi ht all Cng Tc NC, is the maximum 10 branch Connection bi ht bi ht cho an scrolling ngy.

Script ti Pulse v ti Trailing xung

LDP (Load Pulse): working with the Xung transferred from OFF ht ON LDF (ti Ri Pulse): working with the Xung transferred from ON OFF ht

Lnh v Pulse, v Trailing xung


Script ANDP (V Pulse) active ng with the Xung transferred from the status Thi OFF ht ON. Script ANDF (V Ri Pulse) working with the Xung transferred from the status Thi ON OFF ht. Script ANDP and ANDF su dung the same script V and ADNI.

Script hoc xung, hoc xung Trailling


Script ORP (OR Pulse) active ng with the Xung transferred from the status Thi OFF ht ON. Script ORF (hoc gim xung) active nh with the Xung transferred from the status Thi ON OFF ht. Script ORP and ORF su dung the same script V and ADNI.

A command Set and t li

Characteristics : SET and Reset you can use for the same Device how much time options y. However states Thi final the new is the state, Thi take effect.

Nhn xt: Kh X0 enabled ON you Y0 effective and duy Tri Trang Thi Lan ngy even if X0 have turned off OFF.

Kh X1 di trn you would Y0 OFF and duy Tri Trang Thi OFF even after X1 yourself that convert to OFF. Too mailer happened the same for M0, D0, S0.

Script Timer, Counter (Out v Thit lp li)


Format chung OUT and Reset the timer and truy cp:

i: Controls scrolling Strings memory scheduling or Buffer RST (t li): Reset Gia Tr take effect for the scheduling or buffer. Activities of local inh Th and Buffer:

Local inh Th (Timer) The memory inh Th effective words by counted the Xung ng h. Ng ra the timer enabled on the value enum be set up to the value constants K. time interval floating point qua are computed words by getting gi tr enum received with resolution of Timer.

B m thi gian 10 ms enum gi tr 100 on which the time interval floating point qua are computed as follows: 100 * 10ms = 100 * 0.01s = 1s

Time interval inh Th be set direct through constants K, or indirect qua thanh write data D. Thng to use thanh write data to be cht to ensure has lost data in if take electronic. However if electronic pressure of the source Pin reduces Too rate of time, the Scheduled then be invalid. Counter (b m) With truy cp constants K specify nh vy c th buffer. Truy cp with constants K10 will need to be the size 10 times before scrolling Strings truy cp that electronic.

Script END

Is set names END in a program to take effect kill Too mailer scanning Program Current release and progress to update the Ng on / ra, the local scheduling. Executable cp nht all Ng on at the top chu Period scanning and update the ngo ra out the end of the chu Period scanning. Failed to scanning a program is too processors each the command in a program from the beginning to the end of. Time interval of this call to that of time scanner, depending on the length and the complex Tp of the program. Ngay on line scanning Current release to be completed Th ng scanning next would starting ngay. Everything was too program as a chu Period Continuous.

Scripts improve the FX SERIES


Group a command panel save the program
Script CJ: Construct a command:

Function: go to one the cursor targets the Scheduled first. Works: on a command CJ executed, it optional Program skip to a location defined by the pointer targets, that is a program will ignore commands from following a command CJ to 'the cursor target. Multiple script CJ can use the same pointer target. Any fragment Program will skipped Th Trang Thi ngo ra will be updated even if Ng on changed state, Thi Lan. The memory inh Th and Buffer that will be fixed values Current release if they skipped bi script CJ. Buffers high speed is the exception because of their works The poison set with a program policy. Script CJ you can skip to 'any positions are in a program policy or later script chng . Script chng to use the specified score ends The first of the program policy for use for programs con. Script GI: Construct a command:

Function: call to a program con active.

Works: on a command CALL executed it will kill a program run the con is defined by the pointer target. Script CALL must be used with a command and SRET chng . Script SRET that the function ends Program con Current release, return Steps immediately after a command CALL recent executed. Multiple script CALL you can along accessed export to an Program con. The Program con may have 5 rate nested (possibly rate The first).

Group script Compare


Lnh so snh:

Works: your data S1 been compared with your data S2, the result of returned in 3 bit you start address is the D.

If S2 is smaller than S1 you D = On If S2 S1 equal to you D +1 = Bt If S2 larger S1 you D +2 = Bt Khu script so snh:

Works: your data S3 was compared with the sequence data (S1, S2).

If S3 is smaller than (S1, S2) will D = On

If S3 part (S1, S2) will D +1 = Bt If S3 larger (S1, S2) will D +2 = Bt

Script MOV

Works: database device the source S copied to a Device targets D.

Script XCH

Works: your data hai Device targets D1 and D2 not Interchange cho exclusive.

Script BCD

Works: database binary in the device the source S not change to the number of BCD associated and stored in the device targets D.

Script BIN

Works: database binary in the device the source S not change to the number of BCD associated and stored in the device targets D.

Das könnte Ihnen auch gefallen