Guidelines of Polling software
for FeliCa Certification
Nov 01, 2022

FeliCa Business Division
Copyright 2022 Sony Corporation

Purpose Improvement of service to certified businesse Improvement of customer service by shortening measurement time When customer uses debug laboratories, Realize to reduction ofmeasurement work and work timeSolution
 One-stop evaluation in which robots and RW

Challenging
 Standardizing common commands for Input/Output interface ofreader/writer SW

201-Nov-2022

Copyright 2022 Sony Corporation

Current evaluation system
The control of the measurement coordinates has
been automated by the use of robots.
Testing card

Or
Test sample ofreader/writer

Motor-less Single
Axis Actuator

Articulated robots

Robot controller

Jig to measure communication distanceConnection between robot PCs
・ Serial cable・ LAN cable
Connection between RW-PC• USB cable• Serial cable (Bluetooth)

301-Nov-2022

Copyright 2022 Sony Corporation

Current system configuration diagram
Testing card

Test sampleof R/WPC

RobotController

COM1Command prompt Screen #1
Or Terminal SW> Polling.exe 100.....OOOOOOOOOOOOOOOOOOOO(Total) [95/100]… 95.00%>

401-Nov-2022

Polling.exe or
Terminal SW
Problem: Non-interlocking
After the robot moves to the distanceExecute terminal SW manually

COM2Robot.exe

Batch File for Automatic
Measurement Describing
Test Sequence

Copyright 2022 Sony Corporation

Command prompt Screen #2>MOVE X=0, Y=0, Z=30
>Sleep>MOVE X=0, Y=0, Z=29
>Sleep〃>MOVE X=0, Y=0, Z=0

Ideal system configuration
Testing card

Test sampleof RW

Ro
bot

ControllerCommand Prompt Screen #1(Operates in One Screen)

PC

COM1

COM2

Polling.exeorTerminal SW

Robot.exe

Batch File for Automatic Measurement Describing
Test Sequence
Realize one-stop batch files by linking robots and Test sample of RW.
501-Nov-2022

Copyright 2022 Sony Corporation>MOVE X=0, Y=0, Z=30
>Polling.exe “C:/temp/Result.csv”.....OOOOOOOOOOOOOOOOOOOO(Total) [95/100]… 95.00%>MOVE X=0, Y=0, Z=29
>Polling.exe “C:/temp/Result.csv”
OOOOOOOOOOOOOOOOOOOOOO(Total) [100/100]… 100.00%〃>MOVE X=0, Y=0, Z=0>Polling.exe “C:/temp/Result.csv”
OOOOOOOOOOOOOOOOOOOOOO(Total) [100/100]… 100.00%

Operation flow chart
Overview
Start

Distance movement by Robot

Detail#1 Call the polling software#2 Send the polling command by RW#3 Show the result “OOOxxx…..” on display#4 Output the numerical result of 100 times
polling as a log file or return values

Combine distance and a log file and output
to fileNo

Functions that should be supported by the polling software.

Height =0 ?
YesFinishNext page explains specifications of #1 to #4
601-Nov-2022

Copyright 2022 Sony Corporation

Specification of #1 to #4#1. Startup/Call<All items required>
1.

Windows OS can be called from a BAT file on a console program, and control can be returned to BAT file after theoperation is completed.

2.

If serial communication is used, the serial port must be specifiable as an parameter when calling from a BAT file.
(Argument for direct specification in bat file: c COM1)

3.

Unnecessary arguments can be ignored even if unnecessary arguments are set at the time of invocation.

Note:
Even when the operation is realized through communication control software TeraTerm (TeraTerm macro) etc., all of therequirements in the preceding paragraph must be satisfied. (for example, to create a BAT file that invokes a Tera Term macro.)
RW screen must be operated as a set-up prior to the start of measurement. However, the polling command must be sent andterminated only by the control from the PC without touching RW screen while the communication distance is being measured.

701-Nov-2022

Copyright 2022 Sony Corporation

Specification of #1 to #4#2. Polling command-execution-condition [6.4.3] in the “FeliCa Reader/Writer RF Performance Certification Specification”<All items required>1.

Parameter condition
System Code: FFFFh, Timeout Time: 200[msec], Time-slot: 00h

2.

Number of runs
Polling must be executed 100 times consecutively within 25 seconds.

3.

Result judgment condition
1. Success: The test sample can receive Polling normal response packets (including response code and IDm, PMm)within the timeout period for one Polling command transmission.
2. Failed: The test sample for one Polling command transmission is not responding within the timeout period or
Polling normal response packet cannot be received.

801-Nov-2022

Copyright 2022 Sony Corporation

Specification of #1 to #4#3 Screen display [6.4.4] [6.4.5] in the “FeliCa Reader/Writer RF Performance Certification Specification”<All items required>1.

Screen display of success failure result

2.

Count and display of number of consecutive executions/number of successes

3.

Totaling the correct answer rate and displaying it on the screen

Note:
The screen display of the result should be possible if the situation can be visually confirmed. It can be on the console or on its
own GUI display. However, it is desirable that the results can be verified in real time during the study.

#4 Measurement results<Corresponding to any of the following items>
1.

Returns the measured result as a return value (correct answer rate for 0-100:Polling command,-1: Abnormal terminationof software).

2.

The software should be able to output measurement results to a log file in text format (e.g., csv file). It is desirable for thecaller to be able to specify the output file name of the log output as an argument. To reduce the time and effort required tomodify the one-stop batch files, we strongly request that the argument be "f filename" like "polling.exe f data.csv". Also,
please describe the type and format of output data in the operation manual. Please refer to page 10.

901-Nov-2022

Copyright 2022 Sony Corporation

Ex. Batch file sample with log file
Batch file@echo off
set dist=30:loop
robot.exe c/com5 /d:%dist%
Call polling.exe c com1 f result.csv
echo %dist% >> result.csv
set /a dist = %dist% -1
if %dist% GTR 0 goto loop
@echo end of batch file

Output Format of log in your polling software
fprintf_s(fp, "%6.2lf%%, %4d, %4d,",percentage,(total_count - total_error_count),total_count);

percentage: Success Rate
(total_count - total_error_count): Success Counttotal_count: Sending Count

1001-Nov-2022

Copyright 2022 Sony Corporation

Ex. Batch file sample with return values
Batch file@echo off
set dist=30:loop
robot.exe c/com5 /d:%dist%
Call polling.exe c com1
echo %errorlevel%%%, (100- %errorlevel%), 100, %dist% >> result.csv
set /a dist = %dist% -1
if %dist% GTR 0 goto loop
@echo end of batch file

In case of “total_count=100”

1101-Nov-2022

Copyright 2022 Sony Corporation

SONY is a registered trademark of Sony Group Corporation.
Names of Sony products and services are the registered trademarks and/or trademarks of Sony Group Corporation or its Group companies.
Other company names and product names are registered trademarks and/or trademarks of the respective companies.