CC-LINK Network Communication
WUME-SCHG1C-4
4-57
■
Examples of sent commands
1.
Send the “Waveform read setting” command (WRITE) to set the waveform type.
(Command code: 0x0370)
Send this command only for the first time after starting the communication unit or when
switching the type of the waveform to be read.
Write data
High
Low
Bit15 Bit14 Bit13 Bit12 Bit11 Bit10
Bit9 Bit8 Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
Reserved (Always write 0x01.)
Waveform type
Bit7 to
Bit0
Select a waveform type.
0x11: Measured waveform
2.
Send the “Waveform read setting” command (READ). (Command code: 0x0370)
If the response is normal, the following response data will be returned.
Read data
High
Low
Bit15 Bit14 Bit13 Bit12 Bit11 Bit10 Bit9
Bit8
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
Reserved
Status Reserved Waveform type (0x11: Measured waveform)
Bit9
Status
1: Waveform information has been saved
0: Waveform information has not been saved
(For example, immediately after the unit starts
up, operation mode is changed, or measured
values are reset)
The waveform information that is obtained when this command is sent will be saved in the
controller.
3.
Send the “Waveform read data” command (READ). (Command code: 0x0371 to 0x03B0)
The “Waveform read data” command can obtain four bytes of received light data by using
a single address. Measured waveform data can be obtained by sending command codes
from 0x0371 through to 0x03B0 in this order and then concatenating the data obtained.
If the response is normal, the following response data will be returned.
<Example: When the command code is 0x0371>
Read data
Received light intensity [0]
0x00 to 0xFF
Received light intensity [1]
0x00 to 0xFF
Received light intensity [2]
0x00 to 0xFF
Received light intensity [3]
0x00 to 0xFF
●
Reading waveforms continuously
When continuously reading waveforms with the same waveform ID, repeatedly send the
commands described in
2.
and subsequent steps. The update interval of compressed
waveform information is 64 ms. Leave an interval of at least 1 ms when sending each com-
mand.
Содержание SC-HG1-C
Страница 2: ...WUME SCHG1C 4 2 MEMO ...
Страница 8: ...WUME SCHG1C 4 8 MEMO ...
Страница 16: ...WUME SCHG1C 4 1 8 MEMO ...
Страница 17: ...2 1 2 System Configuration 2 1 Communication unit system 2 2 2 2 Unit types 2 4 ...
Страница 22: ...WUME SCHG1C 4 2 6 MEMO ...
Страница 106: ...WUME SCHG1C 4 4 72 MEMO ...
Страница 107: ...5 1 5 Specifications 5 1 Specifications 5 2 5 2 Dimensions 5 3 ...
Страница 110: ...WUME SCHG1C 4 5 4 MEMO ...
Страница 111: ...6 1 6 Warranty 6 1 When you purchase and use the product 6 2 ...
Страница 114: ...WUME SCHG1C 4 6 4 MEMO ...
Страница 115: ...7 1 7 Maintenance 7 1 Maintenance and Inspection 7 2 7 1 1 Maintenance cautions 7 2 7 1 2 Main inspection items 7 2 ...
Страница 124: ...WUME SCHG1C 4 8 8 MEMO ...
Страница 125: ...Revision History 1st edition 1 27 2017 2nd edition 9 8 2017 3rd edition 9 30 2019 4th edition 12 1 2019 ...
Страница 126: ... MEMO ...
Страница 127: ... MEMO ...