The polling command in manual polling, Shifting in or out of the setting mode – KEYENCE N-410 User Manual

Page 108

Advertising
background image

6-12

S

er

ia

l Com

m

u

n

icat
ion

6

6-4

Direct Control Command of the N-410 Series

The polling command in manual polling

Sends the polling command to a specified ID number in manual polling and obtains data from
the head that has the specified ID number.

Command sent

: %Pmm (mm = 01 to 31: ID number)

Response

: %Pmm - nnnn result data (nnnn = the number of characters in data)

* Results data includes read data and read error codes.
%Pmm - 0005e (e: No data)

Command sends procedure in manual polling
Sends the trigger input ON command (LON) to a BL Series device that has the ID number 3
and obtains the results data (KEYENCE) by sending the manual polling command.

Shifting in or out of the setting mode

Shift to the setting mode

Command sent : SSET
Response

: OK

Quit the setting mode

Command sent : SEND
Response

: OK

Operation

Command/Response

(1)

Send the trigger input on

%T03-LON

(2)

Respond to (1)

%T03-OK

(3)

Send the polling command

%P03

(4)-1

With results data

%P03-0011KEYENCE

(4)-2

Without results data

%P03-0005e

Reference

CR

CR

CR

CR

CR

Advertising