Page 29
IronHorse GSDA-CM-8 User Manual – 1st Ed. Rev. A – 10/15/19
6/10/2019
BRX GSD OPT51 05312019
BX-DM1E-x
7
Comparing the reply message with Y and N
StrmOutSuccess
C0
StrmInSuccess
C5
String Compare
STRCMP
First String
SS1
Case Sensitive Yes, upper/lower case are different
Set If Equal
CompareYesReply
Set If Less Than
WriteCoilBit
Set If Greater Than
C9
Second String or Text "Y$0D"
String Compare
STRCMP
First String
SS1
Case Sensitive Yes, upper/lower case are different
Set If Equal
CompareNoReply
Set If Less Than
C13
Set If Greater Than
C14
Second String or Text "N$0D"
8
Counter of Yes reply. Increasing values for the counter means the command was
accepted
StrmOutSuccess
C0
StrmInSuccess
C5
CompareYesReply
C7
UP
RST
Up Counter
CNT
Counter Struct
CT0
Preset
100
CT0.Done
9
Counter of No reply. Increasing values for the counter means the command was not
accepted
StrmOutSuccess
C0
StrmInSuccess
C5
CompareNoReply
C12
UP
RST
Up Counter
CNT
Counter Struct
CT1
Preset
100
CT1.Done
10
Reset of bits involved. If there is no increment in any of the counters, the string command
is not correctly formed
StrmInSuccess
C5
Clear Strings
STRCLEAR
Start String
SS0 - SS1
Number of Strings to Clear
2
StrmInError
C6
Reset Range
RSTR
StrmOutSuccess
Start
C0
End
SetTargetSPCmmd
11
NOP
12
NOP
13
END
Page 2
$Main