YOKOGAWA GX10 User Manual page 111

Gx series; gp series; gm series; smartdac+ communication command
Hide thumbs Also See for GX10:
Table of Contents

Advertisement

SLogicMath
Logic Math Expression (/MT)
Sets the logic math expression
Syntax
SLogicMath,p1,p2,p3
p1 Math number
p2 Expression on/off
Off
Not Use
DO channel
DO
Internal switch
SW
p3 Channel number
p4 Calculation expression (up to 120
alphanumeric characters, UTF-8)
Query
SLogicMath[,p1]?
Example
Output the math result of expression
0001AND0002 as 0 or 1 to DO channel
number 0105. Use Logic math number 1.
SLogicMath,1,DO,0105,'0001AND0002'
Description
You cannot use this command to configure settings
while recording is in progress.
p3 can be set only for DO or SW with type set to
Manual.
This command can be used when the math function (/
MT) is enabled.
SWConst
Variable Constant (/MT)
Sets the variable constant to be used in computation
Syntax
SWConst,p1,p2
p1 Variable constant number (1 to 100)
p2 Value (–9.999999E+29 to 9.999999E+30,
five significant digits)
Query
SWConst[,p1]?
Example Set variable constant number 12 to 1.0000E–
10.
SWConst,12,1.0000E-10
Description
You can change the constant even during recording,
computing, and controlling.
This command can be used when the math function (/
MT) is enabled.
IM 04L51B01-17EN
2.4 Setting Commands
2-93
1
2
App

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gm10Gx20Gp20Gp10

Table of Contents