Appendix 1 PLC2Way
App1-17
Indirect Memory Designation
It is possible to have access to the PLC2 memory using the indirect memory designation as a macro
command.
In this section, the indirect designation of the PLC2 memory is explained.
The internal user memory ($u) is used for the indirect memory designation.
Designating the indirect memory
•
PLC2 memory
- Memory type
Depends on the PLC model.
Refer to “Available Memory” in “Chapter 2” to “Chapter 33” when setting.
- Port number
Set the port number of the PLC connected at the MJ port.
User Log Read for YOKOGAWA’s PLC
The user log set with YOKOGAWA’s PLC “FA-M3/FA-M3R” connected at the MJ port can be read
using the macro command TEMP_CTL.
Macro
[TEMP_CTL]
This macro command controls the operation set in the memory addresses starting from the one
specified for F0 for the number of words specified for F1.
Usable Devices
TEMP_CTL: Temperature controller/PLC2Way control function
TEMP_CTL F0 F1
Return data: Data stored from PLC2Way to V7 series
*2
Set “0” for CPU No. 1.
*3
The registration number is stored in special register Z105.
*4
If there is no user log in the “n + 2” memory or there is an error in communications, [
−
1] is stored.
n + 0
Model (03)
Memory type
n + 1
Memory number (address)
n + 2
00
Bit designation
n + 3
00
Port
15
8 7
0
<0 to 65535>
n + 0
Model (83)
Memory type
n + 1
Memory number (address) upper
n + 2
Memory number (address) lower
n + 3
00
Bit designation
n + 4
00
Port number
15
8 7
0
<65536 and above>
PLC Memory
Internal Memory
Constant (Words)
Memory Card
Indirect
Designation
F0
F1
F0 (= $u n)
F1
n
n + 1
n + 2
n + 3
n + 4
n + 5
n + 6
n + 7
n + 8
n + 9
n + 10
n + 11
Words
User log
registration
number read
Port
number
CPU No.
−
1
*1
(0 to 3)
Command
−
1
Registration
number
*2
−
−
−
−
−
−
−
−
3
Latest user
log read
Port
number
CPU No.
−
1
*1
(0 to 3)
Command
0
Header
0: Normal
−
1: Error
*3
Year
Month
Day
Hour
Minute Second
Main
code
Sub
code
3
(ASCII)
(DEC)
“n”th user log
read
Port
number
CPU No.
−
1
*1
(0 to 3)
Command
1 to 63
Header
0: Normal
−
1: Error
*3
Year
Month
Day
Hour
Minute Second
Main
code
Sub
code
3
(ASCII)
(DEC)
Содержание V Series
Страница 1: ...V Series...
Страница 35: ...2 10 2 Allen Bradley PLC Please use this page freely...
Страница 41: ...3 6 3 Automationdirect PLC Please use this page freely...
Страница 49: ...6 4 6 FANUC PLC Please use this page freely...
Страница 53: ...7 4 7 FATEK AUTOMATION PLC Please use this page freely...
Страница 79: ...12 8 12 KEYENCE PLC Please use this page freely...
Страница 95: ...14 8 14 LG PLC Please use this page freely...
Страница 119: ...16 20 16 MITSUBISHI ELECTRIC PLC Please use this page freely...
Страница 135: ...20 4 20 SAIA PLC Please use this page freely...
Страница 155: ...24 12 24 Siemens PLC Please use this page freely...
Страница 163: ...27 4 27 TOSHIBA PLC Please use this page freely...
Страница 169: ...29 4 29 Toyoda Machine Works PLC Please use this page freely...
Страница 185: ...33 6 33 Yokogawa Electric PLC Please use this page freely...
Страница 215: ...App2 8 Appendix 2 n 1 Connection Multi link 2 Please use this page freely...
Страница 221: ...App3 6 Appendix 3 n 1 Connection Multi link Please use this page freely...
Страница 225: ...App4 4 Appendix 4 1 n Connection Multi drop Please use this page freely...
Страница 317: ...App6 48 Appendix 6 Universal Serial Communications Please use this page freely...