
3-46 7. PLC2W ay
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 startin g 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 → V7 series
*1 Set “0” for CPU No. 1.
*2 The registration number is stored in special register Z1 05.
*3 If there is no user log in the “n + 2” memory or there is an error in communications, [−1] is stored.
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 - 3) Command
−1Registration
number*2 −−−−−−−−3
Latest user
log read Port
number CPU No. −1*1
(0 - 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 - 3) Command
1 to 63
Header
0: Normal
−1: Error*3
Year Month Day Hour Minute Second Main
code Sub
code 3
(ASCII) (DEC)