MiniPLCs Function Blocks
Phone Connectable - Real Time Clock - Voice Warning - Networking

 

[ General info ] [ Dimensions ] [ Wiring ] [ Installation ] [ Function Blocks ] [ Programming on panel ] [ Online Store ]

MINIPLCs Programming on LCD

There are two methods of programming for MiniPLC, one is to complete editing of the function diagram directly on the operation LCD board using the keys, while the other is to do the same on the computer using the programming software QUICK II . Programming for Mini PLC can be completed with either of the two methods. This Chapter will describe in detail how to use the operation LCD board to edit the Function Block Diagram Program and the programming method using QUICK II will be covered in detail in the second part of this manual.

As shown in the following figure, the operation LCD board is a simple PLC interface and the program editing operation will be completed through the 8 keys on the right:
The following rules shall be observed for programming operation on this panel:

1. When the cursor appears as an under line, it may be moved:

  • Move the cursor along the lines with <,>, ^ and v keys;

  • Press "OK" key to confirm selection of the input/output connection or the function block;

  • Press "ESC" key to exit the programming input.

2. When the cursor appears as >, the input/output or function block may be selected:

  • Select the input/output or function block with ^ and v keys;

  • Press "OK" key to confirm the selection;

  • Press "ESC" key to return to the previous step.


Display Mini PLC of status

Connect the power line of Mini PLC with the method as described in Chapter II. After power is on, LCD displays a frame , which is the Switch-on Frame. As shown in Fig of MiniPLC. 4.2 (10 points type):

the upper line I contains the status values of input 1 ~ 6

the lower line Q contains the status values of output 1 ~ 4

(in which "*" indicates ON, i.e. status "1"; " " indicates OFF, i.e. status "0".)

Confirm password

By pressing ESC and OK simultaneously at the Status Display Frame as shown in Fig. 4.2, it can enter the Confirm Password Frame, as shown in Fig. 4.3. Now it is required by Mini PLC to input the password value. Now the cursor stays at the highest digit of the password, where you can change the digit value (0~9) with "- " and "+" keys (when you initially press "-" or "+" key, the password value is 0).

Then you can use " " and " " keys to change the password input position and input the password values of the remained digits . If a proper password is input, It will enter the Edition Frame shown in Fig4.4. If the password is incorrectly input consecutively twice, the Status Display Frame shown in Fig. 4.2 will be returned to.

Funcation

While in the edition frame shown in Fig4.4, the user may use " ^ " and " v " keys to move the arrow ">" on the left and press OK key to select the functions, with the following 4 options for selection:

Editor: edit program; Edition Function Selecting Frame shown in Fig. 4.5 will be on when this function is selected; MiniPLC/Rom: read program, modify the address and reset the modem,etc. The frame shown in Fig4.19 will be on when this funcation is seleted. Set.. : setup RTC real time clock and password; RUN: start running Mini PLC program.

Editor (edit program)

When this function key is selected, Mini PLC will enter the Edition Function Selecting Frame shown in Fig. 4.5. The user may use " " and " " keys to move the arrow ">" on the left and press OK key to select the functions.

Edit PRG: Input a function block (consult 4.2.1.1);

Insert FB: Insert a function block into the existing program (consult 4.2.1.2);

Delete FB: Delete a function block from the existing program (consult 4.2.1.3);

Clear PRG: Delete all program blocks.

Edit PRG (Edit Function Block)

The Edit PRG Menu Frame is shown in Fig. 4.6 and the function blocks are to be selected under this menu.wpe52.jpg (5993 bytes)

Select Function Blocks:

The user may use " ^ " and " v " keys to move the arrow ">" on the left to select the function blocks. Press OK key to select a function block, the Function Block

Setting Frame shown in Fig. 4.7 will be on (please refer to Chapter III Specification of function Blocks). This menu includes the following function blocks:AND, NAND, OR, NOR, XOR, NOT, RS, UCN, DCN, PLR, MPLR, CPG, RPR, DPR, DDR, CW, TEL, PLAY, MR,ANALOG (D type).

Set Function Block:

When Input Function Block is selected, Mini PLC will automatically help you to define in sequence the numbers of the blocks beginning with "B" and display the said numbers in the bottom right corner (e.g. B01), as shown in Fig. 4.7.

