• No results found

USING TYPICAL FUNCTIONAL INSTRUCTIONS

(Variable timer) Functional instruction No.: 3

Timer start condition

Timer No.

Do not write any instructions in this area.

Timer relay

• After the set time has passed, the specified timer relay turns ON.

• The effective timer Nos. are 121 to 200.

• For a timer relay, you can specify any desired address.

• Set the desired timer value on the PMC parameter - Timer screen.

• The effective set times are 0 to 262136 (ms), in 8-ms increments.

(Fixed timer) Functional instruction No.: 24

Timer start condition

Time that the timer is set for

Do not write any instructions in this area.

Timer relay Timer No.

• After the set time has passed, the specified timer relay turns ON.

• The effective timer Nos. are 1 to 140.

• For a timer relay, you can specify any desired address.

• The effective set times are 0 to 262136 (ms), in 8-ms increments.

(Rising edge detection) Functional instruction No.: 57

Start condition Register No.

Do not write any instructions in this area.

Output

• If the start condition turns ON, the output turns ON for a single scanning cycle.

• The effective register Nos. are 1 to 100. The same register No. may be specified only once.

• The valid register No. range is the same as that for the falling edge detection function (SUB58).

(Falling edge detection) Functional instruction No.: 58

? ?

Start condition

Do not write any instructions in this area.

Output Register No.

• If the start condition turns OFF, the output turns ON for a single scanning cycle.

• The effective register Nos. are 1 to 100. The same register No. may be specified only once.

• The valid register No. range is the same as that for the rising edge detection function (SUB57).

(Counter) Functional instruction No.: 5

Do not write any instructions in this area.

Countup output Counter No.

Control condition Control Function 0 Starts the counter with 0.

CN0

1 Starts the counter with 1.

0 Up counter

UPDOWN

1 Down counter

0 Cancels a reset.

RST

1 Resets a counter.

0 Deactivates a timer.

ACT

1 Activates a timer.

• The output turns ON when the setting becomes equal to the count.

• The effective counter Nos. are 40 to 69.

• To control RST and ACT, use a pulse signal. RST and ACT function at the rising edge of a pulse signal.

• For the counter output, you can specify any desired address.

• Enter the desired setting on the PMC parameter - Counter screen.

• The effective counter settings are 0 to 32767.

(Jump) Functional instruction No.: 10 (Jump end) Functional instruction No.: 30

Do not write any instructions in this area.

Start condition

Do not write any instructions in these areas.

Number of coils to jump over

• If the start condition turns ON, control jumps over the specified number of coils without executing them at all.

• If specifying the number of coils, do not use JMPE (SUB30).

• If the number of coils is set to 0, control jumps over the JMP (SUB10) to JMPE (SUB30) section.

• Control jumps over any functional instructions.

(Common line control) Functional instruction No.: 9 (Common line control end) Functional instruction No.: 29

Do not write any instructions in this area.

Start condition

Do not write any instructions in these areas.

No. of coils to be turned off

• If the start condition turns OFF, the specified number of coils are turned OFF.

• If specifying the number of coils, do not use COME (SUB29).

• If the number of coils is set to 0, the COM (SUB9) to COME (SUB29) section are turned OFF.

• Any functional instructions will be executed even if the start condition with the COM instruction is OFF, but the output of the execution results will be turned OFF.

• In a range specified with a COM, you cannot specify another COM.

• The output of WRT.NOT (inverted output of logic operation result) will be "1" if the start condition

with the COM instruction is OFF.

(Binary decoding) Functional instruction No.: 25

Start condition

A

B C

D

The following explanation is limited to those cases in which specified M codes are to be decoded.

Parameter Function

A Format specification Set a format in the format of 0nn4, where nn specifies that 8 x nn M codes are to be decoded.

nn may be 0 to 99.

If 0 is specified, eight M codes will be decoded.

Examples:

To decode M200 to M205, set 0014(14).

To decode M200 to M207, set 0014(14).

To decode M200 to M209, set 0024(24).

To decode M200 to M219, set 0034(34).

B Code data address Set F10.

C Decoding instruction No. Specify the number of the first M code to be decoded.

Example: To decode M codes starting with M200, set 200.

D Decoding result output address

Specify an unused internal relay (R address).

If the nn in the format specification is 0 or 1, 1 bytes is required; otherwise, consecutive nn bytes are required.

In the above examples:

If M200 is specified, R2100.0 is ON.

If M201 is specified, R2100.1 is ON.

If M202 is specified, R2100.2 is ON.

:

If M207 is specified, R2100.7 is ON.

(Conditional subprogram call) Functional instruction No.: 65 (Unconditional subprogram call) Functional instruction No.: 66

Subprogram number called Call condition

• If the conditional subprogram call instruction CALL (SUB65) is specified, the specified subprogram is called only when the call condition is ON.

• If the unconditional subprogram call instruction CALLU (SUB66) is specified, the specified

subprogram is called unconditionally.

14 SETTING PARAMETERS

Parameter Function K03#6 Center through coolant pump control 0: Not controlled 1: Controlled

K08#0 ON/OFF control of the lamp inside the machine

0: Not controlled 1: Controlled K08#1 Block skip ON/OFF control 0: Not controlled 1: Controlled K08#3 Single-block ON/OFF control 0: Not controlled 1: Controlled K08#4 Dry run ON/OFF control 0: Not controlled 1: Controlled

K14#0 Custom PMC editing 0: Enabled 1: Disabled

K14#1 Spindle/cutting override control by custom PMC

0: Not controlled 1: Controlled K14#2 Signal "ON" condition of S18.0 0: Memory mode and

remote mode

1: Memory mode only K14#3 Additional axis clamp control signal 0: Standard address 1: Allocated with custom

PMC K14#4 Machine interior cleaning coolant control 0: Not controlled 1: Controlled K14#5 Interlock control for each axis 0: Not controlled 1: Controlled K14#6 Emergency stop control 0: Not controlled 1: Controlled K14#7 Feed hold control 0: Not controlled 1: Controlled K15#7 Custom PMC function 0: Not controlled 1: Controlled K16#0 Operator's panel disable function 0: Not controlled 1: Controlled K16#1 While the operator's panel is in the disabled

state, the M01 stop button

0 : Disables 1 : Enables K16#2 While the operator's panel is in the disabled

state, the door open/close button

0 : Disables 1 : Enables K16#3 While the operator's panel is disabled,

spindle rotation and coolant supply

0 : Canceled 1 : Not canceled K16#4 While the operator's panel is disabled, the

skip key

0 * Disables 1 : Enables K19#0 Teaching signal control 0: Not controlled 1: Controlled K25#0 Cycle stop control 0: Not controlled 1: Controlled K25#1 System stop control 0: Not controlled 1: Controlled K25#2 Robot reset control 0: Not controlled 1: Controlled K25#3 System startup control 0: Not controlled 1: Controlled

K : PMC parameter, keep relay

#* : *-th bit