Chapter 13 Macro
13-18
♦
Read from User Log FA-M3
•
PLC_ULR
This command is available only when using YOKOGAWA’s PLC, FA-M3. It
can read “User Log” in PLC side.
Available Devices
PLC_ULR F0 F1
F0 memory (
→
V)
F1 memory (
←
V)
•
When reading the number of registration of user log
*1 The above value is also stored in special register Z105.
•
When reading user log
Example: In the case of 99/10/19 11:20:34 +1 +23, the format is shown
below.
Internal
Memory
PLC
Memory
Constant
Memory
Card
Indirect
W Word
F0
F1
F2
F0
Definition of memory information 2 words
F1
Storage target memory
When reading the number of registration of user log: 2 words
When reading user log: 9 words
F0 + 0
Higher: Port number (1 to 31)
Required only when [1:n] is selected for [Connection]
Lower: CPU No.
−
1 (0 to 3)
Example: Set “0” for CPU No. 1.
F0 + 1
Define the data to read.
[
−
1]: Read the number of registrations in the user log.
[0]: Read the newest user log.
[1 to 63]: Read the “n”-th user log.
F1 + 0
Number of registrations (DEC)
*1
F1 + 0
Header
*2
[0]: Normal [
−
1] (HEX FFFF): Error
*2 When the data does not
exist in the user log
specified by [F0 + 1] or
communication has some
error, the value [
−
1] is
stored.
F1 + 1
Year (ASCII)
F1 + 2
Month (ASCII)
F1 + 3
Day
(ASCII)
F1 + 4
Hour (ASCII)
F1 + 5
Minute (ASCII)
F1 + 6
Second (ASCII)
F1 + 7
Main code
(DEC)
F1 + 8
Sub-code (DEC)
F1 + 0
0
F1 + 1
HEX 3939 (=99)
F1 + 2
HEX 3031 (=10)
F1 + 3
HEX 3931 (=19)
F1 + 4
HEX 3131 (=11)
F1 + 5
HEX 3032 (=20)
F1 + 6
HEX 3433 (=34)
F1 + 7
DEC 1
F1 + 8
DEC 23
Содержание Monitouch V Series
Страница 1: ...Function Hakko Electronics Co Ltd...
Страница 3: ......
Страница 11: ......
Страница 35: ......
Страница 36: ...System Setting...
Страница 37: ......
Страница 64: ...Basic Functions...
Страница 65: ......
Страница 95: ...Chapter 2 Overlap 2 30 Please use this page freely...
Страница 139: ...Chapter 4 Lamp 4 14 Please use this page freely...
Страница 163: ...Chapter 5 Data Display 5 24 Please use this page freely...
Страница 191: ...Chapter 6 Message Display Relay Message 6 28 Please use this page freely...
Страница 427: ...Chapter 13 Macro 13 44 Please use this page freely...
Страница 454: ...Special Functions...
Страница 455: ......
Страница 507: ...Chapter 18 Video Display V7i Only 18 32 Please use this page freely...
Страница 647: ...Chapter 27 E Mail 27 6 Please use this page freely...
Страница 667: ...Chapter 28 Web Server 28 20 Please use this page freely...
Страница 690: ...Appendix...
Страница 691: ......
Страница 714: ...Appendix 1 Internal Memory A1 23 A1 System Memory Please use this page freely...
Страница 715: ...Appendix 1 Internal Memory A1 24...
Страница 737: ...Appendix 3 Error A3 16 Please use this page freely...
Страница 745: ......