EasyManua.ls Logo

Omron CJ Series - Sending Acyclic Messages Using SendCmd Instructions

Omron CJ Series
304 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
6-3
6 Message Communications
CJ-series PROFIBUS Master Unit Operation Manual for NJ-series CPU Unit (W509)
6-2 Sending Acyclic Messages Using SendCmd Instructions
6
6-2 Sending Acyclic Messages Using
SendCmd Instructions
The SendCmd (send command) instruction can be used in the CPU Unit user program of the CJ-series
PROFIBUS Unit to send acyclic messages.
In a program that issues acyclic messages, the following execution conditions are generally used
based on the AND gate:
Network Enabled Flag on the CPU Unit side
*_MstrOperateSta; the PROFIBUS Master Unit is in Operate mode and commencing I/O data
exchange.
Below is an example of reading alarm information using the EXPLICIT MESSAGE SEND command
(2801) from the PROFIBUS Communication Unit with the following system configuration:
PROFIBUS Master Unit’s station address: 05
Unit number: 0
Unit address: 11 Hex
GRT1-PRT Communication Unit’s station address: 65
Example of Sending Acyclic Messages Using SendCmd Instruction
Execution Condition _Port_isAvailable *_MstrOperateSta
Execute
DstNetAdr
CommPort
CmdDat
CmdSize
RespDat
Option
Done
Busy
Error
ErrorID
ErrorIDEx
RespDat
sample
SendCmd
Explicit message
PROFIBUS Master Unit No.: 0
GRT1-PRT Communicati
o
Unit station address: 65
Master Unit station address: 05
Unit address: 11 Hex
NJ series CPU Unit
Se n d Cm d

Table of Contents

Other manuals for Omron CJ Series

Related product manuals