Cl (Counter Load) - Mitsubishi Electric MELFA Instruction Manual

Cr1 controller
Hide thumbs Also See for MELFA:
Table of Contents

Advertisement

2 2 2 2 Explanation of Commands
Explanation of Commands
Explanation of Commands
Explanation of Commands

CL (Counter Load)

CL (Counter Load)
CL (Counter Load)
CL (Counter Load)
【 Function 】
【 Function 】
【 Function 】
【 Function 】
The internal register value is set in the counter with the specified number.
The internal register value is set in the counter with the specified number.
The internal register value is set in the counter with the specified number.
The internal register value is set in the counter with the specified number.
The character string register details are set in the character string with the specified value.
The character string register details are set in the character string with the specified value.
The character string register details are set in the character string with the specified value.
The character string register details are set in the character string with the specified value.
【 Input Format 】
【 Input Format 】
【 Input Format 】
【 Input Format 】
CL   <counter number/character string number>
CL   <counter number/character string number>
CL   <counter number/character string number>
CL   <counter number/character string number>
【 Term 】
【 Term 】
【 Term 】
【 Term 】
<Counter number>
<Counter number>
<Counter number>
<Counter number>
<Character string number>
<Character string number> Specify character string number in numerical value which "$" is added to the head.
<Character string number>
<Character string number>
【 Explanation 】
【 Explanation 】
【 Explanation 】
【 Explanation 】
<When counter number is specified>
<When counter number is specified>
<When counter number is specified>
<When counter number is specified>
(1) Sets the data fetched from the input port to the specified counter. Hence, the CL commands must be executed
(1) Sets the data fetched from the input port to the specified counter. Hence, the CL commands must be executed
(1) Sets the data fetched from the input port to the specified counter. Hence, the CL commands must be executed
(1) Sets the data fetched from the input port to the specified counter. Hence, the CL commands must be executed
after the input command. (See ID)
after the input command. (See ID)
after the input command. (See ID)
after the input command. (See ID)
(2) Since the data from the input port is treated as signed, the data set to the counter is signed. (Take value
(2) Since the data from the input port is treated as signed, the data set to the counter is signed. (Take value
(2) Since the data from the input port is treated as signed, the data set to the counter is signed. (Take value
(2) Since the data from the input port is treated as signed, the data set to the counter is signed. (Take value
between -32768 and 32767.)
between -32768 and 32767.)
between -32768 and 32767.)
between -32768 and 32767.)
(3) Used to specify the number of job sequences and the counter value at palletizing from an external device, such as
(3) Used to specify the number of job sequences and the counter value at palletizing from an external device, such as
(3) Used to specify the number of job sequences and the counter value at palletizing from an external device, such as
(3) Used to specify the number of job sequences and the counter value at palletizing from an external device, such as
a programmable controller. At this case, any of the logical operation commands (see AN,OR,XO) may be used as
a programmable controller. At this case, any of the logical operation commands (see AN,OR,XO) may be used as
a programmable controller. At this case, any of the logical operation commands (see AN,OR,XO) may be used as
a programmable controller. At this case, any of the logical operation commands (see AN,OR,XO) may be used as
necessary.
necessary.
necessary.
necessary.
(4) Execution of the CL command after the CP command allows the counter data to be transferred.
(4) Execution of the CL command after the CP command allows the counter data to be transferred.
(4) Execution of the CL command after the CP command allows the counter data to be transferred.
(4) Execution of the CL command after the CP command allows the counter data to be transferred.
(5) The counter value can be changed, compared or read by the relevant commands.
(5) The counter value can be changed, compared or read by the relevant commands.
(5) The counter value can be changed, compared or read by the relevant commands.
(5) The counter value can be changed, compared or read by the relevant commands.
(See IC, DC, SC, CP, CR
(See
IC, DC, SC, CP, CR commands.)
(See
(See
IC, DC, SC, CP, CR
IC, DC, SC, CP, CR
<When character string number is specified>
<When character string number is specified>
<When character string number is specified>
<When character string number is specified>
(1) The data lead in from the character string register is set in the specified character string. Thus, this command
(1) The data lead in from the character string register is set in the specified character string. Thus, this command
(1) The data lead in from the character string register is set in the specified character string. Thus, this command
(1) The data lead in from the character string register is set in the specified character string. Thus, this command
must be executed after the character string register setting command (refer to CP, INP commands) is executed.
must be executed after the character string register setting command (refer to CP, INP commands) is executed.
must be executed after the character string register setting command (refer to CP, INP commands) is executed.
must be executed after the character string register setting command (refer to CP, INP commands) is executed.
(2) This is used to set and confirm the work details or work results from an external device such as a sequencer. Use
(2) This is used to set and confirm the work details or work results from an external device such as a sequencer. Use
(2) This is used to set and confirm the work details or work results from an external device such as a sequencer. Use
(2) This is used to set and confirm the work details or work results from an external device such as a sequencer. Use
the compare command are required at this time. (Refer to EQ, LG, NE, SM commands.)
the compare command are required at this time. (Refer to EQ, LG, NE, SM commands.)
the compare command are required at this time. (Refer to EQ, LG, NE, SM commands.)
the compare command are required at this time. (Refer to EQ, LG, NE, SM commands.)
(3) The character string register value is set in the specified character string by this command, so if this command is
(3) The character string register value is set in the specified character string by this command, so if this command is
(3) The character string register value is set in the specified character string by this command, so if this command is
(3) The character string register value is set in the specified character string by this command, so if this command is
executed after the CP command, the data can be copied between character strings.
executed after the CP command, the data can be copied between character strings.
executed after the CP command, the data can be copied between character strings.
executed after the CP command, the data can be copied between character strings.
(4) Operation, comparison and reading of the character string are possible by using the related commands.
(4) Operation, comparison and reading of the character string are possible by using the related commands.
(4) Operation, comparison and reading of the character string are possible by using the related commands.
(4) Operation, comparison and reading of the character string are possible by using the related commands.
(See CP, CR, EQ, INP, LG, NE, SC, SM commands.)
(See CP, CR, EQ, INP, LG, NE, SC, SM commands.)
(See CP, CR, EQ, INP, LG, NE, SC, SM commands.)
(See CP, CR, EQ, INP, LG, NE, SC, SM commands.)
【 Sample program 】 (Movemaster command)
【 Sample program 】 (Movemaster command)
【 Sample program 】 (Movemaster command)
【 Sample program 】 (Movemaster command)
10 10 10 10 I I I I D D D D
20 CL 25
20 CL 25
20 CL 25
20 CL 25
30 CP 11
30 CP 11
30 CP 11
30 CP 11
40 CL 21
40 CL 21
40 CL 21
40 CL 21
50 SC $5,"ABC"
50 SC $5,"ABC"
50 SC $5,"ABC"
50 SC $5,"ABC"
60 CP $5
60 CP $5
60 CP $5
60 CP $5
70 CL $10
70 CL $10
70 CL $10
70 CL $10
2 2 2 2 - - - - 12 12 12 12 CL (Counter Load)
CL (Counter Load)
CL (Counter Load)
CL (Counter Load)
Specify counter No.
Specify
Specify
Specify
counter No.
counter No.
counter No. in numeric value
in numeric value
in numeric value or counter No. with @
in numeric value
1 ≦ counter No.
1 ≦
counter No. ≦ 99
≦ 99
1 ≦
1 ≦
counter No.
counter No.
≦ 99
≦ 99
@ @ @ @ 1 ≦
1 ≦ counter No.
counter No. ≦ ≦ ≦ ≦ @ @ @ @ 99 99 99 99
1 ≦
1 ≦
counter No.
counter No.
Specify character string number in numerical value which "$" is added to the head.
Specify character string number in numerical value which "$" is added to the head.
Specify character string number in numerical value which "$" is added to the head.
$1 ≦ character string number ≦ $99
$1 ≦ character string number ≦ $99
$1 ≦ character string number ≦ $99
$1 ≦ character string number ≦ $99
commands.)
commands.)
commands.)
; Fetches data from external input port.
; Fetches data from external input port.
; Fetches data from external input port.
; Fetches data from external input port.
; Sets above data to counter 25.
; Sets above data to counter 25.
; Sets above data to counter 25.
; Sets above data to counter 25.
; Sets data of counter 11 to internal register.
; Sets data of counter 11 to internal register.
; Sets data of counter 11 to internal register.
; Sets data of counter 11 to internal register.
; Sets data of internal register to counter 21.
; Sets data of internal register to counter 21.
; Sets data of internal register to counter 21.
; Sets data of internal register to counter 21.
; Set character string "ABC" in character string number 5
; Set character string "ABC" in character string number 5
; Set character string "ABC" in character string number 5
; Set character string "ABC" in character string number 5
; Set details of character string number 5 in the character string register
; Set details of character string number 5 in the character string register
; Set details of character string number 5 in the character string register
; Set details of character string number 5 in the character string register
; Set the details of the character string register in character string number 10
; Set the details of the character string register in character string number 10
; Set the details of the character string register in character string number 10
; Set the details of the character string register in character string number 10
or counter No. with @. . . .
or counter No. with @
or counter No. with @

Advertisement

Table of Contents
loading

Table of Contents