Hello I've made an FB which is a TCP server. It uses the excellent CAA NetServices library. If I have the FB in a task <4ms, then the RT crashes immediately at boot up. If the task >=4ms, it starts and runs perfectly. This is even if the block is not doing anything; just instantiated. Am I missing something silly? Why would a low task time cause this? 4ms is perfectly adequate, but I'm just interested why... thanks PH
Hello I've made an FB which is a TCP server. It uses the excellent CAA NetServices library. If I have the FB in a task <4ms, then the RT crashes immediately at boot up. If the task >=4ms, it starts and runs perfectly. This is even if the block is not doing anything; just instantiated. Am I missing something silly? Why would a low task time cause this? thanks PH
So the printer wants an ASCII conversion of the hex equivalent of ASCII characters?? They don't make it easy for us
hello Use FC3 instead of FC4
Hello I'm using the MQTT_Client_SL library. Very good so far. One of the inputs to the MQTTClient FB is hCert (RTS_IEC_HANDLE). Which function do I need to use to get this? Or do I add a FILE library? thanks
So it's currently mapped to an array of BYTES? Can you create a UNION? TYPE sBytesString : UNION AsBytes: ARRAY[0..127] OF BYTE; AsString: STRING(128); END_UNION END_TYPE Map it to the bytes, read it in the STRING!
My guess is that's a STRING, not an INT type. And it's 128 bytes, not bits
My guess is that's a STRING, not an INT type.