
atvracer (Customer) asked a question.
setting up ether net I/O
hello
i'm trying to set ether-net i/o with a Click PLC and Productivity 2000 i can make it work with 1 type of data file DS or DF on the click 16bit unsigned or 32bit float on the P2 but i would like 2 types DS and DF on the click 16 bit unsigned and 32 bit float at the same time is this possible ?
thanks
I know productivity much better than I know click but try a copy data instruction with the copy binary selected to convert from int to float.
Not sure which is your scanner and which is your adapter, but there are a couple of options. Probably the easiest would be to set up the Click as an ethernet i/p adapter and assign 2 connections one with DS and one with DF.
Then set up the Productivity Scanner with 2 I/O messages using two different data types that match the Click.
If you mix data types you would need to pack and unpack bytes into the array to accomplish what you wish to do.
the click is the adapter P2 is the scanner
i setup the click E I/O
input
DS101 DS125
Df101 Df110
output
DS201 DS225 1-50
DF201 DF210 51-90
P2
MSG #1
data array
16bit unsigned
25 elements
MSG #2
data array
float 32 bit
10 elements
i get a error
not sure what to change ?
thanks
got it working you have to enable both data tables independently
thanks