The user may select the input/output and parameter values set for the function block by moving " ^ ", " v ", " < ", " > " keys (please refer to Chapter III

Specification of Function Block for the input/output/parameter values for different function blocks).

When Selection Output/Input Pin is set, press OK key to enter Parameter Setting Status. The user may use " ^ ", " v " keys to select the connection point type and operand for the said output/input, as shown in the top left corner in Fig. 4.7. First move the cursor to "I" in the top left corner with " < ", " > " keys, change the type of the connection point with "-" and "+" keys and press OK to confirm it. Then increase or decrease the operand for the connection point with "-" and "+" keys (e.g. I0, I1, I2, etc.).

Note: The operands for different types of connection points have different ranges. It is I1 ~ I6 (10 point type) or I1~IC (20 point type)for I (input) and Q1 ~ Q4 (10 point type)or Q1~Q8(20-point type)for Q (output). Operands are not required for H (high protential status), L (low protential status) and X (empty). M means intermediate relays M00 ~ M99.

Described above are the setup of basic function blocks. It is also necessary to explain setup of the operands for some special function blocks in the following.

1. Function blocks with timing function

Function blocks with timers include:

DPR: Delay putting Relay

CPG: Clock Pulse Generator

DDR: Delay Disconnection Relay

RPR: Retentive On Relay

MPLR: Single-pulse Relay

CW: Clock Switch

PLR: Pulse Relay

When parameter T is set, the following frame will be on LCD:

Line 1: Block number and timing mark

Line2: time units-- HOU(Hour) , MIN(Minute),SEC(second)

Line3: Setting integer of time (00-99)

Line 4: Setting decimal of time(00-99)

2. Lunction blocks with counting function include:

UCN: Up Counter

DCN: Down Counter.

When the PAR is set, the following frame will be on the LCD:

The 1st line represents the block number and counter mark

The 2nd line represents the highest digit of the counting value

The 3rd line represents the second-highest digit

The 4th line represents the lowest digit.

You may set the parameters in turn, as required, by pressing wpe51.jpg (866 bytes) and to move wpe52.jpg (826 bytes) the cursor and select the parameters and pressing wpe53.jpg (871 bytes) and wpe54.jpg (856 bytes) to change the value.

For example,for setting a number as 967843. D1=96,D2=78,D3=43.

3. Set parameters for the Clock Switch

1) As the date system D is selected, the following will be on LCD:

The 1st line represents the date system

The 2nd line represents year, month and daywpe56.jpg (3244 bytes)

The 3rd line represents the output ON time(T1).

The 4th line represents the output OFF time(T2).

2) As the week system W is selected, the following will be on LCD:

At this time , you can use "+","-" keys to select the type of weeks.

MO represents Monday

TU represents Tuesday

WE represents Wednesday

TH represents Thursday

FR represents Friday

SA represents Saturday

SU represents Sunday

MO-TH represents Monday to Thursday

MO-FR represents Monday to Friday

MO-SA represents Monday to Saturday

MO-SU represents Monday to Sunday

FR-SU represents Friday to Sunday

SA-SU represents Saturday to Sunday.

After selecting the week system.press the ESC key,you will be able to select the timing and the following will be on LCD:

The first line represents the week system

The second line represents year, month and day

The third line represents the output-ON time

The forth line represents the output-OFF time.

You only need set T1,T2,and needn’t set D when you select the week system

The set date will be neglected by the system

4. Set the Telephone Block

When the Telephone Block is selected, the following will be on LCD. Set the input on the left of the block first, move the cursor to the output on the right and press OKwpe59.jpg (4657 bytes) key.

After OK key is pressed, the following will be on LCD:

Press keys to move the cursor and select the digit of the telephone which is up to 25-digit number and press wpe5B.jpg (1117 bytes), to change the value and set digit of the telephone number in turn. After the number is set, move the cursor to the last digit of the set number and press wpe5C.jpg (875 bytes) to exit .

5. Set the AN blockwpe5D.jpg (2861 bytes)

AN block is as follows:

Input 1: I and K are available input.

(1) That I is selected represents this port is connected to MiniPLC’s input, whose range is "I1~I6"(MiniPLC10 series), and "I1~IC"(MiniPLC20 series). The input operation on the LCD board is the same as general. That K is select represents the digital value, whose range is "000~100", which represents voltage "0~10.0V". The pre-two digits represent integer, and the last digit represents decimal.

