User guide
2-48
IM 04L51B01-17EN
OPassword
Changes the Password
Changes the password.
Syntax
OPassword,p1,p2,p3
p1
Old password (up to 20 characters, ASCII)
p2
New password (up to 20 characters,
ASCII)
p3
New password (enter the same password
as p2)
Example Change the password from “PASS001” to
“WORD005.”
OPassword,’PASS001’,’WORD005’,’WO
RD005’
Description
• For the characters that you can use for the password,
see Appendix 1.
OMath
Starts, Stops, or Resets Computation or
Clears the Computation Dropout Status
Display
Starts or stops computation, resets computed values, or
clears the computation dropout status display.
Syntax
OMath,p1
p1
Action type (0)
0
Start computation
1
Stop computation
2
Reset computation
3
Clear the computation dropout status
display
Query
OMath?
Example Start computation.
OMath,0
Description
• You cannot use this command while the GX/GP is
saving or loading setup data.
OSaveConf
Saves Setting Data
Saves the GX/GP setting data to the GX/GP external
storage medium.
Syntax
OSaveConf,p1,p2,p3
p1
File name (up to 240 characters, ASCII)
Specify the path and file name, excluding
the extension.
p2
Medium
SD
SD memory card
USB
USB flash memory
p3
Setting file comment (up to 50 characters,
UTF-8)
Example Save setting data to a file named “SETFILE1”
to the SD memory card.
OSaveConf,SD,’SETFILE1’
Description
• If you omit p3, the default setting file comment will be
added. You can edit the default setting file comment
from the GX/GP front panel.
OCommCh
Sets a Communication Channel to a
value
Sets a communication channel to a value.
Syntax
OCommCh,p1,p2
p1
Communication channel
p2
Value
The setting range is as follows:
–9.9999999E+29 to –1.0000000E–30, 0,
1.0000000E-30 to 9.9999999E+29
The number of significant digits is 8.
Query
OCommCh[,p1]?
Example Set communication channel C001 to 2.5350.
OCommCh,C001,2.5350
OEMail
Starts or Stops the E-mail Transmission
Function
Starts or stops the e-mail transmission function.
Syntax
OEMail,p1
p1
Action type
0
Start the e-mail transmission function.
1
Stop the e-mail transmission function.
Example Start the e-mail transmission function.
OEMail,0
OMBRestore
Recovers Modbus manually
Resumes command transmission from Modbus client or
Modbus master to devices in which communication errors
have occurred.
Syntax
OMBRestore,p1
p1
Action type
0
Modbus client (Ethernet)
1
Modbus master (serial)
Example Manually recover the Modbus client.
OMBRestore,0
ORTReset
Resets a Relative Timer
Resets a relative timer.
Syntax
ORTReset,p1
p1
Timer type
0
All timers
1 to 4 Timer number
Example Reset relative timer 2.
2.6 Operation Commands