Jump to content

pascal

Members
  • Posts

    39
  • Joined

  • Last visited

  • Days Won

    9

pascal last won the day on August 3 2017

pascal had the most liked content!

About pascal

  • Birthday 07/15/1969

Profile Information

  • Gender
    Male

Recent Profile Visitors

5,780 profile views

pascal's Achievements

Advanced Member

Advanced Member (3/4)

2

Reputation

  1. So I was missing something obvious......
  2. maybe I missed something obviously, but how can you put a 2 line text in a button, or even in a fixed text on the HMI ? In visilogic, this is not a problem..... but in unilogic I don't know how to do this
  3. jmech, So you connect a "TPC/IP to RS485 translator" to your ethernet port to communicate with a rs485 device. So you don't need to set the baud of your ethernet connection... I had also some troubles with modbus com..... sometimes you ask the content of 1 register, but the slave answers with a bunch of registers.... So unilogic expects a modbus receive of 4 bytes, but the slave answers with 42 bytes... how to test -> make a modbus master of your PLC and read 1 register into a buffer...... sometimes register 300001 is at adress 0.... or at adres 1.... MODBUS is always exiting to program 😂😂 I think modbus developers invented the enigma coding machine....
  4. I have following question : I'm using modbus communication to read some values of a powermeter. Instead of reading 40 variables - one by one - I read them in one modbus cyle, into a buffer... with the command buffer to struct, I can copy the values from the buffer to the struct. But when defining the structure, can I be 100% sure that the position of my variables in the structure is like I programmed the structure ? I give an example : I read 12 bytes via modbus ( 3 floating values) into buffer read[0..11] I have a struct with variables float1 - float 2 - float 3 then I use buffer to struct.... are the first 4 bytes going to float1, second 4 bytes to float 2 and last 4 bytes to float3 ? I tested this, yes they do......but is this always like this? I need to know if when recompiling the program, or copying this UDFB to another PLC program, will be always working with the "correct postioned" structure...
  5. My IT department installed me a local server on my BMS (Building Management System) where I installed the unilogic software. Drag and drop does not work 😥, but copy paste does 🤩
  6. I had the same problem, stopping the sampler, and in the next cycle of the program I start the sampler. This doesn't work. I have to let the PLC doing another run 1 cycle and then I can restart the sampler... maybe a status bit would be nice to say that file is being saved, so we can use this bit for restarting the sampler...
  7. I want to store a specific string (read fixed) to a "string tag" according a value. If value = 1, then string should be "OK" - value = 2, string is "NOT OK", value = 3, string is "FAULT...",.... OK, I know I can do this with the compare instructions, but I want to do this with the switch case instruction....😎 suggestions anybody ?
  8. I have a project with a USP-104-B10 and several URB remote I/O modules connected. When I add an IN or OUT module on the USP-104-B10 and then I export the IOtags to Excel, then the modules are not ordened anymore... the last added IO module is putted at the end of the excel file...even this is the first module of the project isn't it possible to export the IO/tags in order they are on the PLC ?
  9. I use Sick RFU610-10600 rfid reader, connected via TCP Sick provides a EDS file, so very easy to configure ! no programming needed..... just add a node in ethernet/ip scanner and that's it...
×
×
  • Create New...