IDEC High Performance Series User Manual
Page 172
5 User Communication
3-70
WindO/I-NV2 User’s Manual
■
Receive command: Command Settings dialog box settings
Operation for receive command
1
When data transmission of the transmission command is completed, the value of LM101 changes to 1, and since the
same device is specified for the trigger condition user communication becomes ready for receiving.
2
Data is transmitted from the external device and the transmitted data is received and processed.
The receive data is as follows.
Since a value of 100 is written to LDR100 at the time of transmission, the data is stored in device LDR220, which
corresponds to an offset of +100 from LDR120.
• When data reception is successfully completed, the Completed Device LM102 changes to 1.
• When the value of each bit of address+0 of Status Device LDR130 is 0, reception is completed without an error.
Item
Setting
Comment
RXD command
Command Type
Receive
Completed Device
LM102
Not Clear Completed Device
automatically
No
Status Device
LDR130
Receiving Time Out
0 (No Receive Time Out)
Trigger Condition
While ON, Device: LM101
Command
Data Settings dialog box settings
Constant
(Hexadecimal)
'02'
Constant
(Character)
"D"
Device
Conversion Type: ASCII (HEX) to Binary,
Number of bytes: 4, Words: 1
Device: LDR120, Reference Device: LDR100
Constant
(Hexadecimal)
'0D'
D
(44h)
3
(33h)
4
(34h)
1
(31h)
STX
(02h)
2
(32h)
CR
(0Dh)
Receive data:
Constant
(HEX)
Constant
(Character)
Device
Command settings:
Constant
(HEX)
0000
LDR120:
0000
LDR121:
1234h
LDR220:
Value of Device
LDR230=100