Process Flow - Mitsubishi Electric MELSEC iQ-F Series Manual

Hide thumbs Also See for MELSEC iQ-F Series:
Table of Contents

Advertisement

Process flow

The following shows the process flow to acquire the Value string from the JSON string.
1.
FB library registration
Register the FB library.
For the operating procedure, refer to the following.
GX Works3 Operating Manual
2.
Programming
Create programs. (Page 25 Programming)
3.
Presetting
Before executing the FB, store the JSON string in the device by using GX Works3. (Page 23 Presetting)
Presetting
Before executing the FB, store the JSON string in R0 to R95 by using GX Works3.
1.
Write a sample program to the programmable controller to have the program ready to run.
2.
Write the project to the programmable controller and open the "MAIN (Device Memory)" window.
Navigation window  [Device]  [Device Memory]  [MAIN]
3.
Set the display format as follows.
[Display]  [Display Format Detailed Setting]
• Display Unit Format: Word Multi-point
• Data Display Format: 16-bit Integer [Signed]
• String Display Format: String
• Value: HEX
• Bit Order: 0-F
• Switch No. of Points (Word Multi-point Format): 8 Points
4 APPLICATION EXAMPLE
4.1 Acquiring Value String from JSON String
4
23

Advertisement

Table of Contents
loading

Table of Contents