Technical Documentation
opti-check
v2.8.2-K11
282/332
ipf electronic GmbH
Lüdenscheid, Germany
15.4.10 SM command
– change operating mode
This command enables you to change the operating mode for the device as well as the parameters for data
exchange.
Example
Structure of the command PLC
device
Command
Parameters
S
M
M
R
S
witch
M
ode
2 byte ASCII hex
Mode
DC =
D
ata transfer
–
C
ontinuous Mode
The result data is autonomously transferred via the process interface after
each analysis in Activated mode. You must also set the "Activate outputs"
parameter during job testing.
DP =
D
ata transfer
–
P
olling Mode
In
Activated mode
and in Configuration mode, the result data is only
transferred after the GD command has been received.
MR = Mode switch
– Modus
Run
The device is activated.
Data is only transferred autonomously if the Continuous mode is activated
as described above.
MS = Mode switch
–
Configuration
mode
The device is switched to
Configuration
No result data is transferred.
For Ethernet only
CC =
C
ommand delimiter
–
C
arriage return
Data packets from the process interface are terminated using
<CR>
(Hex:
0D
, Escape sequence:
\r
)
CL =
C
ommand delimiter
–
L
ine feed
Data packets from the process interface are terminated using
<LF>
(Hex:
0A
, Escape sequence:
\n
)
CB =
C
ommand delimiter
–
B
oth carriage line feed
Data packets from the process interface are terminated using
<CR><LF>
CN =
C
ommand delimiter
–
N
o sequence
Data packets from the process interface are not terminated using a
sequence