Jetter JX3-BN-ETH User Manual page 107

Ethernet bus node
Hide thumbs Also See for JX3-BN-ETH:
Table of Contents

Advertisement

JX3-BN-ETH
JetSym STX Program
Jetter AG
Number
Element
1
PC
2
JC-3xx
3
JX3-BN-ETH
4
JX3-AI4
Solution
The command NetCopy copies the content of MR 1100 on the JX3-AI4
module into a variable.
The register number of the peripheral module is seen from the perspective of
the bus node JX3-BN-ETH:
1
0
0
m
with
mm = 02 (first module connected to the bus node)
zzzz = 1100 (status register of JX3-AI4)
Var
n_Get : int;
End_Var;
Task
t_FromReg
Autorun
NetCopyVarFromReg(IP#192.168.10.16,100021100,n_Get,4,3,0);
// content of MR 1100 is now in n_Get
Loop
// for Pub/Sub
End_loop;
End_Task;
Description
PC with JetSym
Controller
Bus node
Peripheral module with analog inputs
m
z
z
z
Commissioning
z
107

Advertisement

Table of Contents
loading

Table of Contents