Program Example; Program Example Of Data Communication Using The Nonprocedural Protocol - Mitsubishi Electric MELSEC iQ-R Series User Manual

Serial communication module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

25.4

Program Example

This examples of data communication using the nonprocedural protocol are shown below.
Program example of data communication using the
nonprocedural protocol
This section shows program examples of data communication using the nonprocedural protocol when the settings/
registrations are made with Engineering tool.
Parameter setting
For details for each setting item, refer to the parameters. (Page 422 PARAMETER SETTING)
Item
Basic
Various control
settings
specification
Applicatio
User frame
n settings
specification
25 AUTOMATIC REMOVAL OF NULL CHARACTERS INCLUDED IN SEND DATA
410
25.4 Program Example
Test mode setting
Communication protocol setting
Communication speed setting
Transmission setting
Station number setting (CH1, 2 in common: 0 to 31)
Communication control specification
Send user frame designation
Setting content
CH1
Nonprocedural
protocol
Set according to
the target device
Operation setting
Independent
Data bit
Set according to
the target device
Parity bit
Odd/even parity
Stop bit
Sum check code
Online change
Setting change
NULL character
Auto delete
automatic removal
enabled
designation
Send frame
43F2H
number
designation (1st)
Send frame
43F3H
number
designation (2nd)
Send frame
C001H
number
designation (3rd)
Send frame
8000H
number
designation (4th)
Send frame
441BH
number
designation (5th)
Remarks
CH2
CH2 is not used
Arbitrary registered data
Buffer memory
designation
Arbitrary registered data

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents