6 - 27 6 - 27
MELSEC-Q
6 DEDICATED INSTRUCTIONS
Control data
Device
Item
Set data
Setting range
Set by (
1
)
(S1) + 0
Abnormal complete type
b15
b7
b0
to
to
0
1
0
1
0
1)
to
b4
1) Abnormal complete type (bit 7)
Set whether or not the clock data setting is required at
abnormal completion.
0: Clock data setting is not required
.....Clock data is not stored in (S1) + 11 to (S1) + 17 when
errors occur.
1: Clock data setting is required
.....Clock data is stored in (S1) + 11 to (S1) + 17 when
errors occur.
0011
H
0091
H
User
(S1) + 1
Completion status
Store the status at completion of an instruction.
0: Normal
Other than 0: Abnormal (error code) (
2
)
—
System
(S1) + 2
Channel used by the local
station
Designate the channel used by the local station.
1 to 8 (channel)
1 to 8
User
Specify the CPU type on the target station.
Setting value
Description
0000
H
Single CPU or CPU in the system directly
connected to the local station (Same as
"03FF
H
")
03D0
H
Control system CPU (
5)
03D1
H
Standby system CPU (
5)
03D2
H
System A CPU
03D3
H
System B CPU
03FF
H
Single CPU or CPU in the system directly
connected to the local station
(S1) + 3
Target station’s CPU type
(
3
)
0000
H
03D0
H
to 03D3
H
03FF
H
User
(S1) + 4
Target station network number
Designate the network number of the target station.
1 to 239: Network number
254: When 254 is designated in Jn (The network designated
by the valid module during other station access)
1 to 239, 254
User
(S1) + 5
Target station number
Designate the target station.
1 to 64: The station with the corresponding station number
81
H
to A0
H
: All stations with the indicated group number (only
clock data write and remote RUN/STOP are allowed)
FF
H
: All stations of the target network number (simultaneous
broadcast) ... excluding the local station (only clock data
write and remote RUN/STOP are allowed)
1 to 64
81
H
to A0
H
FF
H
User
(S1) + 6
—
(Fixed value)
0
User
(S1) + 7
Number of resends
1) At instruction execution
Set the number of resends when the execution of an
instruction did not complete within the monitoring time
designated by (S1) + 8.
0 to 15 (times)
2) At instruction completion
Store the number of resends executed (result).
0 to 15 (times)
0 to 15
User
System
(S1) + 8
Arrival monitoring time
Set the monitoring time until the instruction completion so that it
is greater than or equal to the TCP resend timer value.
When the instruction fails to complete within the monitoring time,
it is resent for the number of resends designated in (S1) + 7.
0 to TCP resend timer value: The monitoring time is reset to
the TCP resend timer value.
(TCP resend timer value + 1) to 16383:
The monitoring time is the designated value (unit: s)
1 to 16383
0 to TCP resend
timer value
User
(S1) + 9
Request data length
Designate the number of request data (word).
(Word count of data stored in the request data storage device (S2))
4: Remote RUN
3: Remote STOP
2: Clock data read 6: Clock data write
2 to 6
User
(S1) + 10
Response data length
Store the number of response data (word)
(Word count of data stored in the response data storage device.
4: Remote RUN
6: Clock data read 2: Clock data write
2, 6
System
(S1) + 11
Clock set flag
Store the valid/invalid status of the data in ((S1) + 12 to (S1) + 17).
0: Invalid
1: Valid
—
System
(S1) + 12
Higher 8 bits: month (01
H
to 12
H
),
lower 8 bits: last 2 digits of year (00
H
to 99
H
)
(S1) + 13
Higher 8 bits: hour (00
H
to 23
H
), lower 8 bits: date (01
H
to 31
H
)
(S1) + 14
Higher 8 bits: second (00
H
to 59
H
), lower 8 bits: minute (00
H
to 59
H
)
(S1) + 15
Clock data (set only when
errors occur) (
2
)
Higher 8 bits: first 2 digits of year (00
H
to 99
H
), lower 8 bits:
day of the week (00
H
(Sunday) to 06
H
(Saturday))
—
System
(Continued to the next page)
Содержание QJ71E71-100 Series
Страница 2: ......
Страница 214: ...6 65 6 65 MELSEC Q 6 DEDICATED INSTRUCTIONS MEMO ...
Страница 219: ......