|
Re: Hexa decimal PARAM input [message #1793561 is a reply to message #1793543] |
Fri, 10 August 2018 02:57   |
Eclipse User |
|
|
|
The PARAMS input is actually for configuring the I/O and dependes on the system you're using. For example, in a RPI is just a number for setting to which IO of the RPI hardware the FB will be connected. So in the PARAMS you don't send anything.
Also, the I/Os are normally in the form of two letters, for example AB, where A can be: I (input) or Q(output); and B can be: X (booolean), W(word, 16 bits), D (double word, 32 bits). So in your picture, we see an input which reads a 16 bits word. So first of all, you cannot send anything using an input, you should use and output. An if you were to use a QW, you can send, as said, a 16 bits word (an integer of 16 bits basically).
Where do you want to send this information? Because it looks like you want to send using a communication medium. In that case, you should use the PUBLISH_X or CLIENT_X_Y depending on the case, and use the SD_X inputs. Again, the PARAMS in these FBs are for setting the type of communication protocol, and other thing regarding the communication. For example, you could use these to send the hexadecimal data over the serial port.
|
|
|
|
|
Re: Hexa decimal PARAM input [message #1793856 is a reply to message #1793779] |
Fri, 17 August 2018 07:26  |
Eclipse User |
|
|
|
I personally would choose a config scheem that seems naturla for you or your users. You can have a look on other implemetnations like RaspberryPI SPS or Conmeleon to take some insperiation.
Alois
|
|
|
Powered by
FUDForum. Page generated in 0.07900 seconds