(2)When input 1 is "K"or "I",press "ok" to confirm and then press"+" and "-" to change the digital value .Finally press "OK" to confirm.

Input 2: It represents function selection, There are 5 comparison functions which can be selected ">, <, <=, >=, = ". Selecting by using " , " ,and then press "OK"to confirm.

Input 3: It is the same as Input 1.

Insert FB

This function can be used to insert a function block into a scheduled block position.

The operating process is as follows:wpe5E.jpg (3271 bytes)

1. Press OK at ">Insert FB" in the Editor Frame,thus the inserting status is entered, as shown in Fig.

 

 

2. 000 shown in the above frame is the original value. Press "+", "-" to select block number and then press "OK" to confirm. The range of inserted block number is from 001 to the maximum number of current program If the selected number is not in this range, it will be no effect to press "OK" and it will return to the origiral status to let you select block number in suitable range .If you want to give up to inserting a block,please press"ESC" to exit. If you are not clear about the maximum number in the programm ,you can use ROM-Mini PLC in MiniPLC/ROM to read the program and get the number.

3 If you select a right number in the above step and press "OK" key to confirm, then PLC will affect your operation and function block codes menu(eg. AND,OR,NOT,RS,TEL,...etc.) will appear for you to select.

Delete FB

This function can be used to delete any function block. The operating process is as follows:

1. Press "OK" at ">Delete FB" in the Editor Frame ,thus the deleting status is entered, as shown in Fig. 4.16.

Note:If you do not go on selecting but exit,Mini PLC will copy a function block of the same block number in the PLC. But if you are in edition step, you can exit only when you finish setting all of the terminals. And then you can delete the block by using Delete FB.

2. 000 shown in the above frame is the original value.Press "+" and "-" to select block No.and then press "OK". The range of block number for Delete FB is from 001 to the maxmum number of current program. If the selected number is not in this range, it will be no effect to press"OK" and it will return to the orginal status to let you select block No.in suitable range. If you want to give up to deleteing operation,please press"ESC" to exit.If you are not clear about the maximum number in the programm, you can use MiniPLC-ROM in MiniPLC/ Rom to read the program and get the number.

3.If you have select a correct block number , press " OK", Mini PLC will display as follows.It means the selected block has been deleted.

Clear Prg

This fuwpe61.jpg (3681 bytes)nction can be used to delete all the existing prograns in MiniPLC.

1. In the EDIT frame,Select">clear Prg" and press "OK" key, then the following frame wil be on .

4.3.2 MiniPLC/Romwpe64.jpg (5254 bytes)

There are three options in Select MiniPLC/Rom Frame, as shown in Fig. 4.19.

2.The above frame will last 2~3 seconds, then it will be on function block selection frame automatically.The old program has been cleared and you can re-program again

MiniPLC(XXXX): (The serial No.of Mini PLC system service)(Not to be used.)

Rom MiniPLC: read the program from MiniPLC

MiniPLC-Addr: view or modify Mini PLC address

MODEM: initialize MODEM.

Read program from MiniPLC(Rom MiniPLC)

1.Select "Rom MiniPLC"in MiniPLC/ROM and press "OK", the following frame will be on.

SET (set password and time)

The SET Frame is shown in Fig. 4.20. A password and real time clock can be set for the edited Mini PLC function program via this SET Frame. When you want to modify the control function, the said password shall be properly input before the edition modification status can be entered (note: the ex-factory password of Mini PLC is 0001).

This function is the password lock function of MiniPLC.

2.press " " in the state shown in Fig 4.20,then the program will be read block

 

     

MiniPLC Menu

SCM International, Inc.

  English assistance by e-mail
  Asistencia en español por e-mail

Mailing Address:
SCM International, Inc.
2648 E. Workman Ave. suite 527
West Covina, CA 91791 
USA

Fax: +1 (530)3256895

Corporate Headquarters POBOX:
SCM International, Inc.
POBOX 9793

Reno, NV . 89507
USA

SCMStore.com, license and Conditions of use

SCM International, Inc. license the user to use this application by the term of a session, only under the following terms and conditions:

(c) 2008, SCM International, Inc. All right reserved.