Download NE Programmer Ver. 2.0 Operation Manual

Transcript
Appendix D
CIP Message Communications
Data Access for NE1S Series
CSND Instruction
Overview of CSND Instruction
For NE1S Series, variable data can be accessed to by using CSND Instruction.
CSND Instruction is an instruction to send/receive a message of CIP.
CSND Instruction has three parameters; S data, D data, and C data.
Service data to be sent and transmission control information such as address are set up in S data and C data,
respectively. When CSND Instruction is executed, received response data is stored in D data.
FUNC No.
Mnemonic
Instruction Name
CIP Transmission Instruction
Overview of Function
489
(@)CSND
Execution Condition
Execution Condition/Immediate Refreshing Specification
Execute cyclically every time it goes to ON.
CSND
Execute 1 cycle at rising up.
Execute 1 cycle at falling down.
Instruction to send CIP
Explicit Message
@CSND
Not supported.
Immediate Refreshing Specification
Not supported.
(@)CSND(489)
S
Data to be sent
D
C
Data received.
Control data
S Data Details
Offset (word)
S
S+1
S+2
:
:
Data Size to be sent
Service Code
Service Data
↑
Send data size
(in bytes)
:
:
↓
Data Size to be sent
Data Length of Service Code and the following data (unit: byte)
Service Code
Service Data
CIP Explicit Message Service Code
Service Data of Explicit Message Service of CIP Content is different for each Service Code.
Service Data is stored in the order from lower byte to upper byte.
244