Mitsubishi Electric Q03UDVCPU User Manual page 189

Qnucpu series (communication via built-in ethernet port)
Hide thumbs Also See for Q03UDVCPU:
Table of Contents

Advertisement

CHAPTER 13 READING/WRITING DEVICE DATA OF ANOTHER STATION CPU BY IP ADDRESS SPECIFICATION
Device
Item
Clock set flag
+11
S1
+12
S1
+13
S1
Clock data
+14
S1
(set only
upon error
completion)
+15
S1
Error-
+16
S1
detected IP
+17
*3
S1
address
*1
In the "Set by" column:
"User" means that the data is set before executing the SP.READ instruction.
"System" means that the result of executing the SP.READ instruction is stored in the CPU module.
*2
An IP address that ends with "*.*.*.0" or "*.*.*.255" cannot be specified.
*3
Not stored if the host detects an error when it receives the instruction.
● The read data storage device
+9) (up to 960 words).
S1
● The number of resends (
(3) Function
This function reads the specified device data from the CPU module on another station specified with the IP
address setting in the control data. When the function finished reading the device data, the completion device
specified with
turns on.
D2
The completion status of the SP.READ instruction can be checked using the completion devices
• Completion device
Turns on at the time of the END processing for the scan in which the SP.READ instruction completes and
turns off at the time of the next END processing.
• Completion status indication device
Turns on or off depending on the status after the completion of the SP.READ instruction.
State
When completed
Remains off.
normally
When completed
Turns on at the time of the END processing for the scan in which the SP.READ instruction completes
with an error
and turns off at the time of the next END processing.
Description
Stores the enable/disable state of the data for
+17.
S1
0: Disable
1: Enable
Stores the clock data upon error completion.
This data is stored only when
error completion type to "1: Clock data setting is required."
b15
to
Month (01
to 12
)
S1 +12
H
H
Hour (00
to 23
)
S1 +13
H
H
S1 +14
Second (00
to 59
)
H
H
S1 +15
Year (00
to 99
), first 2 digits
H
H
Stores the IP address where an error was detected.
+16: IP address (lower 16 bits)
S1
+17: IP address (upper 16 bits)
S1
requires a contiguous area as large as the length of the data to be read (specified with
D1
+7) must be set whenever the instruction is executed.
S1
+0
D2
+1
D2
Setting range
+12 to
S1
+0 is configured to set the
S1
b8 b7
to
b0
Year (00
to 99
), last 2 digits
H
H
Day (01
to 31
)
H
H
Minute (00
to 59
)
H
H
Day of week (00
to 06
)
H
H
00
(Sun.) to 06
(Sat.)
H
H
1
Description
*1
Set by
-
System
-
System
to FFFFFFFE
System
H
H
+0 and
+1.
D2
D2
187
13

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents