EasyManua.ls Logo

Hakko Electronics V Series - Indirect Memory Designation; User Log Read for Yokogawas PLC

Hakko Electronics V Series
332 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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)

Table of Contents

Related product manuals